summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2024-06-28no extractbb in restricted modeKarl Berry
git-svn-id: svn://tug.org/texlive/trunk@71645 c570f23f-e606-0410-a88d-b1316a301751
2024-06-28Merge 'with' and 'try..except'.Andreas Scherer
No need to store the file handles in 'self'. git-svn-id: svn://tug.org/texlive/trunk@71644 c570f23f-e606-0410-a88d-b1316a301751
2024-06-28simpleicons (28jun24)Karl Berry
git-svn-id: svn://tug.org/texlive/trunk@71643 c570f23f-e606-0410-a88d-b1316a301751
2024-06-28optex (28jun24)Karl Berry
git-svn-id: svn://tug.org/texlive/trunk@71642 c570f23f-e606-0410-a88d-b1316a301751
2024-06-28pdfjam (28jun24)Karl Berry
git-svn-id: svn://tug.org/texlive/trunk@71641 c570f23f-e606-0410-a88d-b1316a301751
2024-06-28[WEB] Avoid external adjustment.Andreas Scherer
'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
2024-06-28Fix comment according to last change.Andreas Scherer
git-svn-id: svn://tug.org/texlive/trunk@71639 c570f23f-e606-0410-a88d-b1316a301751
2024-06-28[C/WEB] Simpler check for 'change section'.Andreas Scherer
git-svn-id: svn://tug.org/texlive/trunk@71638 c570f23f-e606-0410-a88d-b1316a301751
2024-06-27autoupdateKarl Berry
git-svn-id: svn://tug.org/texlive/trunk@71637 c570f23f-e606-0410-a88d-b1316a301751
2024-06-27tl-update-autoKarl Berry
git-svn-id: svn://tug.org/texlive/trunk@71636 c570f23f-e606-0410-a88d-b1316a301751
2024-06-27univie-ling (27jun24)Karl Berry
git-svn-id: svn://tug.org/texlive/trunk@71635 c570f23f-e606-0410-a88d-b1316a301751
2024-06-27tuda-ci (27jun24)Karl Berry
git-svn-id: svn://tug.org/texlive/trunk@71634 c570f23f-e606-0410-a88d-b1316a301751
2024-06-27orcidlink (27jun24)Karl Berry
git-svn-id: svn://tug.org/texlive/trunk@71633 c570f23f-e606-0410-a88d-b1316a301751
2024-06-27babel-french (27jun24)Karl Berry
git-svn-id: svn://tug.org/texlive/trunk@71632 c570f23f-e606-0410-a88d-b1316a301751
2024-06-26autoupdateKarl Berry
git-svn-id: svn://tug.org/texlive/trunk@71631 c570f23f-e606-0410-a88d-b1316a301751
2024-06-26tl-update-autoKarl Berry
git-svn-id: svn://tug.org/texlive/trunk@71630 c570f23f-e606-0410-a88d-b1316a301751
2024-06-26latex (26jun24)Karl Berry
git-svn-id: svn://tug.org/texlive/trunk@71629 c570f23f-e606-0410-a88d-b1316a301751
2024-06-26firstaid (26jun24)Karl Berry
git-svn-id: svn://tug.org/texlive/trunk@71628 c570f23f-e606-0410-a88d-b1316a301751
2024-06-26lettrine (26jun24)Karl Berry
git-svn-id: svn://tug.org/texlive/trunk@71627 c570f23f-e606-0410-a88d-b1316a301751
2024-06-26[HiTeX] Add hard line breaks for 'cweave -f'.Andreas Scherer
'@<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
2024-06-25autoupdateKarl Berry
git-svn-id: svn://tug.org/texlive/trunk@71625 c570f23f-e606-0410-a88d-b1316a301751
2024-06-25tl-update-autoKarl Berry
git-svn-id: svn://tug.org/texlive/trunk@71624 c570f23f-e606-0410-a88d-b1316a301751
2024-06-25tblr-extras (25jun24)Max Chernoff
git-svn-id: svn://tug.org/texlive/trunk@71623 c570f23f-e606-0410-a88d-b1316a301751
2024-06-25ideavault (25jun24)Karl Berry
git-svn-id: svn://tug.org/texlive/trunk@71622 c570f23f-e606-0410-a88d-b1316a301751
2024-06-25siunitx (25jun24)Karl Berry
git-svn-id: svn://tug.org/texlive/trunk@71621 c570f23f-e606-0410-a88d-b1316a301751
2024-06-25se2thesis (25jun24)Karl Berry
git-svn-id: svn://tug.org/texlive/trunk@71620 c570f23f-e606-0410-a88d-b1316a301751
2024-06-24autoupdateKarl Berry
git-svn-id: svn://tug.org/texlive/trunk@71619 c570f23f-e606-0410-a88d-b1316a301751
2024-06-24tl-update-autoKarl Berry
git-svn-id: svn://tug.org/texlive/trunk@71618 c570f23f-e606-0410-a88d-b1316a301751
2024-06-24uantwerpendocs (24jun24)Karl Berry
git-svn-id: svn://tug.org/texlive/trunk@71617 c570f23f-e606-0410-a88d-b1316a301751
2024-06-24nicematrix (24jun24)Karl Berry
git-svn-id: svn://tug.org/texlive/trunk@71616 c570f23f-e606-0410-a88d-b1316a301751
2024-06-24easybook (24jun24)Karl Berry
git-svn-id: svn://tug.org/texlive/trunk@71615 c570f23f-e606-0410-a88d-b1316a301751
2024-06-24[WEB] Another test for 'fix-changefile-lines.py'.Andreas Scherer
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
2024-06-24Simplify 'fix-changefile-lines.py' script.Andreas Scherer
"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
2024-06-24epstopdf (22jun24)Max Chernoff
git-svn-id: svn://tug.org/texlive/trunk@71612 c570f23f-e606-0410-a88d-b1316a301751
2024-06-24Fix the tlpkg/ctan updater scripts to support multiple users on one systemMax Chernoff
git-svn-id: svn://tug.org/texlive/trunk@71611 c570f23f-e606-0410-a88d-b1316a301751
2024-06-23autoupdateKarl Berry
git-svn-id: svn://tug.org/texlive/trunk@71610 c570f23f-e606-0410-a88d-b1316a301751
2024-06-23(tl-update-tlpdb) force increased revision after Catalogue change or file ↵Karl Berry
removal git-svn-id: svn://tug.org/texlive/trunk@71609 c570f23f-e606-0410-a88d-b1316a301751
2024-06-23tl-update-autoKarl Berry
git-svn-id: svn://tug.org/texlive/trunk@71608 c570f23f-e606-0410-a88d-b1316a301751
2024-06-23Purge redundancy.Andreas Scherer
'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
2024-06-23Make the transformation from old to new more clear.Andreas Scherer
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
2024-06-23charwd must be .333 to match the 333 design-size units in the .pfb, else ↵Karl Berry
validators complain about inconsistent glyph width information; report from Ross Moore, 10 June 2024 git-svn-id: svn://tug.org/texlive/trunk@71605 c570f23f-e606-0410-a88d-b1316a301751
2024-06-23Optionally replace optional tags.Andreas Scherer
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
2024-06-23fix conflict between arydshln and colortbl, tex4ht r1535Karl Berry
git-svn-id: svn://tug.org/texlive/trunk@71603 c570f23f-e606-0410-a88d-b1316a301751
2024-06-23newtx (23jun24)Karl Berry
git-svn-id: svn://tug.org/texlive/trunk@71602 c570f23f-e606-0410-a88d-b1316a301751
2024-06-23tiet-question-paper (23jun24)Karl Berry
git-svn-id: svn://tug.org/texlive/trunk@71601 c570f23f-e606-0410-a88d-b1316a301751
2024-06-23Revert "Catch spurious @y."Andreas Scherer
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
2024-06-23Catch spurious @y.Andreas Scherer
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
2024-06-23Try to match error messages with CWEB.Andreas Scherer
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
2024-06-23Catch another exceptional situation.Andreas Scherer
'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
2024-06-23Catch exceptional situation.Andreas Scherer
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