Re: [Doxygen-users] Error when generating pdf document
Brought to you by:
dimitri
From: Eduardo A. C. <ed...@al...> - 2008-11-07 09:14:33
|
Hi Clemens, thank you very much for your detailed reply, brilliant stuff. I have found that the lines you pointed out cause the error, I have removed them and now I get the TOC and index, which I didn't before. Here are the changes: In mantracan.h Was: //! Structure to hold the 6 bytes of CAN data that the mantracan protocol uses \n They are used as follows: |1 DSC | 1 CMD | 4 DATA| Is now: //! Structure to hold the 6 bytes of CAN data that the mantracan protocol uses In mantracan.c Was: //! Mantracan uses 6 bytes of CAN data:\n //! CAN DATA = | 1 byte Descriptor | 1 byte Command | 4 bytes Data|\n Is now: //! Mantracan uses 6 bytes of CAN data:\n Why are these lines causing an error, are the | not permitted characters in latex? Do I need to escape them somehow? Thanks again! Eduardo -----Original Message----- From: Clemens Feige [mailto:c....@os...] Sent: 06 November 2008 18:39 To: dox...@li... Subject: Re: [Doxygen-users] Error when generating pdf document Eduardo Aldaz Carroll: > ... > PDF_HYPERLINKS and USE_PDFLATEX). > ... > get a number of errors regarding the TOC (table of > contents), something concerning runaway arguments and a number of things > that i don't understand. > > Log included below > > Any idea of what is going on, why the pdf generation is failing when the > html was generated OK? and most importantly, what can i do to fix it? Hi Eduardo. Difficult issue! From the Log I would guess a problem with the hyperlinks inside the TOC. "! Extra }, or forgotten \endgroup" and "Runaway argument?" usually point to a "{" without a closing "}". 1. Do you have own pages i.e. do you use \mainpage and friends? 2. Your PDF is finally created, isn't it? Does it look odd e.g. in the TOC? 3. Do you have any "special" characters or formats in you head lines of chapters and sections? While LaTeX can handle this, it still can make some trouble if PDF hyperlinks shall be created. 4. Also look into the refman.toc file where all headlines are listed. Maybe you can post the file. 5. Look in the TEX file which contains "data that the mantracan" and "ollows: $|$1 DSC $|$ 1 CMD $|$ 4 DATA$|$" or post (part of) files. Any illegal LaTeX construction there? 6. In the refman.tex file disable the \include or \input lines that references the file from 5). If the error is gone, then you know it must be in this file. Good luck Clemens > l.51 \chapter > {Data Structure Index} [1 > ]pdfTeX warning (ext4): destination with the same identifier (name{page.2}) > has > been already used, duplicate ignored > <to be read again> > \relax > l.51 \chapter > {Data Structure Index} [2 > > ] > Chapter 2. > (annotated.tex > LaTeX Font Info: Font shape `T1/ptm/bx/n' in size <14.4> not available > (Font) Font shape `T1/ptm/b/n' tried instead on input line 1. > > Runaway argument? > {\hyperlink {structmantracan__prtcl__t}{mantracan\_\-prtcl\_\-t} (Str\ETC. > ! Paragraph ended before \contentsline was complete. > <to be read again> > \par > l.4 ... data that the mantracan protocol uses \par > > ? > ! Extra }, or forgotten \endgroup. > l.5 ...ollows: $|$1 DSC $|$ 1 CMD $|$ 4 DATA$|$ )} > > {\pageref{structmantracan_... > > ? > ) [3] [4 ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Doxygen-users mailing list Dox...@li... https://lists.sourceforge.net/lists/listinfo/doxygen-users |