[XeTeX] analogues of \pdfobj?

Paul Isambert zappathustra at free.fr
Tue Aug 30 12:28:38 CEST 2011



Le 30/08/2011 12:19, Oleg Parashchenko a écrit :
> Hello again,
>
> On Fri, 26 Aug 2011 12:32:14 +0200
> Heiko Oberdiek<heiko.oberdiek at googlemail.com>
> wrote:
>
> ...
>> * \pdfobj useobjnum/pdfobj: Objects can be constructed by
>>      \special{pdf:object ...}
>>      \special{pdf:put ...}
>>      \special{pdf:close ...}
>>      \special{pdf:stream ...} (dvipdfmx)
>>      \special{pdf:fstream ...} (dvipdfmx)
> My idea was to implement one-pass "part K of N" functionality for
> multipage tables. With pdftex it is easy, at least the test code works:
>
> %%%
> \pdfobj reserveobjnum {}
> \mathchardef\num\pdflastobj
>
> \edef\ppp{\noexpand\pdfliteral{BT [\the\pdflastobj\space 0 R]TJ ET}}
> \def\para{Counter++. The final value is \ppp\par}
>
> \para
> \para
>
> \immediate\pdfobj useobjnum\num {(test)}
> %%%
>
> Thanks to your suggestions, I thought that I could make a similar trick
> with DVIPDFMx, but so far no solution is found, despite I tried several
> different approaches. For further assistance, a letter ot the DVIPDFMx
> mailing list is sent.

I'm not sure I understand clearly what you want to do, but I'll remark 
that the Navigator package offers a unified interface for PDF objects 
under current engines.

Best,
Paul


More information about the XeTeX mailing list