#5419 closed defect (fixed)

pdflatex failed

Reported by: strk Owned by: robe
Priority: blocker Milestone: PostGIS 3.4.0
Component: documentation Version: master
Keywords: Cc:

Description

pdf cannot be built either on my machine or on woodie (and I think on debbie too).

The last successful build I have locally is from the 3.3 branch as of [82421b9c769e2b36690bbb6659e47995276385d7/git]

Comparing the logs all the messages before the Build postgis-out.pdf step are present also in the successful build, so [d83e8056a6d01dcf65d61a9c9b5f85b3d7b8ce71/git] was probably also not required (ref #5418).

Change History (3)

comment:1 by strk, 13 months ago

All errors seem to come from postgis-out.tex starting from:

postgis-out.tex:5940: Missing \endcsname inserted.
postgis-out.tex:5940: leading text: ...ementation Specification for SQL 1.1.} }
postgis-out.tex:5940: Use of \docomment doesn't match its definition.
postgis-out.tex:5940: leading text: ...ementation Specification for SQL 1.1.} }
postgis-out.tex:5940: Missing \endcsname inserted.

And ending with:

postgis-out.tex:6381: Unbalanced output routine.
postgis-out.tex:6381: leading text: S
postgis-out.tex:6381: Undefined control sequence \@mpargs.
postgis-out.tex:6381: leading text: S
postgis-out.tex:6381: TeX capacity exceeded, sorry [main memory size=5000000].
postgis-out.tex:6381: leading text: S

With —dump we get this info, not sure how useful:

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, in compile
    raise OSError("%s compilation failed" % self.tex.program)

comment:2 by strk, 13 months ago

Using the xetex backend (apt install texlive-xetex && dblatex -b xetex) works !

comment:3 by Sandro Santilli <strk@…>, 13 months ago

Resolution: fixed
Status: newclosed

In db153772/git:

Use xetex backend of dblatex, fixing the PDF build

Closes #5419

Note you now need the texlive-xetex to build the pdf

Note: See TracTickets for help on using tickets.