GeneralLaTex => DVI => PDF

General information and discussion about TeXnicCenter
Post Reply
ichhabekeineahnung
Posts: 3
Joined: Tue Jul 03, 2007 12:29 pm

LaTex => DVI => PDF

Post by ichhabekeineahnung »

I'm trying to port to TeXnicCentre from WinEdt, but having some troubles.
In WinEdt i used to compile to dvi and then to pdf by dvi2pdf. In TeXnicCentre i have not such an accesory. Latex => PDF does not do the job. In my article indeed i do not see my pictures (all eps files). Before posting this, i've been through the forum and found a discussion on LaTex => PS => PDF. Tried, but with no success.
Any suggestion?

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org
TikZ book
User avatar
pumpkinegan
Posts: 91
Joined: Thu May 03, 2007 10:29 pm

Re: LaTex => DVI => PDF

Post by pumpkinegan »

You basically want to run the dvipdfm.exe postprocessor after latex.exe (or texify.exe).

In the Build Menu >> Define Output Profiles, copy the LaTeX => DVI profile.
Rename it LaTeX => DVI => PDF.
Click the Postprocessor tab.
Name the dvipdfm processor.
In the executable, specify the path to dvipdfm.exe (in the MiKTeX bin directory).
In the arguments, specify: "%Bm.dvi"
Click the viewer tab.
Specify the path to Adobe Reader.
In View Project Output, specify the command: "%bm.pdf"

I have included the build profile, without directory paths specified. This should solve the problem.

Patrick.
Attachments
dvipdfm.zip
(739 Bytes) Downloaded 3487 times
ichhabekeineahnung
Posts: 3
Joined: Tue Jul 03, 2007 12:29 pm

LaTex => DVI => PDF

Post by ichhabekeineahnung »

pumpkinegan wrote: This should solve the problem.


DOES solve the problem!! Thanks a lot ;)
User avatar
localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

LaTex => DVI => PDF

Post by localghost »

ichhabekeineahnung wrote: I'm trying to port to TeXnicCentre from WinEdt, but having some troubles.
In WinEdt i used to compile to dvi and then to pdf by dvi2pdf. In TeXnicCentre i have not such an accesory. Latex => PDF does not do the job. In my article indeed i do not see my pictures (all eps files). Before posting this, i've been through the forum and found a discussion on LaTex => PS => PDF. Tried, but with no success.
Any suggestion?

Did you use the output profile i posted there? This profile works correctly. How do your unsuccessful efforts look like? Are there any error messages (see LOG file)? Note that you need to have Ghostscript installed (maybe in combination with GSview) to get it work.
ichhabekeineahnung
Posts: 3
Joined: Tue Jul 03, 2007 12:29 pm

LaTex => DVI => PDF

Post by ichhabekeineahnung »

localghost wrote: Did you use the output profile i posted there? This profile works correctly. How do your unsuccessful efforts look like? Are there any error messages (see LOG file)? Note that you need to have Ghostscript installed (maybe in combination with GSview) to get it work.


Yup, the same exact!!
I had no error messages (except 2 bad boxes that i always have in this project) and the pdf had just 2 pictures out of 5 and one page was rotated 90 degrees (the page contains one plot).
With the output profile i created on the line of pumpkinegan suggestion i have all 5 pictures and no rotated pages (but still 2 bad boxes :D)
Post Reply