Skip to content

Commit

Permalink
Change the delimiter of keywords (#376)
Browse files Browse the repository at this point in the history
  • Loading branch information
zepinglee committed May 16, 2023
1 parent c0bb590 commit de51926
Show file tree
Hide file tree
Showing 5 changed files with 49 additions and 41 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

### Changed

- 本科生摘要关键词的分隔符改为分号,同步教务处 2023-05-06 的修改([#376](https://github.com/ustctug/ustcthesis/issues/376))。

## [3.3.4] - 2023-05-10

### Changed
Expand Down
26 changes: 13 additions & 13 deletions test/testfiles-crossref/main-bachelor-arabic.tlg
Original file line number Diff line number Diff line change
Expand Up @@ -162,17 +162,17 @@ Completed box being shipped out [1]
....\glue 0.0 plus 0.61353
....\TU/FandolSong(0)/m/n/12.045 文
....\penalty 10000
....\TU/FandolSong(0)/m/n/12.045
....\rule(0.0+0.0)x-7.85333
....\glue 7.85333 minus 6.02249
....\TU/FandolSong(0)/m/n/12.045
....\rule(0.0+0.0)x-8.32309
....\glue 8.32309 minus 6.02249
....\glue 0.0 plus 0.61353
....\TU/FandolSong(0)/m/n/12.045 摘
....\glue 0.0 plus 0.61353
....\TU/FandolSong(0)/m/n/12.045 要
....\penalty 10000
....\TU/FandolSong(0)/m/n/12.045
....\rule(0.0+0.0)x-7.85333
....\glue 7.85333 minus 6.02249
....\TU/FandolSong(0)/m/n/12.045
....\rule(0.0+0.0)x-8.32309
....\glue 8.32309 minus 6.02249
....\glue 0.0 plus 0.61353
....\TU/FandolSong(0)/m/n/12.045 关
....\glue 0.0 plus 0.61353
Expand Down Expand Up @@ -346,14 +346,14 @@ Completed box being shipped out [2]
....\TU/texgyretermes(0)/m/n/12.045 :
....\glue 4.01498 plus 3.01123 minus 0.50186
....\vbox(8.22673+2.6258)x352.82936
.....\hbox(8.22673+2.6258)x352.82936, glue set 195.83485fil
.....\hbox(8.22673+2.6258)x352.82936, glue set 195.16035fil
......\hbox(0.0+0.0)x0.0
......\TU/texgyretermes(0)/m/n/12.045 dissertation,
......\glue 3.01125 plus 1.88202 minus 0.80298
......\glue 3.01125 plus 1.88202 minus 0.80298
......\TU/texgyretermes(0)/m/n/12.045 abstract,
......\glue 3.01125 plus 1.88202 minus 0.80298
......\glue 3.01125 plus 1.88202 minus 0.80298
......\TU/texgyretermes(0)/m/n/12.045 dissertation;
......\glue 3.01125 plus 2.25842 minus 0.66916
......\glue 3.01125 plus 2.25842 minus 0.66916
......\TU/texgyretermes(0)/m/n/12.045 abstract;
......\glue 3.01125 plus 2.25842 minus 0.66916
......\glue 3.01125 plus 2.25842 minus 0.66916
......\TU/texgyretermes(0)/m/n/12.045 keywords
......\kern -0.0002
......\kern 0.0002
Expand Down
26 changes: 13 additions & 13 deletions test/testfiles-crossref/main-bachelor-english.tlg
Original file line number Diff line number Diff line change
Expand Up @@ -162,17 +162,17 @@ Completed box being shipped out [1]
....\glue 0.0 plus 0.61353
....\TU/FandolSong(0)/m/n/12.045 文
....\penalty 10000
....\TU/FandolSong(0)/m/n/12.045
....\rule(0.0+0.0)x-7.85333
....\glue 7.85333 minus 6.02249
....\TU/FandolSong(0)/m/n/12.045
....\rule(0.0+0.0)x-8.32309
....\glue 8.32309 minus 6.02249
....\glue 0.0 plus 0.61353
....\TU/FandolSong(0)/m/n/12.045 摘
....\glue 0.0 plus 0.61353
....\TU/FandolSong(0)/m/n/12.045 要
....\penalty 10000
....\TU/FandolSong(0)/m/n/12.045
....\rule(0.0+0.0)x-7.85333
....\glue 7.85333 minus 6.02249
....\TU/FandolSong(0)/m/n/12.045
....\rule(0.0+0.0)x-8.32309
....\glue 8.32309 minus 6.02249
....\glue 0.0 plus 0.61353
....\TU/FandolSong(0)/m/n/12.045 关
....\glue 0.0 plus 0.61353
Expand Down Expand Up @@ -346,14 +346,14 @@ Completed box being shipped out [2]
....\TU/texgyretermes(0)/m/n/12.045 :
....\glue 4.01498 plus 3.01123 minus 0.50186
....\vbox(8.22673+2.6258)x352.82936
.....\hbox(8.22673+2.6258)x352.82936, glue set 195.83485fil
.....\hbox(8.22673+2.6258)x352.82936, glue set 195.16035fil
......\hbox(0.0+0.0)x0.0
......\TU/texgyretermes(0)/m/n/12.045 dissertation,
......\glue 3.01125 plus 1.88202 minus 0.80298
......\glue 3.01125 plus 1.88202 minus 0.80298
......\TU/texgyretermes(0)/m/n/12.045 abstract,
......\glue 3.01125 plus 1.88202 minus 0.80298
......\glue 3.01125 plus 1.88202 minus 0.80298
......\TU/texgyretermes(0)/m/n/12.045 dissertation;
......\glue 3.01125 plus 2.25842 minus 0.66916
......\glue 3.01125 plus 2.25842 minus 0.66916
......\TU/texgyretermes(0)/m/n/12.045 abstract;
......\glue 3.01125 plus 2.25842 minus 0.66916
......\glue 3.01125 plus 2.25842 minus 0.66916
......\TU/texgyretermes(0)/m/n/12.045 keywords
......\kern -0.0002
......\kern 0.0002
Expand Down
26 changes: 13 additions & 13 deletions test/testfiles-crossref/main-bachelor.tlg
Original file line number Diff line number Diff line change
Expand Up @@ -162,17 +162,17 @@ Completed box being shipped out [1]
....\glue 0.0 plus 0.61353
....\TU/FandolSong(0)/m/n/12.045 文
....\penalty 10000
....\TU/FandolSong(0)/m/n/12.045
....\rule(0.0+0.0)x-7.85333
....\glue 7.85333 minus 6.02249
....\TU/FandolSong(0)/m/n/12.045
....\rule(0.0+0.0)x-8.32309
....\glue 8.32309 minus 6.02249
....\glue 0.0 plus 0.61353
....\TU/FandolSong(0)/m/n/12.045 摘
....\glue 0.0 plus 0.61353
....\TU/FandolSong(0)/m/n/12.045 要
....\penalty 10000
....\TU/FandolSong(0)/m/n/12.045
....\rule(0.0+0.0)x-7.85333
....\glue 7.85333 minus 6.02249
....\TU/FandolSong(0)/m/n/12.045
....\rule(0.0+0.0)x-8.32309
....\glue 8.32309 minus 6.02249
....\glue 0.0 plus 0.61353
....\TU/FandolSong(0)/m/n/12.045 关
....\glue 0.0 plus 0.61353
Expand Down Expand Up @@ -346,14 +346,14 @@ Completed box being shipped out [2]
....\TU/texgyretermes(0)/m/n/12.045 :
....\glue 4.01498 plus 3.01123 minus 0.50186
....\vbox(8.22673+2.6258)x352.82936
.....\hbox(8.22673+2.6258)x352.82936, glue set 195.83485fil
.....\hbox(8.22673+2.6258)x352.82936, glue set 195.16035fil
......\hbox(0.0+0.0)x0.0
......\TU/texgyretermes(0)/m/n/12.045 dissertation,
......\glue 3.01125 plus 1.88202 minus 0.80298
......\glue 3.01125 plus 1.88202 minus 0.80298
......\TU/texgyretermes(0)/m/n/12.045 abstract,
......\glue 3.01125 plus 1.88202 minus 0.80298
......\glue 3.01125 plus 1.88202 minus 0.80298
......\TU/texgyretermes(0)/m/n/12.045 dissertation;
......\glue 3.01125 plus 2.25842 minus 0.66916
......\glue 3.01125 plus 2.25842 minus 0.66916
......\TU/texgyretermes(0)/m/n/12.045 abstract;
......\glue 3.01125 plus 2.25842 minus 0.66916
......\glue 3.01125 plus 2.25842 minus 0.66916
......\TU/texgyretermes(0)/m/n/12.045 keywords
......\kern -0.0002
......\kern 0.0002
Expand Down
8 changes: 6 additions & 2 deletions ustcthesis.cls
Original file line number Diff line number Diff line change
Expand Up @@ -2387,11 +2387,15 @@
\ifustc@degree@graduate
\ustc@clist@use{\ustc@keywords}{\quad}%
\else
\ustc@clist@use{\ustc@keywords}{}%
\ustc@clist@use{\ustc@keywords}{}%
\fi
}
\newcommand\ustc@keywords@en@text{%
\ustc@clist@use{\ustc@keywords@en}{, }%
\ifustc@degree@graduate
\ustc@clist@use{\ustc@keywords@en}{, }%
\else
\ustc@clist@use{\ustc@keywords@en}{; }%
\fi
}
\newenvironment{abstract}{%
\ustcsetup{language=chinese}%
Expand Down

0 comments on commit de51926

Please sign in to comment.