#3651 closed defect (fixed)

Sphinx 1.8 PDF (latex) on FreeBSD does not build

Reported by: Chris Johns Owned by:
Priority: high Milestone: 5.1
Component: doc Version: 5
Severity: critical Keywords: sphinx latex pdf
Cc: Blocked By:
Blocking:

Description

The build fails with pdfindex complaining on an Undefined Control Sequence:

! Undefined control sequence.
<argument> \spxpagem 
                     
l.88 ...ecture}, \hyperindexformat{\spxpagem}{183}

The Tex is:

\item[{Architecture\index{Architecture@\spxentry{Architecture}|spxpagem}\phantomsection\label{\detokenize{glossary/index:term-architecture}}}] \leavevmode

And the IDX entry from makeindex is:

\item \spxentry {Architecture}, \hyperindexformat{\spxpagem}{183}

Change History (2)

comment:1 Changed on 01/08/19 at 23:24:50 by Chris Johns

Sphinx provides a Makefile in the build directory and this uses latexmk to create the PDF. I have seen posts from sphinx developers stating the Makefile should be used when building a PDF.

Sphinx 1.8 and later references \spxpagem which is provided in a support file called sphinx.xdy. The Makefile references this file in the xindy options:

export XINDYOPTS = -L english -C utf8  -M sphinx.xdy

The issue on FreeBSD with texlive-full-20150521 is the lack of the xindy command:

$ type xindy
xindy: not found

And latexmk expects it to exist.

comment:2 Changed on 12/12/19 at 16:46:31 by Chris Johns

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.