Skip to content

2024运行报错,MiKTeX24.4中ctex报错 #3

@Duxingmengshou

Description

@Duxingmengshou

报错内容

LaTeX Error: Key 'ctex/option/heading' accepts boolean values only.
For immediate help type H <return>.

我今天刚接触latex,还不太熟悉具体原由。
我定位到了,配置文件中这里接收到的值应该出现了问题
所以在HustGraduPaper.cls的106行中
将原本的
\RequirePackage[zihao=-4,UTF8,heading=true\HGP@fontset]{ctex}[2016/12/27]
修改为
\RequirePackage[zihao=5,UTF8,heading=true]{ctex}[2016/12/27]
我还不清楚这个的运行机制以及为什么之前需要那样写,但是修改之后可以正确运行。

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions