Skip to content

Commit a9bf62e

Browse files
committed
关键字 -> 关键词
Close stone-zeng#296.
1 parent c4dc227 commit a9bf62e

File tree

8 files changed

+30
-24
lines changed

8 files changed

+30
-24
lines changed

CHANGELOG.md

+6-2
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@
44

55
## [[未发布]]
66

7+
- 变更
8+
- `关键字` 更改为 `关键词` - [#296]
9+
710
## [v0.9 (2023-02-26)]
811

912
- 新增
@@ -85,7 +88,7 @@
8588
- 感谢 [@ShichaoSun]
8689
- 优化
8790
- 优化目录、摘要、参考文献等的标题实现
88-
- 优化关键字列表的显示 - [#70]
91+
- 优化关键词列表的显示 - [#70]
8992

9093
## [v0.7c (2019-03-17)]
9194

@@ -165,7 +168,7 @@
165168
- 变更
166169
- 移除 `nofonts` 选项
167170
- 同步 `fontspec` v2.6e
168-
- (fdudoc) 移除 `listings` 关键字定义文件
171+
- (fdudoc) 移除 `listings` 关键词定义文件
169172
- 优化
170173
- 重新实现字体调用,核心内容是分离字体的声明与设定,并按照宋、黑、仿、楷划分中文字体 - [#17]
171174
- 使用 `expl3` 以及内部函数改写封面,减少对 LaTeX2e 的依赖
@@ -281,6 +284,7 @@
281284
[#239]: https://github.com/stone-zeng/fduthesis/issues/239
282285
[#265]: https://github.com/stone-zeng/fduthesis/issues/265
283286
[#289]: https://github.com/stone-zeng/fduthesis/issues/289
287+
[#296]: https://github.com/stone-zeng/fduthesis/issues/296
284288

285289
[#64]: https://github.com/stone-zeng/fduthesis/pull/64
286290
[#233]: https://github.com/stone-zeng/fduthesis/pull/233

docs/main.tex

+2-2
Original file line numberDiff line numberDiff line change
@@ -219,11 +219,11 @@
219219
% 如有需要,可以用 \quad 手工对齐
220220
%
221221
keywords = {不确定关系, 量子力学, 理论物理},
222-
% 中文关键字
222+
% 中文关键词
223223
% 使用英文逗号 “,” 分隔
224224
%
225225
keywords* = {Uncertainty principle, quantum mechanics, theoretical physics},
226-
% 英文关键字
226+
% 英文关键词
227227
% 使用英文逗号 “,” 分隔
228228
%
229229
clc = {O413.1},

source/fduthesis-doc.dtx

+1-1
Original file line numberDiff line numberDiff line change
@@ -1985,7 +1985,7 @@
19851985
\@empty\z@\@empty
19861986
% \end{macrocode}
19871987
%
1988-
% \changes{v0.5}{2017/09/05}{[\pkg{fdudoc}] 移除 \pkg{listings} 关键字定义文件。}
1988+
% \changes{v0.5}{2017/09/05}{[\pkg{fdudoc}] 移除 \pkg{listings} 关键词定义文件。}
19891989
%
19901990
% 定义几种代码样式。
19911991
% \begin{macro}[int]{style@base}

source/fduthesis.dtx

+11-9
Original file line numberDiff line numberDiff line change
@@ -1687,10 +1687,10 @@ Copyright (C) 2017&ndash;2023 by Xiangdong Zeng <[email protected]>.
16871687
%
16881688
% \begin{function}{info/keywords,info/keywords*}
16891689
% \begin{fdusyntax}[emph={[1]keywords,keywords*}]
1690-
% keywords = (*\marg{中文关键字}*)
1691-
% keywords* = (*\marg{英文关键字}*)
1690+
% keywords = (*\marg{中文关键词}*)
1691+
% keywords* = (*\marg{英文关键词}*)
16921692
% \end{fdusyntax}
1693-
% 关键字列表。各关键字之间需使用英文逗号隔开。为防止歧义,
1693+
% 关键词列表。各关键词之间需使用英文逗号隔开。为防止歧义,
16941694
% 可以用分组括号“|{...}|”把各字段括起来。
16951695
% \end{function}
16961696
%^^A! \begin{function}{info/keywords,info/keywords*}
@@ -1823,7 +1823,7 @@ Copyright (C) 2017&ndash;2023 by Xiangdong Zeng <[email protected]>.
18231823
%^^A! \end{function}
18241824
%^^A!
18251825
%
1826-
% 摘要的最后,会显示关键字列表以及中图分类号(CLC)或 JEL 分类号。这两项
1826+
% 摘要的最后,会显示关键词列表以及中图分类号(CLC)或 JEL 分类号。这两项
18271827
% 可通过 \cs{fdusetup} 录入,具体请参阅 \ref{subsubsec:信息录入}~节。
18281828
%^^A! At the end of abstract (both Chinese and English, if available),
18291829
%^^A! keywords list and CLC or JEL code will be shown. They can be
@@ -4600,7 +4600,7 @@ Copyright (C) 2017&ndash;2023 by Xiangdong Zeng <[email protected]>.
46004600
% \end{macro}
46014601
%
46024602
% \begin{macro}{info/keywords,info/keywords*}
4603-
% 论文关键字
4603+
% 论文关键词
46044604
% \begin{macrocode}
46054605
keywords .clist_set:N = \l_@@_info_keywords_clist,
46064606
keywords* .clist_set:N = \l_@@_info_keywords_en_clist,
@@ -5423,11 +5423,11 @@ Copyright (C) 2017&ndash;2023 by Xiangdong Zeng <[email protected]>.
54235423
% \end{macrocode}
54245424
% \end{macro}
54255425
%
5426-
% \changes{v0.7d}{2019/03/28}{优化关键字列表的显示。}
5426+
% \changes{v0.7d}{2019/03/28}{优化关键词列表的显示。}
54275427
% \changes{v0.8}{2021/12/22}{没有指定 CLC/JEL 分类号时不再显示。}
54285428
%
54295429
% \begin{macro}{\@@_abstract_end:}
5430-
% 摘要正文完成后,输出关键字列表和 CLC/JEL 分类号。
5430+
% 摘要正文完成后,输出关键词列表和 CLC/JEL 分类号。
54315431
% \begin{macrocode}
54325432
%<*class>
54335433
\cs_new_protected:Npn \@@_abstract_end:
@@ -5473,7 +5473,7 @@ Copyright (C) 2017&ndash;2023 by Xiangdong Zeng <[email protected]>.
54735473
% \end{macro}
54745474
%
54755475
% \begin{macro}{\@@_keywords:nNn,\@@_keywords_prevdepth:,\@@_clc_jel:nn}
5476-
% 关键字列表前要空一行,使用悬挂缩进;分类号不缩进。\tn{parbox} 之后的间距
5476+
% 关键词列表前要空一行,使用悬挂缩进;分类号不缩进。\tn{parbox} 之后的间距
54775477
% 需要调整,见 \url{https://tex.stackexchange.com/a/34982}。
54785478
% \begin{macrocode}
54795479
\cs_new_protected:Npn \@@_keywords:nNn #1#2#3
@@ -6243,6 +6243,8 @@ Copyright (C) 2017&ndash;2023 by Xiangdong Zeng <[email protected]>.
62436243
% \end{macrocode}
62446244
% \end{variable}
62456245
%
6246+
% \changes{v0.9a}{2023/03/23}{“关键字”更改为“关键词”。}
6247+
%
62466248
% 默认名称。注意空格是忽略掉的。
62476249
% \begin{macrocode}
62486250
\clist_map_inline:nn
@@ -6275,7 +6277,7 @@ Copyright (C) 2017&ndash;2023 by Xiangdong Zeng <[email protected]>.
62756277
\clist_map_inline:nn
62766278
{
62776279
{ abstract } { 摘 \quad 要 } { Abstract },
6278-
{ keywords } { 关键字 } { Keywords: },
6280+
{ keywords } { 关键词 } { Keywords: },
62796281
{ clc } { 中图分类号 } { CLC~ code: },
62806282
{ jel } { JEL 分类号 } { JEL~ code: },
62816283
{ notation } { 符号表 } { List~ of~ Symbols },

test/dtxtest.dtx

+1-1
Original file line numberDiff line numberDiff line change
@@ -265,7 +265,7 @@
265265
% 和英文摘要;英文模板中没有带星号的版本,您只需输入英文摘要。
266266
% \end{function}
267267
%
268-
% 摘要的最后,会显示关键字列表以及中图分类号(CLC)。
268+
% 摘要的最后,会显示关键词列表以及中图分类号(CLC)。
269269
% 这两项可通过 \cs{fdusetup} 录入。
270270
%
271271
% \begin{thebibliography}{9}

testfiles/02-basic.luatex.tlg

+4-4
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ Completed box being shipped out [1]
144144
.....\penalty 500
145145
.....\glue 0.0 plus 0.59575
146146
.....\hbox(10.5996+1.4454)x12.045, direction TLT
147-
......\LTJY3/FandolHei(0)/m/n/12.045
147+
......\LTJY3/FandolHei(0)/m/n/12.045
148148
.....\penalty 10000
149149
.....\glue 0.0 plus 0.59575
150150
.....\hbox(10.5996+1.4454)x6.0225, direction TLT
@@ -166,7 +166,7 @@ Completed box being shipped out [1]
166166
........\LTJY3/FandolSong(0)/m/n/12.045 键
167167
.......\glue 0.0 plus 0.59575
168168
.......\hbox(10.5996+1.4454)x12.045, direction TLT
169-
........\LTJY3/FandolSong(0)/m/n/12.045
169+
........\LTJY3/FandolSong(0)/m/n/12.045
170170
.......\glue 0.0 plus 0.59575
171171
.......\norule(10.5996+1.4454)x0.0
172172
.......\LTJY3/FandolSong(0)/m/n/12.045 一
@@ -182,7 +182,7 @@ Completed box being shipped out [1]
182182
........\LTJY3/FandolSong(0)/m/n/12.045 键
183183
.......\glue 0.0 plus 0.59575
184184
.......\hbox(10.5996+1.4454)x12.045, direction TLT
185-
........\LTJY3/FandolSong(0)/m/n/12.045
185+
........\LTJY3/FandolSong(0)/m/n/12.045
186186
.......\glue 0.0 plus 0.59575
187187
.......\norule(10.5996+1.4454)x0.0
188188
.......\LTJY3/FandolSong(0)/m/n/12.045 二
@@ -198,7 +198,7 @@ Completed box being shipped out [1]
198198
........\LTJY3/FandolSong(0)/m/n/12.045 键
199199
.......\glue 0.0 plus 0.59575
200200
.......\hbox(10.5996+1.4454)x12.045, direction TLT
201-
........\LTJY3/FandolSong(0)/m/n/12.045
201+
........\LTJY3/FandolSong(0)/m/n/12.045
202202
.......\penalty 500
203203
.......\glue 0.0 plus 0.59575
204204
.......\norule(10.5996+1.4454)x0.0

testfiles/02-basic.tlg

+4-4
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ Completed box being shipped out [1]
9595
.....\glue 0.0 plus 0.59575
9696
.....\TU/FandolHei(0)/m/n/12.045 键
9797
.....\glue 0.0 plus 0.59575
98-
.....\TU/FandolHei(0)/m/n/12.045
98+
.....\TU/FandolHei(0)/m/n/12.045
9999
.....\penalty 10000
100100
.....\TU/FandolHei(0)/m/n/12.045 :
101101
.....\rule(0.0+0.0)x-8.52786
@@ -111,7 +111,7 @@ Completed box being shipped out [1]
111111
.......\glue 0.0 plus 0.59575
112112
.......\TU/FandolSong(0)/m/n/12.045 键
113113
.......\glue 0.0 plus 0.59575
114-
.......\TU/FandolSong(0)/m/n/12.045
114+
.......\TU/FandolSong(0)/m/n/12.045
115115
.......\glue 0.0 plus 0.59575
116116
.......\TU/FandolSong(0)/m/n/12.045 一
117117
.......\penalty 10000
@@ -123,7 +123,7 @@ Completed box being shipped out [1]
123123
.......\glue 0.0 plus 0.59575
124124
.......\TU/FandolSong(0)/m/n/12.045 键
125125
.......\glue 0.0 plus 0.59575
126-
.......\TU/FandolSong(0)/m/n/12.045
126+
.......\TU/FandolSong(0)/m/n/12.045
127127
.......\glue 0.0 plus 0.59575
128128
.......\TU/FandolSong(0)/m/n/12.045 二
129129
.......\penalty 10000
@@ -135,7 +135,7 @@ Completed box being shipped out [1]
135135
.......\glue 0.0 plus 0.59575
136136
.......\TU/FandolSong(0)/m/n/12.045 键
137137
.......\glue 0.0 plus 0.59575
138-
.......\TU/FandolSong(0)/m/n/12.045
138+
.......\TU/FandolSong(0)/m/n/12.045
139139
.......\glue 0.0 plus 0.59575
140140
.......\TU/FandolSong(0)/m/n/12.045 三
141141
.......\kern -0.00017

testfiles/support/fduthesis-regression-test.tex

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
{王五六 \quad\quad 授},
2424
{李\quad\quad 副教授}
2525
},
26-
keywords = {关键字一, 关键字二, 关键字三},
26+
keywords = {关键词一, 关键词二, 关键词三},
2727
keywords* = {Keyword 1, keyword 2, keyword 3},
2828
clc = {TS803.23}
2929
}

0 commit comments

Comments
 (0)