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

替换废弃的 l3kernel 命令 #705

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

muzimuzhi
Copy link
Contributor

  • 废弃的 \char_to_utfviii_bytes:n 改写为 \codepoint_str_generate:n,后者需要 l3kernel 2022-10-09
  • 废弃的 \tl_build_get:NN 简单替换为 \tl_build_get_intermediate:NN,后者需要 l3kernel 2023-12-14

需要兼容旧版 l3kernel 吗?

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.

  • 可以直接用 \codepoint_str_generate:n ,同时把 expl3 的版本警告提升一下
  • \tl_build_get_intermediate:NN 比较新,我倾向于用 \cs_if_exist_use:NTF 判断后使用

@muzimuzhi muzimuzhi force-pushed the refacter/deprecated-func branch 2 times, most recently from 686bcb6 to c2e0b81 Compare April 22, 2024 14:58
使用封装好的 \codepoint_str_generate:n {<codepoint>},2022-10-09 加入 l3kernel。
新命令 \tl_build_get_intermediate:NN 需要 l3kernel 2023-12-14;兼容旧版 expl3。
@muzimuzhi
Copy link
Contributor Author

muzimuzhi commented Apr 22, 2024

Rebase branch 顺便 squash commits,以包含 c4bd6b8 ,让我 fork 里的 CI 通过。(fork 里的 CI 由 push 触发、基于 commit/branch head,PR 里的 CI 由 pull_request 触发,基于虚拟的 merge commit。)

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

Successfully merging this pull request may close these issues.

None yet

2 participants