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

New sjtu/info interface #36

Merged
merged 13 commits into from
Mar 17, 2023
Merged

New sjtu/info interface #36

merged 13 commits into from
Mar 17, 2023

Conversation

AlexaraWu
Copy link
Collaborator

@AlexaraWu AlexaraWu commented Mar 4, 2023

  • 新增 sjtu/info/<lang>/<key> 接口,方便多语种扩展;
  • 兼容原 sjtu/info/<key> 接口,设置为 alias sjtu/info/<key> -> sjtu/info/zh/<key>sjtu/info/<key>* -> sjtu/info/en/<key>
  • abstractdigest 环境现在接受一个可选的语言参数,保留 \abstract* -> \abstract[en]
  • 移除 sjtu/info/running-title
  • sjtuarticlesjtureport 新增 \keywords\subject,并恢复使用标准类原始的 \maketitle

@AlexaraWu AlexaraWu marked this pull request as ready for review March 14, 2023 11:41
% \begin{function}{info/author}
% \begin{sjtusyntax}[emph={[2]author}]
% author = (*\marg{姓名}*)
% \begin{function}[rEXP,updated=2023-03-14]{info/zh/author,info/en/author}
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

类似这里要不写简单一点的 info/<lang>/author?这样之后加其他语种就不用改了。

Copy link
Contributor

Choose a reason for hiding this comment

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

9c6505d 之前是照着 info/<lang>/author 写的,我是看 interface3 展开的,我改回去

@AlexaraWu AlexaraWu merged commit cc6875a into v2 Mar 17, 2023
@AlexaraWu AlexaraWu deleted the v2-interface branch March 17, 2023 05:13
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.

2 participants