-
Notifications
You must be signed in to change notification settings - Fork 56
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
errors building latex PDF documentation #567
Comments
The LaTeX error log is not helpful in resolving the root cause. Attempting to diagnose by removing major sections in NXmx as a test (removed everything within the NXentry group), the same error occurred but was shifted into NXcanSAS. Also upgraded my local Sphinx to latest release, 1.5.4, but that did not change the error. Still puzzled. Seems that the online HTML docs continue to be updated, thus this issue has less impact. |
449b403 is related |
using Sphinx 1.6.2 on local workstation, build problem still remains Also, there is a problem on current travis-ci builds where the latexmk command is not found. |
in
which is from this .rst intermediate source:
which is from this NXDL.xml source
Similarly for NXmx, this XML source triggers the problem:
Will look at the Python code that converts the |
The specific error from latex is always (with different line number for different NXDL file encountered):
|
might be related: sphinx-doc/sphinx#777 |
summary: fixes for this range from reduce nested levels to modify sphinx style files We'll try to reduce the nested levels first. |
from the Sphinx manual, there is no specific comment for rST definition lists but the general admonition applies: ... keep in mind that most target formats (HTML, LaTeX) have a limited supported nesting depth. and that is the root problem why the PDF can't be built now. Need to re-design the page layout for describing NXDL files. |
There's a new key that was added (sphinx-doc/sphinx#777) to Sphinx with v1.5 (current is 1.6.3) specifically to handle this situation. http://www.sphinx-doc.org/en/stable/config.html?highlight=maxlistdepth |
77e7133 fixed this but only if sphinx is upgraded to 1.5 or later (current release 1.6.2, jenkins has 1.4.8 so can't handle this yet) |
@FreddieAkeroyd Can you please update sphinx on the nexus build server? |
If this works, re-enable the link to PDF documentation in index.rst
Recent builds with the jenkins build server report an error while building the PDF version of the manual.
This is confirmed reproducible when building the PDF version of the manual from the Linux command line. (Note the default Makefile rules only build the HTML version.)
The root cause is not yet known. Here is the error message (from nexus.log):
The point of the error is in documentation of the NXmx definition.
The text was updated successfully, but these errors were encountered: