From: David A. <da...@bo...> - 2004-06-23 11:54:02
|
gr...@us... writes: > 1. we could use :: > > - '\\usepackage{graphicx}\n', > + r'''%Check if we are compiling under latex or pdflatex > + \ifx\pdftexversion\undefined > + \usepackage{graphicx} > + \else > + \usepackage[pdftex]{graphicx} > + \fi > + ''', I just checked this one in, remembering that you said > i dont know, if it worked for you why not ? > 2. poking around i found graphics.cfg which says "Select an appropriate > default driver" (tex code is strange to me but it selects option > dvips or pdftex or vtex). > > 3. in grfguide many more driver options are listed, seem to depend on > platform (dvipsone,dviwindo,emtex,dviwin,pctexps,...) > > 4. http://www.mackichan.com/index.html?techtalk/495.htm~mainFrame > > tells to turn of any options to graphicx to get pictures correct > with default driver (presumable remove [dvips]) > > 5. from http://netra.wustl.edu/links/latex/latex.html LaTeX->PDF > > I've found that the best way to convert from latex to PDF is to use > "pdflatex." The first time that you run it, you'll find that the > produced PDF file doesn't include any of your figures. To fix this, > > 1. Use "epstopdf" to convert all of your EPS images to PDF > 2. Make sure that you are using the "graphicx" package for including > images. > 3. Remove any .eps or .ps extensions from filenames in your LaTeX file > > When you run latex, graphicx will use the dvips driver to incorporate > EPS files. When you run pdflatex, it will pick up the pdftex driver and > incorporate the PDF files. > > 6. http://www-h.eng.cam.ac.uk/help/tpl/textprocessing/makingWWWdocs.html > > shows :: > > \documentclass[pdftex]{article} > \usepackage[dvips]{graphicx} > \usepackage[usenames,dvipsnames]{color} > \usepackage[pdftex]{hyperref} > > so we have some options. I don't know what to think about any of these other options. -- Dave Abrahams Boost Consulting http://www.boost-consulting.com |