Age | Commit message (Collapse) | Author |
|
With 'pdfctwimac.tex' there's no table-of-contents page (yet), so the
'\datecontentspage' never appeared 'in print' (together with '\datethis'
on the first page) with any of the PDF engines.
With 'pdfctproofmac.tex' used with HiTeX, the two '\date' macros showed
up in 'ctwill.hnt'. Similar to the other three CWEB modules 'without
changes', we get rid of the '\datecontentspage'.
git-svn-id: svn://tug.org/texlive/trunk@71789 c570f23f-e606-0410-a88d-b1316a301751
|
|
git-svn-id: svn://tug.org/texlive/trunk@71782 c570f23f-e606-0410-a88d-b1316a301751
|
|
git-svn-id: svn://tug.org/texlive/trunk@71780 c570f23f-e606-0410-a88d-b1316a301751
|
|
git-svn-id: svn://tug.org/texlive/trunk@71777 c570f23f-e606-0410-a88d-b1316a301751
|
|
Also add line numbers in cwebman-w2c.ch relative to cwebman.tex.
Note that webman.pdf will have a link to the 'Holon Programming' project
on Github.
git-svn-id: svn://tug.org/texlive/trunk@71759 c570f23f-e606-0410-a88d-b1316a301751
|
|
git-svn-id: svn://tug.org/texlive/trunk@71756 c570f23f-e606-0410-a88d-b1316a301751
|
|
git-svn-id: svn://tug.org/texlive/trunk@71731 c570f23f-e606-0410-a88d-b1316a301751
|
|
git-svn-id: svn://tug.org/texlive/trunk@71721 c570f23f-e606-0410-a88d-b1316a301751
|
|
The TeX macro '\title' is used far too often, both in the TeX parts and
in an index entry that produces an 'Overfull \hbox'.
Curiously enough, I was able to produce a 'core dump' from 'xdvipdfmx' with
this twisted change (the @x and @y parts should, of course, be flipped):
@x
begin print(' !Sorry, DVIcopy capacity exceeded ['); print_packet(p);
@.Sorry, DVIcopy capacity exceeded@>
@y
begin print(' !Sorry, ',title,' capacity exceeded ['); print_packet(p);
@.Sorry, {\title} capacity exceeded@>
@z
xdvipdfmx: ../../../texk/dvipdfm-x/dpxutil.c:454: ht_lookup_table: Assertion `ht && key' failed.
Aborted (core dumped)
git-svn-id: svn://tug.org/texlive/trunk@71720 c570f23f-e606-0410-a88d-b1316a301751
|
|
git-svn-id: svn://tug.org/texlive/trunk@71719 c570f23f-e606-0410-a88d-b1316a301751
|
|
Python counts from '0', humans from '1'.
git-svn-id: svn://tug.org/texlive/trunk@71714 c570f23f-e606-0410-a88d-b1316a301751
|
|
git-svn-id: svn://tug.org/texlive/trunk@71710 c570f23f-e606-0410-a88d-b1316a301751
|
|
git-svn-id: svn://tug.org/texlive/trunk@71703 c570f23f-e606-0410-a88d-b1316a301751
|
|
git-svn-id: svn://tug.org/texlive/trunk@71692 c570f23f-e606-0410-a88d-b1316a301751
|
|
In some rare cases, CWEAVE inserts '\7' instead of '\6' after
preprocessor commands (maybe related to '@!' as well).
git-svn-id: svn://tug.org/texlive/trunk@71678 c570f23f-e606-0410-a88d-b1316a301751
|
|
git-svn-id: svn://tug.org/texlive/trunk@71665 c570f23f-e606-0410-a88d-b1316a301751
|
|
git-svn-id: svn://tug.org/texlive/trunk@71664 c570f23f-e606-0410-a88d-b1316a301751
|
|
These got clobbered by the initial version of 'fix-changefile-lines.py'.
git-svn-id: svn://tug.org/texlive/trunk@71655 c570f23f-e606-0410-a88d-b1316a301751
|
|
git-svn-id: svn://tug.org/texlive/trunk@71654 c570f23f-e606-0410-a88d-b1316a301751
|
|
git-svn-id: svn://tug.org/texlive/trunk@71653 c570f23f-e606-0410-a88d-b1316a301751
|
|
This reverts commit 9e10d9728a3a121dfeb2c951045fe6c6cf7396e0.
git-svn-id: svn://tug.org/texlive/trunk@71652 c570f23f-e606-0410-a88d-b1316a301751
|
|
Sorry, I reverted the wrong commit.
git-svn-id: svn://tug.org/texlive/trunk@71651 c570f23f-e606-0410-a88d-b1316a301751
|
|
This reverts commit 4a4953dff0442ef6dda2f762209eac1eec038ace.
git-svn-id: svn://tug.org/texlive/trunk@71650 c570f23f-e606-0410-a88d-b1316a301751
|
|
git-svn-id: svn://tug.org/texlive/trunk@71649 c570f23f-e606-0410-a88d-b1316a301751
|
|
git-svn-id: svn://tug.org/texlive/trunk@71645 c570f23f-e606-0410-a88d-b1316a301751
|
|
No need to store the file handles in 'self'.
git-svn-id: svn://tug.org/texlive/trunk@71644 c570f23f-e606-0410-a88d-b1316a301751
|
|
git-svn-id: svn://tug.org/texlive/trunk@71641 c570f23f-e606-0410-a88d-b1316a301751
|
|
'next_line()' returns the 'part, section, line_number' of the line
returned. (Note the exception for CWEB's '@i'nclude command.)
Also, fix a section number in 'gftype.ch'. (All other observed change
files are unaffected from the recent changes to 'f-c-l'.)
git-svn-id: svn://tug.org/texlive/trunk@71640 c570f23f-e606-0410-a88d-b1316a301751
|
|
git-svn-id: svn://tug.org/texlive/trunk@71639 c570f23f-e606-0410-a88d-b1316a301751
|
|
git-svn-id: svn://tug.org/texlive/trunk@71638 c570f23f-e606-0410-a88d-b1316a301751
|
|
'@<Named sections@>' resolve to 'statements' and might get placed next to
previous items, so the '@t\4' backstep might overprint.
git-svn-id: svn://tug.org/texlive/trunk@71626 c570f23f-e606-0410-a88d-b1316a301751
|
|
By forcing a full set of '@x [part.section] l.line' tag lines and by
manually reducing to the simpler format(s), 'dvicopy.ch' can quite
easily be amended with the 'l.line' information. 'f-c-l' (without option
'--init') reproduces this change file as is. The author of a change file
now has more discretion for commenting the change hunks.
git-svn-id: svn://tug.org/texlive/trunk@71614 c570f23f-e606-0410-a88d-b1316a301751
|
|
"In every large program there's a small one struggling to get out."
Back to basics (Thanks, Tyge!), with just enough flexibility. In this
reduced form, 'f-c-l' handles 'tex.ch', 'ctie-k.ch', 'tie-w2c.ch',
'weave.ch' and the whole slew of CWEB's '*-w2c.ch' monsters correctly.
Plus it corrects a few tags in 'bibtex.ch' just for fun.
git-svn-id: svn://tug.org/texlive/trunk@71613 c570f23f-e606-0410-a88d-b1316a301751
|
|
git-svn-id: svn://tug.org/texlive/trunk@71612 c570f23f-e606-0410-a88d-b1316a301751
|
|
're.sub()' does the right thing: When the 'pattern' doesn't 'match', it
simply returns the (unmodified) string.
git-svn-id: svn://tug.org/texlive/trunk@71607 c570f23f-e606-0410-a88d-b1316a301751
|
|
Handle the disection of 'old_line' and the assembly of 'new_line'
simultaneously under the control of the command-line options.
git-svn-id: svn://tug.org/texlive/trunk@71606 c570f23f-e606-0410-a88d-b1316a301751
|
|
Now we can update changefiles that only have 'l.NNN' line numbers,
without duplicating these (as part of the 'text').
git-svn-id: svn://tug.org/texlive/trunk@71604 c570f23f-e606-0410-a88d-b1316a301751
|
|
This reverts commit bb3967e5add1994021eb0374d48aa8cbcc2dad0e.
Oops, the 'self._pos += 1' shifts things badly.
git-svn-id: svn://tug.org/texlive/trunk@71600 c570f23f-e606-0410-a88d-b1316a301751
|
|
The author of the change most likely mistyped @y for @z.
Note that we can not catch an @x in place of @z at this time. The f-c-l
script starts a change hunk whenever it encounters @x. Only a second @x
triggers an error---in slight deviation from CWEB's behavior.
git-svn-id: svn://tug.org/texlive/trunk@71599 c570f23f-e606-0410-a88d-b1316a301751
|
|
We could
(a) calculate the distance of a mismatch and print
"! Hmm... N of the preceeding lines failed to match."
(b) issue a warning/error about a missing @z.
git-svn-id: svn://tug.org/texlive/trunk@71598 c570f23f-e606-0410-a88d-b1316a301751
|
|
'WebReader.next_line()' will never set 'tex_line' to 'None' of its own.
In the case that it reaches the end of the '_web_lines' array---say the
change expects more lines after the last line in the original file---,
it returns a single 'None' that gets assigned to the '(p,s,l)' triplet.
However, the 'tex_line' is not changed and still holds the last matching
line from an earlier 'next_line()' (either in the 'for' loop or in the
'while' loop).
We assign 'tex_line = None' when catching the 'TypeError' exception,
because the author of the change file might accidentally duplicate a
line in the '@x..@y' part of the change hunk.
git-svn-id: svn://tug.org/texlive/trunk@71597 c570f23f-e606-0410-a88d-b1316a301751
|
|
The simple 'return None' does not suit the assignment to the complex
'(part, section, line_number), tex_line' and raises a 'TypeError'
exception.
git-svn-id: svn://tug.org/texlive/trunk@71596 c570f23f-e606-0410-a88d-b1316a301751
|
|
git-svn-id: svn://tug.org/texlive/trunk@71584 c570f23f-e606-0410-a88d-b1316a301751
|
|
git-svn-id: svn://tug.org/texlive/trunk@71577 c570f23f-e606-0410-a88d-b1316a301751
|
|
My eyes are getting terribly bad.
git-svn-id: svn://tug.org/texlive/trunk@71563 c570f23f-e606-0410-a88d-b1316a301751
|
|
git-svn-id: svn://tug.org/texlive/trunk@71562 c570f23f-e606-0410-a88d-b1316a301751
|
|
git-svn-id: svn://tug.org/texlive/trunk@71561 c570f23f-e606-0410-a88d-b1316a301751
|
|
git-svn-id: svn://tug.org/texlive/trunk@71560 c570f23f-e606-0410-a88d-b1316a301751
|
|
git-svn-id: svn://tug.org/texlive/trunk@71559 c570f23f-e606-0410-a88d-b1316a301751
|
|
A few changes to 'fix-changefile-lines.py':
* Print 'Old:' vs 'New:' differences to 'stderr'.
* Avoid double space when using option '-h'.
git-svn-id: svn://tug.org/texlive/trunk@71555 c570f23f-e606-0410-a88d-b1316a301751
|