-
Notifications
You must be signed in to change notification settings - Fork 124
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ctex: fix toc number width when loading titletoc
Fix #472.
- Loading branch information
1 parent
8fef8f3
commit 3bc7f63
Showing
22 changed files
with
2,462 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,155 @@ | ||
This is a generated file for the l3build validation system. | ||
Don't change this file in any respect. | ||
Author: Xiangdong Zeng | ||
============================================================ | ||
TEST 1: \tableofcontents with titletoc | ||
============================================================ | ||
(github472-01.toc) | ||
\tf@toc=\write... | ||
Completed box being shipped out [2] | ||
\vbox(627.36243+0.0)x434.0, direction TLT | ||
.\whatsit4=[] | ||
.\glue 22.0 | ||
.\vbox(605.36243+0.0)x345.0, shifted 89.0, direction TLT | ||
..\whatsit4=[] | ||
..\vbox(12.0+0.0)x345.0, glue set 12.0fil, direction TLT | ||
...\whatsit4=[] | ||
...\glue 0.0 plus 1.0fil | ||
...\hbox(0.0+0.0)x345.0, direction TLT | ||
....\whatsit4=[] | ||
..\glue 18.06749 | ||
..\glue(\lineskip) 0.0 | ||
..\vbox(550.0+0.0)x345.0, glue set 361.5896fil, direction TLT | ||
...\whatsit4=[] | ||
...\write-{} | ||
...\write-{} | ||
...\glue(\topskip) 10.0 | ||
...\rule(0.0+0.0)x* | ||
...\penalty 10000 | ||
...\glue 50.0 | ||
...\glue 0.0 | ||
...\glue(\parskip) 0.0 plus 1.0 | ||
...\glue(\baselineskip) 15.01617 | ||
...\hbox(19.43259+2.6499)x345.0, glue set 150.41751fil, direction TLT | ||
....\whatsit4=[] | ||
....\glue(\leftskip) 0.0 plus 1.0fil | ||
....\localpar | ||
.....\localinterlinepenalty=0 | ||
.....\localbrokenpenalty=0 | ||
.....\localleftbox=null | ||
.....\localrightbox=null | ||
....\hbox(0.0+0.0)x0.0, direction TLT | ||
....\hbox(19.43259+2.6499)x22.08249, direction TLT | ||
.....\LTJY3/FandolSong-Regular(0)/bx/n/22.08249 目 | ||
....\penalty 500 | ||
....\glue 0.0 plus 2.75732 | ||
....\hbox(19.43259+2.6499)x22.08249, direction TLT | ||
.....\LTJY3/FandolSong-Regular(0)/bx/n/22.08249 录 | ||
....\penalty 10000 | ||
....\glue(\parfillskip) 0.0 | ||
....\glue(\rightskip) 0.0 plus 1.0fil | ||
...\mark{{\protect \MakeUppercase {目录}}{\protect \MakeUppercase {目录}\ | ||
ETC.} | ||
...\penalty 10000 | ||
...\glue 40.0 | ||
...\glue 10.53937 plus 1.0 | ||
...\glue(\parskip) 0.0 plus 1.0 | ||
...\glue(\baselineskip) 4.5169 | ||
...\hbox(9.27464+1.26472)x345.0, glue set 267.53558fil, direction TLT | ||
....\whatsit4=[] | ||
....\glue(\leftskip) 15.80905 | ||
....\localpar | ||
.....\localinterlinepenalty=0 | ||
.....\localbrokenpenalty=0 | ||
.....\localleftbox=null | ||
.....\localrightbox=null | ||
....\hbox(0.0+0.0)x0.0, direction TLT | ||
....\glue -15.80905 | ||
....\hbox(9.27464+1.26472)x40.04962, glue set 5.26968fil, direction TLT | ||
.....\whatsit4=[] | ||
.....\hbox(9.27464+1.26472)x10.53937, direction TLT | ||
......\LTJY3/FandolSong-Regular(0)/bx/n/10.53937 第 | ||
.....\glue 0.0 plus 0.60931 | ||
.....\norule(9.27464+1.26472)x0.0 | ||
.....\LTJY3/FandolSong-Regular(0)/bx/n/10.53937 一 | ||
.....\glue 0.0 plus 0.60931 | ||
.....\hbox(9.27464+1.26472)x10.53937, direction TLT | ||
......\LTJY3/FandolSong-Regular(0)/bx/n/10.53937 章 | ||
.....\glue 3.16183 | ||
.....\glue 0.0 plus 1.0fil | ||
....\penalty 0 | ||
....\hbox(9.27464+1.26472)x10.53937, direction TLT | ||
.....\LTJY3/FandolSong-Regular(0)/bx/n/10.53937 测 | ||
....\penalty 500 | ||
....\glue 0.0 plus 0.60931 | ||
....\hbox(9.27464+1.26472)x10.53937, direction TLT | ||
.....\LTJY3/FandolSong-Regular(0)/bx/n/10.53937 试 | ||
....\penalty 10000 | ||
....\glue 0.0 plus 1.0fil | ||
....\penalty 10000 | ||
....\hbox(6.90329+0.11594)x16.33604, glue set 10.27591fil, direction TLT | ||
.....\whatsit4=[] | ||
.....\glue 0.0 plus 1.0fil minus 1.0fil | ||
.....\TU/lmr/bx/n/10.53937 3 | ||
.....\kern-1.0 | ||
.....\kern1.0 | ||
....\penalty 10000 | ||
....\glue(\parfillskip) -16.33604 | ||
....\glue(\rightskip) 16.33604 | ||
...\penalty 301 | ||
...\penalty -301 | ||
...\glue 10.53937 plus 1.0 | ||
...\glue(\parskip) 0.0 plus 1.0 | ||
...\glue(\baselineskip) 5.90208 | ||
...\hbox(9.27464+1.26472)x345.0, glue set 267.53558fil, direction TLT | ||
....\whatsit4=[] | ||
....\glue(\leftskip) 15.80905 | ||
....\localpar | ||
.....\localinterlinepenalty=0 | ||
.....\localbrokenpenalty=0 | ||
.....\localleftbox=null | ||
.....\localrightbox=null | ||
....\hbox(0.0+0.0)x0.0, direction TLT | ||
....\glue -15.80905 | ||
....\hbox(9.27464+1.26472)x40.04962, glue set 5.26968fil, direction TLT | ||
.....\whatsit4=[] | ||
.....\hbox(9.27464+1.26472)x10.53937, direction TLT | ||
......\LTJY3/FandolSong-Regular(0)/bx/n/10.53937 第 | ||
.....\glue 0.0 plus 0.60931 | ||
.....\norule(9.27464+1.26472)x0.0 | ||
.....\LTJY3/FandolSong-Regular(0)/bx/n/10.53937 二 | ||
.....\glue 0.0 plus 0.60931 | ||
.....\hbox(9.27464+1.26472)x10.53937, direction TLT | ||
......\LTJY3/FandolSong-Regular(0)/bx/n/10.53937 章 | ||
.....\glue 3.16183 | ||
.....\glue 0.0 plus 1.0fil | ||
....\penalty 0 | ||
....\hbox(9.27464+1.26472)x10.53937, direction TLT | ||
.....\LTJY3/FandolSong-Regular(0)/bx/n/10.53937 测 | ||
....\penalty 500 | ||
....\glue 0.0 plus 0.60931 | ||
....\hbox(9.27464+1.26472)x10.53937, direction TLT | ||
.....\LTJY3/FandolSong-Regular(0)/bx/n/10.53937 试 | ||
....\penalty 10000 | ||
....\glue 0.0 plus 1.0fil | ||
....\penalty 10000 | ||
....\hbox(6.91382+0.0)x16.33604, glue set 10.27591fil, direction TLT | ||
.....\whatsit4=[] | ||
.....\glue 0.0 plus 1.0fil minus 1.0fil | ||
.....\TU/lmr/bx/n/10.53937 4 | ||
.....\kern-1.0 | ||
.....\kern1.0 | ||
....\penalty 10000 | ||
....\glue(\parfillskip) -16.33604 | ||
....\glue(\rightskip) 16.33604 | ||
...\penalty 301 | ||
...\glue -1.26472 | ||
...\glue 0.0 plus 1.0fil | ||
...\glue 0.0 | ||
..\glue(\baselineskip) 18.27571 | ||
..\hbox(7.01923+0.0)x345.0, glue set 169.86516fil, direction TLT | ||
...\whatsit4=[] | ||
...\glue 0.0 plus 1.0fil | ||
...\TU/lmr/m/n/10.53937 2 | ||
...\glue 0.0 plus 1.0fil | ||
============================================================ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
\input{regression-test} | ||
|
||
\documentclass[fontset=fandol,openany]{ctexbook} | ||
\usepackage{titletoc} | ||
|
||
\begin{document} | ||
|
||
\START | ||
|
||
\AUTHOR{Xiangdong Zeng} | ||
|
||
\OMIT | ||
\mbox{文字ABC} | ||
\clearpage | ||
\TIMO | ||
|
||
\loggingoutput | ||
|
||
\TEST{\tableofcontents with titletoc}{ | ||
\tableofcontents | ||
\clearpage | ||
} | ||
|
||
\OMIT | ||
|
||
\chapter{测试} | ||
\chapter{测试} | ||
|
||
\end{document} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,133 @@ | ||
This is a generated file for the l3build validation system. | ||
Don't change this file in any respect. | ||
Author: Xiangdong Zeng | ||
============================================================ | ||
TEST 1: \tableofcontents with titletoc | ||
============================================================ | ||
(github472-01.toc) | ||
\tf@toc=\write... | ||
Completed box being shipped out [2] | ||
\vbox(627.36243+0.0)x434.0 | ||
.\glue 22.0 | ||
.\vbox(605.36243+0.0)x345.0, shifted 89.0 | ||
..\vbox(12.0+0.0)x345.0, glue set 12.0fil | ||
...\glue 0.0 plus 1.0fil | ||
...\hbox(0.0+0.0)x345.0 | ||
..\glue 18.06749 | ||
..\glue(\lineskip) 0.0 | ||
..\vbox(550.0+0.0)x345.0, glue set 361.58957fil | ||
...\write-{} | ||
...\write-{} | ||
...\glue(\topskip) 10.0 | ||
...\rule(0.0+0.0)x* | ||
...\penalty 10000 | ||
...\glue 50.0 | ||
...\glue 0.0 | ||
...\glue(\parskip) 0.0 plus 1.0 | ||
...\glue(\baselineskip) 16.78278 | ||
...\hbox(17.66599+2.20825)x345.0, glue set 150.41751fil | ||
....\glue(\leftskip) 0.0 plus 1.0fil | ||
....\hbox(0.0+0.0)x0.0 | ||
....\C70/rm/bx/n/22.08249/76 � | ||
....\kern -0.00002 | ||
....\kern 0.00002 | ||
....\glue 0.0 plus 2.75732 | ||
....\C70/rm/bx/n/22.08249/5f U | ||
....\kern -0.00002 | ||
....\kern 0.00002 | ||
....\penalty 10000 | ||
....\glue(\parfillskip) 0.0 | ||
....\glue(\rightskip) 0.0 plus 1.0fil | ||
...\mark{{\protect \MakeUppercase {目录}}{\protect \MakeUppercase {目录}\ETC.} | ||
...\penalty 10000 | ||
...\glue 40.0 | ||
...\glue 10.53938 plus 1.0 | ||
...\glue(\parskip) 0.0 plus 1.0 | ||
...\glue(\baselineskip) 5.80171 | ||
...\hbox(8.43149+1.05394)x345.0, glue set 267.06131fil | ||
....\glue(\leftskip) 15.80907 | ||
....\hbox(0.0+0.0)x0.0 | ||
....\glue -15.80907 | ||
....\hbox(8.43149+1.05394)x40.52388, glue set 5.26968fil | ||
.....\C70/rm/bx/n/10.53937/7b , | ||
.....\kern -0.00002 | ||
.....\kern 0.00002 | ||
.....\glue 0.0 plus 0.60931 | ||
.....\C70/rm/bx/n/10.53937/4e ^^@ | ||
.....\kern -0.00002 | ||
.....\kern 0.00002 | ||
.....\glue 0.0 plus 0.60931 | ||
.....\C70/rm/bx/n/10.53937/7a � | ||
.....\kern -0.00002 | ||
.....\kern 0.00002 | ||
.....\glue 3.6361 | ||
.....\glue 0.0 plus 1.0fil | ||
....\C70/rm/bx/n/10.53937/6d K | ||
....\kern -0.00002 | ||
....\kern 0.00002 | ||
....\glue 0.0 plus 0.60931 | ||
....\C70/rm/bx/n/10.53937/8b � | ||
....\kern -0.00002 | ||
....\kern 0.00002 | ||
....\penalty 10000 | ||
....\glue 0.0 plus 1.0fil | ||
....\penalty 10000 | ||
....\hbox(6.79202+0.0)x16.33607, glue set 10.27599fil | ||
.....\glue 0.0 plus 1.0fil minus 1.0fil | ||
.....\OT1/cmr/bx/n/10.53937 3 | ||
.....\kern -1.0 | ||
.....\kern 1.0 | ||
....\penalty 10000 | ||
....\glue(\parfillskip) -16.33607 | ||
....\glue(\rightskip) 16.33607 | ||
...\penalty 301 | ||
...\penalty -301 | ||
...\glue 10.53938 plus 1.0 | ||
...\glue(\parskip) 0.0 plus 1.0 | ||
...\glue(\baselineskip) 6.95602 | ||
...\hbox(8.43149+1.05394)x345.0, glue set 267.06131fil | ||
....\glue(\leftskip) 15.80907 | ||
....\hbox(0.0+0.0)x0.0 | ||
....\glue -15.80907 | ||
....\hbox(8.43149+1.05394)x40.52388, glue set 5.26968fil | ||
.....\C70/rm/bx/n/10.53937/7b , | ||
.....\kern -0.00002 | ||
.....\kern 0.00002 | ||
.....\glue 0.0 plus 0.60931 | ||
.....\C70/rm/bx/n/10.53937/4e � | ||
.....\kern -0.00002 | ||
.....\kern 0.00002 | ||
.....\glue 0.0 plus 0.60931 | ||
.....\C70/rm/bx/n/10.53937/7a � | ||
.....\kern -0.00002 | ||
.....\kern 0.00002 | ||
.....\glue 3.6361 | ||
.....\glue 0.0 plus 1.0fil | ||
....\C70/rm/bx/n/10.53937/6d K | ||
....\kern -0.00002 | ||
....\kern 0.00002 | ||
....\glue 0.0 plus 0.60931 | ||
....\C70/rm/bx/n/10.53937/8b � | ||
....\kern -0.00002 | ||
....\kern 0.00002 | ||
....\penalty 10000 | ||
....\glue 0.0 plus 1.0fil | ||
....\penalty 10000 | ||
....\hbox(6.79202+0.0)x16.33607, glue set 10.27599fil | ||
.....\glue 0.0 plus 1.0fil minus 1.0fil | ||
.....\OT1/cmr/bx/n/10.53937 4 | ||
.....\kern -1.0 | ||
.....\kern 1.0 | ||
....\penalty 10000 | ||
....\glue(\parfillskip) -16.33607 | ||
....\glue(\rightskip) 16.33607 | ||
...\penalty 301 | ||
...\glue -1.05394 | ||
...\glue 0.0 plus 1.0fil | ||
...\glue 0.0 | ||
..\glue(\baselineskip) 18.50291 | ||
..\hbox(6.79202+0.0)x345.0, glue set 169.86516fil | ||
...\glue 0.0 plus 1.0fil | ||
...\OT1/cmr/m/n/10.53937 2 | ||
...\glue 0.0 plus 1.0fil | ||
============================================================ |
Oops, something went wrong.