Re: make pdfdocs fails with v4.9-rc3
From: Markus Heiser
Date: Wed Nov 02 2016 - 10:42:38 EST
Am 01.11.2016 um 23:11 schrieb Jim Davis <jim.epost@xxxxxxxxx>:
> On Mon, Oct 31, 2016 at 3:41 PM, Mauro Carvalho Chehab
> <mchehab@xxxxxxxxxxxxx> wrote:
>> Em Mon, 31 Oct 2016 16:40:02 -0600
>> Mauro Carvalho Chehab <mchehab@xxxxxxxxxxxxx> escreveu:
>>
>>> Em Mon, 31 Oct 2016 15:04:42 -0700
>>> Jim Davis <jim.epost@xxxxxxxxx> escreveu:
>
> I've no idea where's it's going astray, though there are a number of errors:
>
> jim@krebstar:~$ grep '^!' /tmp/make-pdfdocs.txt | sort -u
> ! Argument of \LT@max@sel has an extra }.
> ! Extra alignment tab has been changed to \cr.
> ! Extra \endcsname.
> ! Extra \endgroup.
> ! Illegal unit of measure (pt inserted).
> ! Improper alphabetic constant.
> ! LaTeX Error: \begin{document} ended by \end{adjustbox}.
> ! LaTeX Error: \begin{document} ended by \end{longtable}.
> ! LaTeX Error: Something's wrong--perhaps a missing \item.
> ! LaTeX Error: There's no line here to end.
> ! Misplaced \noalign.
> ! Missing \endcsname inserted.
> ! Missing \endgroup inserted.
> ! Missing { inserted.
> ! Missing } inserted.
> ! Missing # inserted in alignment preamble.
> ! Missing number, treated as zero.
> ! Paragraph ended before \LT@entry was complete.
> ! Paragraph ended before \LT@max@sel was complete.
> ! Paragraph ended before \multicolumn was complete.
> ! Undefined control sequence.
> ! You can't use `\hrule' here except wi
>
FYI: as far as I know those "!LaTeX Error" messages cause TeX
to end with an error code which stops the make build.
Since we are not in an interactive mode, xelatex continues
after each "!LaTeX Error" messages and builds the pdf to
its end (even if the content might be broken).. and then,
it ends with exit status !=0.
In those cases (make build stops), we have to study the log file.
BTW: I prefer Jani's solution, using the "batchmode" [1] and
if a pdf build fails, I have to read the *.log file in the
latex output folder searching for those "!LaTeX Error".
[1] https://www.mail-archive.com/linux-doc@xxxxxxxxxxxxxxx/msg07462.html
--Markus--