如果用gb4e、forest、leipzig这三个宏包就无法正常编译,如何解决?

发布于 2021-05-19 20:25:13
  • consule
This is XeTeX, Version 3.141592653-2.6-0.999993 (TeX Live 2021) (preloaded format=xelatex)
restricted \write18 enabled.
entering extended mode
(./未命名.tex
LaTeX2e <2020-10-01> patch level 4
L3 programming layer <2021-05-07>
(/usr/local/texlive/2021/texmf-dist/tex/latex/base/article.cls
Document Class: article 2020/04/10 v1.4m Standard LaTeX document class
(/usr/local/texlive/2021/texmf-dist/tex/latex/base/size10.clo))
(/usr/local/texlive/2021/texmf-dist/tex/latex/ctex/ctex.sty
(/usr/local/texlive/2021/texmf-dist/tex/latex/l3kernel/expl3.sty
(/usr/local/texlive/2021/texmf-dist/tex/latex/l3backend/l3backend-xetex.def
(|extractbb --version)))
(/usr/local/texlive/2021/texmf-dist/tex/latex/l3packages/xparse/xparse.sty
(/usr/local/texlive/2021/texmf-dist/tex/latex/l3packages/xparse/xparse-2020-10-
01.sty
(/usr/local/texlive/2021/texmf-dist/tex/latex/l3packages/xparse/xparse-generic.
tex)))
(/usr/local/texlive/2021/texmf-dist/tex/latex/l3packages/l3keys2e/l3keys2e.sty)
(/usr/local/texlive/2021/texmf-dist/tex/latex/ctex/ctexhook.sty)
(/usr/local/texlive/2021/texmf-dist/tex/latex/ctex/ctexpatch.sty)
(/usr/local/texlive/2021/texmf-dist/tex/latex/base/fix-cm.sty
(/usr/local/texlive/2021/texmf-dist/tex/latex/base/ts1enc.def))
(/usr/local/texlive/2021/texmf-dist/tex/latex/everysel/everysel.sty
(/usr/local/texlive/2021/texmf-dist/tex/latex/everysel/everysel-2011-10-28.sty)
) (/usr/local/texlive/2021/texmf-dist/tex/latex/ctex/config/ctexopts.cfg)
(/usr/local/texlive/2021/texmf-dist/tex/latex/ctex/engine/ctex-engine-xetex.def
(/usr/local/texlive/2021/texmf-dist/tex/xelatex/xecjk/xeCJK.sty
(/usr/local/texlive/2021/texmf-dist/tex/latex/l3packages/xtemplate/xtemplate.st
y) (/usr/local/texlive/2021/texmf-dist/tex/latex/fontspec/fontspec.sty
(/usr/local/texlive/2021/texmf-dist/tex/latex/fontspec/fontspec-xetex.sty
(/usr/local/texlive/2021/texmf-dist/tex/latex/base/fontenc.sty)
(/usr/local/texlive/2021/texmf-dist/tex/latex/fontspec/fontspec.cfg)))
(/usr/local/texlive/2021/texmf-dist/tex/xelatex/xecjk/xeCJK.cfg)))
(/usr/local/texlive/2021/texmf-dist/tex/latex/zhnumber/zhnumber.sty
(/usr/local/texlive/2021/texmf-dist/tex/latex/zhnumber/zhnumber-utf8.cfg))
(/usr/local/texlive/2021/texmf-dist/tex/latex/ctex/heading/ctex-heading-article
.def
(/usr/local/texlive/2021/texmf-dist/tex/latex/ctex/scheme/ctex-scheme-chinese-a
rticle.def
(/usr/local/texlive/2021/texmf-dist/tex/latex/ctex/config/ctex-name-utf8.cfg)))
(/usr/local/texlive/2021/texmf-dist/tex/latex/ctex/ctex-c5size.clo)
(/usr/local/texlive/2021/texmf-dist/tex/latex/ctex/fontset/ctex-fontset-fandol.
def
Package fontspec Warning: Font "FandolSong-Regular" does not contain requested
(fontspec)                Script "CJK".
)) (/usr/local/texlive/2021/texmf-dist/tex/latex/ctex/config/ctex.cfg)
(/usr/local/texlive/2021/texmf-dist/tex/latex/geometry/geometry.sty
(/usr/local/texlive/2021/texmf-dist/tex/latex/graphics/keyval.sty)
(/usr/local/texlive/2021/texmf-dist/tex/generic/iftex/ifvtex.sty
(/usr/local/texlive/2021/texmf-dist/tex/generic/iftex/iftex.sty)))
(/usr/local/texlive/2021/texmf-dist/tex/latex/gb4e/gb4e.sty
(/usr/local/texlive/2021/texmf-dist/tex/latex/gb4e/cgloss4e.sty))
(/usr/local/texlive/2021/texmf-dist/tex/latex/forest/forest.sty
(/usr/local/texlive/2021/texmf-dist/tex/latex/pgf/frontendlayer/tikz.sty
(/usr/local/texlive/2021/texmf-dist/tex/latex/pgf/basiclayer/pgf.sty
(/usr/local/texlive/2021/texmf-dist/tex/latex/pgf/utilities/pgfrcs.sty
(/usr/local/texlive/2021/texmf-dist/tex/generic/pgf/utilities/pgfutil-common.tex
(/usr/local/texlive/2021/texmf-dist/tex/generic/pgf/utilities/pgfutil-common-li
sts.tex))
(/usr/local/texlive/2021/texmf-dist/tex/generic/pgf/utilities/pgfutil-latex.def
) (/usr/local/texlive/2021/texmf-dist/tex/generic/pgf/utilities/pgfrcs.code.tex
(/usr/local/texlive/2021/texmf-dist/tex/generic/pgf/pgf.revision.tex)))
(/usr/local/texlive/2021/texmf-dist/tex/latex/pgf/basiclayer/pgfcore.sty
(/usr/local/texlive/2021/texmf-dist/tex/latex/graphics/graphicx.sty
(/usr/local/texlive/2021/texmf-dist/tex/latex/graphics/graphics.sty
/usr/local/texlive/2021/texmf-dist/tex/latex/graphics/graphics.sty:34: TeX capa
city exceeded, sorry [parameter stack size=10000].
\gb@ifnextchar #1#2#3->
\let \reserved@d =#1\def \reserved@a {#2}\def \reserv...
l.34  \catcode`\noexpand\^^A
\the\catcode`\^^A\relax
No pages of output.
Transcript written on 未命名.log.
  • MWE
\documentclass[a4paper]{article}
\usepackage[zihao=5,scheme=chinese,heading=true,fontset=fandol]{ctex}[2015/06/24]
\usepackage[hmargin=1.25in,vmargin=1in,foot=1.5cm]{geometry}
\usepackage{gb4e}
\usepackage{forest}
\usepackage{leipzig}
\usepackage{xeCJK}
\usepackage{fontspec}
\title{未命名}
\author{未命名}
\date{}
\linespread{1.6}
\begin{document}
\maketitle
未命名
\end{document}

查看更多

关注者
0
被浏览
1.3k
1 个回答
啸行
啸行 2021-05-19
这家伙很懒,什么也没写!

又问一遍?

\documentclass[a4paper]{article}
\usepackage[zihao=5,scheme=chinese,heading=true,fontset=fandol]{ctex}
\usepackage[hmargin=1.25in,vmargin=1in,foot=1.5cm]{geometry}
\usepackage{forest}
\usepackage{leipzig}
\usepackage{gb4e}
\title{未命名}
\author{未命名}
\date{}
\linespread{1.6}
\begin{document}
\maketitle
未命名
\end{document}

image.png

撰写答案

请登录后再发布答案,点击登录

发布
问题

分享
好友

手机
浏览

扫码手机浏览