Re: [Doxygen-users] best ways of getting images into generated outputs
Brought to you by:
dimitri
From: Volker B. <boe...@we...> - 2001-09-05 11:36:33
|
On Tue, 4 Sep 2001, John Clinton wrote: > What should I do if I had an image file (.gif, .png, .jpg, > etc.) and wanted to have some Doxygen comment in my source > code cause that image to be displayed in the generated output? > > Ideally I want to have the imaged display in both LaTeX (which > I convert to .pdf) and HTML. I know for HTML only I could > include an HTML <IMG> tag, but that doesn't help LaTeX. For bitmap-graphics I use PNG only (small size, portable), example: @image html billing_ext_arch.png @latexonly \begin{center} @endlatexonly @image latex billing_ext_arch.png width=10cm @latexonly \end{center} @endlatexonly Unfortunately this doesn't work with the dvips driver of the graphicx package, so you can't generate a dvi file from the code above. And even the following will not work: $ cd latex $ make pdf Since this only converts the dvi to pdf (via ps). The only way is to use pdflatex: $ cd latex $ pdflatex refman (Dimitri, perhaps you could add a 'pdflatex' target to the Makefile in the generated latex directory.) The alternative for latex is converting the bitmaps to EPS, but this costs disk space and maintenance effort. Regards, Volker -- Volker Boerchers, boe...@we... |