#14626: Docbuilder hangs if latex fails
---------------------------------+------------------------------------------
Reporter: jdemeyer | Owner: mvngu
Type: defect | Status: new
Priority: critical | Milestone: sage-5.10
Component: documentation | Resolution:
Keywords: | Work issues:
Report Upstream: N/A | Reviewers:
Authors: | Merged in:
Dependencies: | Stopgaps:
---------------------------------+------------------------------------------
Description changed by jdemeyer:
Old description:
> When building the PDF documentation, if there is problem while running
> `latex`, then the docbuilder just hangs forever. There is no obvious clue
> what the problem is apart from a message like the following (example from
> #9107) in the log file:
> {{{
> ! LaTeX Error: Too deeply nested.
>
> See the LaTeX manual or LaTeX Companion for explanation.
> Type H <return> for immediate help.
> ...
>
> l.27819 \begin{Verbatim}[commandchars=\\\{\}]
>
> ?
> Implicit mode ON; LaTeX internals redefined
> (/usr/share/texmf-texlive/tex/latex/ltxmisc/url.sty
> (/usr/share/texmf-texlive/tex/latex/base/t1enc.def)
> ! Emergency stop.
> ...
>
> l.27819 \begin{Verbatim}[commandchars=\\\{\}]
>
> ! ==> Fatal error occurred, no output PDF file produced!
> Transcript written on categories.log.
> )make[1]: *** [categories.pdf] Error 1
> }}}
New description:
When building the PDF documentation, if there is problem while running
`latex`, then the docbuilder just hangs forever. There is no obvious clue
what the problem is apart from a message like the following (example from
#9107) in the log file:
{{{
! LaTeX Error: Too deeply nested.
See the LaTeX manual or LaTeX Companion for explanation.
Type H <return> for immediate help.
...
l.27819 \begin{Verbatim}[commandchars=\\\{\}]
?
Implicit mode ON; LaTeX internals redefined
(/usr/share/texmf-texlive/tex/latex/ltxmisc/url.sty
(/usr/share/texmf-texlive/tex/latex/base/t1enc.def)
! Emergency stop.
...
l.27819 \begin{Verbatim}[commandchars=\\\{\}]
! ==> Fatal error occurred, no output PDF file produced!
Transcript written on categories.log.
)make[1]: *** [categories.pdf] Error 1
}}}
Also: the docbuilder should use `$MAKE` instead of `make`.
--
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/14626#comment:1>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica,
and MATLAB
--
You received this message because you are subscribed to the Google Groups
"sage-trac" 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 http://groups.google.com/group/sage-trac?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.