Replies: 2 comments 10 replies
-
是的,像
理想的情况是,重构后的代码不改变 l3build 的 log-based test 输出(
我个人非常不喜欢 docstrip。
|
Beta Was this translation helpful? Give feedback.
9 replies
-
|
@xueruini 意见如何?我记得在 #424 (comment) 说过不太赞成 latex3 的方式。 |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
thuthesis发布至今有近 20 年,其中积累了诸位前辈的巨量贡献,形成了如今的规模。当下,LaTeX3 编程接口业已基本成熟,小弟斗胆建议使用 L3 对模板进行重构,以适应新的发展趋势。在这里希望与大家探讨一下可行性和方法问题。可行性问题
使用 L3 编写的宏包和文档类已有不少,
ctex宏集本身就可以作为典型例子。我做过的一些测试表明,thuthesis本身已足够高效,L3 并不会带来足够可观的编译速度提升。采用新的代码风格和接口更多是出于可维护性的考虑:L3 引入的变量类型、展开类型符号以及库函数使得命令的执行过程更加清晰。方向问题
我私下征求了当前维护者 @zepinglee 的意见,他认为应该新开分支逐步进行重构,以利用当前的
l3build构建测试,同时维护一份单一的cls文件降低用户的升级难度。我个人更倾向于新开仓库另起炉灶,这样可以利用 DosStrip 的特性实现模块化的配置文件,个人名下的仓库(atxy-blip/thuthesis3)尝试对此进行了展示。欢迎畅所欲言!
Beta Was this translation helpful? Give feedback.
All reactions