Graphics, Figures & Tablesgraphics

Information and discussion about graphics, figures & tables in LaTeX documents.
Post Reply
aether
Posts: 2
Joined: Mon Jan 25, 2010 3:51 pm

graphics

Post by aether »

I am trying to publish my first book in LaTeX and am having trouble with the diagrams. The diagram is included in the DVI version but when I try to convert to the necessary pdf it will no do it. Can anyone help please.

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

frabjous
Posts: 2064
Joined: Fri Mar 06, 2009 12:20 am

Re: graphics

Post by frabjous »

What method are you using to convert to PDF?

Try the dvips then ps2pdf route, if dvipdfm(x) isn't working right.
aether
Posts: 2
Joined: Mon Jan 25, 2010 3:51 pm

Re: graphics

Post by aether »

frabjous, Thanks for your reply. I am using a program called Winshell which merely has an a PDF icon which I click on to convert. I am afraid to say that I know nothing of the three programs that you mention and no idea how to use them.
User avatar
frabjous
Posts: 2064
Joined: Fri Mar 06, 2009 12:20 am

Re: graphics

Post by frabjous »

That button is probably calling pdflatex -- which won't work if your images/diagrams are in .eps format, or are done using a package such as pstricks that relies on postscript.

I don't have any familiarity with WinShell. I don't know how easy it would be to set it up to use the tools I mentioned. However, you must have a LaTeX distribution installed, not just an editor. If it's a recent one, it'll come with the tools I mentioned. Probably you can activate them from the command line if nothing else. Open a command line (DOS) shell, navigate to the folder where your files are. Something like

cd "C:\Users\yourname\Documents\whatever\"

Then type in:

latex filename.tex
dvips filename.dvi
ps2pdf filename.ps

Hopefully at the end you'd have a working .pdf file.

TeXnicCenter can certainly automate that process if you don't mind switching editors. Probably WinShell can do; I just don't know how.

There are other things you might try but it would on exactly how you're including these graphics/diagrams (\includegraphics with graphics/graphicx packages? or LaTeX code and which package?), what format they're in, and so on, which you didn't say.
User avatar
localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

graphics

Post by localghost »

aether wrote:I am trying to publish my first book in LaTeX and am having trouble with the diagrams. The diagram is included in the DVI version but when I try to convert to the necessary pdf it will no do it. Can anyone help please.
Search the forum for graphics formats and their acceptance in dependence of the used compiler. I'm quite sure you will find solutions that work for you.


Best regards and welcome to the board
Thorsten
Post Reply