[pdftex] Optical alignment
John Culleton
john at wexfordpress.com
Sun Sep 29 09:48:48 CEST 2002
On Saturday 28 September 2002 07:38 pm, Reinhard Kotucha wrote:
> >>>>> "John" == John Culleton <john at wexfordpress.com> writes:
> >>>>>
> > I tried to use character protruding as described in Han The
> > Thanh's Dissertation. Ther result was overkill. Not only the
> > end character but the character next to the end character
> > protruded into the margin. Here is a snippet from my code:
> >
> > [...]
> >
> > I used the protcode.tex file as included in the TeXlive
> > distribution.
> >
> > Can anyone suggest a cure?
>
> If you are using pdfTeX version 1.0 the following piece of code in
> protcode.tex causes the problem:
>
> \ifnum\pdftexversion > 13
> \ifnum \expandafter`\pdftexrevision > `g
> \adjustprotcode#1
> \fi \fi
>
> The check for \pdftexrevision fails.
>
> Just add the lines:
>
> \ifnum\pdftexversion > 99
> \adjustprotcode#1
> \fi
>
> and it should work for the current and future versions.
>
> Regards,
> Reinhard
OK, now do I include your code right after the previous code in the
middle of the macro?
Thanks,
John Culleton
More information about the pdftex
mailing list