summaryrefslogtreecommitdiff
path: root/Build/source/texk/web2c
AgeCommit message (Collapse)Author
2023-07-13[CWEB] Merge 'cur_state' into 'stack'.Andreas Scherer
git-svn-id: svn://tug.org/texlive/trunk@67618 c570f23f-e606-0410-a88d-b1316a301751
2023-07-09[CWEB] Don't create index/section file names.Andreas Scherer
Make section 79 more symmetric with respect to 'dot_pos==NULL'. In any case no index/section file names are created if option '-x' is used. git-svn-id: svn://tug.org/texlive/trunk@67589 c570f23f-e606-0410-a88d-b1316a301751
2023-07-08[CWEB] Purge redundant change line.Andreas Scherer
git-svn-id: svn://tug.org/texlive/trunk@67579 c570f23f-e606-0410-a88d-b1316a301751
2023-06-27[CWEB] Add intro to ctwill-{hint,mini}.ch.Andreas Scherer
git-svn-id: svn://tug.org/texlive/trunk@67491 c570f23f-e606-0410-a88d-b1316a301751
2023-06-26[CWEB] Fix CL date again.Andreas Scherer
git-svn-id: svn://tug.org/texlive/trunk@67488 c570f23f-e606-0410-a88d-b1316a301751
2023-06-26[CWEB] Use 'ctwill-hint.ch' stand-alone.Andreas Scherer
This is a slim twin of 'ctwill-mini.ch' with the section numbers of CWEAVE up to section 271. HiTeX's dynamic page layout permits very long sections. git-svn-id: svn://tug.org/texlive/trunk@67487 c570f23f-e606-0410-a88d-b1316a301751
2023-06-26Unicode::Collate may not be availableKarl Berry
git-svn-id: svn://tug.org/texlive/trunk@67480 c570f23f-e606-0410-a88d-b1316a301751
2023-06-25[CWEB] Index comes at the very end.Andreas Scherer
git-svn-id: svn://tug.org/texlive/trunk@67467 c570f23f-e606-0410-a88d-b1316a301751
2023-06-25[CWEB] Improve KPSE header inclusion.Andreas Scherer
git-svn-id: svn://tug.org/texlive/trunk@67466 c570f23f-e606-0410-a88d-b1316a301751
2023-06-24[CWEB] Improve formatting of CTWILL.Andreas Scherer
git-svn-id: svn://tug.org/texlive/trunk@67457 c570f23f-e606-0410-a88d-b1316a301751
2023-06-23[CWEB] Fix page break around sections 63/64 of CTWILL.Andreas Scherer
git-svn-id: svn://tug.org/texlive/trunk@67449 c570f23f-e606-0410-a88d-b1316a301751
2023-06-23[CWEB] Flip two variables.Andreas Scherer
git-svn-id: svn://tug.org/texlive/trunk@67448 c570f23f-e606-0410-a88d-b1316a301751
2023-06-23[CWEB] Final touches.Andreas Scherer
The TWINX output shouldn't be distributed. For consistency, the main output from CTWILL is checked. git-svn-id: svn://tug.org/texlive/trunk@67447 c570f23f-e606-0410-a88d-b1316a301751
2023-06-22[CWEB] Fix date in ChangeLog.Andreas Scherer
git-svn-id: svn://tug.org/texlive/trunk@67438 c570f23f-e606-0410-a88d-b1316a301751
2023-06-22[CWEB] Run short version of ctwill.test.Andreas Scherer
In total, this is "test-driven" develpment. :o) * All three CTWILL macros (ctproofmac, cttwinxmac, and ctwimac) needed a few modifications. Especially cttwinxmac had a bug since CWEB 4.5. * ctwill.test was reduced to CTWILL+tools only. It now includes a call of the ctwill-twinx program as well. * ctwill-proofsort received some spit and polish. At the end, I had to use Unicode::Collate->sort() to get stable results from ham.tex. Perl standard sort (with lowercase conversion) more often than not flipped 'A' and 'a', resp. 'V' and 'v', in section 4 of ham.tex. Now the uppercase letters always come after their lowercase counterpart. git-svn-id: svn://tug.org/texlive/trunk@67437 c570f23f-e606-0410-a88d-b1316a301751
2023-06-21single quotes for revision keywordKarl Berry
git-svn-id: svn://tug.org/texlive/trunk@67432 c570f23f-e606-0410-a88d-b1316a301751
2023-06-21[CWEB] Move variables to better placesAndreas Scherer
git-svn-id: svn://tug.org/texlive/trunk@67424 c570f23f-e606-0410-a88d-b1316a301751
2023-06-21[CWEB] Redactions for proofsort script.Andreas Scherer
git-svn-id: svn://tug.org/texlive/trunk@67423 c570f23f-e606-0410-a88d-b1316a301751
2023-06-20[CWEB] Clean up.Andreas Scherer
git-svn-id: svn://tug.org/texlive/trunk@67420 c570f23f-e606-0410-a88d-b1316a301751
2023-06-20[CWEB] Purge test results.Andreas Scherer
git-svn-id: svn://tug.org/texlive/trunk@67419 c570f23f-e606-0410-a88d-b1316a301751
2023-06-20[CWEB] Provide a comprehensive test for CTWILL.Andreas Scherer
The material comes from https://github.com/ascherer/cwebtest and was pre-processed with $ ctwill ham ham # (twice), producing ham.{aux,idx,ref,scn,tex} $ tex ham # producing ham.{dvi,log} $ ctwill-refsort < ham.ref > ham.sref plus for "proofing" $ ctwill-proofsort ham.tex > ham-sorted.tex Note that the fonal step is not active in ctwill.test. git-svn-id: svn://tug.org/texlive/trunk@67417 c570f23f-e606-0410-a88d-b1316a301751
2023-06-20[CWEB] Use 'kpse_find_file' for '*.bux' files.Andreas Scherer
In addition to '*.aux' files that CTWILL creates dynamically on the first run ("Prime the pump"), it uses several '*.bux' files to resolve external definitions, e.g., in other CWEB modules or in system headers. The '*.aux' file(s) are always created in the "current" directory, but the auxiliary '*.bux' file(s) can reside elsewhere in the file system. Just like other '@i'nclude files, these '*.bux' files can be addressed through the CWEBINPUTS environment variable. git-svn-id: svn://tug.org/texlive/trunk@67416 c570f23f-e606-0410-a88d-b1316a301751
2023-06-18AM_PROG_AR before LT_INIT in KPSE_COMMON; other locations were not early enoughKarl Berry
git-svn-id: svn://tug.org/texlive/trunk@67404 c570f23f-e606-0410-a88d-b1316a301751
2023-06-18install ctwill-proofsort; script tweaks; exit ctwill.test without running TeXKarl Berry
git-svn-id: svn://tug.org/texlive/trunk@67398 c570f23f-e606-0410-a88d-b1316a301751
2023-06-17[CWEB] Run ctwill.test.Andreas Scherer
Recreate Makefile.in by running reautoconf. Adjust ctwill.tex until all tests succeed. Adjust ctwill.tex to plain TeX; it complains about the \ifx construct. git-svn-id: svn://tug.org/texlive/trunk@67390 c570f23f-e606-0410-a88d-b1316a301751
2023-06-16[CWEB] Add comprehensive test for the CTWILL system.Andreas Scherer
This seems to have to be incorporated into Makefile.in somehow. git-svn-id: svn://tug.org/texlive/trunk@67381 c570f23f-e606-0410-a88d-b1316a301751
2023-06-16[CWEB] Flesh out 'proofsort' script.Andreas Scherer
* Rename to 'ctwill-proofsort'. * Support '--version' and '--help' options. * Add information in 'man ctwill'. git-svn-id: svn://tug.org/texlive/trunk@67380 c570f23f-e606-0410-a88d-b1316a301751
2023-06-14[CWEB] Revert two changes for HiTeX.Andreas Scherer
git-svn-id: svn://tug.org/texlive/trunk@67361 c570f23f-e606-0410-a88d-b1316a301751
2023-06-14[CWEB] Add section marker.Andreas Scherer
git-svn-id: svn://tug.org/texlive/trunk@67360 c570f23f-e606-0410-a88d-b1316a301751
2023-06-14[CWEB] Fix '@h' output (again).Andreas Scherer
git-svn-id: svn://tug.org/texlive/trunk@67359 c570f23f-e606-0410-a88d-b1316a301751
2023-06-14[CWEB] New macros for HiTeX.Andreas Scherer
We re-use 'proofmac.tex' (for plain TeX only) and add the PDF/HINT stuff from 'cwebmac.tex' to produce active links in CTWILL output, where each section gets its own mini-index. Especially in connection with HiTeX, this gives an interesting new output format. Use 'ctwill +P +lpdf' to '\input pdfproofmac' in the first line. These macros _do_ also work with pdftex and xetex (and probably with plain TeX as well). Example from MMIX: $ tie -c mmotype-twill.ch mmotype.{w,ch} mmotype-mini.ch [Remove the final change in mmotype-twill.ch, we want to create a full index at the end.] $ ctwill +P +lpdf mmotype mmotype-twill (twice) $ hitex mmotype $ proofsort mmotype.tex > mmotype-sorted.tex $ mv mmotype-sorted.tex mmotype.tex $ hitex mmotype $ hintview mmotype.hnt git-svn-id: svn://tug.org/texlive/trunk@67358 c570f23f-e606-0410-a88d-b1316a301751
2023-06-13{CWEB] Improve proofsort script.Andreas Scherer
No need to chomp($line). Sort case-insensitive. Support @f TeX replacements; these come in $math$ mode. Example from CTWILL: @f TeX_string TeX git-svn-id: svn://tug.org/texlive/trunk@67353 c570f23f-e606-0410-a88d-b1316a301751
2023-06-13[CWEB] Rename script later.Andreas Scherer
Will probably become 'ctwill-proofsort' on build/installation. git-svn-id: svn://tug.org/texlive/trunk@67352 c570f23f-e606-0410-a88d-b1316a301751
2023-06-12[CWEB] Pick a few nits.Andreas Scherer
git-svn-id: svn://tug.org/texlive/trunk@67341 c570f23f-e606-0410-a88d-b1316a301751
2023-06-12[CWEB] Add Perl script to sort mini-indexes.Andreas Scherer
I am working on re-using the [ct]proofmac.tex macros in conjunction with HiTeX. My plan is to add HINT-related macros (e.g., from either cwebmac.tex or pdfctwimac.tex) in [ct]proofmac.tex that produce active links when processed with HiTeX. Instead of 'proofing' the mini-indexes, the simple page layout produced by [ct]proofmac.tex should perfectly match the dynamic page layout of the HINT format. Every section in the CWEB output is amended with its local mini-index. As a small step upfront, I hacked the Perl script [ct]proofsort that sorts the mini-index entries alphabetically. git-svn-id: svn://tug.org/texlive/trunk@67340 c570f23f-e606-0410-a88d-b1316a301751
2023-05-26[CWEB] Fix page number for Aragon and Seidel.Andreas Scherer
Personal communication by DEK. git-svn-id: svn://tug.org/texlive/trunk@67222 c570f23f-e606-0410-a88d-b1316a301751
2023-05-24[CWEB] Make room for larger index entries.Andreas Scherer
At the time when DEK created CWEB and CTWILL, C compilers restricted the length of 'identifiers', e.g., variable and function names. In more recent years, programmers are enjoying the freedom to use more descriptive names in their sources. In order to apply 'refsort' to Martin Ruckert's HiTeX ('typedef word_file' in line 2583 of 'hitex.w') and to Scott Prahl's 'Inverse Adding-Doubling' (function 'Calculate_Distance_With_Corrections' in line 1124 of 'iad_calc.w'; see https://github.com/scottprahl/iad; this is the first 'off-brand' application of CTWILL I've seen in the wild!), we moderately extend the relevant parameters. git-svn-id: svn://tug.org/texlive/trunk@67205 c570f23f-e606-0410-a88d-b1316a301751
2023-05-24HINT adding tracingstacklevels primitiveMartin Ruckert
git-svn-id: svn://tug.org/texlive/trunk@67204 c570f23f-e606-0410-a88d-b1316a301751
2023-05-23Updated NEWSLuigi Scarso
git-svn-id: svn://tug.org/texlive/trunk@67197 c570f23f-e606-0410-a88d-b1316a301751
2023-05-21[CWEB] End the last change with out_mode==post.Andreas Scherer
git-svn-id: svn://tug.org/texlive/trunk@67180 c570f23f-e606-0410-a88d-b1316a301751
2023-05-21[TIE] Fix two typos in section 29.Andreas Scherer
git-svn-id: svn://tug.org/texlive/trunk@67179 c570f23f-e606-0410-a88d-b1316a301751
2023-05-21[CWEB] Handle deletion of last line in 'master' file.Andreas Scherer
git-svn-id: svn://tug.org/texlive/trunk@67178 c570f23f-e606-0410-a88d-b1316a301751
2023-05-19[CWEB] Improve readability of /Destination.Andreas Scherer
git-svn-id: svn://tug.org/texlive/trunk@67158 c570f23f-e606-0410-a88d-b1316a301751
2023-05-19HINT adding experimental files for LaTeX image inclusionMartin Ruckert
git-svn-id: svn://tug.org/texlive/trunk@67157 c570f23f-e606-0410-a88d-b1316a301751
2023-05-19HINT improving image handlingMartin Ruckert
git-svn-id: svn://tug.org/texlive/trunk@67156 c570f23f-e606-0410-a88d-b1316a301751
2023-05-19[CWEB] Fix NOS section in CTWILL output.Andreas Scherer
The \ifacro macros have to \shipout an otherwise empty page that holds the NOS node for the PDF bookmarks. This final page should neither have a header nor a mini index. (pdftex) dvipdf[m[x]] complains about the incorrect annotation syntax. (tex "\let\pdf=+ \input JOBNAME"; dvipdfm JOBNAME) git-svn-id: svn://tug.org/texlive/trunk@67154 c570f23f-e606-0410-a88d-b1316a301751
2023-05-15[CWEB] Release 4.9.Andreas Scherer
This commit bumps the version number to 4.9. And it reverts a few occurrences of '\ifacro' as synonym for '\ifpdf'. All other changes since CWEB 4.8 were committed as rolling releases. git-svn-id: svn://tug.org/texlive/trunk@67119 c570f23f-e606-0410-a88d-b1316a301751
2023-05-15[CWEB] Use correct type 'cweb' for 'program'.Andreas Scherer
git-svn-id: svn://tug.org/texlive/trunk@67118 c570f23f-e606-0410-a88d-b1316a301751
2023-05-14[CWEB] Purge outdated numeric notation.Andreas Scherer
git-svn-id: svn://tug.org/texlive/trunk@67114 c570f23f-e606-0410-a88d-b1316a301751
2023-05-14[CWEB] Add standard items for mmotype.Andreas Scherer
git-svn-id: svn://tug.org/texlive/trunk@67113 c570f23f-e606-0410-a88d-b1316a301751