polossk / LaTeX-Template-For-NPU-Thesis

西北工业大学本科毕业设计论文模版 | Thesis Template for Northwestern Polytechnical University
GNU General Public License v3.0
250 stars 43 forks source link

Undefined control sequence \xeCJKcaption{gb_452} #2

Closed hijkzzz closed 7 years ago

hijkzzz commented 7 years ago

\xeCJKcaption{gb_452} 这一行报错 Undefined control sequence 环境 macOS MacTex 2016 XeLaTex

polossk commented 7 years ago

可能缺失 gb_452.cpx

polossk commented 7 years ago

现在有两个解决方案: 第一种, 把文件 gb_452.cpx 添加到当前的工作目录; 第二种, 删除这句话, 同时修改 thesis-setting.tex 文件中的目录相关的代码, 使其格式与论文要求一致.

Pokerpoke commented 7 years ago

issue Windows 下gb_452.cpx添加到当前工作目录还会有问题,Ubuntu下没有这个问题,第二种方法找到的一个解决方法是,但是不知道会不会影响什么。

\usepackage{CJKnumb}
% \xeCJKcaption{gb_452}
hijkzzz commented 7 years ago

\xeCJKcaption 这个函数在新版中删除了 所以别用2016

polossk commented 7 years ago

我注意到了你们二者所提到的问题,我会尽快尝试完全与这个cpx文件进行切割。

如果你们已有较好的解决方案,不妨新开分支并且发pull request,我会及时处理。