Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build error with Texlive2020 #3

Open
panovr opened this issue Nov 17, 2020 · 1 comment
Open

Build error with Texlive2020 #3

panovr opened this issue Nov 17, 2020 · 1 comment

Comments

@panovr
Copy link

panovr commented Nov 17, 2020

PS D:\Project\CQUBeamer> xelatex cqu_beamer.tex
This is XeTeX, Version 3.14159265-2.6-0.999992 (TeX Live 2020/W32TeX) (preloaded format=xelatex)
restricted \write18 enabled.
entering extended mode
(./cqu_beamer.tex
LaTeX2e <2020-02-02> patch level 5
L3 programming layer <2020-03-06>
(c:/texlive/2020/texmf-dist/tex/latex/beamer/beamer.cls
Document Class: beamer 2019/09/29 v3.57 A class for typesetting presentations
(c:/texlive/2020/texmf-dist/tex/latex/beamer/beamerbasemodes.sty
(c:/texlive/2020/texmf-dist/tex/latex/etoolbox/etoolbox.sty)
(c:/texlive/2020/texmf-dist/tex/latex/beamer/beamerbasedecode.sty))
(c:/texlive/2020/texmf-dist/tex/generic/iftex/ifpdf.sty
(c:/texlive/2020/texmf-dist/tex/generic/iftex/iftex.sty))
(c:/texlive/2020/texmf-dist/tex/latex/beamer/beamerbaseoptions.sty
(c:/texlive/2020/texmf-dist/tex/latex/graphics/keyval.sty))
(c:/texlive/2020/texmf-dist/tex/latex/geometry/geometry.sty
(c:/texlive/2020/texmf-dist/tex/generic/iftex/ifvtex.sty))

Class beamer Warning: mathserif'' is obsolete. Use font theme serif'' with
option ``onlymath'' on input line 336.

(c:/texlive/2020/texmf-dist/tex/latex/extsizes/size8.clo)
(c:/texlive/2020/texmf-dist/tex/latex/pgf/basiclayer/pgfcore.sty
(c:/texlive/2020/texmf-dist/tex/latex/graphics/graphicx.sty
(c:/texlive/2020/texmf-dist/tex/latex/graphics/graphics.sty
(c:/texlive/2020/texmf-dist/tex/latex/graphics/trig.sty)
(c:/texlive/2020/texmf-dist/tex/latex/graphics-cfg/graphics.cfg)
(c:/texlive/2020/texmf-dist/tex/latex/graphics-def/xetex.def)))
(c:/texlive/2020/texmf-dist/tex/latex/pgf/systemlayer/pgfsys.sty
(c:/texlive/2020/texmf-dist/tex/latex/pgf/utilities/pgfrcs.sty
(c:/texlive/2020/texmf-dist/tex/generic/pgf/utilities/pgfutil-common.tex
(c:/texlive/2020/texmf-dist/tex/generic/pgf/utilities/pgfutil-common-lists.tex)
) (c:/texlive/2020/texmf-dist/tex/generic/pgf/utilities/pgfutil-latex.def
(c:/texlive/2020/texmf-dist/tex/latex/ms/everyshi.sty))
(c:/texlive/2020/texmf-dist/tex/generic/pgf/utilities/pgfrcs.code.tex
(c:/texlive/2020/texmf-dist/tex/generic/pgf/pgf.revision.tex)))
(c:/texlive/2020/texmf-dist/tex/generic/pgf/systemlayer/pgfsys.code.tex
(c:/texlive/2020/texmf-dist/tex/generic/pgf/utilities/pgfkeys.code.tex
(c:/texlive/2020/texmf-dist/tex/generic/pgf/utilities/pgfkeysfiltered.code.tex)
) (c:/texlive/2020/texmf-dist/tex/generic/pgf/systemlayer/pgf.cfg)
(c:/texlive/2020/texmf-dist/tex/generic/pgf/systemlayer/pgfsys-xetex.def
(c:/texlive/2020/texmf-dist/tex/generic/pgf/systemlayer/pgfsys-dvipdfmx.def
(c:/texlive/2020/texmf-dist/tex/generic/pgf/systemlayer/pgfsys-common-pdf.def))
))
(c:/texlive/2020/texmf-dist/tex/generic/pgf/systemlayer/pgfsyssoftpath.code.tex
)
(c:/texlive/2020/texmf-dist/tex/generic/pgf/systemlayer/pgfsysprotocol.code.tex
)) (c:/texlive/2020/texmf-dist/tex/latex/xcolor/xcolor.sty
(c:/texlive/2020/texmf-dist/tex/latex/graphics-cfg/color.cfg))
(c:/texlive/2020/texmf-dist/tex/generic/pgf/basiclayer/pgfcore.code.tex
(c:/texlive/2020/texmf-dist/tex/generic/pgf/math/pgfmath.code.tex
(c:/texlive/2020/texmf-dist/tex/generic/pgf/math/pgfmathcalc.code.tex
(c:/texlive/2020/texmf-dist/tex/generic/pgf/math/pgfmathutil.code.tex)
(c:/texlive/2020/texmf-dist/tex/generic/pgf/math/pgfmathparser.code.tex)
(c:/texlive/2020/texmf-dist/tex/generic/pgf/math/pgfmathfunctions.code.tex
(c:/texlive/2020/texmf-dist/tex/generic/pgf/math/pgfmathfunctions.basic.code.te
x)
(c:/texlive/2020/texmf-dist/tex/generic/pgf/math/pgfmathfunctions.trigonometric
.code.tex)
(c:/texlive/2020/texmf-dist/tex/generic/pgf/math/pgfmathfunctions.random.code.t
ex)
(c:/texlive/2020/texmf-dist/tex/generic/pgf/math/pgfmathfunctions.comparison.co
de.tex)
(c:/texlive/2020/texmf-dist/tex/generic/pgf/math/pgfmathfunctions.base.code.tex
)
(c:/texlive/2020/texmf-dist/tex/generic/pgf/math/pgfmathfunctions.round.code.te
x)
(c:/texlive/2020/texmf-dist/tex/generic/pgf/math/pgfmathfunctions.misc.code.tex
)
(c:/texlive/2020/texmf-dist/tex/generic/pgf/math/pgfmathfunctions.integerarithm
etics.code.tex)))
(c:/texlive/2020/texmf-dist/tex/generic/pgf/math/pgfmathfloat.code.tex))
(c:/texlive/2020/texmf-dist/tex/generic/pgf/math/pgfint.code.tex)
(c:/texlive/2020/texmf-dist/tex/generic/pgf/basiclayer/pgfcorepoints.code.tex)
(c:/texlive/2020/texmf-dist/tex/generic/pgf/basiclayer/pgfcorepathconstruct.cod
e.tex)
(c:/texlive/2020/texmf-dist/tex/generic/pgf/basiclayer/pgfcorepathusage.code.te
x)
(c:/texlive/2020/texmf-dist/tex/generic/pgf/basiclayer/pgfcorescopes.code.tex)
(c:/texlive/2020/texmf-dist/tex/generic/pgf/basiclayer/pgfcoregraphicstate.code
.tex)
(c:/texlive/2020/texmf-dist/tex/generic/pgf/basiclayer/pgfcoretransformations.c
ode.tex)
(c:/texlive/2020/texmf-dist/tex/generic/pgf/basiclayer/pgfcorequick.code.tex)
(c:/texlive/2020/texmf-dist/tex/generic/pgf/basiclayer/pgfcoreobjects.code.tex)

(c:/texlive/2020/texmf-dist/tex/generic/pgf/basiclayer/pgfcorepathprocessing.co
de.tex)
(c:/texlive/2020/texmf-dist/tex/generic/pgf/basiclayer/pgfcorearrows.code.tex)
(c:/texlive/2020/texmf-dist/tex/generic/pgf/basiclayer/pgfcoreshade.code.tex)
(c:/texlive/2020/texmf-dist/tex/generic/pgf/basiclayer/pgfcoreimage.code.tex
(c:/texlive/2020/texmf-dist/tex/generic/pgf/basiclayer/pgfcoreexternal.code.tex
))
(c:/texlive/2020/texmf-dist/tex/generic/pgf/basiclayer/pgfcorelayers.code.tex)
(c:/texlive/2020/texmf-dist/tex/generic/pgf/basiclayer/pgfcoretransparency.code
.tex)
(c:/texlive/2020/texmf-dist/tex/generic/pgf/basiclayer/pgfcorepatterns.code.tex
) (c:/texlive/2020/texmf-dist/tex/generic/pgf/basiclayer/pgfcorerdf.code.tex)))
(c:/texlive/2020/texmf-dist/tex/latex/pgf/utilities/xxcolor.sty)
(c:/texlive/2020/texmf-dist/tex/generic/atbegshi/atbegshi.sty
(c:/texlive/2020/texmf-dist/tex/generic/infwarerr/infwarerr.sty)
(c:/texlive/2020/texmf-dist/tex/generic/ltxcmds/ltxcmds.sty))
(c:/texlive/2020/texmf-dist/tex/latex/hyperref/hyperref.sty
(c:/texlive/2020/texmf-dist/tex/latex/pdftexcmds/pdftexcmds.sty)
(c:/texlive/2020/texmf-dist/tex/generic/kvsetkeys/kvsetkeys.sty)
(c:/texlive/2020/texmf-dist/tex/generic/kvdefinekeys/kvdefinekeys.sty)
(c:/texlive/2020/texmf-dist/tex/generic/pdfescape/pdfescape.sty)
(c:/texlive/2020/texmf-dist/tex/latex/hycolor/hycolor.sty)
(c:/texlive/2020/texmf-dist/tex/latex/letltxmacro/letltxmacro.sty)
(c:/texlive/2020/texmf-dist/tex/latex/auxhook/auxhook.sty)
(c:/texlive/2020/texmf-dist/tex/latex/kvoptions/kvoptions.sty)
(c:/texlive/2020/texmf-dist/tex/latex/hyperref/pd1enc.def)
(c:/texlive/2020/texmf-dist/tex/generic/intcalc/intcalc.sty)
(c:/texlive/2020/texmf-dist/tex/generic/etexcmds/etexcmds.sty)
(c:/texlive/2020/texmf-dist/tex/latex/url/url.sty)
(c:/texlive/2020/texmf-dist/tex/generic/bitset/bitset.sty
(c:/texlive/2020/texmf-dist/tex/generic/bigintcalc/bigintcalc.sty))

Package hyperref Message: Stopped early.

) (c:/texlive/2020/texmf-dist/tex/latex/hyperref/hxetex.def
(c:/texlive/2020/texmf-dist/tex/latex/hyperref/puenc.def)
(c:/texlive/2020/texmf-dist/tex/generic/stringenc/stringenc.sty)
(c:/texlive/2020/texmf-dist/tex/latex/rerunfilecheck/rerunfilecheck.sty
(c:/texlive/2020/texmf-dist/tex/latex/atveryend/atveryend.sty)
(c:/texlive/2020/texmf-dist/tex/generic/uniquecounter/uniquecounter.sty)))
(c:/texlive/2020/texmf-dist/tex/generic/stringenc/se-ascii-print.def)
(c:/texlive/2020/texmf-dist/tex/latex/beamer/beamerbaserequires.sty
(c:/texlive/2020/texmf-dist/tex/latex/beamer/beamerbasecompatibility.sty)
(c:/texlive/2020/texmf-dist/tex/latex/beamer/beamerbasefont.sty
(c:/texlive/2020/texmf-dist/tex/latex/amsfonts/amssymb.sty
(c:/texlive/2020/texmf-dist/tex/latex/amsfonts/amsfonts.sty)))
(c:/texlive/2020/texmf-dist/tex/latex/beamer/beamerbasetranslator.sty
(c:/texlive/2020/texmf-dist/tex/latex/translator/translator.sty))
(c:/texlive/2020/texmf-dist/tex/latex/beamer/beamerbasemisc.sty)
(c:/texlive/2020/texmf-dist/tex/latex/beamer/beamerbasetwoscreens.sty)
(c:/texlive/2020/texmf-dist/tex/latex/beamer/beamerbaseoverlay.sty)
(c:/texlive/2020/texmf-dist/tex/latex/beamer/beamerbasetitle.sty)
(c:/texlive/2020/texmf-dist/tex/latex/beamer/beamerbasesection.sty)
(c:/texlive/2020/texmf-dist/tex/latex/beamer/beamerbaseframe.sty)
(c:/texlive/2020/texmf-dist/tex/latex/beamer/beamerbaseverbatim.sty)
(c:/texlive/2020/texmf-dist/tex/latex/beamer/beamerbaseframesize.sty)
(c:/texlive/2020/texmf-dist/tex/latex/beamer/beamerbaseframecomponents.sty)
(c:/texlive/2020/texmf-dist/tex/latex/beamer/beamerbasecolor.sty)
(c:/texlive/2020/texmf-dist/tex/latex/beamer/beamerbasenotes.sty)
(c:/texlive/2020/texmf-dist/tex/latex/beamer/beamerbasetoc.sty)
(c:/texlive/2020/texmf-dist/tex/latex/beamer/beamerbasetemplates.sty
(c:/texlive/2020/texmf-dist/tex/latex/beamer/beamerbaseauxtemplates.sty
(c:/texlive/2020/texmf-dist/tex/latex/beamer/beamerbaseboxes.sty)))
(c:/texlive/2020/texmf-dist/tex/latex/beamer/beamerbaselocalstructure.sty
(c:/texlive/2020/texmf-dist/tex/latex/tools/enumerate.sty))
(c:/texlive/2020/texmf-dist/tex/latex/beamer/beamerbasenavigation.sty)
(c:/texlive/2020/texmf-dist/tex/latex/beamer/beamerbasetheorems.sty
(c:/texlive/2020/texmf-dist/tex/latex/amsmath/amsmath.sty
For additional information on amsmath, use the `?' option.
(c:/texlive/2020/texmf-dist/tex/latex/amsmath/amstext.sty
(c:/texlive/2020/texmf-dist/tex/latex/amsmath/amsgen.sty))
(c:/texlive/2020/texmf-dist/tex/latex/amsmath/amsbsy.sty)
(c:/texlive/2020/texmf-dist/tex/latex/amsmath/amsopn.sty))
(c:/texlive/2020/texmf-dist/tex/latex/amscls/amsthm.sty))
(c:/texlive/2020/texmf-dist/tex/latex/beamer/beamerbasethemes.sty))
(c:/texlive/2020/texmf-dist/tex/latex/beamer/beamerthemedefault.sty
(c:/texlive/2020/texmf-dist/tex/latex/beamer/beamerfontthemedefault.sty)
(c:/texlive/2020/texmf-dist/tex/latex/beamer/beamercolorthemedefault.sty)
(c:/texlive/2020/texmf-dist/tex/latex/beamer/beamerinnerthemedefault.sty)
(c:/texlive/2020/texmf-dist/tex/latex/beamer/beamerouterthemedefault.sty)))
(./cqubeamer.sty
(c:/texlive/2020/texmf-dist/tex/latex/beamer/beamerouterthemesplit.sty)
(c:/texlive/2020/texmf-dist/tex/latex/beamer/beamerouterthemesmoothbars.sty)
(c:/texlive/2020/texmf-dist/tex/latex/beamer/beamercolorthemewhale.sty)
(c:/texlive/2020/texmf-dist/tex/latex/beamer/beamerinnerthemerounded.sty)
(c:/texlive/2020/texmf-dist/tex/latex/beamer/beamercolorthemeorchid.sty)
(c:/texlive/2020/texmf-dist/tex/latex/beamer/beamercolorthemestructure.sty)
(c:/texlive/2020/texmf-dist/tex/latex/bookmark/bookmark.sty
(c:/texlive/2020/texmf-dist/tex/latex/bookmark/bkm-dvipdfm.def))
! failed to patch.
\errmessage {failed to patch}

l.227 {}{\errmessage{failed to patch}}

?

@panovr
Copy link
Author

panovr commented Nov 17, 2020

删除文件cqubeamer.sty中的以下部分就可以成功编译:

\patchcmd{\beamer@subsection}%
   {\Hy@writebookmark{\the\c@subsection}{#2}}%
    {\Hy@writebookmark{\the\c@subsection}{\numberline{\therealsection.\thesubsection}#2}}%
    {}{\errmessage{failed to patch}}
\patchcmd{\beamer@subsubsection}%
    {\Hy@writebookmark{\the\c@subsubsection}{#2}}%
    {\Hy@writebookmark{\the\c@subsubsection}{\numberline{\therealsection.\thesubsection.\thesubsubsection}#2}}%
    {}{\errmessage{failed to patch}}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant