> In principle it's just a question of setting the Doxyfile options: > > GENERATE_LATEX = YES > PDF_HYPERLINKS = YES > USE_PDFLATEX = YES > > running doxygen, and then running 'make' in the latex directory > that doxygen creates. > > However, I've just tried it, and I get an awful lot of LaTeX errors. > It still generates a 151 page refman.pdf, but it's clearly incomplete. > The chapters seem to be out of order, many of the links don't work, > there are no images, and there is no class reference.
I was experimenting/fighting with this over the weekend and committed two simple changes that make quite a difference: - specify *.dox files in chapter order in the Doxyfile INPUT variable - change the <H1>FLTK 1.3.0 Programming Manual</H1> entry in the table on the "cover page" to plain old <B>...</B> The "cover page" table isn't formatted correctly for LaTeX, but I think that we will probably have to change that completely anyway, or have conditional \htmlonly and \latexonly sections. These sections allow you to have 'raw' html or LaTeX commands, rather than try to work out how doxygen will convert either its own commands or the accepted html subset to LaTeX. Doxygen currently generates a LaTeX 'book' document. It's not clear to me whether it is possible to change or customize this. By default this should give us a Table of Contents page for free, so do we really need index.dox and its "cover page" or even the preface.dox listing in the LaTeX / PDF document? I need to brush up on my LaTeX, as it has been about a year since I last used it, only briefly. It should be possible to add the logo and credit/copyright info that is currently on the html "cover page" to the start of the LaTeX / PDF version, but might take me some time. On a negative note, however, I also tried to generate a PDF version of doxygen's own documentation, and that gave lots of errors on my system. I don't remember the details, I just did it out of curiosity. D. _______________________________________________ fltk-dev mailing list [email protected] http://lists.easysw.com/mailman/listinfo/fltk-dev
