Python sphinx latex command undefined after v3.0.0

  Kiến thức lập trình

After upgrading Sphinx from 2.4.5 to 3.0.0 Latex output is broken for me. I get lots of errors of the following type:

! LaTeX Error: Command appendix undefined.

! LaTeX Error: The font size command normalsize is not defined: there is probably something wrong with the class file.

My class file worked fine in 2.4.5. I’ve tried to find what changed between 2.4.5 -> 3.0.0 to see what I need to update on my side, but I can’t find enough clues.

I’m on Windows and Python 3.12.

Running sphinx-build latexpdf does produce a PDF that lacks all elements mentioned in the errors (for example font sizes are wrong). Resulting logfile below (omitted ~half of the log to conform with body text limit):

This is pdfTeX, Version 3.141592653-2.6-1.40.25 (TeX Live 2023) (preloaded format=pdflatex 2023.9.26)  19 AUG 2024 22:30
entering extended mode
 restricted write18 enabled.
 %&-line parsing enabled.
**test_doc.tex
(./test_doc.tex
LaTeX2e <2023-06-01> patch level 1
L3 programming layer <2023-08-29>
(./standard_without_version.cls
Document Class: standard_without_version 2019/12/01 v2.3.0 Document class (Sphi
nx manual)
LaTeX Info: Redefining and on input line 35.
) (c:/texlive/2023/texmf-dist/tex/latex/base/inputenc.sty
Package: inputenc 2021/02/14 v1.3d Input encoding file
inpenc@prehook=toks17
inpenc@posthook=toks18
)
   defining Unicode char U+00A0 (decimal 160)
   defining Unicode char U+2500 (decimal 9472)
   defining Unicode char U+2502 (decimal 9474)
   defining Unicode char U+2514 (decimal 9492)
   defining Unicode char U+251C (decimal 9500)
   defining Unicode char U+2572 (decimal 9586)

(c:/texlive/2023/texmf-dist/tex/latex/cmap/cmap.sty
Package: cmap 2021/02/06 v1.0j CMap support: searchable PDF
)
(c:/texlive/2023/texmf-dist/tex/latex/base/fontenc.sty
Package: fontenc 2021/04/29 v2.0v Standard LaTeX package
<<t1.cmap>>)
(c:/texlive/2023/texmf-dist/tex/latex/amsmath/amsmath.sty
Package: amsmath 2023/05/13 v2.17o AMS math features
@mathmargin=skip48

For additional information on amsmath, use the `?' option.
(c:/texlive/2023/texmf-dist/tex/latex/amsmath/amstext.sty
Package: amstext 2021/08/26 v2.01 AMS text

(c:/texlive/2023/texmf-dist/tex/latex/amsmath/amsgen.sty
File: amsgen.sty 1999/11/30 v2.0 generic functions
@emptytoks=toks19
ex@=dimen140
))
(c:/texlive/2023/texmf-dist/tex/latex/amsmath/amsbsy.sty
Package: amsbsy 1999/11/29 v1.2d Bold Symbols
pmbraise@=dimen141
)
(c:/texlive/2023/texmf-dist/tex/latex/amsmath/amsopn.sty
Package: amsopn 2022/04/08 v2.04 operator names
)
inf@bad=count185
LaTeX Info: Redefining frac on input line 234.
uproot@=count186
leftroot@=count187
LaTeX Info: Redefining overline on input line 399.
LaTeX Info: Redefining colon on input line 410.
classnum@=count188
DOTSCASE@=count189
LaTeX Info: Redefining ldots on input line 496.
LaTeX Info: Redefining dots on input line 499.
LaTeX Info: Redefining cdots on input line 620.
Mathstrutbox@=box51
strutbox@=box52
LaTeX Info: Redefining big on input line 722.
LaTeX Info: Redefining Big on input line 723.
LaTeX Info: Redefining bigg on input line 724.
LaTeX Info: Redefining Bigg on input line 725.
big@size=dimen142
LaTeX Font Info:    Redeclaring font encoding OML on input line 743.
LaTeX Font Info:    Redeclaring font encoding OMS on input line 744.
macc@depth=count190
LaTeX Info: Redefining bmod on input line 905.
LaTeX Info: Redefining pmod on input line 910.
LaTeX Info: Redefining smash on input line 940.
LaTeX Info: Redefining relbar on input line 970.
LaTeX Info: Redefining Relbar on input line 971.
c@MaxMatrixCols=count191
dotsspace@=muskip16
c@parentequation=count192
dspbrk@lvl=count193
tag@help=toks20
row@=count194
column@=count195
maxfields@=count196
andhelp@=toks21
eqnshift@=dimen143
alignsep@=dimen144
tagshift@=dimen145
tagwidth@=dimen146
totwidth@=dimen147
lineht@=dimen148
@envbody=toks22
multlinegap=skip49
multlinetaggap=skip50
mathdisplay@stack=toks23
LaTeX Info: Redefining [ on input line 2953.
LaTeX Info: Redefining ] on input line 2954.
)
(c:/texlive/2023/texmf-dist/tex/latex/amsfonts/amssymb.sty
Package: amssymb 2013/01/14 v3.01 AMS font symbols

(c:/texlive/2023/texmf-dist/tex/latex/amsfonts/amsfonts.sty
Package: amsfonts 2013/01/14 v3.01 Basic AMSFonts support
symAMSa=mathgroup4
symAMSb=mathgroup5
LaTeX Font Info:    Redeclaring math symbol hbar on input line 98.
LaTeX Font Info:    Overwriting math alphabet `mathfrak' in version `bold'
(Font)                  U/euf/m/n --> U/euf/b/n on input line 106.
))
(c:/texlive/2023/texmf-dist/tex/generic/babel/babel.sty
Package: babel 2023/09/12 v3.94 The Babel package
babel@savecnt=count197
U@D=dimen149
l@unhyphenated=language89

(c:/texlive/2023/texmf-dist/tex/generic/babel/txtbabel.def)
bbl@readstream=read2
bbl@dirlevel=count198

(c:/texlive/2023/texmf-dist/tex/generic/babel-english/english.ldf
Language: english 2017/06/06 v3.3r English support from the babel system
Package babel Info: Hyphen rules for 'canadian' set to l@english
(babel)             (language0). Reported on input line 102.
Package babel Info: Hyphen rules for 'australian' set to l@ukenglish
(babel)             (language23). Reported on input line 105.
Package babel Info: Hyphen rules for 'newzealand' set to l@ukenglish
(babel)             (language23). Reported on input line 108.
))
(c:/texlive/2023/texmf-dist/tex/generic/babel/locale/en/babel-english.tex
Package babel Info: Importing font and identification data for english
(babel)             from babel-en.ini. Reported on input line 11.
)
(c:/texlive/2023/texmf-dist/tex/latex/psnfss/times.sty
Package: times 2020/03/25 PSNFSS-v9.3 (SPQR)
)
(c:/texlive/2023/texmf-dist/tex/latex/fncychap/fncychap.sty
Package: fncychap 2007/07/30 v1.34 LaTeX package (Revised chapters)


! LaTeX Error: Command appendix undefined.

See the LaTeX manual or LaTeX Companion for explanation.
Type  H <return>  for immediate help.
 ...

l.110 renewcommandappendix
                            {par
?
RW=skip51
mylen=skip52
myhi=skip53
px=skip54
py=skip55
pyy=skip56
pxx=skip57
c@AlphaCnt=count199
c@AlphaDecCnt=count266
) (./sphinx.sty
Package: sphinx 2019/09/02 v2.3.0 LaTeX package (Sphinx markup)
 (c:/texlive/2023/texmf-dist/tex/generic/ltxcmds/ltxcmds.sty
Package: ltxcmds 2020-05-10 v1.25 LaTeX kernel commands for general use (HO)
)
(c:/texlive/2023/texmf-dist/tex/latex/graphics/graphicx.sty
Package: graphicx 2021/09/16 v1.2d Enhanced LaTeX Graphics (DPC,SPQR)

(c:/texlive/2023/texmf-dist/tex/latex/graphics/keyval.sty
Package: keyval 2022/05/29 v1.15 key=value parser (DPC)
KV@toks@=toks24
)
(c:/texlive/2023/texmf-dist/tex/latex/graphics/graphics.sty
Package: graphics 2022/03/10 v1.4e Standard LaTeX Graphics (DPC,SPQR)

(c:/texlive/2023/texmf-dist/tex/latex/graphics/trig.sty
Package: trig 2021/08/11 v1.11 sin cos tan (DPC)
)
(c:/texlive/2023/texmf-dist/tex/latex/graphics-cfg/graphics.cfg
File: graphics.cfg 2016/06/04 v1.11 sample graphics configuration
)
Package graphics Info: Driver file: pdftex.def on input line 107.

(c:/texlive/2023/texmf-dist/tex/latex/graphics-def/pdftex.def
File: pdftex.def 2022/09/22 v1.2b Graphics/color driver for pdftex
))
Gin@req@height=dimen150
Gin@req@width=dimen151
)
(c:/texlive/2023/texmf-dist/tex/latex/fancyhdr/fancyhdr.sty
Package: fancyhdr 2022/11/09 v4.1 Extensive control of page headers and footers

f@nch@headwidth=skip58
f@nch@O@elh=skip59
f@nch@O@erh=skip60
f@nch@O@olh=skip61
f@nch@O@orh=skip62
f@nch@O@elf=skip63
f@nch@O@erf=skip64
f@nch@O@olf=skip65
f@nch@O@orf=skip66
)
(c:/texlive/2023/texmf-dist/tex/latex/base/textcomp.sty
Package: textcomp 2020/02/02 v2.0n Standard LaTeX package
)
(c:/texlive/2023/texmf-dist/tex/latex/titlesec/titlesec.sty
Package: titlesec 2021/07/05 v2.14 Sectioning titles
ttl@box=box53
beforetitleunit=skip67
aftertitleunit=skip68
ttl@plus=dimen152
ttl@minus=dimen153
ttl@toksa=toks25
titlewidth=dimen154
titlewidthlast=dimen155
titlewidthfirst=dimen156


Package titlesec Warning: Non standard sectioning command section
(titlesec)                detected. Using default spacing and no format.


Package titlesec Warning: Non standard sectioning command subsection
(titlesec)                detected. Using default spacing and no format.


Package titlesec Warning: Non standard sectioning command subsubsection
(titlesec)                detected. Using default spacing and no format.


Package titlesec Warning: Non standard sectioning command paragraph
(titlesec)                detected. Using default spacing and no format.


Package titlesec Warning: Non standard sectioning command subparagraph
(titlesec)                detected. Using default spacing and no format.

) (c:/texlive/2023/texmf-dist/tex/latex/tabulary/tabulary.sty
Package: tabulary 2014/06/11 v0.10 tabulary package (DPC)

(c:/texlive/2023/texmf-dist/tex/latex/tools/array.sty
Package: array 2022/09/04 v2.5g Tabular extension package (FMi)
col@sep=dimen157
ar@mcellbox=box54
extrarowheight=dimen158
NC@list=toks26
extratabsurround=skip69
backup@length=skip70
ar@cellbox=box55
)
TY@count=count267
TY@linewidth=dimen159
tymin=dimen160
tymax=dimen161
TY@tablewidth=dimen162
)
(c:/texlive/2023/texmf-dist/tex/latex/tools/longtable.sty
Package: longtable 2021-09-01 v4.17 Multi-page Table package (DPC)
LTleft=skip71
LTright=skip72
LTpre=skip73
LTpost=skip74
LTchunksize=count268
LTcapwidth=dimen163
LT@head=box56
LT@firsthead=box57
LT@foot=box58
LT@lastfoot=box59
LT@gbox=box60
LT@cols=count269
LT@rows=count270
c@LT@tables=count271
c@LT@chunks=count272
c@table=count273
LT@p@ftn=toks27
)
(c:/texlive/2023/texmf-dist/tex/latex/varwidth/varwidth.sty
Package: varwidth 2009/03/30 ver 0.92;  Variable-width minipages
@vwid@box=box61
sift@deathcycles=count274
@vwid@loff=dimen164
@vwid@roff=dimen165
)
(./sphinxmulticell.sty
Package: sphinxmulticell 2017/02/23 v1.6 better span rows and columns of a tabl
e (Sphinx team)
sphinx@TY@tablewidth=dimen166
) (c:/texlive/2023/texmf-dist/tex/latex/base/makeidx.sty
Package: makeidx 2021/10/04 v1.0m Standard LaTeX package
) (c:/texlive/2023/texmf-dist/tex/latex/framed/framed.sty
Package: framed 2011/10/22 v 0.96: framed or shaded text with page breaks
OuterFrameSep=skip75
fb@frw=dimen167
fb@frh=dimen168
FrameRule=dimen169
FrameSep=dimen170
)
(c:/texlive/2023/texmf-dist/tex/latex/xcolor/xcolor.sty
Package: xcolor 2022/06/12 v2.14 LaTeX color extensions (UK)

(c:/texlive/2023/texmf-dist/tex/latex/graphics-cfg/color.cfg
File: color.cfg 2016/01/02 v1.6 sample color configuration
)
Package xcolor Info: Driver file: pdftex.def on input line 227.

(c:/texlive/2023/texmf-dist/tex/latex/graphics/mathcolor.ltx)
Package xcolor Info: Model `cmy' substituted by `cmy0' on input line 1353.
Package xcolor Info: Model `hsb' substituted by `rgb' on input line 1357.
Package xcolor Info: Model `RGB' extended on input line 1369.
Package xcolor Info: Model `HTML' substituted by `rgb' on input line 1371.
Package xcolor Info: Model `Hsb' substituted by `hsb' on input line 1372.
Package xcolor Info: Model `tHsb' substituted by `hsb' on input line 1373.
Package xcolor Info: Model `HSB' substituted by `hsb' on input line 1374.
Package xcolor Info: Model `Gray' substituted by `gray' on input line 1375.
Package xcolor Info: Model `wave' substituted by `hsb' on input line 1376.
)
(c:/texlive/2023/texmf-dist/tex/latex/fancyvrb/fancyvrb.sty
Package: fancyvrb 2023/01/19 4.5a verbatim text (tvz,hv)
FV@CodeLineNo=count275
FV@InFile=read3
FV@TabBox=box62
c@FancyVerbLine=count276
FV@StepNumber=count277
FV@OutFile=write3
)
(./footnotehyper-sphinx.sty
Package: footnotehyper-sphinx 2017/10/27 v1.7 hyperref aware footnote.sty for s
phinx (JFB)
FNH@notes=box63
FNH@width=dimen171
)
(c:/texlive/2023/texmf-dist/tex/latex/float/float.sty
Package: float 2001/11/08 v1.3d Float enhancements (AL)
c@float@type=count278
float@exts=toks28
float@box=box64
@float@everytoks=toks29
@floatcapt=box65
)
(c:/texlive/2023/texmf-dist/tex/latex/wrapfig/wrapfig.sty
wrapoverhang=dimen172
WF@size=dimen173
c@WF@wrappedlines=count279
WF@box=box66
WF@everypar=toks30
Package: wrapfig 2003/01/31  v 3.6
)
(c:/texlive/2023/texmf-dist/tex/latex/parskip/parskip.sty
Rollback for package 'parskip' requested -> version 'v1'.
         This corresponds to the release introduced on 2001-04-09.

(c:/texlive/2023/texmf-dist/tex/latex/parskip/parskip-2001-04-09.sty
Package: parskip 2001/04/09 non-zero parskip adjustments
))
(c:/texlive/2023/texmf-dist/tex/latex/base/alltt.sty
Package: alltt 2021/01/29 v2.0g defines alltt environment
)
(c:/texlive/2023/texmf-dist/tex/latex/upquote/upquote.sty
Package: upquote 2012/04/19 v1.3 upright-quote and grave-accent glyphs in verba
tim
)
(c:/texlive/2023/texmf-dist/tex/latex/capt-of/capt-of.sty
Package: capt-of 2009/12/29 v0.2 standard captions outside of floats
)
(c:/texlive/2023/texmf-dist/tex/latex/needspace/needspace.sty
Package: needspace 2010/09/12 v1.3d reserve vertical space
)
(./sphinxhighlight.sty
Package: sphinxhighlight 2016/05/29 stylesheet for highlighting with pygments
)
(c:/texlive/2023/texmf-dist/tex/latex/kvoptions/kvoptions.sty
Package: kvoptions 2022-06-15 v3.15 Key value format for package options (HO)

(c:/texlive/2023/texmf-dist/tex/latex/kvsetkeys/kvsetkeys.sty
Package: kvsetkeys 2022-10-05 v1.19 Key value parser (HO)
))
sphinxverbatimsep=dimen174
sphinxverbatimborder=dimen175
sphinxshadowsep=dimen176
sphinxshadowsize=dimen177
sphinxshadowrule=dimen178
spx@notice@border=dimen179
spx@image@maxheight=dimen180
spx@image@box=dimen181
c@literalblock=count280
sphinxcontinuationbox=box67
sphinxvisiblespacebox=box68
sphinxVerbatim@TitleBox=box69
sphinxVerbatim@ContentsBox=box70
py@argswidth=skip76
lineblockindentation=skip77
DUlineblockindent=skip78
)
(c:/texlive/2023/texmf-dist/tex/latex/geometry/geometry.sty
Package: geometry 2020/01/02 v5.9 Page Geometry

(c:/texlive/2023/texmf-dist/tex/generic/iftex/ifvtex.sty
Package: ifvtex 2019/10/25 v1.7 ifvtex legacy package. Use iftex instead.

(c:/texlive/2023/texmf-dist/tex/generic/iftex/iftex.sty
Package: iftex 2022/02/03 v1.0f TeX engine tests
))
Gm@cnth=count281
Gm@cntv=count282
c@Gm@tempcnt=count283
Gm@bindingoffset=dimen182
Gm@wd@mp=dimen183
Gm@odd@mp=dimen184
Gm@even@mp=dimen185
Gm@layoutwidth=dimen186
Gm@layoutheight=dimen187
Gm@layouthoffset=dimen188
Gm@layoutvoffset=dimen189
Gm@dimlist=toks31
)
(c:/texlive/2023/texmf-dist/tex/latex/hyperref/hyperref.sty
Package: hyperref 2023-07-08 v7.01b Hypertext links for LaTeX

(c:/texlive/2023/texmf-dist/tex/generic/pdftexcmds/pdftexcmds.sty
Package: pdftexcmds 2020-06-27 v0.33 Utility functions of pdfTeX for LuaTeX (HO
)

(c:/texlive/2023/texmf-dist/tex/generic/infwarerr/infwarerr.sty
Package: infwarerr 2019/12/03 v1.5 Providing info/warning/error messages (HO)
)
Package pdftexcmds Info: pdf@primitive is available.
Package pdftexcmds Info: pdf@ifprimitive is available.
Package pdftexcmds Info: pdfdraftmode found.
)
(c:/texlive/2023/texmf-dist/tex/generic/kvdefinekeys/kvdefinekeys.sty
Package: kvdefinekeys 2019-12-19 v1.6 Define keys (HO)
)
(c:/texlive/2023/texmf-dist/tex/generic/pdfescape/pdfescape.sty
Package: pdfescape 2019/12/09 v1.15 Implements pdfTeX's escape features (HO)
)
(c:/texlive/2023/texmf-dist/tex/latex/hycolor/hycolor.sty
Package: hycolor 2020-01-27 v1.10 Color options for hyperref/bookmark (HO)
)
(c:/texlive/2023/texmf-dist/tex/latex/letltxmacro/letltxmacro.sty
Package: letltxmacro 2019/12/03 v1.6 Let assignment for LaTeX macros (HO)
)
(c:/texlive/2023/texmf-dist/tex/latex/auxhook/auxhook.sty
Package: auxhook 2019-12-17 v1.6 Hooks for auxiliary files (HO)
)
(c:/texlive/2023/texmf-dist/tex/latex/hyperref/nameref.sty
Package: nameref 2023-08-07 v2.53 Cross-referencing by name of section

(c:/texlive/2023/texmf-dist/tex/latex/refcount/refcount.sty
Package: refcount 2019/12/15 v3.6 Data extraction from label references (HO)
)
(c:/texlive/2023/texmf-dist/tex/generic/gettitlestring/gettitlestring.sty
Package: gettitlestring 2019/12/15 v1.6 Cleanup title references (HO)
)
c@section@level=count284
)
(c:/texlive/2023/texmf-dist/tex/latex/etoolbox/etoolbox.sty
Package: etoolbox 2020/10/05 v2.5k e-TeX tools for LaTeX (JAW)
etb@tempcnta=count285
)
@linkdim=dimen190
Hy@linkcounter=count286
Hy@pagecounter=count287

(c:/texlive/2023/texmf-dist/tex/latex/hyperref/pd1enc.def
File: pd1enc.def 2023-07-08 v7.01b Hyperref: PDFDocEncoding definition (HO)
Now handling font encoding PD1 ...
... no UTF-8 mapping file for font encoding PD1
)
(c:/texlive/2023/texmf-dist/tex/generic/intcalc/intcalc.sty
Package: intcalc 2019/12/15 v1.3 Expandable calculations with integers (HO)
)
Hy@SavedSpaceFactor=count288

(c:/texlive/2023/texmf-dist/tex/latex/hyperref/puenc.def
File: puenc.def 2023-07-08 v7.01b Hyperref: PDF Unicode definition (HO)
Now handling font encoding PU ...
... no UTF-8 mapping file for font encoding PU
)
Package hyperref Info: Option `unicode' set `true' on input line 4050.
Package hyperref Info: Option `colorlinks' set `true' on input line 4050.
Package hyperref Info: Option `breaklinks' set `true' on input line 4050.
Package hyperref Info: Hyper figures OFF on input line 4167.
Package hyperref Info: Link nesting OFF on input line 4172.
Package hyperref Info: Hyper index ON on input line 4175.
Package hyperref Info: Plain pages OFF on input line 4182.
Package hyperref Info: Backreferencing OFF on input line 4187.
Package hyperref Info: Implicit mode ON; LaTeX internals redefined.
Package hyperref Info: Bookmarks ON on input line 4434.
c@Hy@tempcnt=count289

(c:/texlive/2023/texmf-dist/tex/latex/url/url.sty
Urlmuskip=muskip17
Package: url 2013/09/16  ver 3.4  Verb mode for urls, etc.
)
LaTeX Info: Redefining url on input line 4772.
XeTeXLinkMargin=dimen191

(c:/texlive/2023/texmf-dist/tex/generic/bitset/bitset.sty
Package: bitset 2019/12/09 v1.3 Handle bit-vector datatype (HO)

(c:/texlive/2023/texmf-dist/tex/generic/bigintcalc/bigintcalc.sty
Package: bigintcalc 2019/12/15 v1.5 Expandable calculations on big integers (HO
)
))
Fld@menulength=count290
Field@Width=dimen192
Fld@charsize=dimen193
Package hyperref Info: Hyper figures OFF on input line 6051.
Package hyperref Info: Link nesting OFF on input line 6056.
Package hyperref Info: Hyper index ON on input line 6059.
Package hyperref Info: backreferencing OFF on input line 6066.
Package hyperref Info: Link coloring ON on input line 6069.
Package hyperref Info: Link coloring with OCG OFF on input line 6076.
Package hyperref Info: PDF/A mode OFF on input line 6081.

(c:/texlive/2023/texmf-dist/tex/latex/base/atbegshi-ltx.sty
Package: atbegshi-ltx 2021/01/10 v1.0c Emulation of the original atbegshi
package with kernel methods
)

Package hyperref Warning: Option `pdfpagelabels' is turned off
(hyperref)                because thepage is undefined.

c@Item=count291
c@Hfootnote=count292
)
Package hyperref Info: Driver (autodetected): hpdftex.
 (c:/texlive/2023/texmf-dist/tex/latex/hyperref/hpdftex.def
File: hpdftex.def 2023-07-08 v7.01b Hyperref driver for pdfTeX
Fld@listcount=count293
c@bookmark@seq@number=count294

(c:/texlive/2023/texmf-dist/tex/latex/rerunfilecheck/rerunfilecheck.sty
Package: rerunfilecheck 2022-07-10 v1.10 Rerun checks for auxiliary files (HO)

(c:/texlive/2023/texmf-dist/tex/latex/base/atveryend-ltx.sty
Package: atveryend-ltx 2020/08/19 v1.0a Emulation of the original atveryend pac
kage
with kernel methods
)
(c:/texlive/2023/texmf-dist/tex/generic/uniquecounter/uniquecounter.sty
Package: uniquecounter 2019/12/15 v1.4 Provide unlimited unique counter (HO)
)
Package uniquecounter Info: New unique counter `rerunfilecheck' on input line 2
85.
)
Hy@SectionHShift=skip79
)
(c:/texlive/2023/texmf-dist/tex/latex/oberdiek/hypcap.sty
Package: hypcap 2016/05/16 v1.12 Adjusting the anchors of captions (HO)
)
(./sphinxmessages.sty
Package: sphinxmessages 2019/01/04 v2.0 Localized LaTeX macros (Sphinx team)
)
(c:/texlive/2023/texmf-dist/tex/latex/graphics/lscape.sty
Package: lscape 2020/05/28 v3.02 Landscape Pages (DPC)
)
(c:/texlive/2023/texmf-dist/tex/latex/colortbl/colortbl.sty
Package: colortbl 2022/06/20 v1.0f Color table columns (DPC)
everycr=toks32
minrowclearance=skip80
rownum=count295
)
LaTeX Font Info:    Trying to load font information for T1+ptm on input line 14
4.

(c:/texlive/2023/texmf-dist/tex/latex/psnfss/t1ptm.fd
File: t1ptm.fd 2001/06/04 font definitions for T1/ptm.
)
(c:/texlive/2023/texmf-dist/tex/latex/l3backend/l3backend-pdftex.def
File: l3backend-pdftex.def 2023-04-19 L3 backend support: PDF output (pdfTeX)
l__color_backend_stack_int=count296
l__pdf_internal_box=box71
)
(./test_doc.aux)
openout1 = `test_doc.aux'.

LaTeX Font Info:    Checking defaults for OML/cmm/m/it on input line 144.
LaTeX Font Info:    ... okay on input line 144.
LaTeX Font Info:    Checking defaults for OMS/cmsy/m/n on input line 144.
LaTeX Font Info:    ... okay on input line 144.
LaTeX Font Info:    Checking defaults for OT1/cmr/m/n on input line 144.
LaTeX Font Info:    ... okay on input line 144.
LaTeX Font Info:    Checking defaults for T1/cmr/m/n on input line 144.
LaTeX Font Info:    ... okay on input line 144.
LaTeX Font Info:    Checking defaults for TS1/cmr/m/n on input line 144.
LaTeX Font Info:    ... okay on input line 144.
LaTeX Font Info:    Checking defaults for OMX/cmex/m/n on input line 144.
LaTeX Font Info:    ... okay on input line 144.
LaTeX Font Info:    Checking defaults for U/cmr/m/n on input line 144.
LaTeX Font Info:    ... okay on input line 144.
LaTeX Font Info:    Checking defaults for PD1/pdf/m/n on input line 144.
LaTeX Font Info:    ... okay on input line 144.
LaTeX Font Info:    Checking defaults for PU/pdf/m/n on input line 144.
LaTeX Font Info:    ... okay on input line 144.


! LaTeX Error: The font size command normalsize is not defined:
               there is probably something wrong with the class file.

See the LaTeX manual or LaTeX Companion for explanation.
Type  H <return>  for immediate help.
 ...

l.144 begin{document}

?
(c:/texlive/2023/texmf-dist/tex/context/base/mkii/supp-pdf.mkii
[Loading MPS to PDF converter (version 2006.09.02).]
scratchcounter=count297
scratchdimen=dimen194
scratchbox=box72
nofMPsegments=count298
nofMParguments=count299
everyMPshowfont=toks33
MPscratchCnt=count300
MPscratchDim=dimen195
MPnumerator=count301
makeMPintoPDFobject=count302
everyMPtoPDFconversion=toks34
) (c:/texlive/2023/texmf-dist/tex/latex/epstopdf-pkg/epstopdf-base.sty
Package: epstopdf-base 2020-01-24 v2.11 Base part for package epstopdf
Package epstopdf-base Info: Redefining graphics rule for `.eps' on input line 4
85.

(c:/texlive/2023/texmf-dist/tex/latex/latexconfig/epstopdf-sys.cfg
File: epstopdf-sys.cfg 2010/07/13 v1.3 Configuration of (r)epstopdf for TeX Liv
e
))
! Undefined control sequence.
__hook begindocument ...check@a FNH@@makefntext
                                                  {1.2!3?4,}FNH@@@ 1.2!3?4,...
l.144 begin{document}

?

Package footnotehyper-sphinx Warning: Footnotes will be sub-optimal, sorry. Thi
s is due to the document class or
 some package modifying macro @makefntext.
 You can try to report this incompatibility at
 https://github.com/sphinx-doc/sphinx with this info:.

undefined
*geometry* driver: auto-detecting
*geometry* detected driver: pdftex
*geometry* verbose mode - [ preamble ] result:
* driver: pdftex
* paper: a4paper
* layout: <same size as paper>
* layoutoffset:(h,v)=(0.0pt,0.0pt)
* modes:
* h-part:(L,W,R)=(72.26999pt, 452.9679pt, 72.26999pt)
* v-part:(T,H,B)=(72.26999pt, 700.50687pt, 72.26999pt)
* paperwidth=597.50787pt
* paperheight=845.04684pt
* textwidth=452.9679pt
* textheight=700.50687pt
* oddsidemargin=0.0pt
* evensidemargin=0.0pt
* topmargin=0.0pt
* headheight=0.0pt
* headsep=0.0pt
* topskip=10.0pt
* footskip=0.0pt
* marginparwidth=36.135pt
* marginparsep=0.0pt
* columnsep=0.0pt
* skipfootins=12.0pt plus 4.0pt minus 4.0pt
* hoffset=0.0pt
* voffset=0.0pt
* mag=1000
* @twocolumnfalse
* @twosidefalse
* @mparswitchfalse
* @reversemarginfalse
* (1in=72.27pt=25.4mm, 1cm=28.453pt)

Package hyperref Info: Link coloring ON on input line 144.
@outlinefile=write4
openout4 = `test_doc.out'.

Package hyperref Info: Option `pageanchor' set `false' on input line 152.

! LaTeX Error: Environment titlepage undefined.

See the LaTeX manual or LaTeX Companion for explanation.
Type  H <return>  for immediate help.
 ...

l.152 sphinxmaketitle

?
<pdf-cover-logo.png, id=5, 3985.89125pt x 501.875pt>
LaTeX Font Info:    Trying to load font information for T1+pcr on input line 15
2.
(c:/texlive/2023/texmf-dist/tex/latex/psnfss/t1pcr.fd
File: t1pcr.fd 2001/06/04 font definitions for T1/pcr.
)
File: pdf-cover-logo.png Graphic file (type png)
<use pdf-cover-logo.png>
Package pdftex.def Info: pdf-cover-logo.png  used on input line 152.
(pdftex.def)             Requested size: 452.9245pt x 57.029pt.
LaTeX Font Info:    Trying to load font information for T1+phv on input line 15
2.

(c:/texlive/2023/texmf-dist/tex/latex/psnfss/t1phv.fd
File: t1phv.fd 2020/03/25 scalable font definitions for T1/phv.
)
! Undefined control sequence.
sphinxmaketitle ...ight}py@HeaderFamily {LARGE
                                                  MakeUppercase {@title } ...
l.152 sphinxmaketitle

?
! Undefined control sequence.
sphinxmaketitle ... par } vfill vfill {LARGE
                                                  @author par } {normalsi...
l.152 sphinxmaketitle

?

! LaTeX Error: The font size command normalsize is not defined:
               there is probably something wrong with the class file.

See the LaTeX manual or LaTeX Companion for explanation.
Type  H <return>  for immediate help.
 ...

l.152 sphinxmaketitle

?
! Undefined control sequence.
sphinxmaketitle ... par } vfill vfill {large
                                                  @date par vfill py@aut...
l.152 sphinxmaketitle

?

! LaTeX Error: begin{document} ended by end{titlepage}.

See the LaTeX manual or LaTeX Companion for explanation.
Type  H <return>  for immediate help.
 ...

l.152 sphinxmaketitle

?

! LaTeX Error: The font size command normalsize is not defined:
               there is probably something wrong with the class file.

See the LaTeX manual or LaTeX Companion for explanation.
Type  H <return>  for immediate help.
 ...

l.152 sphinxmaketitle

?
[1{c:/texlive/2023/texmf-var/fonts/map/pdftex/updmap/pdftex.map}{c:/texlive/202
3/texmf-dist/fonts/enc/dvips/base/8r.enc} <./pdf-cover-logo.png>]
! Undefined control sequence.
licensepage -> pagestyle {plain} {Huge
                                          Copyright Notice and Disclaimer p...
l.155 licensepage

?

! LaTeX Error: The font size command normalsize is not defined:
               there is probably something wrong with the class file.

See the LaTeX manual or LaTeX Companion for explanation.
Type  H <return>  for immediate help.
 ...

l.155 licensepage

?

Package fancyhdr Warning: footskip is too small (0.0pt):
(fancyhdr)                Make it at least 10.07997pt, for example:
(fancyhdr)                setlength{footskip}{10.07997pt}.

[11 <./T34.png>]

Package longtable Warning: Table widths have changed. Rerun LaTeX.

(./test_doc.aux)
 ***********
LaTeX2e <2023-06-01> patch level 1
L3 programming layer <2023-08-29>
 ***********


LaTeX Warning: Label(s) may have changed. Rerun to get cross-references right.


Package rerunfilecheck Warning: File `test_doc.out' has changed.
(rerunfilecheck)                Rerun to get outlines right
(rerunfilecheck)                or use package `bookmark'.

Package rerunfilecheck Info: Checksums for `test_doc.out':
(rerunfilecheck)             Before: <no file>
(rerunfilecheck)             After:  60512455825556B63F144F9EA1EB26AF;3279.
 )
Here is how much of TeX's memory you used:
 14433 strings out of 474927
 226576 string characters out of 5763541
 1946785 words of memory out of 5000000
 35687 multiletter control sequences out of 15000+600000
 572611 words of font info for 56 fonts, out of 8000000 for 9000
 1142 hyphenation exceptions out of 8191
 72i,11n,79p,513b,554s stack positions out of 10000i,1000n,20000p,200000b,200000s
<c:/texlive/2023/texmf-dist/fonts/type1/urw/courier/ucrr8a.pfb><c:/texlive/20
23/texmf-dist/fonts/type1/urw/helvetic/uhvb8a.pfb><c:/texlive/2023/texmf-dist/f
onts/type1/urw/helvetic/uhvr8a.pfb><c:/texlive/2023/texmf-dist/fonts/type1/urw/
times/utmb8a.pfb><c:/texlive/2023/texmf-dist/fonts/type1/urw/times/utmr8a.pfb>
Output written on test_doc.pdf (13 pages, 4614463 bytes).
PDF statistics:
 121 PDF objects out of 1000 (max. 8388607)
 81 compressed objects within 1 object stream
 25 named destinations out of 1000 (max. 500000)
 61 words of extra memory for PDF output out of 10000 (max. 10000000)

Theme wordpress giá rẻ Theme wordpress giá rẻ Thiết kế website

Python sphinx latex command undefined after v3.0.0

After upgrading Sphinx from 2.4.5 to 3.0.0 Latex output is broken for me. I get lots of errors of the following type:

! LaTeX Error: Command appendix undefined.

! LaTeX Error: The font size command normalsize is not defined: there is probably something wrong with the class file.

My class file worked fine in 2.4.5. I’ve tried to find what changed between 2.4.5 -> 3.0.0 to see what I need to update on my side, but I can’t find enough clues.

I’m on Windows and Python 3.12.

Running sphinx-build latexpdf does produce a PDF that lacks all elements mentioned in the errors (for example font sizes are wrong). Resulting logfile below (omitted ~half of the log to conform with body text limit):

This is pdfTeX, Version 3.141592653-2.6-1.40.25 (TeX Live 2023) (preloaded format=pdflatex 2023.9.26)  19 AUG 2024 22:30
entering extended mode
 restricted write18 enabled.
 %&-line parsing enabled.
**test_doc.tex
(./test_doc.tex
LaTeX2e <2023-06-01> patch level 1
L3 programming layer <2023-08-29>
(./standard_without_version.cls
Document Class: standard_without_version 2019/12/01 v2.3.0 Document class (Sphi
nx manual)
LaTeX Info: Redefining and on input line 35.
) (c:/texlive/2023/texmf-dist/tex/latex/base/inputenc.sty
Package: inputenc 2021/02/14 v1.3d Input encoding file
inpenc@prehook=toks17
inpenc@posthook=toks18
)
   defining Unicode char U+00A0 (decimal 160)
   defining Unicode char U+2500 (decimal 9472)
   defining Unicode char U+2502 (decimal 9474)
   defining Unicode char U+2514 (decimal 9492)
   defining Unicode char U+251C (decimal 9500)
   defining Unicode char U+2572 (decimal 9586)

(c:/texlive/2023/texmf-dist/tex/latex/cmap/cmap.sty
Package: cmap 2021/02/06 v1.0j CMap support: searchable PDF
)
(c:/texlive/2023/texmf-dist/tex/latex/base/fontenc.sty
Package: fontenc 2021/04/29 v2.0v Standard LaTeX package
<<t1.cmap>>)
(c:/texlive/2023/texmf-dist/tex/latex/amsmath/amsmath.sty
Package: amsmath 2023/05/13 v2.17o AMS math features
@mathmargin=skip48

For additional information on amsmath, use the `?' option.
(c:/texlive/2023/texmf-dist/tex/latex/amsmath/amstext.sty
Package: amstext 2021/08/26 v2.01 AMS text

(c:/texlive/2023/texmf-dist/tex/latex/amsmath/amsgen.sty
File: amsgen.sty 1999/11/30 v2.0 generic functions
@emptytoks=toks19
ex@=dimen140
))
(c:/texlive/2023/texmf-dist/tex/latex/amsmath/amsbsy.sty
Package: amsbsy 1999/11/29 v1.2d Bold Symbols
pmbraise@=dimen141
)
(c:/texlive/2023/texmf-dist/tex/latex/amsmath/amsopn.sty
Package: amsopn 2022/04/08 v2.04 operator names
)
inf@bad=count185
LaTeX Info: Redefining frac on input line 234.
uproot@=count186
leftroot@=count187
LaTeX Info: Redefining overline on input line 399.
LaTeX Info: Redefining colon on input line 410.
classnum@=count188
DOTSCASE@=count189
LaTeX Info: Redefining ldots on input line 496.
LaTeX Info: Redefining dots on input line 499.
LaTeX Info: Redefining cdots on input line 620.
Mathstrutbox@=box51
strutbox@=box52
LaTeX Info: Redefining big on input line 722.
LaTeX Info: Redefining Big on input line 723.
LaTeX Info: Redefining bigg on input line 724.
LaTeX Info: Redefining Bigg on input line 725.
big@size=dimen142
LaTeX Font Info:    Redeclaring font encoding OML on input line 743.
LaTeX Font Info:    Redeclaring font encoding OMS on input line 744.
macc@depth=count190
LaTeX Info: Redefining bmod on input line 905.
LaTeX Info: Redefining pmod on input line 910.
LaTeX Info: Redefining smash on input line 940.
LaTeX Info: Redefining relbar on input line 970.
LaTeX Info: Redefining Relbar on input line 971.
c@MaxMatrixCols=count191
dotsspace@=muskip16
c@parentequation=count192
dspbrk@lvl=count193
tag@help=toks20
row@=count194
column@=count195
maxfields@=count196
andhelp@=toks21
eqnshift@=dimen143
alignsep@=dimen144
tagshift@=dimen145
tagwidth@=dimen146
totwidth@=dimen147
lineht@=dimen148
@envbody=toks22
multlinegap=skip49
multlinetaggap=skip50
mathdisplay@stack=toks23
LaTeX Info: Redefining [ on input line 2953.
LaTeX Info: Redefining ] on input line 2954.
)
(c:/texlive/2023/texmf-dist/tex/latex/amsfonts/amssymb.sty
Package: amssymb 2013/01/14 v3.01 AMS font symbols

(c:/texlive/2023/texmf-dist/tex/latex/amsfonts/amsfonts.sty
Package: amsfonts 2013/01/14 v3.01 Basic AMSFonts support
symAMSa=mathgroup4
symAMSb=mathgroup5
LaTeX Font Info:    Redeclaring math symbol hbar on input line 98.
LaTeX Font Info:    Overwriting math alphabet `mathfrak' in version `bold'
(Font)                  U/euf/m/n --> U/euf/b/n on input line 106.
))
(c:/texlive/2023/texmf-dist/tex/generic/babel/babel.sty
Package: babel 2023/09/12 v3.94 The Babel package
babel@savecnt=count197
U@D=dimen149
l@unhyphenated=language89

(c:/texlive/2023/texmf-dist/tex/generic/babel/txtbabel.def)
bbl@readstream=read2
bbl@dirlevel=count198

(c:/texlive/2023/texmf-dist/tex/generic/babel-english/english.ldf
Language: english 2017/06/06 v3.3r English support from the babel system
Package babel Info: Hyphen rules for 'canadian' set to l@english
(babel)             (language0). Reported on input line 102.
Package babel Info: Hyphen rules for 'australian' set to l@ukenglish
(babel)             (language23). Reported on input line 105.
Package babel Info: Hyphen rules for 'newzealand' set to l@ukenglish
(babel)             (language23). Reported on input line 108.
))
(c:/texlive/2023/texmf-dist/tex/generic/babel/locale/en/babel-english.tex
Package babel Info: Importing font and identification data for english
(babel)             from babel-en.ini. Reported on input line 11.
)
(c:/texlive/2023/texmf-dist/tex/latex/psnfss/times.sty
Package: times 2020/03/25 PSNFSS-v9.3 (SPQR)
)
(c:/texlive/2023/texmf-dist/tex/latex/fncychap/fncychap.sty
Package: fncychap 2007/07/30 v1.34 LaTeX package (Revised chapters)


! LaTeX Error: Command appendix undefined.

See the LaTeX manual or LaTeX Companion for explanation.
Type  H <return>  for immediate help.
 ...

l.110 renewcommandappendix
                            {par
?
RW=skip51
mylen=skip52
myhi=skip53
px=skip54
py=skip55
pyy=skip56
pxx=skip57
c@AlphaCnt=count199
c@AlphaDecCnt=count266
) (./sphinx.sty
Package: sphinx 2019/09/02 v2.3.0 LaTeX package (Sphinx markup)
 (c:/texlive/2023/texmf-dist/tex/generic/ltxcmds/ltxcmds.sty
Package: ltxcmds 2020-05-10 v1.25 LaTeX kernel commands for general use (HO)
)
(c:/texlive/2023/texmf-dist/tex/latex/graphics/graphicx.sty
Package: graphicx 2021/09/16 v1.2d Enhanced LaTeX Graphics (DPC,SPQR)

(c:/texlive/2023/texmf-dist/tex/latex/graphics/keyval.sty
Package: keyval 2022/05/29 v1.15 key=value parser (DPC)
KV@toks@=toks24
)
(c:/texlive/2023/texmf-dist/tex/latex/graphics/graphics.sty
Package: graphics 2022/03/10 v1.4e Standard LaTeX Graphics (DPC,SPQR)

(c:/texlive/2023/texmf-dist/tex/latex/graphics/trig.sty
Package: trig 2021/08/11 v1.11 sin cos tan (DPC)
)
(c:/texlive/2023/texmf-dist/tex/latex/graphics-cfg/graphics.cfg
File: graphics.cfg 2016/06/04 v1.11 sample graphics configuration
)
Package graphics Info: Driver file: pdftex.def on input line 107.

(c:/texlive/2023/texmf-dist/tex/latex/graphics-def/pdftex.def
File: pdftex.def 2022/09/22 v1.2b Graphics/color driver for pdftex
))
Gin@req@height=dimen150
Gin@req@width=dimen151
)
(c:/texlive/2023/texmf-dist/tex/latex/fancyhdr/fancyhdr.sty
Package: fancyhdr 2022/11/09 v4.1 Extensive control of page headers and footers

f@nch@headwidth=skip58
f@nch@O@elh=skip59
f@nch@O@erh=skip60
f@nch@O@olh=skip61
f@nch@O@orh=skip62
f@nch@O@elf=skip63
f@nch@O@erf=skip64
f@nch@O@olf=skip65
f@nch@O@orf=skip66
)
(c:/texlive/2023/texmf-dist/tex/latex/base/textcomp.sty
Package: textcomp 2020/02/02 v2.0n Standard LaTeX package
)
(c:/texlive/2023/texmf-dist/tex/latex/titlesec/titlesec.sty
Package: titlesec 2021/07/05 v2.14 Sectioning titles
ttl@box=box53
beforetitleunit=skip67
aftertitleunit=skip68
ttl@plus=dimen152
ttl@minus=dimen153
ttl@toksa=toks25
titlewidth=dimen154
titlewidthlast=dimen155
titlewidthfirst=dimen156


Package titlesec Warning: Non standard sectioning command section
(titlesec)                detected. Using default spacing and no format.


Package titlesec Warning: Non standard sectioning command subsection
(titlesec)                detected. Using default spacing and no format.


Package titlesec Warning: Non standard sectioning command subsubsection
(titlesec)                detected. Using default spacing and no format.


Package titlesec Warning: Non standard sectioning command paragraph
(titlesec)                detected. Using default spacing and no format.


Package titlesec Warning: Non standard sectioning command subparagraph
(titlesec)                detected. Using default spacing and no format.

) (c:/texlive/2023/texmf-dist/tex/latex/tabulary/tabulary.sty
Package: tabulary 2014/06/11 v0.10 tabulary package (DPC)

(c:/texlive/2023/texmf-dist/tex/latex/tools/array.sty
Package: array 2022/09/04 v2.5g Tabular extension package (FMi)
col@sep=dimen157
ar@mcellbox=box54
extrarowheight=dimen158
NC@list=toks26
extratabsurround=skip69
backup@length=skip70
ar@cellbox=box55
)
TY@count=count267
TY@linewidth=dimen159
tymin=dimen160
tymax=dimen161
TY@tablewidth=dimen162
)
(c:/texlive/2023/texmf-dist/tex/latex/tools/longtable.sty
Package: longtable 2021-09-01 v4.17 Multi-page Table package (DPC)
LTleft=skip71
LTright=skip72
LTpre=skip73
LTpost=skip74
LTchunksize=count268
LTcapwidth=dimen163
LT@head=box56
LT@firsthead=box57
LT@foot=box58
LT@lastfoot=box59
LT@gbox=box60
LT@cols=count269
LT@rows=count270
c@LT@tables=count271
c@LT@chunks=count272
c@table=count273
LT@p@ftn=toks27
)
(c:/texlive/2023/texmf-dist/tex/latex/varwidth/varwidth.sty
Package: varwidth 2009/03/30 ver 0.92;  Variable-width minipages
@vwid@box=box61
sift@deathcycles=count274
@vwid@loff=dimen164
@vwid@roff=dimen165
)
(./sphinxmulticell.sty
Package: sphinxmulticell 2017/02/23 v1.6 better span rows and columns of a tabl
e (Sphinx team)
sphinx@TY@tablewidth=dimen166
) (c:/texlive/2023/texmf-dist/tex/latex/base/makeidx.sty
Package: makeidx 2021/10/04 v1.0m Standard LaTeX package
) (c:/texlive/2023/texmf-dist/tex/latex/framed/framed.sty
Package: framed 2011/10/22 v 0.96: framed or shaded text with page breaks
OuterFrameSep=skip75
fb@frw=dimen167
fb@frh=dimen168
FrameRule=dimen169
FrameSep=dimen170
)
(c:/texlive/2023/texmf-dist/tex/latex/xcolor/xcolor.sty
Package: xcolor 2022/06/12 v2.14 LaTeX color extensions (UK)

(c:/texlive/2023/texmf-dist/tex/latex/graphics-cfg/color.cfg
File: color.cfg 2016/01/02 v1.6 sample color configuration
)
Package xcolor Info: Driver file: pdftex.def on input line 227.

(c:/texlive/2023/texmf-dist/tex/latex/graphics/mathcolor.ltx)
Package xcolor Info: Model `cmy' substituted by `cmy0' on input line 1353.
Package xcolor Info: Model `hsb' substituted by `rgb' on input line 1357.
Package xcolor Info: Model `RGB' extended on input line 1369.
Package xcolor Info: Model `HTML' substituted by `rgb' on input line 1371.
Package xcolor Info: Model `Hsb' substituted by `hsb' on input line 1372.
Package xcolor Info: Model `tHsb' substituted by `hsb' on input line 1373.
Package xcolor Info: Model `HSB' substituted by `hsb' on input line 1374.
Package xcolor Info: Model `Gray' substituted by `gray' on input line 1375.
Package xcolor Info: Model `wave' substituted by `hsb' on input line 1376.
)
(c:/texlive/2023/texmf-dist/tex/latex/fancyvrb/fancyvrb.sty
Package: fancyvrb 2023/01/19 4.5a verbatim text (tvz,hv)
FV@CodeLineNo=count275
FV@InFile=read3
FV@TabBox=box62
c@FancyVerbLine=count276
FV@StepNumber=count277
FV@OutFile=write3
)
(./footnotehyper-sphinx.sty
Package: footnotehyper-sphinx 2017/10/27 v1.7 hyperref aware footnote.sty for s
phinx (JFB)
FNH@notes=box63
FNH@width=dimen171
)
(c:/texlive/2023/texmf-dist/tex/latex/float/float.sty
Package: float 2001/11/08 v1.3d Float enhancements (AL)
c@float@type=count278
float@exts=toks28
float@box=box64
@float@everytoks=toks29
@floatcapt=box65
)
(c:/texlive/2023/texmf-dist/tex/latex/wrapfig/wrapfig.sty
wrapoverhang=dimen172
WF@size=dimen173
c@WF@wrappedlines=count279
WF@box=box66
WF@everypar=toks30
Package: wrapfig 2003/01/31  v 3.6
)
(c:/texlive/2023/texmf-dist/tex/latex/parskip/parskip.sty
Rollback for package 'parskip' requested -> version 'v1'.
         This corresponds to the release introduced on 2001-04-09.

(c:/texlive/2023/texmf-dist/tex/latex/parskip/parskip-2001-04-09.sty
Package: parskip 2001/04/09 non-zero parskip adjustments
))
(c:/texlive/2023/texmf-dist/tex/latex/base/alltt.sty
Package: alltt 2021/01/29 v2.0g defines alltt environment
)
(c:/texlive/2023/texmf-dist/tex/latex/upquote/upquote.sty
Package: upquote 2012/04/19 v1.3 upright-quote and grave-accent glyphs in verba
tim
)
(c:/texlive/2023/texmf-dist/tex/latex/capt-of/capt-of.sty
Package: capt-of 2009/12/29 v0.2 standard captions outside of floats
)
(c:/texlive/2023/texmf-dist/tex/latex/needspace/needspace.sty
Package: needspace 2010/09/12 v1.3d reserve vertical space
)
(./sphinxhighlight.sty
Package: sphinxhighlight 2016/05/29 stylesheet for highlighting with pygments
)
(c:/texlive/2023/texmf-dist/tex/latex/kvoptions/kvoptions.sty
Package: kvoptions 2022-06-15 v3.15 Key value format for package options (HO)

(c:/texlive/2023/texmf-dist/tex/latex/kvsetkeys/kvsetkeys.sty
Package: kvsetkeys 2022-10-05 v1.19 Key value parser (HO)
))
sphinxverbatimsep=dimen174
sphinxverbatimborder=dimen175
sphinxshadowsep=dimen176
sphinxshadowsize=dimen177
sphinxshadowrule=dimen178
spx@notice@border=dimen179
spx@image@maxheight=dimen180
spx@image@box=dimen181
c@literalblock=count280
sphinxcontinuationbox=box67
sphinxvisiblespacebox=box68
sphinxVerbatim@TitleBox=box69
sphinxVerbatim@ContentsBox=box70
py@argswidth=skip76
lineblockindentation=skip77
DUlineblockindent=skip78
)
(c:/texlive/2023/texmf-dist/tex/latex/geometry/geometry.sty
Package: geometry 2020/01/02 v5.9 Page Geometry

(c:/texlive/2023/texmf-dist/tex/generic/iftex/ifvtex.sty
Package: ifvtex 2019/10/25 v1.7 ifvtex legacy package. Use iftex instead.

(c:/texlive/2023/texmf-dist/tex/generic/iftex/iftex.sty
Package: iftex 2022/02/03 v1.0f TeX engine tests
))
Gm@cnth=count281
Gm@cntv=count282
c@Gm@tempcnt=count283
Gm@bindingoffset=dimen182
Gm@wd@mp=dimen183
Gm@odd@mp=dimen184
Gm@even@mp=dimen185
Gm@layoutwidth=dimen186
Gm@layoutheight=dimen187
Gm@layouthoffset=dimen188
Gm@layoutvoffset=dimen189
Gm@dimlist=toks31
)
(c:/texlive/2023/texmf-dist/tex/latex/hyperref/hyperref.sty
Package: hyperref 2023-07-08 v7.01b Hypertext links for LaTeX

(c:/texlive/2023/texmf-dist/tex/generic/pdftexcmds/pdftexcmds.sty
Package: pdftexcmds 2020-06-27 v0.33 Utility functions of pdfTeX for LuaTeX (HO
)

(c:/texlive/2023/texmf-dist/tex/generic/infwarerr/infwarerr.sty
Package: infwarerr 2019/12/03 v1.5 Providing info/warning/error messages (HO)
)
Package pdftexcmds Info: pdf@primitive is available.
Package pdftexcmds Info: pdf@ifprimitive is available.
Package pdftexcmds Info: pdfdraftmode found.
)
(c:/texlive/2023/texmf-dist/tex/generic/kvdefinekeys/kvdefinekeys.sty
Package: kvdefinekeys 2019-12-19 v1.6 Define keys (HO)
)
(c:/texlive/2023/texmf-dist/tex/generic/pdfescape/pdfescape.sty
Package: pdfescape 2019/12/09 v1.15 Implements pdfTeX's escape features (HO)
)
(c:/texlive/2023/texmf-dist/tex/latex/hycolor/hycolor.sty
Package: hycolor 2020-01-27 v1.10 Color options for hyperref/bookmark (HO)
)
(c:/texlive/2023/texmf-dist/tex/latex/letltxmacro/letltxmacro.sty
Package: letltxmacro 2019/12/03 v1.6 Let assignment for LaTeX macros (HO)
)
(c:/texlive/2023/texmf-dist/tex/latex/auxhook/auxhook.sty
Package: auxhook 2019-12-17 v1.6 Hooks for auxiliary files (HO)
)
(c:/texlive/2023/texmf-dist/tex/latex/hyperref/nameref.sty
Package: nameref 2023-08-07 v2.53 Cross-referencing by name of section

(c:/texlive/2023/texmf-dist/tex/latex/refcount/refcount.sty
Package: refcount 2019/12/15 v3.6 Data extraction from label references (HO)
)
(c:/texlive/2023/texmf-dist/tex/generic/gettitlestring/gettitlestring.sty
Package: gettitlestring 2019/12/15 v1.6 Cleanup title references (HO)
)
c@section@level=count284
)
(c:/texlive/2023/texmf-dist/tex/latex/etoolbox/etoolbox.sty
Package: etoolbox 2020/10/05 v2.5k e-TeX tools for LaTeX (JAW)
etb@tempcnta=count285
)
@linkdim=dimen190
Hy@linkcounter=count286
Hy@pagecounter=count287

(c:/texlive/2023/texmf-dist/tex/latex/hyperref/pd1enc.def
File: pd1enc.def 2023-07-08 v7.01b Hyperref: PDFDocEncoding definition (HO)
Now handling font encoding PD1 ...
... no UTF-8 mapping file for font encoding PD1
)
(c:/texlive/2023/texmf-dist/tex/generic/intcalc/intcalc.sty
Package: intcalc 2019/12/15 v1.3 Expandable calculations with integers (HO)
)
Hy@SavedSpaceFactor=count288

(c:/texlive/2023/texmf-dist/tex/latex/hyperref/puenc.def
File: puenc.def 2023-07-08 v7.01b Hyperref: PDF Unicode definition (HO)
Now handling font encoding PU ...
... no UTF-8 mapping file for font encoding PU
)
Package hyperref Info: Option `unicode' set `true' on input line 4050.
Package hyperref Info: Option `colorlinks' set `true' on input line 4050.
Package hyperref Info: Option `breaklinks' set `true' on input line 4050.
Package hyperref Info: Hyper figures OFF on input line 4167.
Package hyperref Info: Link nesting OFF on input line 4172.
Package hyperref Info: Hyper index ON on input line 4175.
Package hyperref Info: Plain pages OFF on input line 4182.
Package hyperref Info: Backreferencing OFF on input line 4187.
Package hyperref Info: Implicit mode ON; LaTeX internals redefined.
Package hyperref Info: Bookmarks ON on input line 4434.
c@Hy@tempcnt=count289

(c:/texlive/2023/texmf-dist/tex/latex/url/url.sty
Urlmuskip=muskip17
Package: url 2013/09/16  ver 3.4  Verb mode for urls, etc.
)
LaTeX Info: Redefining url on input line 4772.
XeTeXLinkMargin=dimen191

(c:/texlive/2023/texmf-dist/tex/generic/bitset/bitset.sty
Package: bitset 2019/12/09 v1.3 Handle bit-vector datatype (HO)

(c:/texlive/2023/texmf-dist/tex/generic/bigintcalc/bigintcalc.sty
Package: bigintcalc 2019/12/15 v1.5 Expandable calculations on big integers (HO
)
))
Fld@menulength=count290
Field@Width=dimen192
Fld@charsize=dimen193
Package hyperref Info: Hyper figures OFF on input line 6051.
Package hyperref Info: Link nesting OFF on input line 6056.
Package hyperref Info: Hyper index ON on input line 6059.
Package hyperref Info: backreferencing OFF on input line 6066.
Package hyperref Info: Link coloring ON on input line 6069.
Package hyperref Info: Link coloring with OCG OFF on input line 6076.
Package hyperref Info: PDF/A mode OFF on input line 6081.

(c:/texlive/2023/texmf-dist/tex/latex/base/atbegshi-ltx.sty
Package: atbegshi-ltx 2021/01/10 v1.0c Emulation of the original atbegshi
package with kernel methods
)

Package hyperref Warning: Option `pdfpagelabels' is turned off
(hyperref)                because thepage is undefined.

c@Item=count291
c@Hfootnote=count292
)
Package hyperref Info: Driver (autodetected): hpdftex.
 (c:/texlive/2023/texmf-dist/tex/latex/hyperref/hpdftex.def
File: hpdftex.def 2023-07-08 v7.01b Hyperref driver for pdfTeX
Fld@listcount=count293
c@bookmark@seq@number=count294

(c:/texlive/2023/texmf-dist/tex/latex/rerunfilecheck/rerunfilecheck.sty
Package: rerunfilecheck 2022-07-10 v1.10 Rerun checks for auxiliary files (HO)

(c:/texlive/2023/texmf-dist/tex/latex/base/atveryend-ltx.sty
Package: atveryend-ltx 2020/08/19 v1.0a Emulation of the original atveryend pac
kage
with kernel methods
)
(c:/texlive/2023/texmf-dist/tex/generic/uniquecounter/uniquecounter.sty
Package: uniquecounter 2019/12/15 v1.4 Provide unlimited unique counter (HO)
)
Package uniquecounter Info: New unique counter `rerunfilecheck' on input line 2
85.
)
Hy@SectionHShift=skip79
)
(c:/texlive/2023/texmf-dist/tex/latex/oberdiek/hypcap.sty
Package: hypcap 2016/05/16 v1.12 Adjusting the anchors of captions (HO)
)
(./sphinxmessages.sty
Package: sphinxmessages 2019/01/04 v2.0 Localized LaTeX macros (Sphinx team)
)
(c:/texlive/2023/texmf-dist/tex/latex/graphics/lscape.sty
Package: lscape 2020/05/28 v3.02 Landscape Pages (DPC)
)
(c:/texlive/2023/texmf-dist/tex/latex/colortbl/colortbl.sty
Package: colortbl 2022/06/20 v1.0f Color table columns (DPC)
everycr=toks32
minrowclearance=skip80
rownum=count295
)
LaTeX Font Info:    Trying to load font information for T1+ptm on input line 14
4.

(c:/texlive/2023/texmf-dist/tex/latex/psnfss/t1ptm.fd
File: t1ptm.fd 2001/06/04 font definitions for T1/ptm.
)
(c:/texlive/2023/texmf-dist/tex/latex/l3backend/l3backend-pdftex.def
File: l3backend-pdftex.def 2023-04-19 L3 backend support: PDF output (pdfTeX)
l__color_backend_stack_int=count296
l__pdf_internal_box=box71
)
(./test_doc.aux)
openout1 = `test_doc.aux'.

LaTeX Font Info:    Checking defaults for OML/cmm/m/it on input line 144.
LaTeX Font Info:    ... okay on input line 144.
LaTeX Font Info:    Checking defaults for OMS/cmsy/m/n on input line 144.
LaTeX Font Info:    ... okay on input line 144.
LaTeX Font Info:    Checking defaults for OT1/cmr/m/n on input line 144.
LaTeX Font Info:    ... okay on input line 144.
LaTeX Font Info:    Checking defaults for T1/cmr/m/n on input line 144.
LaTeX Font Info:    ... okay on input line 144.
LaTeX Font Info:    Checking defaults for TS1/cmr/m/n on input line 144.
LaTeX Font Info:    ... okay on input line 144.
LaTeX Font Info:    Checking defaults for OMX/cmex/m/n on input line 144.
LaTeX Font Info:    ... okay on input line 144.
LaTeX Font Info:    Checking defaults for U/cmr/m/n on input line 144.
LaTeX Font Info:    ... okay on input line 144.
LaTeX Font Info:    Checking defaults for PD1/pdf/m/n on input line 144.
LaTeX Font Info:    ... okay on input line 144.
LaTeX Font Info:    Checking defaults for PU/pdf/m/n on input line 144.
LaTeX Font Info:    ... okay on input line 144.


! LaTeX Error: The font size command normalsize is not defined:
               there is probably something wrong with the class file.

See the LaTeX manual or LaTeX Companion for explanation.
Type  H <return>  for immediate help.
 ...

l.144 begin{document}

?
(c:/texlive/2023/texmf-dist/tex/context/base/mkii/supp-pdf.mkii
[Loading MPS to PDF converter (version 2006.09.02).]
scratchcounter=count297
scratchdimen=dimen194
scratchbox=box72
nofMPsegments=count298
nofMParguments=count299
everyMPshowfont=toks33
MPscratchCnt=count300
MPscratchDim=dimen195
MPnumerator=count301
makeMPintoPDFobject=count302
everyMPtoPDFconversion=toks34
) (c:/texlive/2023/texmf-dist/tex/latex/epstopdf-pkg/epstopdf-base.sty
Package: epstopdf-base 2020-01-24 v2.11 Base part for package epstopdf
Package epstopdf-base Info: Redefining graphics rule for `.eps' on input line 4
85.

(c:/texlive/2023/texmf-dist/tex/latex/latexconfig/epstopdf-sys.cfg
File: epstopdf-sys.cfg 2010/07/13 v1.3 Configuration of (r)epstopdf for TeX Liv
e
))
! Undefined control sequence.
__hook begindocument ...check@a FNH@@makefntext
                                                  {1.2!3?4,}FNH@@@ 1.2!3?4,...
l.144 begin{document}

?

Package footnotehyper-sphinx Warning: Footnotes will be sub-optimal, sorry. Thi
s is due to the document class or
 some package modifying macro @makefntext.
 You can try to report this incompatibility at
 https://github.com/sphinx-doc/sphinx with this info:.

undefined
*geometry* driver: auto-detecting
*geometry* detected driver: pdftex
*geometry* verbose mode - [ preamble ] result:
* driver: pdftex
* paper: a4paper
* layout: <same size as paper>
* layoutoffset:(h,v)=(0.0pt,0.0pt)
* modes:
* h-part:(L,W,R)=(72.26999pt, 452.9679pt, 72.26999pt)
* v-part:(T,H,B)=(72.26999pt, 700.50687pt, 72.26999pt)
* paperwidth=597.50787pt
* paperheight=845.04684pt
* textwidth=452.9679pt
* textheight=700.50687pt
* oddsidemargin=0.0pt
* evensidemargin=0.0pt
* topmargin=0.0pt
* headheight=0.0pt
* headsep=0.0pt
* topskip=10.0pt
* footskip=0.0pt
* marginparwidth=36.135pt
* marginparsep=0.0pt
* columnsep=0.0pt
* skipfootins=12.0pt plus 4.0pt minus 4.0pt
* hoffset=0.0pt
* voffset=0.0pt
* mag=1000
* @twocolumnfalse
* @twosidefalse
* @mparswitchfalse
* @reversemarginfalse
* (1in=72.27pt=25.4mm, 1cm=28.453pt)

Package hyperref Info: Link coloring ON on input line 144.
@outlinefile=write4
openout4 = `test_doc.out'.

Package hyperref Info: Option `pageanchor' set `false' on input line 152.

! LaTeX Error: Environment titlepage undefined.

See the LaTeX manual or LaTeX Companion for explanation.
Type  H <return>  for immediate help.
 ...

l.152 sphinxmaketitle

?
<pdf-cover-logo.png, id=5, 3985.89125pt x 501.875pt>
LaTeX Font Info:    Trying to load font information for T1+pcr on input line 15
2.
(c:/texlive/2023/texmf-dist/tex/latex/psnfss/t1pcr.fd
File: t1pcr.fd 2001/06/04 font definitions for T1/pcr.
)
File: pdf-cover-logo.png Graphic file (type png)
<use pdf-cover-logo.png>
Package pdftex.def Info: pdf-cover-logo.png  used on input line 152.
(pdftex.def)             Requested size: 452.9245pt x 57.029pt.
LaTeX Font Info:    Trying to load font information for T1+phv on input line 15
2.

(c:/texlive/2023/texmf-dist/tex/latex/psnfss/t1phv.fd
File: t1phv.fd 2020/03/25 scalable font definitions for T1/phv.
)
! Undefined control sequence.
sphinxmaketitle ...ight}py@HeaderFamily {LARGE
                                                  MakeUppercase {@title } ...
l.152 sphinxmaketitle

?
! Undefined control sequence.
sphinxmaketitle ... par } vfill vfill {LARGE
                                                  @author par } {normalsi...
l.152 sphinxmaketitle

?

! LaTeX Error: The font size command normalsize is not defined:
               there is probably something wrong with the class file.

See the LaTeX manual or LaTeX Companion for explanation.
Type  H <return>  for immediate help.
 ...

l.152 sphinxmaketitle

?
! Undefined control sequence.
sphinxmaketitle ... par } vfill vfill {large
                                                  @date par vfill py@aut...
l.152 sphinxmaketitle

?

! LaTeX Error: begin{document} ended by end{titlepage}.

See the LaTeX manual or LaTeX Companion for explanation.
Type  H <return>  for immediate help.
 ...

l.152 sphinxmaketitle

?

! LaTeX Error: The font size command normalsize is not defined:
               there is probably something wrong with the class file.

See the LaTeX manual or LaTeX Companion for explanation.
Type  H <return>  for immediate help.
 ...

l.152 sphinxmaketitle

?
[1{c:/texlive/2023/texmf-var/fonts/map/pdftex/updmap/pdftex.map}{c:/texlive/202
3/texmf-dist/fonts/enc/dvips/base/8r.enc} <./pdf-cover-logo.png>]
! Undefined control sequence.
licensepage -> pagestyle {plain} {Huge
                                          Copyright Notice and Disclaimer p...
l.155 licensepage

?

! LaTeX Error: The font size command normalsize is not defined:
               there is probably something wrong with the class file.

See the LaTeX manual or LaTeX Companion for explanation.
Type  H <return>  for immediate help.
 ...

l.155 licensepage

?

Package fancyhdr Warning: footskip is too small (0.0pt):
(fancyhdr)                Make it at least 10.07997pt, for example:
(fancyhdr)                setlength{footskip}{10.07997pt}.

[11 <./T34.png>]

Package longtable Warning: Table widths have changed. Rerun LaTeX.

(./test_doc.aux)
 ***********
LaTeX2e <2023-06-01> patch level 1
L3 programming layer <2023-08-29>
 ***********


LaTeX Warning: Label(s) may have changed. Rerun to get cross-references right.


Package rerunfilecheck Warning: File `test_doc.out' has changed.
(rerunfilecheck)                Rerun to get outlines right
(rerunfilecheck)                or use package `bookmark'.

Package rerunfilecheck Info: Checksums for `test_doc.out':
(rerunfilecheck)             Before: <no file>
(rerunfilecheck)             After:  60512455825556B63F144F9EA1EB26AF;3279.
 )
Here is how much of TeX's memory you used:
 14433 strings out of 474927
 226576 string characters out of 5763541
 1946785 words of memory out of 5000000
 35687 multiletter control sequences out of 15000+600000
 572611 words of font info for 56 fonts, out of 8000000 for 9000
 1142 hyphenation exceptions out of 8191
 72i,11n,79p,513b,554s stack positions out of 10000i,1000n,20000p,200000b,200000s
<c:/texlive/2023/texmf-dist/fonts/type1/urw/courier/ucrr8a.pfb><c:/texlive/20
23/texmf-dist/fonts/type1/urw/helvetic/uhvb8a.pfb><c:/texlive/2023/texmf-dist/f
onts/type1/urw/helvetic/uhvr8a.pfb><c:/texlive/2023/texmf-dist/fonts/type1/urw/
times/utmb8a.pfb><c:/texlive/2023/texmf-dist/fonts/type1/urw/times/utmr8a.pfb>
Output written on test_doc.pdf (13 pages, 4614463 bytes).
PDF statistics:
 121 PDF objects out of 1000 (max. 8388607)
 81 compressed objects within 1 object stream
 25 named destinations out of 1000 (max. 500000)
 61 words of extra memory for PDF output out of 10000 (max. 10000000)

Theme wordpress giá rẻ Theme wordpress giá rẻ Thiết kế website

LEAVE A COMMENT