Age | Commit message (Collapse) | Author |
|
git-svn-id: svn://tug.org/texlive/trunk@67512 c570f23f-e606-0410-a88d-b1316a301751
|
|
git-svn-id: svn://tug.org/texlive/trunk@67510 c570f23f-e606-0410-a88d-b1316a301751
|
|
git-svn-id: svn://tug.org/texlive/trunk@67500 c570f23f-e606-0410-a88d-b1316a301751
|
|
git-svn-id: svn://tug.org/texlive/trunk@67491 c570f23f-e606-0410-a88d-b1316a301751
|
|
git-svn-id: svn://tug.org/texlive/trunk@67488 c570f23f-e606-0410-a88d-b1316a301751
|
|
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
|
|
git-svn-id: svn://tug.org/texlive/trunk@67480 c570f23f-e606-0410-a88d-b1316a301751
|
|
git-svn-id: svn://tug.org/texlive/trunk@67468 c570f23f-e606-0410-a88d-b1316a301751
|
|
git-svn-id: svn://tug.org/texlive/trunk@67467 c570f23f-e606-0410-a88d-b1316a301751
|
|
git-svn-id: svn://tug.org/texlive/trunk@67466 c570f23f-e606-0410-a88d-b1316a301751
|
|
git-svn-id: svn://tug.org/texlive/trunk@67465 c570f23f-e606-0410-a88d-b1316a301751
|
|
git-svn-id: svn://tug.org/texlive/trunk@67463 c570f23f-e606-0410-a88d-b1316a301751
|
|
git-svn-id: svn://tug.org/texlive/trunk@67457 c570f23f-e606-0410-a88d-b1316a301751
|
|
git-svn-id: svn://tug.org/texlive/trunk@67449 c570f23f-e606-0410-a88d-b1316a301751
|
|
git-svn-id: svn://tug.org/texlive/trunk@67448 c570f23f-e606-0410-a88d-b1316a301751
|
|
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
|
|
git-svn-id: svn://tug.org/texlive/trunk@67438 c570f23f-e606-0410-a88d-b1316a301751
|
|
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
|
|
git-svn-id: svn://tug.org/texlive/trunk@67435 c570f23f-e606-0410-a88d-b1316a301751
|
|
git-svn-id: svn://tug.org/texlive/trunk@67432 c570f23f-e606-0410-a88d-b1316a301751
|
|
git-svn-id: svn://tug.org/texlive/trunk@67425 c570f23f-e606-0410-a88d-b1316a301751
|
|
git-svn-id: svn://tug.org/texlive/trunk@67424 c570f23f-e606-0410-a88d-b1316a301751
|
|
git-svn-id: svn://tug.org/texlive/trunk@67423 c570f23f-e606-0410-a88d-b1316a301751
|
|
git-svn-id: svn://tug.org/texlive/trunk@67420 c570f23f-e606-0410-a88d-b1316a301751
|
|
git-svn-id: svn://tug.org/texlive/trunk@67419 c570f23f-e606-0410-a88d-b1316a301751
|
|
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
|
|
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
|
|
git-svn-id: svn://tug.org/texlive/trunk@67404 c570f23f-e606-0410-a88d-b1316a301751
|
|
git-svn-id: svn://tug.org/texlive/trunk@67403 c570f23f-e606-0410-a88d-b1316a301751
|
|
git-svn-id: svn://tug.org/texlive/trunk@67398 c570f23f-e606-0410-a88d-b1316a301751
|
|
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
|
|
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
|
|
* 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
|
|
git-svn-id: svn://tug.org/texlive/trunk@67361 c570f23f-e606-0410-a88d-b1316a301751
|
|
git-svn-id: svn://tug.org/texlive/trunk@67360 c570f23f-e606-0410-a88d-b1316a301751
|
|
git-svn-id: svn://tug.org/texlive/trunk@67359 c570f23f-e606-0410-a88d-b1316a301751
|
|
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
|
|
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
|
|
Will probably become 'ctwill-proofsort' on build/installation.
git-svn-id: svn://tug.org/texlive/trunk@67352 c570f23f-e606-0410-a88d-b1316a301751
|
|
git-svn-id: svn://tug.org/texlive/trunk@67341 c570f23f-e606-0410-a88d-b1316a301751
|
|
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
|
|
git-svn-id: svn://tug.org/texlive/trunk@67339 c570f23f-e606-0410-a88d-b1316a301751
|
|
git-svn-id: svn://tug.org/texlive/trunk@67323 c570f23f-e606-0410-a88d-b1316a301751
|
|
git-svn-id: svn://tug.org/texlive/trunk@67321 c570f23f-e606-0410-a88d-b1316a301751
|
|
git-svn-id: svn://tug.org/texlive/trunk@67296 c570f23f-e606-0410-a88d-b1316a301751
|
|
git-svn-id: svn://tug.org/texlive/trunk@67278 c570f23f-e606-0410-a88d-b1316a301751
|
|
git-svn-id: svn://tug.org/texlive/trunk@67235 c570f23f-e606-0410-a88d-b1316a301751
|
|
Personal communication by DEK.
git-svn-id: svn://tug.org/texlive/trunk@67222 c570f23f-e606-0410-a88d-b1316a301751
|
|
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
|
|
git-svn-id: svn://tug.org/texlive/trunk@67204 c570f23f-e606-0410-a88d-b1316a301751
|