[tex-k] header special extension proposal

Paul Vojta vojta at Math.Berkeley.EDU
Fri Aug 19 08:22:58 CEST 2005

On Thu, Aug 18, 2005 at 08:09:43AM +0200, Hendri Adriaens wrote:
> > I thank you for giving page numbers in the 86-page file epslatex.pdf,
> > but can you also give page number (or chapter/section) references for
> > Greer's description in the PLRM (912 pages!)?
> See the package docs for a reference:
> http://www.tgreer.com/eps_vdp2.html

Thanks.  That was very helpful.

> > Can you provide a (valid) sample eps file that lacks the declarations that
> > you mention?  The eps file I gave was as produced by xfig.
> eg any ps generated from jpeg2ps. See, for instance, the figure.ps on my tug
> account: http://www.tug.org/~hendri

Indeed that ps file didn't work with my method, but not because it lacked
any declarations.  Instead, the problem was that it used an input filter.

My revised test suite:


now uses the Greer method for test1.  It also uses a stripped-down method
for test2, using the ReusableStreamDecode filter but not a Form dictionary.
It also works.

The perl script has two (known) bugs:

    o	As noted, it won't work with binary files.  (It also won't work
	with text files that use Mac line termination.)  This is fixable
	but I don't have time to do it tonight.

    o	The script has the bbox hardcoded in.  It should get the bbox
	either from the command line or from the eps file.

--Paul Vojta, vojta at math.berkeley.edu

More information about the tex-k mailing list