We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
\CUSDependency{module={...}}
我在一个模块 acknowledgement 里新建了一个环境 acknowledgement,然后另外一个库里使用 \CUSDependency{module={acknowledgement}} 加载,在 .tex 文件调用这个库后使用 acknowledgement 环境,报错环境未定义。
acknowledgement
\CUSDependency{module={acknowledgement}}
.tex
我查看了 cus.sty 的关于这部分的源码:
cus.sty
cus/cus.sty
Line 332 in f0d8c9c
The text was updated successfully, but these errors were encountered:
Fix: \CUSDependency{module={<module>}} fails
\CUSDependency{module={<module>}}
dba69ac
Sophanatprime#14
原本的设想是模块只由 cus 提供,其它用户定义的内容都使用库,而 cus 会自己加载所有模块,所以 module 是不需要的。
cus
module
Sorry, something went wrong.
原来是这样。但是比如一些模块,参考文献、字体啥的您还没写好。论文模板里很多设置可能也只限于论文自用,可能普适性比较小,所以单独建立了一些模块。
用户定义的内容还是使用库比较好。定义库可定制性更强一点,可以使用 \CUSLibraryDelayedUntil \CUSPassOptionsToLibrary 等等,未来 \CUSDenpency 也会为库增加其它功能。
\CUSLibraryDelayedUntil
\CUSPassOptionsToLibrary
\CUSDenpency
No branches or pull requests
场景
我在一个模块
acknowledgement
里新建了一个环境acknowledgement
,然后另外一个库里使用\CUSDependency{module={acknowledgement}}
加载,在.tex
文件调用这个库后使用acknowledgement
环境,报错环境未定义。自查
我查看了
cus.sty
的关于这部分的源码:cus/cus.sty
Line 332 in f0d8c9c
发现模块的调用设置是空的,这是没来得及写还是我哪里没弄对?
The text was updated successfully, but these errors were encountered: