[pdftex] Another request for an enhancement to pdf(La)TeX

James Quirk jjq at galcit.caltech.edu
Wed Oct 27 16:32:43 CEST 2010


On Wed, 27 Oct 2010, James Quirk wrote:

> Martin,
> 
> On Wed, 27 Oct 2010, Martin Schröder wrote:
> 
> > 2010/10/26 Patrick Gundlach <patrick at gundla.ch>:
> > > This is partly because the xref table is at the end of the PDF file. So you need the complete file, then write the xref table and the pdfinfo (?) dictionary. (This is how I remember the PDF spec - I could be wrong though.)
> > 
> > The xref table can be anywhere in the file, but a pointer to it must
> > be at the EOF.
> It's worth noting that while the PDF spec stipulates the xref table appear
Sorry I did mean to tye pointer to the xref table.   
 
> at the EOF, the PDF Reference suggests PDF viewers should be able to cope 
> with the table appearing anywhere in the last KByte of the file. 
> Similarly, the %PDF can appear anywhere in the first KByte. 
> This behaviour is honoured by both AR and xpdf, but not by GhostScript.

James


More information about the pdftex mailing list