Skip to content

Commit

Permalink
Better comply with the comment.
Browse files Browse the repository at this point in the history
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/Build/source@71720 c570f23f-e606-0410-a88d-b1316a301751
  • Loading branch information
Andreas Scherer committed Jul 6, 2024
1 parent f7e5940 commit 9b08b5b
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions texk/web2c/dvicopy.ch
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,6 @@
% Mar 20 91 THD Updated to dvicopy 1.2
% (more recent changes in the ChangeLog)

@x [0] l.38
\def\title{DVI\lowercase{copy}} % don't change this line!
@y
\def\title{DVI\lowercase{copy} changes for C} % don't change this line!
@z

@x [0] l.59 WEAVE: print changes only
\pageno=\contentspagenumber \advance\pageno by 1
@y
Expand Down

0 comments on commit 9b08b5b

Please sign in to comment.