Skip to content

Commit

Permalink
Fix discontinuous achievement number (fix #825)
Browse files Browse the repository at this point in the history
  • Loading branch information
zepinglee committed Jan 18, 2023
1 parent a0d97d5 commit 9f934e1
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 8 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@

## [Unreleased]

### Fixed

- 修复学术成果没有连续编号的问题([#825](https://github.com/tuna/thuthesis/issues/825))。

## [v7.3.1] - 2022-10-05

### Added
Expand Down
4 changes: 4 additions & 0 deletions testfiles/09-main-en.tlg
Original file line number Diff line number Diff line change
Expand Up @@ -960,6 +960,8 @@ Completed box being shipped out [3]
......\TU/texgyretermes(0)/m/n/12.045 CHAPTER
......\glue 3.01125 plus 1.5041 minus 1.00473
......\TU/texgyretermes(0)/m/n/12.045 1
......\kern -0.0002
......\kern 0.0002
......\glue 3.01125 plus 1.50562 minus 1.00374
......\special{color pop}
....\TU/texgyretermes(0)/m/n/12.045 TITLE
Expand Down Expand Up @@ -1243,6 +1245,8 @@ Completed box being shipped out [3]
......\TU/texgyretermes(0)/m/n/12.045 APPENDIX
......\glue 3.01125 plus 1.5041 minus 1.00473
......\TU/texgyretermes(0)/m/n/12.045 A
......\kern -0.0002
......\kern 0.0002
......\glue 3.01125 plus 1.5041 minus 1.00473
......\special{color pop}
....\TU/texgyretermes(0)/m/n/12.045 TITLE
Expand Down
16 changes: 8 additions & 8 deletions testfiles/14-resume.tlg
Original file line number Diff line number Diff line change
Expand Up @@ -821,14 +821,14 @@ Completed box being shipped out [116]
...\glue(\parskip) 0.0
...\glue(\baselineskip) 4.05516
...\hbox(9.41919+2.26445)x398.33861, glue set - 0.05469, shifted 28.45274
....\hbox(8.14243+1.879)x0.0
....\hbox(8.28696+1.879)x0.0
.....\glue 0.0
.....\glue -28.45274
.....\glue 0.0
.....\hbox(8.14243+1.879)x28.45274, glue set 14.40828fil
.....\hbox(8.28696+1.879)x28.45274, glue set 14.40828fil
......\special{color push gray 0}
......\penalty 10000
......\TU/texgyretermes(0)/m/n/12.045 [1]
......\TU/texgyretermes(0)/m/n/12.045 [5]
......\kern -0.0002
......\kern 0.0002
......\glue 0.0 plus 1.0fil
Expand Down Expand Up @@ -926,16 +926,16 @@ Completed box being shipped out [116]
...\glue 6.02249
...\glue(\parskip) 0.0
...\glue(\parskip) 0.0
...\glue(\baselineskip) 5.71336
...\hbox(8.22673+2.6258)x398.33861, glue set 0.8879, shifted 28.45274
....\hbox(8.14243+1.879)x0.0
...\glue(\baselineskip) 5.70131
...\hbox(8.23878+2.6258)x398.33861, glue set 0.8879, shifted 28.45274
....\hbox(8.23878+1.879)x0.0
.....\glue 0.0
.....\glue -28.45274
.....\glue 0.0
.....\hbox(8.14243+1.879)x28.45274, glue set 14.40828fil
.....\hbox(8.23878+1.879)x28.45274, glue set 14.40828fil
......\special{color push gray 0}
......\penalty 10000
......\TU/texgyretermes(0)/m/n/12.045 [2]
......\TU/texgyretermes(0)/m/n/12.045 [6]
......\kern -0.0002
......\kern 0.0002
......\glue 0.0 plus 1.0fil
Expand Down
2 changes: 2 additions & 0 deletions thuthesis.dtx
Original file line number Diff line number Diff line change
Expand Up @@ -6214,6 +6214,7 @@
labelsep = 0pt,
align = left,
label = [\arabic*],
resume = achievements,
}%
\else
\ctexset{
Expand All @@ -6236,6 +6237,7 @@
labelsep = 0.5cm,
align = right,
label = [\arabic*],
resume = achievements,
}%
\fi
}{}
Expand Down

0 comments on commit 9f934e1

Please sign in to comment.