[texhax] postscript printing

Sebastian Luque sluque at mun.ca
Thu Jun 24 18:59:38 CEST 2004


Thanks to all who responded. Here's a brief summary of what I could gather.

Apparently there are serious inconsistencies regarding what can be regarded as 
a postscript 'ps' file. Probably the safest option is to always use 'eps' 
instead of 'ps' when including images in LaTeX. One can use the exporting 
tools in the ghostview or ps2eps packages to do that. If that fails, print 
the whole LaTeX file directly to 'ps' using dvips.

LaTeX can read 'ps', but apparently not any. To ensure it can read it, 
intermediate steps were suggested, like producing a 'jpg' file and convert 
that to 'ps' with jpeg2ps (produces "correct" 'ps'?), and checking the header 
and trailer lines; they should read:

%!PS-Adobe-2.0

and

%%EOF

respectively, the rest can be chopped off (this wasn't the problem in my 
case).

In the particular case of making tables, GNUMERIC seems to be a good tool to 
get your table straight into LaTeX code. I've also heard of an add-in for MS 
Excel that can do that too.

Thanks again for all your suggestions.

Cheers
Sebastian



More information about the texhax mailing list