Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

How do you convert .tex or .dvi to .ps

2,552 views
Skip to first unread message

Doug Holland

unread,
Jun 4, 2000, 3:00:00 AM6/4/00
to
Hi

Does anyone know how to convert a .tex / .dvi to a postscript file, as I
want to then pass it into Adobe Acrobat distiller to create a .pdf file.

Thanks in advance

Doug

dps...@uakron.edu

unread,
Jun 4, 2000, 3:00:00 AM6/4/00
to
(1) To Create PS from tex file:
(a) TeX the file to create a dvi file, go to (2)
(2) To Create PS from a dvi:
(a) use a dvi-to-ps converter such as dvips, which may
already be present on your system
(3) To Create PDF from a tex file:
(a) use pdftex, which goes directly from tex to pdf
(b) TeX the file to create a dvi file, then go to (4)
(4) To Create PDF from a dvi file
(b) TeX the file to create a dvi file, then use the application
dvipdfm, this will get you pdf from dvi directly.

My article on "Using LaTeX to create quality PDF documents for the WWW"
may be of interest as well. See my AcroTex web site for a link:
http://www.math.uakron.edu/~dpstory/acrotex.html

Hope this helps.

dps

In article <8hdhcp$pb5$1...@neptunium.btinternet.com>,


Sent via Deja.com http://www.deja.com/
Before you buy.

Martin Herrman

unread,
Jun 4, 2000, 3:00:00 AM6/4/00
to
On Sun, 4 Jun 2000 13:16:25 +0100, Doug Holland
<douglas...@btinternet.com> wrote:
> Hi
>
> Does anyone know how to convert a .tex / .dvi to a postscript file, as I
> want to then pass it into Adobe Acrobat distiller to create a .pdf file.

dvi -> ps

dvips -o source.dvi destination.ps

ps -> pdf

ps2pdf source.ps

HTH

Martin

>
> Thanks in advance
>
> Doug
>
>


--
Linux Gebruikers Handleiding v1.2 : http://2mypage.cjb.net
Linux RedHat 6.1 Kernel 2.2.14 Toshiba P233 MHz, 32 Mb RAM
4:40pm up 3 days, 15:03, 4 users, load average: 0.49, 0.15, 0.04
Western Civilization, that would be a good idea!

RockMover

unread,
Jun 4, 2000, 3:00:00 AM6/4/00
to
Hello!

Doug Holland wrote:
>
> Hi
>
> Does anyone know how to convert a .tex / .dvi to a postscript file, as I
> want to then pass it into Adobe Acrobat distiller to create a .pdf file.

Use dvips to convert .dvi to .ps (this always works and is standard
way),
or use pdftex (pdflatex) to produce pdf directly from .tex file.
(pdftex may not work if you have ps graphics included in your document,
still you can use ghostscript version 6 to convert .ps to .pdf after
dvips,
so you do not need distiller at all.)

> Thanks in advance
>
> Doug


WBR, RockMover
I am The Master of Flame...

Jeffrey Goldberg

unread,
Jun 4, 2000, 3:00:00 AM6/4/00
to
On Jun 4, 2000 Doug Holland <douglas...@btinternet.com> wrote:

> Does anyone know how to convert a .tex / .dvi to a postscript file, as I
> want to then pass it into Adobe Acrobat distiller to create a .pdf file.

To convert PostScript from DVI, the program dvips is the best bet.

But if your intent is to create PDF, then process the a plain TeX file
with pdftex and a LaTeX file with pdflatex which create PDF instead of
DVI.

An important note: Not all computer systems inextricably tie the content
type of the file to its name. A file ending with .tex may be a LaTeX file
or a plain TeX file (or really anything else). Until a few years ago,
most files on most computers on the Internet with names like .doc
containted plain or formated ascii text. It will be a lot clearer if you
refer to files by their type and not their extensions if you want to be
understood.

-j

--
Jeffrey Goldberg
Note: I am moving and changing many addresses, please see
http://www.goldmark.org/jeff/contact.html
Relativism is the triumph of convention over truth, authority over justice


Jiyang Xia

unread,
Jun 5, 2000, 3:00:00 AM6/5/00
to
the command dvips will do the job. Good luck.

"Doug Holland" <douglas...@btinternet.com> wrote in message
news:8hdhcp$pb5$1...@neptunium.btinternet.com...
> Hi


>
> Does anyone know how to convert a .tex / .dvi to a postscript file, as I
> want to then pass it into Adobe Acrobat distiller to create a .pdf file.
>

> Thanks in advance
>
> Doug
>
>

Giuseppe Bilotta

unread,
Jun 5, 2000, 3:00:00 AM6/5/00
to
Jeffrey Goldberg <{jeff$news$}@goldmark.org> wrote

>
> > Does anyone know how to convert a .tex / .dvi to a postscript file, as I
> > want to then pass it into Adobe Acrobat distiller to create a .pdf file.
>
> To convert PostScript from DVI, the program dvips is the best bet.
>
> But if your intent is to create PDF, then process the a plain TeX file
> with pdftex and a LaTeX file with pdflatex which create PDF instead of
> DVI.
>

All right, pdflatex is the right thing to use to obtain pdfs from dvis; but
it can't be used in some circumstances, e.g. when using pstricks or similar
(xypic with special otuput options that require ps interface); in this cases
the dvi->ps->pdf path is obligatory. It would be nice if pdflatex could
understan some ps-specials too ...

--
Giuseppe Bilotta
bour...@bigfoot.com

=============================================
This paper contains much that is new and much that is true.
Unfortunately, that which is true is not new
and that which is new is not true.
(Wolfgang Pauli (attr.))
=============================================

0 new messages