[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

Doxygen pdf document generation error

Posted on 2008-11-04
9
Medium Priority
?
1,280 Views
Last Modified: 2013-12-02
Dear experts
I have installed Doxygen and the latest version of MiKTeX (2.7) in my windows XP following the recomendations by doxygen website:
http://www.stack.nl/~dimitri/doxygen/install.html#install_bin_windows

Running the doxygen gui frontend (doxywizard) i select Latex output as intermediate format for hyperlinked PDF (equivalent to selecting PDF_HYPERLINKS and USE_PDFLATEX).

The html pages get generated perfectly (this is truly a great tool) and latex seems to be generated fine too as i get no error messages. However when i run
make pdf
to get the pdf file i 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.

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?
I include the .log
Thanks for your help
Eduardo


refman.log
0
Comment
Question by:ealdaz
  • 5
  • 4
9 Comments
 
LVL 68

Expert Comment

by:woolmilkporc
ID: 22884584
Hi,
try to raise the tocdepth to a value greater than 2!
wmp
0
 
LVL 68

Expert Comment

by:woolmilkporc
ID: 22884655
... and you should use pdfTeX 1.50
0
 

Author Comment

by:ealdaz
ID: 22884990
Hi,
Thanks for your comment.
How do i raise the tocdepth ? haven't found any option along those lines in the doxyfile (doxygen configuration file.)
Cheers
Eduardo
0
VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

 
LVL 68

Expert Comment

by:woolmilkporc
ID: 22885030
Hi,
it's like a counter, so set it with
\setcounter{tocdepth}{<number>}  
 
wmp
 
0
 

Author Comment

by:ealdaz
ID: 22885043
pdfTex is already included in the MiKTeX package.
0
 

Author Comment

by:ealdaz
ID: 22885136
Hi sorry, but i've just got a couple days of experience with doxygen, so bare with me:
Where do i set this counter? in Doxyfile? in the c source code?
Could you give me an example if it is in the source code? do i put it in a doxygen block on it's own, or with something else?
Thanks
0
 
LVL 68

Expert Comment

by:woolmilkporc
ID: 22885240
Sorry, too, as I forgot it's not LaTex native ...
So I don't know whether this will work -
put it between
\latexonly
and
\endlatexonly
in a special documentation block.
If this doesn't help, I fear I will not be able to help any further ...
 
wmp
0
 

Accepted Solution

by:
ealdaz earned 0 total points
ID: 22929331
The doxygen users mail list has helped me find out the problem.

I have removed the lines that contain the character '|' and now I don't get any errors.

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


0
 
LVL 68

Expert Comment

by:woolmilkporc
ID: 22929762
Great!
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

If you’re thinking to yourself “That description sounds a lot like two people doing the work that one could accomplish,” you’re not alone.
In real business world data are crucial and sometimes data are shared among different information systems. Hence, an agreeable file transfer protocol need to be established.
The goal of this video is to provide viewers with basic examples to understand opening and reading files in the C programming language.
The goal of this video is to provide viewers with basic examples to understand and use conditional statements in the C programming language.

834 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question