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: v2.5 #480

Closed
wants to merge 59 commits into from
Closed

ctex: v2.5 #480

wants to merge 59 commits into from

Conversation

stone-zeng
Copy link
Member

@stone-zeng stone-zeng commented Jan 10, 2020

TODO

Added

  • 增加字体映射文件 zhmacfonts.tex
  • 增加 l3build 有关测试文件
  • 增加 CHANGELOG.md

Changed

Fixed

Deprecated

  • 不再支持 Windows XP 系统,windowsoldwindowsnew 成为过时字库选项

Removed

  • 移除字库配置文件 ctex-fontset-windowsnew.defctex-fontset-windowsold.def
  • 移除 dtx 文件中的 checksum 信息

@zepinglee
Copy link
Member

我觉得不妨把一部分 git rebase -> fixup 一下

@zepinglee
Copy link
Member

zepinglee commented Jan 13, 2020

目前 ctex/build.lua 中调用 zhl3build 被注释掉了,但是还有一些跟 zhl3build 相关的内容:

  • gbkfiles 需要在 unpack 后再转换编码
  • generic_insatllfiles, subtexdirs 定义的子目录结构,这个用可以 l3buildtdslocations 代替
  • setversion_update_line 可以用 update_tag 代替

另外版本历史移到 CHANGELOG.md 后,makeindexexe = "zhmakeindex" 其实也不必要了

@zepinglee
Copy link
Member

build.lua 里的 gbkfiles 还需要处理

@zepinglee
Copy link
Member

ctex-name-gbk.cfgtranslator-theorem-dictionary 两个文件需要在 unpack 后转成 GBK 编码,zhl3build 是通过调用 iconv,然而这在 Windows 下不可行;真是难办

Copy link
Member

@qinglee qinglee left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

关于文件结构,我还是倾向于以前单一 .dtx 和保留 \changes 的形式。

@zepinglee
Copy link
Member

关于文件结构,我还是倾向于以前单一 .dtx 和保留 \changes 的形式。

那我 revert 之后再 force push 到 ctex-2.5 分支

@zepinglee zepinglee removed their request for review April 17, 2020 09:52
Track recent LaTeX kernel and fontspec changes.
@zepinglee
Copy link
Member

@stone-zeng 由于 gbkfiles 无法用 l3build 来转码,必须用 zhl3build,所以我另开一个 build-check.lua 专门用于测试。

@zepinglee
Copy link
Member

@stone-zeng l3build 的测试过不去,还需要你来处理下

@qinglee
Copy link
Member

qinglee commented Apr 17, 2020

@zepinglee 我前天已经在本地合并了 ctex-2.5 分支,但是网络原因一直没能推上来。等晚上我处理掉 zhl3build 的依赖后再试试。

@qinglee
Copy link
Member

qinglee commented Apr 17, 2020

已经合并到主分支了,CI 的问题等我处理掉 #497 后再统一解决吧。

@qinglee qinglee closed this Apr 17, 2020
@zepinglee zepinglee deleted the ctex-2.5 branch January 29, 2021 10:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants