LaTeX: user numfig_format
is stripped of spaces and may cause build failure
#5889
Labels
Milestone
numfig_format
is stripped of spaces and may cause build failure
#5889
Procedure to reproduce the problem
index.rst
:conf.py
:Do
make latexpdf
.Error logs / results
Expected results
PDF via LaTeX backends works: the stripped space before
F
causes\thefigureF
non-existent macro to be used.Remark1: by the way the default definition of
\fnum@figure
is\figurename\nobreakspace\thefigure
. This explains why the defaultFig. %s
setting gives nevertheless a space in output.Remark2: the HTML backend preserves the spaces.
Environment info
Related: #5516, which migrates code that this issue, once fixed, will modify. Thus merging to master will need some care.
The text was updated successfully, but these errors were encountered: