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

CTex最新版依然报lofskip, lotskip unknow的错误 #297

Closed
bl0 opened this issue Mar 19, 2018 · 7 comments
Closed

CTex最新版依然报lofskip, lotskip unknow的错误 #297

bl0 opened this issue Mar 19, 2018 · 7 comments

Comments

@bl0
Copy link

bl0 commented Mar 19, 2018

操作系统:macos high sierra
tex软件:mactex
CTex版本:v2.4.12

报错如下:
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!
./thuthesis.cls:327: LaTeX error: "kernel/key-unknown"
!
! The key 'ctex/chapter/lofskip' is unknown and is being ignored.
!
! See the LaTeX3 documentation for further information.
!
! For immediate help type H .
!...............................................

l.327 subparagraph/afterindent=true}

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!
./thuthesis.cls:327: LaTeX error: "kernel/key-unknown"
!
! The key 'ctex/chapter/lotskip' is unknown and is being ignored.
!
! See the LaTeX3 documentation for further information.
!
! For immediate help type H .
!...............................................

@dangfan
Copy link

dangfan commented Mar 22, 2018

建议在 MacTeX 安装后,使用附带的 TeX Live Utility 把所有包更新到最新版,然后在文章的目录下,删掉除了 bst 之外的所有 thuthesis 文件,使用发行版里自带的即可。

@bl0
Copy link
Author

bl0 commented Mar 22, 2018

删除所有的这些吗?

thuthesis.cfg
thuthesis.cls
thuthesis.dtx
thuthesis.ins
thuthesis.sty

@dangfan
Copy link

dangfan commented Mar 22, 2018

不如先试一下下面的这个能不能编译:

\documentclass[degree=master]{thuthesis}
\usepackage{thuthesis}
\begin{document}
\tableofcontents
\mainmatter
this is a test.
\end{document}

@bl0
Copy link
Author

bl0 commented Mar 22, 2018

错误并不出现在tex文件里,出现在cls文件里

@dangfan
Copy link

dangfan commented Mar 23, 2018

应该是你环境的问题,你的 TeX Live 是 2017 么?

@bl0
Copy link
Author

bl0 commented Mar 23, 2018

2016和2017都试过了

@bl0
Copy link
Author

bl0 commented Mar 23, 2018

应该是我这边的问题,我在找找吧。

@bl0 bl0 closed this as completed Mar 23, 2018
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

2 participants