NewFuture / NKThesis

南开大学硕士毕业论文/博士论文模板 (Latex Template for Nankai University)
https://nkthesis.newfuture.cc
MIT License
127 stars 45 forks source link

texlive2018 编译出错 #1

Closed procuteboy closed 4 years ago

procuteboy commented 5 years ago

texlive2018 编译出错 Undefined control sequence.\NKT 之前好像没这个问题,可能问题出在这个NKT宏包吧。

NewFuture commented 5 years ago

可能和编译方式有关

dudu19939 commented 5 years ago

同样问题,请问如何解决?

NewFuture commented 5 years ago

是运行的 build.cmd 吗?

dudu19939 commented 5 years ago

在VScode中运行的。

dudu19939 commented 5 years ago

刚刚试了一下在终端运行build.cmd,仍然有这个bug。 ps:我的环境是macOS。

NewFuture commented 5 years ago

@dudu19939 我在Windows上和Ubuntu上测试过,mac上不确定 😞

这个报错信息一般是配置或者依赖包的问题

我已经毕业了,现在没有环境。

procuteboy commented 5 years ago

windows 10 报错 可能跟texlive2018升级有关,我试试能不能修好

NewFuture commented 5 years ago

还有问题可以和 @jinjilr 交流一下 😄

procuteboy commented 5 years ago
\def\NKT@tp@item#1#2{%
  #1%
  \hskip 0.5em%
  \underline{\hbox to 50mm{\hfil#2\hfil}}}

\def\NKT@tp@itemv#1#2{%
  \NKT@tp@item{#1}{\NKT@keyvalue{#2}}}

NKthesis.cfg 调到最前 把main.tex 中教授中间的$\sim$去掉。

NewFuture commented 5 years ago

@procuteboy 可以提个PR

loveklmn commented 5 years ago

@dudu19939 请问mac平台成功了吗..