summaryrefslogtreecommitdiff
path: root/Build
diff options
context:
space:
mode:
authorAndreas Scherer <andreas_tex@freenet.de>2023-04-21 05:40:43 +0000
committerAndreas Scherer <andreas_tex@freenet.de>2023-04-21 05:40:43 +0000
commit3a90fe134e979c533a33f593c61b2df22e226588 (patch)
treedd4e29fec0cadd6828ea78ac1397457b077caabd /Build
parent64f8fe822da03a98b0350d33498c42f12ca7e399 (diff)
[CWEB] Reduce whitespace in output section.
Although it has been this way 'forever' and is neatly documented in CWEAVE.W, I really don't like the double space between the output file name and the section number in @(secondary output@>, both in code and in inner TeX mode. Instead of a full ' ' blank, we insert an '\thinspace', which gives a slightly different appearence than in normal section names, but isn't as harsh on the eye. git-svn-id: svn://tug.org/texlive/trunk@66908 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build')
-rw-r--r--Build/source/texk/web2c/cwebdir/ChangeLog4
-rw-r--r--Build/source/texk/web2c/cwebdir/cweave.w4
2 files changed, 6 insertions, 2 deletions
diff --git a/Build/source/texk/web2c/cwebdir/ChangeLog b/Build/source/texk/web2c/cwebdir/ChangeLog
index 566fb196492..8105b2d716c 100644
--- a/Build/source/texk/web2c/cwebdir/ChangeLog
+++ b/Build/source/texk/web2c/cwebdir/ChangeLog
@@ -1,3 +1,7 @@
+2023-04-20 Andreas Scherer <https://ascherer.github.io>
+
+ * cweave.w: Reduce whitespace in output section.
+
2023-04-05 Andreas Scherer <https://ascherer.github.io>
* cwebmac.tex: Revert a few \ifacro from version 4.8.
diff --git a/Build/source/texk/web2c/cwebdir/cweave.w b/Build/source/texk/web2c/cwebdir/cweave.w
index 17cb9ae4b55..cd95be4ca03 100644
--- a/Build/source/texk/web2c/cwebdir/cweave.w
+++ b/Build/source/texk/web2c/cwebdir/cweave.w
@@ -2124,7 +2124,7 @@ identifier&|exp|: \.{\\\\\{}identifier with underlines and
\.{\\X}$n$\.:translated section name\.{\\X}&maybe\cr
\.{@@(@q)@>}\thinspace section name\thinspace\.{@@>}&|section_scrap|:
\.{\\X}$n$\.{:\\.\{}section name with special characters
- quoted\.{\ \}\\X}&maybe\cr
+ quoted\.{\\,\}\\X}&maybe\cr
\.{/*}\thinspace comment\thinspace\.{*/}&|insert|: |cancel|
\.{\\C\{}translated comment\.\} |force|&no\cr
\.{//}\thinspace comment&|insert|: |cancel|
@@ -4093,7 +4093,7 @@ out(':');
if (an_output) out_str("\\.{"@q}@>);
@.\\.@>
@<Output the text of the section name@>@;
-if (an_output) out_str(@q{@>" }");
+if (an_output) out_str(@q{@>"\\,}");
out_str("\\X");
@ @<Output the text...@>=