You are not logged in.

#1 2005-10-21 17:39:37

cmp
Member
Registered: 2005-01-03
Posts: 350

latex to tiff

Hi,
I need to convert my article written in latex to a mulitpage tiff file with the resolution 204x196dpi.
If I create a pdf and then use convert file.pdf file.tiff the output is total crap (the pdf is good).
Do you know how I can directly create a tiff file from latex or get a better result with convert?

Offline

#2 2005-10-21 19:03:24

Snowman
Developer/Forum Fellow
From: Montreal, Canada
Registered: 2004-08-20
Posts: 5,212

Re: latex to tiff

Put:
usepackage{times}
in your tex file. That way you'll use the adobe fonts instead of the  ugly default metafont. It might improve the tiff file. Maybe posting one of the page in tiff might also help.

Offline

#3 2005-10-21 22:28:36

sh__
Member
Registered: 2005-07-19
Posts: 272

Re: latex to tiff

Tetex distribution comes with dvipng, which produces png images from the dvi file. You could create resolution 200 dpi png images with

dvipng -D 200 article.dvi

and convert them to tiff. I don't know how to set the horizontal and the vertical resolution separately, though.

Offline

#4 2005-10-22 09:50:11

cmp
Member
Registered: 2005-01-03
Posts: 350

Re: latex to tiff

@snowman that doesn't help.
@sh__ it works, the resolution of the image is much better, now I only got to figure out, how to make a multipage tiff image from it.

btw.: I hate universities. I'm doing distance physics studies and the force me to send the answers as a multipage tiff.
edit: problem solved: tiffcp test*.tiff test.tiff does create a multipage tiff from test1.tiff test2.tiff .. testN.tiff

just one remaining problem dvipng cuts the right margin off.
edit: also solved: dvipng -D 200 -T 210mm,297mm test.tex

Offline

#5 2005-10-23 02:48:51

sash
Member
Registered: 2005-10-16
Posts: 155

Re: latex to tiff

What are you using to create the pdf anyway? Is it dvipdf?
You could try to compile the .tex. file to a potscript file (ps) with dvips and convert that to a mutlipage tiff.

Offline

Board footer

Powered by FluxBB