Hello,
First of all, I add 'rinoh.frontend.sphinx' to the extensions in
conf.py(see rinohtype
<https://rinohtype.readthedocs.io/en/stable/quickstart.html>)
and write down
rinoh_documents = [('index', # top-level file (index.rst)
'target', # output (target.pdf)
'Document Title', # document title
'John A. Uthor')] # document author
after command *sphinx-build -b html source/ build/rinoh*
I see my index.html. It's perfect, but the next step *sphinx-build -b rinoh
source/ build/rinoh*
i see
*Running Sphinx v1.8.3*
*'rinoh_documents' config variable not set, automatically converting from
'latex_documents'*
*'rinoh_paper_size' config variable not set, automatically converting from
'latex_paper_size'*
*'rinoh_paper_size' config variable not set, automatically converting from
'latex_paper_size'*
*'rinoh_logo' config variable not set, automatically converting from
'latex_logo'*
*'rinoh_logo' config variable not set, automatically converting from
'latex_logo'*
*'rinoh_domain_indices' config variable not set, automatically converting
from 'latex_domain_indices'*
*'rinoh_domain_indices' config variable not set, automatically converting
from 'latex_domain_indices'*
*loading pickled environment... done*
*building [mo]: targets for 0 po files that are out of date*
*building [rinoh]: all documents*
*updating environment: 2 added, 0 changed, 0 removed*
*reading sources... [100%] main_module*
*looking for now-outdated files... none found*
*pickling environment... 'rinoh_paper_size' config variable not set,
automatically converting from 'latex_paper_size'*
*'rinoh_logo' config variable not set, automatically converting from
'latex_logo'*
*'rinoh_domain_indices' config variable not set, automatically converting
from 'latex_domain_indices'*
*done*
*checking consistency... done*
*e:\program
files\anaconda3\lib\site-packages\rinoh\frontend\sphinx\__init__.py:211:
RemovedInSphinx20Warning: app.info() is now deprecated. Use
sphinx.util.logging instead*
*.*
* self.info("processing " + targetname + "... ", nonl=1)*
*processing target... e:\program
files\anaconda3\lib\site-packages\rinoh\frontend\sphinx\__init__.py:119:
RemovedInSphinx20Warning: app.info() is now deprecated. Use sphinx*
*.util.logging instead.*
* self.info(darkgreen(indexfile) + " ", nonl=1)*
*index main_module e:\program
files\anaconda3\lib\site-packages\rinoh\frontend\sphinx\__init__.py:139:
RemovedInSphinx20Warning: app.info() is now deprecated. Use sphinx.ut*
*il.logging instead.*
* self.info()*
*e:\program
files\anaconda3\lib\site-packages\rinoh\frontend\sphinx\__init__.py:140:
RemovedInSphinx20Warning: app.info() is now deprecated. Use
sphinx.util.logging instead*
*.*
* self.info("resolving references...")*
*resolving references...*
*e:\program
files\anaconda3\lib\site-packages\rinoh\frontend\sphinx\__init__.py:215:
RemovedInSphinx20Warning: app.info() is now deprecated. Use
sphinx.util.logging instead*
*.*
* self.info("rendering... ")*
*rendering...*
*Exception occurred:*
* File "e:\program
files\anaconda3\lib\site-packages\rinoh\frontend\__init__.py", line 41, in
__getattr__*
* raise AttributeError('No such element: {} in {}'.format(name, self))*
*AttributeError: No such element: styled_text in
<rinoh.frontend.rst.nodes.Paragraph object at 0x00000088D9E20828>*
*The full traceback has been saved in
C:\Users\mashkov_ds\AppData\Local\Temp\2\sphinx-err-77rv2jde.log, if you
want to report the issue to the developers.*
*Please also report this if it was a user error, so that a better error
message can be provided next time.*
*A bug report can be filed in the tracker at
<https://github.com/sphinx-doc/sphinx/issues>. Thanks!*
*'rinoh_documents' config variable not set - Why! i write it in config (see
above)*
*i see *
*deprecated function but i update all lib*
*at the end i see error with **styled_text *
Anybody helps me!?
thanks
--
You received this message because you are subscribed to the Google Groups
"sphinx-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/sphinx-users.
For more options, visit https://groups.google.com/d/optout.