Graphics, Figures & Tables ⇒ graphics
NEW: TikZ book now 40% off at Amazon.com for a short time.

Re: graphics
What method are you using to convert to PDF?
Try the dvips then ps2pdf route, if dvipdfm(x) isn't working right.
Try the dvips then ps2pdf route, if dvipdfm(x) isn't working right.
Re: graphics
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.
Re: graphics
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.
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.
- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
graphics
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.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.
Best regards and welcome to the board
Thorsten
How to make a "Minimal Example"
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10