[Debian-handbook-translators] Error when build pt-BR pdf book

Claudio Ferreira filhocf at gmail.com
Thu Aug 26 22:41:25 BST 2021


Hi for all

I had an insight and tried to build a pdf for en-US and es-ES too. For
these languages I got the same error.

Apparently, we have a general build problem when trying to build a final
pdf.

Regards,
Claudio Ferreira

Em qui., 26 de ago. de 2021 às 15:45, Claudio Ferreira <filhocf at gmail.com>
escreveu:

> Hi
>
> Em qui., 26 de ago. de 2021 às 09:08, Daniel Leidert <dleidert at debian.org>
> escreveu:
>
>> So this fixes it:
>>
>> https://salsa.debian.org/hertzog/debian-handbook/-/commit/780cdea66294711b055cf469a46062813bdff32c
>
>
> Fantastic! Really I got new steps with your help, Daniel. Thank you for
> assistance and patience.
>
> However, the FancyVerb errors prevent the successful building of the PDF
>> file
>> at the moment.
>
>
> I isolated the problem. Inside of build-pdf script (line 36), have a
> dblatex command. I tried to run it in correct place, returning:
>
> $ dblatex -c dblatex/librement.conf -V -D debian-handbook.xml
> Text configuration files are deprecated. Use the XML format instead
> Build the book set list...
> xsltproc -o doclist.txt --xinclude --xincludestyle doclist.xsl
> /home/claudio/git/debian-ha
> ndbook/tmp/pt-BR/xml/debian-handbook.xml
> Build the listings...
> xsltproc -o listings.xml --xinclude --xincludestyle --param current.dir
> '/home/claudio/git
> /debian-handbook/tmp/pt-BR/xml'
> /usr/share/dblatex/xsl/common/mklistings.xsl /home/claudio
> /git/debian-handbook/tmp/pt-BR/xml/debian-handbook.xml
> xsltproc -o debian-handbook.rtex --xinclude --xincludestyle --param
> listings.xml '/tmp/tmp
> wt7x1rmm/listings.xml' --param current.dir
> '/home/claudio/git/debian-handbook/tmp/pt-BR/xm
> l' /tmp/tmpwt7x1rmm/custom.xsl
> /home/claudio/git/debian-handbook/tmp/pt-BR/xml/debian-hand
> book.xml
> Cannot convert 'images/cover.jpg' to png
> Build debian-handbook.pdf
> built-in module xetex registered
> no support found for ifthen
> no support found for ifxetex
> no support found for fontspec
> no support found for xltxtra
> no support found for fontenc
> no support found for ucs
> no support found for inputenc
> no support found for fancybox
> built-in module makeidx registered
> no support found for babel
> no support found for cmap
> no support found for geometry
> no support found for librement
> building additional files...
> checking if compiling is necessary...
> the output file doesn't exist
> xelatex -interaction=batchmode debian-handbook.tex
> xelatex failed
> debian-handbook.tex:6317: FancyVerb Error:
> debian-handbook.tex:6317: leading text:
> ...oredelim={**[is][\itshape]{<i>}{</i>}},]
> debian-handbook.tex:7843: FancyVerb Error:
> debian-handbook.tex:7843: leading text:
> ...oredelim={**[is][\itshape]{<i>}{</i>}},]
> debian-handbook.tex:9741: FancyVerb Error:
> debian-handbook.tex:9741: leading text:
> ...oredelim={**[is][\itshape]{<i>}{</i>}},]
> debian-handbook.tex:16522: FancyVerb Error:
> debian-handbook.tex:16522: leading text:
> ...redelim={**[is][\itshape]{<i>}{</i>}},]
> Unexpected error occured
> Traceback (most recent call last):
>  File "/usr/lib/python3/dist-packages/dbtexmf/core/dbtex.py", line 758, in
> main
>    run.compile()
>  File "/usr/lib/python3/dist-packages/dbtexmf/core/dbtex.py", line 366, in
> compile
>    donefiles = self._compile()
>  File "/usr/lib/python3/dist-packages/dbtexmf/core/dbtex.py", line 440, in
> _compile
>    self.make_bin()
>  File "/usr/lib/python3/dist-packages/dbtexmf/core/dbtex.py", line 349, in
> make_bin
>    self.runtex.compile(d.texfile, d.binfile, self.format,
>  File "/usr/lib/python3/dist-packages/dbtexmf/dblatex/runtex.py", line
> 122, in compile
>    self.texer.compile(texfile)
>  File
> "/usr/lib/python3/dist-packages/dbtexmf/dblatex/grubber/texbuilder.py",
> line 102, i
> n compile
>    raise OSError("%s compilation failed" % self.tex.program)
> OSError: xelatex compilation failed
> Error: xelatex compilation failed
> Traceback (most recent call last):
>  File "/usr/lib/python3/dist-packages/dbtexmf/core/dbtex.py", line 758, in
> main
>    run.compile()
>  File "/usr/lib/python3/dist-packages/dbtexmf/core/dbtex.py", line 366, in
> compile
>    donefiles = self._compile()
>  File "/usr/lib/python3/dist-packages/dbtexmf/core/dbtex.py", line 440, in
> _compile
>    self.make_bin()
>  File "/usr/lib/python3/dist-packages/dbtexmf/core/dbtex.py", line 349, in
> make_bin
>    self.runtex.compile(d.texfile, d.binfile, self.format,
>  File "/usr/lib/python3/dist-packages/dbtexmf/dblatex/runtex.py", line
> 122, in compile
>    self.texer.compile(texfile)
>  File
> "/usr/lib/python3/dist-packages/dbtexmf/dblatex/grubber/texbuilder.py",
> line 102, i
> n compile
>    raise OSError("%s compilation failed" % self.tex.program)
> OSError: xelatex compilation failed
>
>
> Using the option '--opts="-V -D" ' I saw better what happens, but without
> success to understand what it means.  Apparently, this is a problem with
> xelatex. I found in many places talking about using pdflatex instead of
> xelatex.
>
> It is more that I can resolv. I have no idea what to do.
>
> I still accept suggestions and help.
>
> Regards,
> Claudio Ferreira
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/debian-handbook-translators/attachments/20210826/d9ad5700/attachment.htm>


More information about the Debian-handbook-translators mailing list