[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <45104DBA-5B56-48EA-9E1A-7F088BD8385A@darmarit.de>
Date: Wed, 2 Nov 2016 15:42:17 +0100
From: Markus Heiser <markus.heiser@...marit.de>
To: Jim Davis <jim.epost@...il.com>
Cc: Mauro Carvalho Chehab <mchehab@...radead.org>,
Jonathan Corbet <corbet@....net>,
linux-doc List <linux-doc@...r.kernel.org>,
linux-kernel List <linux-kernel@...r.kernel.org>,
Jani Nikula <jani.nikula@...el.com>
Subject: Re: make pdfdocs fails with v4.9-rc3
Am 01.11.2016 um 23:11 schrieb Jim Davis <jim.epost@...il.com>:
> On Mon, Oct 31, 2016 at 3:41 PM, Mauro Carvalho Chehab
> <mchehab@...radead.org> wrote:
>> Em Mon, 31 Oct 2016 16:40:02 -0600
>> Mauro Carvalho Chehab <mchehab@...radead.org> escreveu:
>>
>>> Em Mon, 31 Oct 2016 15:04:42 -0700
>>> Jim Davis <jim.epost@...il.com> escreveu:
>
> I've no idea where's it's going astray, though there are a number of errors:
>
> jim@...bstar:~$ 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@...ry 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@vger.kernel.org/msg07462.html
--Markus--
Powered by blists - more mailing lists