diff options
author | Andreas Scherer <andreas_tex@freenet.de> | 2024-02-14 08:19:45 +0000 |
---|---|---|
committer | Andreas Scherer <andreas_tex@freenet.de> | 2024-02-14 08:19:45 +0000 |
commit | 09b7b6f4f77feb1d3473a2e59b1ab335246b860f (patch) | |
tree | 2a6a7227ee917ac6f8621a5e55c1611dba73a0ba | |
parent | 5243974c562f38a41881b949c64c9351294909b5 (diff) |
[CWEB] Link CTWILL manpage for CTWILL-PROOFSORT.
git-svn-id: svn://tug.org/texlive/trunk@69852 c570f23f-e606-0410-a88d-b1316a301751
-rw-r--r-- | Build/source/texk/web2c/cwebdir/ChangeLog | 4 | ||||
-rwxr-xr-x | Build/source/texk/web2c/cwebdir/ctwill-proofsort | 10 | ||||
-rw-r--r-- | Build/source/texk/web2c/man/ChangeLog | 8 | ||||
-rw-r--r-- | Build/source/texk/web2c/man/Makefile.am | 2 | ||||
-rw-r--r-- | Build/source/texk/web2c/man/Makefile.in | 3 | ||||
-rw-r--r-- | Build/source/texk/web2c/man/ctwill.man | 12 |
6 files changed, 22 insertions, 17 deletions
diff --git a/Build/source/texk/web2c/cwebdir/ChangeLog b/Build/source/texk/web2c/cwebdir/ChangeLog index 5a640ee3d0a..08852ec890a 100644 --- a/Build/source/texk/web2c/cwebdir/ChangeLog +++ b/Build/source/texk/web2c/cwebdir/ChangeLog @@ -1,3 +1,7 @@ +2024-02-14 Andreas Scherer <https://ascherer.github.io> + + * cwtwill-proofsort: In-place invocation. + 2024-01-24 Andreas Scherer <https://ascherer.github.io> * cweave.w, diff --git a/Build/source/texk/web2c/cwebdir/ctwill-proofsort b/Build/source/texk/web2c/cwebdir/ctwill-proofsort index 9dc8d9d9cc7..b26904d00e9 100755 --- a/Build/source/texk/web2c/cwebdir/ctwill-proofsort +++ b/Build/source/texk/web2c/cwebdir/ctwill-proofsort @@ -100,11 +100,9 @@ It reads its input from <STDIN> and writes its output to <STDOUT>. =item Run CTWILL twice on your 'input_file'.w, creating 'input_file'.tex -=item Invoke "ctwill-proofsort < 'input_file'.tex > 'input_file'-sorted.tex" +=item Invoke "( ctwill-proofsort < 'input_file'.tex ) 1<> 'input_file'.tex" -=item Invoke "mv 'input_file'-sorted.tex 'input_file'.tex" - -=item Run TeX on 'input_file'.tex +=item Run TeX on 'input_file'.tex once =back @@ -121,9 +119,7 @@ Example from MMIX (https://github.com/ascherer/mmix, 'local' branch): =item $ ctwill +P -x mmotype mmotype-twill (run this two times) -=item $ ctwill-proofsort < mmotype.tex > mmotype-sorted.tex - -=item $ mv mmotype-sorted.tex mmotype.tex +=item $ ( ctwill-proofsort < mmotype.tex ) 1<> mmotype.tex =item $ tex mmotype diff --git a/Build/source/texk/web2c/man/ChangeLog b/Build/source/texk/web2c/man/ChangeLog index 419575caf55..8c82271cf99 100644 --- a/Build/source/texk/web2c/man/ChangeLog +++ b/Build/source/texk/web2c/man/ChangeLog @@ -1,7 +1,13 @@ +2024-02-14 Andreas Scherer <https://ascherer.github.io> + + * Makefile.am, + * Makefile.in, + * ctwill.man: Link CTWILL manpage for ctwill-proofsort. + 2024-02-12 Andreas Scherer <https://ascherer.github.io> * Makefile.am, - * Makefile.in: Link TWILL manpage. + * Makefile.in: Link TWILL manpage for twill-refsort. 2024-01-24 Andreas Scherer <https://ascherer.github.io> diff --git a/Build/source/texk/web2c/man/Makefile.am b/Build/source/texk/web2c/man/Makefile.am index 1ae44063f2e..6be2c9cd1e6 100644 --- a/Build/source/texk/web2c/man/Makefile.am +++ b/Build/source/texk/web2c/man/Makefile.am @@ -11,7 +11,7 @@ bootstrap_man_sources = ctie.man cweb.man ctwill.man tangle.man tie.man # Symlinks within $(man1dir): FILE:LINK indicates LINK.1->FILE.1 man1_links = cweb:ctangle cweb:cweave -man1_links += ctwill:ctwill-refsort ctwill:ctwill-twinx +man1_links += ctwill:ctwill-proofsort ctwill:ctwill-refsort ctwill:ctwill-twinx if WEB man_sources += $(web_man_sources) diff --git a/Build/source/texk/web2c/man/Makefile.in b/Build/source/texk/web2c/man/Makefile.in index 1bc76119302..193137c1e64 100644 --- a/Build/source/texk/web2c/man/Makefile.in +++ b/Build/source/texk/web2c/man/Makefile.in @@ -468,7 +468,8 @@ EXTRA_DIST = $(bootstrap_man_sources) $(web_man_sources) tex.man \ bootstrap_man_sources = ctie.man cweb.man ctwill.man tangle.man tie.man # Symlinks within $(man1dir): FILE:LINK indicates LINK.1->FILE.1 -man1_links = cweb:ctangle cweb:cweave ctwill:ctwill-refsort \ +man1_links = cweb:ctangle cweb:cweave \ + ctwill:ctwill-proofsort ctwill:ctwill-refsort \ ctwill:ctwill-twinx twill:twill-refsort $(am__append_3) \ $(am__append_5) $(am__append_6) $(am__append_10) \ $(am__append_12) $(am__append_14) $(am__append_17) \ diff --git a/Build/source/texk/web2c/man/ctwill.man b/Build/source/texk/web2c/man/ctwill.man index 02e731870a6..a72666f436f 100644 --- a/Build/source/texk/web2c/man/ctwill.man +++ b/Build/source/texk/web2c/man/ctwill.man @@ -1,6 +1,6 @@ .\" Automatically generated by Pandoc .\" -.TH "CTWILL" "1" "December 02, 2023" "Web2c @VERSION@" "General Commands Manual" +.TH "CTWILL" "1" "February 14, 2024" "Web2c @VERSION@" "General Commands Manual" .SH NAME ctwill, ctwill-proofsort, ctwill-refsort, ctwill-twinx \- translate CWEB to TeX with mini\-indexes @@ -10,8 +10,8 @@ mini\-indexes .PD 0 .P .PD -\f[B]ctwill-proofsort\f[R] < \f[I]texfile\f[R].tex > -\f[I]texfile\f[R]\-sorted.tex +( \f[B]ctwill-proofsort\f[R] < \f[I]texfile\f[R].tex ) 1<> +\f[I]texfile\f[R].tex .PD 0 .P .PD @@ -106,10 +106,8 @@ output. You can use \f[B]ctwill-proofsort\f[R] to get the index entries in alphabetical order; just invoke .IP \[bu] 2 -\f[B]ctwill-proofsort\f[R] < \f[I]texfile\f[R].tex > -\f[I]texfile\f[R]\-sorted.tex -.IP \[bu] 2 -\f[B]mv\f[R] \f[I]texfile\f[R]\-sorted.tex \f[I]texfile\f[R].tex +( \f[B]ctwill-proofsort\f[R] < \f[I]texfile\f[R].tex ) 1<> +\f[I]texfile\f[R].tex .PP after invoking \f[B]ctwill\f[R] (twice), but before invoking TeX (once). .PP |