LaTeX forum ⇒ GeneralLaTex => DVI => PDF

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

LaTex => DVI => PDF

Postby ichhabekeineahnung » Tue Jul 03, 2007 12:39 pm

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?

Link:
BBcode:
HTML:
Hide post links
Show post links

User avatar
pumpkinegan
Posts: 91
Joined: Thu May 03, 2007 10:29 pm
Location: Gaithersburg, MD USA

Postby pumpkinegan » Tue Jul 03, 2007 2:30 pm

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 3016 times

Link:
BBcode:
HTML:
Hide post links
Show post links

ichhabekeineahnung
Posts: 3
Joined: Tue Jul 03, 2007 12:29 pm

Postby ichhabekeineahnung » Tue Jul 03, 2007 2:40 pm

pumpkinegan wrote:This should solve the problem.


DOES solve the problem!! Thanks a lot Wink

Link:
BBcode:
HTML:
Hide post links
Show post links

User avatar
localghost
Site Moderator
Posts: 9206
Joined: Fri Feb 02, 2007 12:06 pm
Location: Braunschweig, Germany

Postby localghost » Tue Jul 03, 2007 3:27 pm

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.
LaTeX Community Moderator
How to make a "Minimal Example"
Board Rules
Avoidable Mistakes


¹ System: openSUSE 13.1 (Linux 3.11.10), TeX Live 2013 (vanilla), TeXworks 0.5 (r1351)
² Posting stopped indefinitely due to offenses

Link:
BBcode:
HTML:
Hide post links
Show post links

ichhabekeineahnung
Posts: 3
Joined: Tue Jul 03, 2007 12:29 pm

Postby ichhabekeineahnung » Tue Jul 03, 2007 3:37 pm

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 Very Happy)

Link:
BBcode:
HTML:
Hide post links
Show post links


Return to “General”

Who is online

Users browsing this forum: No registered users and 2 guests