diff options
author | Andreas Scherer <andreas_tex@freenet.de> | 2024-03-13 22:09:56 +0000 |
---|---|---|
committer | Andreas Scherer <andreas_tex@freenet.de> | 2024-03-13 22:09:56 +0000 |
commit | 069a99afd6154c4f5e05e92a3d2ae08490f790cb (patch) | |
tree | 534f15c1c9fbb6b30f2c50069b0e6193b279f274 /Build | |
parent | 4df7336a8f320003f9ddce1ce249791acb736282 (diff) |
[CTWILL] Fix page breaks in sections 164 and 173.
git-svn-id: svn://tug.org/texlive/trunk@70628 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build')
-rw-r--r-- | Build/source/texk/web2c/cwebdir/ChangeLog | 4 | ||||
-rw-r--r-- | Build/source/texk/web2c/cwebdir/ctwill-mini.ch | 15 |
2 files changed, 6 insertions, 13 deletions
diff --git a/Build/source/texk/web2c/cwebdir/ChangeLog b/Build/source/texk/web2c/cwebdir/ChangeLog index 1cab1269526..8add6dcc29b 100644 --- a/Build/source/texk/web2c/cwebdir/ChangeLog +++ b/Build/source/texk/web2c/cwebdir/ChangeLog @@ -1,3 +1,7 @@ +2024-03-13 Andreas Scherer <https://ascherer.github.io> + + * ctwill-mini.ch: Fix page breaks in sections 164 and 173. + 2024-03-10 Andreas Scherer <https://ascherer.github.io> * ctwill-hint.ch, diff --git a/Build/source/texk/web2c/cwebdir/ctwill-mini.ch b/Build/source/texk/web2c/cwebdir/ctwill-mini.ch index b6412975911..c5f7a3df85c 100644 --- a/Build/source/texk/web2c/cwebdir/ctwill-mini.ch +++ b/Build/source/texk/web2c/cwebdir/ctwill-mini.ch @@ -1343,7 +1343,7 @@ Section 164. } else if (cat1==attr) { @y - else reduce(pp,0,else_like,0,65); + @+else reduce(pp,0,else_like,0,65); } @+ else @/ if (cat1==attr) { @z @@ -1353,30 +1353,19 @@ Section 170. @x @d force_lines flags['f'] /* should each statement be on its own line? */ @d force_first flags['F'] /* should compound statement start on new line? */ - -@<Set init...@>= -force_lines=force_first=true; @y @d force_lines flags['f'] /* should each statement be on its own line? */ @-force_lines@> @$force_lines {CTWILL}170 =\\{flags}[\.{'f'}]@> @d force_first flags['F'] /* should compound statement start on new line? */ @-force_first@> @$force_first {CTWILL}170 =\\{flags}[\.{'F'}]@> - -@<Set init...@>=@+force_lines=force_first=true; @z Section 173. @x -if (cat1==if_like || cat1==else_like || cat1==define_like) -@y -if (cat1==if_like || cat1==else_like || cat1==define_like) @/ -@z - -@x } else if (cat1==exp || cat1==function) { @y -} else @/ if (cat1==exp || cat1==function) { +} @+ else @/ if (cat1==exp || cat1==function) { @z Section 178. |