Closed ktrNozomi closed 3 years ago
因为 https://t.me/chinesetex/28690
ctexbook v2.5.7 不再定义
\csname ver@ctex.sty\endcsname
这个问题在 fduthesis 最新版被修复了,你用最新版就没事了
谢谢 @sikouhjw ! 采用文档中 2.1.3 节的方法即可正常编译. 就是不知道为什么 tlmgr 显示没得更新?
谢谢 @sikouhjw ! 采用文档中 2.1.3 节的方法即可正常编译. 就是不知道为什么 tlmgr 显示没得更新?
因为确实是最新版,问题在于 ctex 宏集改了版本标识,导致 fduthesis 检测错误。
我看了一下, texlive/texlive:latest 镜像中 tlmgr 说是最新的, 但实际上对比了一下扁平化安装出来的, 发现扁平化安装的是更新的. 我也不懂这是镜像问题还是 CTAN 同步问题还是啥的, 总之先能用就行了, 不折腾了.
我看了一下, texlive/texlive:latest 镜像中 tlmgr 说是最新的, 但实际上对比了一下扁平化安装出来的, 发现扁平化安装的是更新的. 我也不懂这是镜像问题还是 CTAN 同步问题还是啥的, 总之先能用就行了, 不折腾了.
嗯……是这样的。 宏包作者更新版本→提交 CTAN→texlive 之类的才能更新。 fduthesis 没有 release,也就不会提交 CTAN。 你可以催 @stone-zeng 更新(
我可能最近再修几个 bug 然后 release 一波。
为什么我用文档2.1.3节中的方法执行脚本并编译自带的test还是报这个错误呢?是因为我已经从texlive中安装了吗? 请问这个问题还有其他解决方法吗?我之前是在老版本的ctex环境下写的,后来重装了系统,重新安装texlive后版本升级了,原来写的文档无法编译了
为什么我用文档2.1.3节中的方法执行脚本并编译自带的test还是报这个错误呢?是因为我已经从texlive中安装了吗? 请问这个问题还有其他解决方法吗?我之前是在老版本的ctex环境下写的,后来重装了系统,重新安装texlive后版本升级了,原来写的文档无法编译了
@sikouhjw 报ctex版本不支持的问题。我之前用的应该是老版本的ctex包,编译是没问题的。昨天重装了系统,重新安装了texlive,看了下安装的ctex包是2.5.9了,编译我之前写的文档是报错的,看到这个issue里讲到报错原因是在于 ctex 宏集改了版本标识,导致 fduthesis 检测错误,我看到用文档里扁平化安装方法可以解决问题,就试了一下还是报错,想问一下怎么找最新版的fduthesis,我现在的版本是0.7e
为什么我用文档2.1.3节中的方法执行脚本并编译自带的test还是报这个错误呢?是因为我已经从texlive中安装了吗? 请问这个问题还有其他解决方法吗?我之前是在老版本的ctex环境下写的,后来重装了系统,重新安装texlive后版本升级了,原来写的文档无法编译了
- 报什么错?跟 texlive 是否安装无关;
- 什么老版本?什么 ctex?ctex 套装?ctex 宏集?什么安装 texlive 版本升级?什么原来的文档?
@sikouhjw 报ctex版本不支持的问题。我之前用的应该是老版本的ctex包,编译是没问题的。昨天重装了系统,重新安装了texlive,看了下安装的ctex包是2.5.9了,编译我之前写的文档是报错的,看到这个issue里讲到报错原因是在于 ctex 宏集改了版本标识,导致 fduthesis 检测错误,我看到用文档里扁平化安装方法可以解决问题,就试了一下还是报错,想问一下怎么找最新版的fduthesis,我现在的版本是0.7e
为什么我用文档2.1.3节中的方法执行脚本并编译自带的test还是报这个错误呢?是因为我已经从texlive中安装了吗? 请问这个问题还有其他解决方法吗?我之前是在老版本的ctex环境下写的,后来重装了系统,重新安装texlive后版本升级了,原来写的文档无法编译了
- 报什么错?跟 texlive 是否安装无关;
- 什么老版本?什么 ctex?ctex 套装?ctex 宏集?什么安装 texlive 版本升级?什么原来的文档?
\documentclass{fduthesis}
\begin{document}
\chapter{欢迎}
\section{Welcome to fduthesis!}
你好,\LaTeX{}!
\end{document}
https://github.com/stone-zeng/fduthesis.git
?
前者是会报错的,后者是最新版。@sikouhjw 报ctex版本不支持的问题。我之前用的应该是老版本的ctex包,编译是没问题的。昨天重装了系统,重新安装了texlive,看了下安装的ctex包是2.5.9了,编译我之前写的文档是报错的,看到这个issue里讲到报错原因是在于 ctex 宏集改了版本标识,导致 fduthesis 检测错误,我看到用文档里扁平化安装方法可以解决问题,就试了一下还是报错,想问一下怎么找最新版的fduthesis,我现在的版本是0.7e
为什么我用文档2.1.3节中的方法执行脚本并编译自带的test还是报这个错误呢?是因为我已经从texlive中安装了吗? 请问这个问题还有其他解决方法吗?我之前是在老版本的ctex环境下写的,后来重装了系统,重新安装texlive后版本升级了,原来写的文档无法编译了
- 报什么错?跟 texlive 是否安装无关;
- 什么老版本?什么 ctex?ctex 套装?ctex 宏集?什么安装 texlive 版本升级?什么原来的文档?
- 测试发行版及模板请编译最小示例,而不是编译之前的文档。
\documentclass{fduthesis} \begin{document} \chapter{欢迎} \section{Welcome to fduthesis!} 你好,\LaTeX{}! \end{document}
- 你要详细说你怎么下载的,是从 Releases 还是从
https://github.com/stone-zeng/fduthesis.git
? 前者是会报错的,后者是最新版。
弄明白了,把运行脚本后位于thesis目录下的文件复制到我文章的目录下就可以了,感谢!
采用 docker hub 上的 texlive/texlive:latest 镜像编译时, 产生报错; 而采用 texlive/texlive:TL2019-historic 镜像编译, 一切正常.
报错信息
通过
tlmgr info ctex
检查发现 ctex 宏包版本信息如下MWE
编译命令