Opened on 12/09/18 at 23:09:32
Closed on 12/12/19 at 16:46:31
#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
comment:2 Changed on 12/12/19 at 16:46:31 by Chris Johns
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note: See
TracTickets for help on using
tickets.
Sphinx provides a
Makefile
in the build directory and this useslatexmk
to create the PDF. I have seen posts from sphinx developers stating theMakefile
should be used when building a PDF.Sphinx 1.8 and later references
\spxpagem
which is provided in a support file calledsphinx.xdy
. TheMakefile
references this file in thexindy
options:The issue on FreeBSD with
texlive-full-20150521
is the lack of thexindy
command:And
latexmk
expects it to exist.