diff options
-rw-r--r-- | Build/source/texk/web2c/cwebdir/ChangeLog | 6 | ||||
-rw-r--r-- | Build/source/texk/web2c/cwebdir/cweave.w | 2 | ||||
-rw-r--r-- | Build/source/texk/web2c/cwebdir/cwebman-w2c.ch | 8 | ||||
-rw-r--r-- | Build/source/texk/web2c/cwebdir/cwebman.tex | 2 |
4 files changed, 16 insertions, 2 deletions
diff --git a/Build/source/texk/web2c/cwebdir/ChangeLog b/Build/source/texk/web2c/cwebdir/ChangeLog index 1cf05d3e051..4587b65777d 100644 --- a/Build/source/texk/web2c/cwebdir/ChangeLog +++ b/Build/source/texk/web2c/cwebdir/ChangeLog @@ -1,3 +1,9 @@ +2022-06-05 Andreas Scherer <https://ascherer.github.io> + + * cweave.w, + * cwebman-w2c.ch, + * cwebman.tex: Update borderline cases. + 2022-06-04 Andreas Scherer <https://ascherer.github.io> * cwebman.tex: Update codes in Appendices. diff --git a/Build/source/texk/web2c/cwebdir/cweave.w b/Build/source/texk/web2c/cwebdir/cweave.w index b57611851aa..fbc7881a13b 100644 --- a/Build/source/texk/web2c/cwebdir/cweave.w +++ b/Build/source/texk/web2c/cwebdir/cweave.w @@ -3602,7 +3602,7 @@ section, it will be made into a scrap when |finish_C| is called. There's a known bug here, in cases where an adjacent scrap is |prelangle| or |prerangle|. Then the \TEX/ string can disappear when the \.{\\langle} or \.{\\rangle} becomes \.{<} or \.{>}. -For example, if the user writes \.{\v x<@@ty@@>\v}, the \TEX/ string +For example, if the user writes \.{\v x<@@ty@@><42\v}, the \TEX/ string \.{\\hbox\{y\}} eventually becomes part of an |insert| scrap, which is combined with a |prelangle| scrap and eventually lost. The best way to work around this bug is probably to enclose the \.{@@t...@@>} in \.{@@[...@@]} so that diff --git a/Build/source/texk/web2c/cwebdir/cwebman-w2c.ch b/Build/source/texk/web2c/cwebdir/cwebman-w2c.ch index 309add06700..7d16bed97ea 100644 --- a/Build/source/texk/web2c/cwebdir/cwebman-w2c.ch +++ b/Build/source/texk/web2c/cwebdir/cwebman-w2c.ch @@ -210,6 +210,14 @@ Sometimes things don't work as smoothly, and you get a bunch of @z @x +the `\.{@\#}' will put extra space after `$\langle\,$Other locals$\,\rangle$'. +@y +the `\.{@\#}' will put extra space after `$\langle\,$Other locals$\,\rangle$'.% +\cwebfootnote{This extended version of \.{CWEB} acknowledges the \.{-o} option +to suppress the extra space globally.} +@z + +@x \section Hypertext and hyperdocumentation. @y \vfill\eject diff --git a/Build/source/texk/web2c/cwebdir/cwebman.tex b/Build/source/texk/web2c/cwebdir/cwebman.tex index aa006afee51..388c3be2261 100644 --- a/Build/source/texk/web2c/cwebdir/cwebman.tex +++ b/Build/source/texk/web2c/cwebdir/cwebman.tex @@ -1133,7 +1133,7 @@ are just \\{exp}s. Thus it would tell \TEX/ to format `\X2:Argument declarations\X' on the same line as `$\\{main}(\\{argc},\39\\{argv}{}$)'. In this case you should help \.{CWEAVE} by putting `\.{@/}' after -`\.{main(argc,argv)}'. +`\.{main(argc,argv)}' (plus `\.{@t\\qquad@>}' for consistent indentation). \.{CWEAVE} automatically inserts a bit of extra space between declarations and the first apparent statement of a block. One way to defeat this |