summaryrefslogtreecommitdiff
path: root/Build/source/texk/web2c/cwebdir/cttwinxmac.tex
AgeCommit message (Collapse)Author
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-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
2021-10-31[CWEB] Restore '\T' macro backward compatibility.Andreas Scherer
CWEB 4.3 introduced a major change in the '\T' macro to allow C++ 'hex exponent' notation (e.g., 0x1FFFFp10). This made CWEAVE/CTWILL mutually incompatible with non-matching versions of their set of macros and v.v. This change tries to reestablish the standard behavior at least for numeric constants. Of course, 'old' CWEAVE/CTWILL won't deliver on 'hex exponents' in the CWEB input, but those should be rare anyway. git-svn-id: svn://tug.org/texlive/trunk@60909 c570f23f-e606-0410-a88d-b1316a301751
2021-10-14[CWEB] Fix CTWILL's dyscalculia.Andreas Scherer
C/C++ calculates '0x1FFFFp10' as '134216704', which equals '131071*1024' with '1024=2^10'. ('p' is part of the 'hex-exponent'.) git-svn-id: svn://tug.org/texlive/trunk@60761 c570f23f-e606-0410-a88d-b1316a301751
2021-05-03[CWEB] New release 4.3.1.Andreas Scherer
This release is almost the same as CWEB 4.3 of 2021-04-16, but * it fixes the indexing bug in CWEAVE/CTWILL that got retracted * it extracts and collects all additions made in CTWILL, so that the section numbers of CWEAVE are retained up to §272 and new material is described in the (first) appendix, including the CTWILL user manual * it provides fully revised and (hopefully) corrected mini-indexes for CTWILL, if it is processed by itself (to be published in package 'knuth-pdf' on CTAN) git-svn-id: svn://tug.org/texlive/trunk@59061 c570f23f-e606-0410-a88d-b1316a301751
2021-05-02Revert "[CWEB] New release 4.3."Andreas Scherer
This reverts commit 3ccac2a7d0f4a19dde861c6f4c178e853d90f0cc. CWEB 4.3 is seriously broken. git-svn-id: svn://tug.org/texlive/trunk@59048 c570f23f-e606-0410-a88d-b1316a301751
2021-04-16[CWEB] New release 4.3.Andreas Scherer
This release introduces new features to CWEB 4: * Former option '-t' is now called '-c'. - New option '-t' for CWEAVE when dealing with 'typename' in C++ templates. - New option '-k' for CTANGLE to keep '-separators in numeric literals. * Support for "variadic macros" along "variadic functions". * @d is printed similar to #define (and vice versa): - '#' is no longer printed in boldface. - Spacing is similar in most cases. * Support for extended C99/C++ numeric literals: - hexadecimal, octal, and -- new! -- binary numbers. - NOTE: 'cwebmac.tex 4.3' is NOT compatible with CWEAVE 4.2 and older and vice versa. * Long parameter lists in ANSI function definitions are indented similar to old-style function parameters. - Option '-i' works similar for old-style and modern function headers. * Additional C99/C++ keywords -- from 'alignas' to 'thread_local' -- are supported internally. * '@i'nclude file 'iso_types.w' for numeric types (in addition to 'c++lib.w'). * Countless code modifications, including some corrections amd improvements. Thanks and cudos to Github user "@texdraft" for numerous contributions to this feature release! git-svn-id: svn://tug.org/texlive/trunk@58884 c570f23f-e606-0410-a88d-b1316a301751
2021-02-25restore Build,TODO from r57911Karl Berry
git-svn-id: svn://tug.org/texlive/trunk@57915 c570f23f-e606-0410-a88d-b1316a301751
2021-02-25French translation for tlmgr updatedDenis Bitouzé
git-svn-id: svn://tug.org/texlive/trunk@57912 c570f23f-e606-0410-a88d-b1316a301751
2019-01-06cwebbin for cweb, from Andreas Scherer https://github.com/ascherer/cwebbin)Karl Berry
git-svn-id: svn://tug.org/texlive/trunk@49626 c570f23f-e606-0410-a88d-b1316a301751