[pdftex] define pdf variable and then reference it?

Martin Schröder martin at oneiros.de
Thu Jun 1 13:56:32 CEST 2006


2006/6/1, ivo welch <ivowel at gmail.com>:
> the resolution would occur at display time, not at
> latex-typesetting-compile time.  a simple sed program could replace
> VERYUNUSUALSTRING with "hello, george", and every page heading would
> have "hello, george" on it.
>
> Is the latter possible?  advice appreciated.

Only if the replacement has the same length as the original. PDF works
with byte offsets.

Also note that typesetting "foo" will most likely result in a very
different representation of "foo" in the PDF stream, even without
compression. And there is font subsetting...

Best
    Martin


More information about the pdftex mailing list