[pdftex] \pdfliteral vs \write
Hans Hagen
pragma at wxs.nl
Fri Aug 27 09:42:05 CEST 2004
jackos wrote:
> Hello All!
>
> I thought that \pdfliteral expands the content of its argument exactly
> as \write does. But there are at least one difference. In example
>
> \pdfliteral{^^j}
> \write16{^^j}
>
> produce '*' character in both cases while
>
> \pdfliteral{^^J}
> \write16{^^J}
>
> produces '^^J' in \write and just a newline in \pdfliteral (assuming
> \catcode`\^^J=12). Is this a trick to control newlines in pdf code:-?
> Are there any other differences?
locate your cp8bit tcx file, map the lower 32 chars to themselves, and try again; alternatively, use the tcx filter 'natural.tcx', or in new binaries --8bit;
believe me, you don't want to know the details of this 8 bit mess,
Hans
-----------------------------------------------------------------
Hans Hagen | PRAGMA ADE
Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
| www.pragma-pod.nl
-----------------------------------------------------------------
More information about the pdftex
mailing list