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

盲评相关文档、自动设置hideCoverInPeerReview #534

Merged
merged 2 commits into from
Jun 19, 2024

Conversation

YDX-2147483647
Copy link
Collaborator

@YDX-2147483647 YDX-2147483647 commented Jun 14, 2024

Resolves #533

图片

图片

其它方案

图片

更新文档时发现模板已经有别的地方在.initial实现了“自动按论文类型设置初始值”:

BIThesis/bithesis.dtx

Lines 819 to 824 in cad2857

\keys_define:nn { bithesis / style }
{
head .tl_set:N = \l_@@_style_head_tl,
head .initial:n = {
\clist_item:Nn \c_@@_bachelor_thesis_header_clist \g_@@_thesis_type_int
},

BIThesis/bithesis.dtx

Lines 526 to 535 in cad2857

% 本科生模板的页眉标题与封面大标题常量列表,其中封面大标题不适用于硕士、博士学位论文,只适用于本科生毕业设计(论文)及其衍生物。
% \begin{macrocode}
\clist_const:Nn \c_@@_bachelor_thesis_header_clist
{
北京理工大学本科生毕业设计(论文),
北京理工大学本科生毕业设计(论文)外文翻译,
Beijing~Institute~of~Technology~Bachelor's~Thesis,
北京理工大学硕士学位论文,
北京理工大学博士学位论文,
}

要改成这样吗?

@fky2015
Copy link
Contributor

fky2015 commented Jun 18, 2024

可以的

@YDX-2147483647
Copy link
Collaborator Author

可以的

呃,有两种方式:一种是显式提供from-thesis-type,将默认值设为它;一种是隐式提供智能默认值,只能在未设置时使用。用哪种?

@fky2015
Copy link
Contributor

fky2015 commented Jun 18, 2024

第一种也行——既然已经实现了

@YDX-2147483647 YDX-2147483647 changed the title feat: 自动设置hideCoverInPeerReview 盲评相关文档、自动设置hideCoverInPeerReview Jun 19, 2024
@YDX-2147483647
Copy link
Collaborator Author

现在应该完成了。

@fky2015 fky2015 added this pull request to the merge queue Jun 19, 2024
Merged via the queue into BITNP:main with commit 24a7e5d Jun 19, 2024
3 checks passed
@YDX-2147483647 YDX-2147483647 deleted the blind branch June 19, 2024 08:57
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