GNOME Bugzilla – Bug 140259
Use of @dotfile screws up link generation
Last modified: 2011-04-01 09:45:46 UTC
I have a '@page' with several '@section's. The page contains '@ref' references to the sections. Somewhere in the page is also a '@dotfile'. '@ref' references to sections before the '@dotfile' are generated correctly. '@ref' references to sections after the '@dotfile' are wrong: an absolute address to the file in which the '@page' occurs is used. The problem occurs for HTML, RTF and latex (and maybe more?). Reproduce as follows. doxyfile.txt: ============= /** @page page1 Page 1 Blabla - @ref sect1 - @ref sect2 - @ref sect3 - @ref sect4 @section sect1 Section 1 Blabla @section sect2 Section 2 Blabla @dotfile sample.dot Blabla @section sect3 Section 3 Blabla @section sect4 Section 4 Blabla */ sample.dot: =========== digraph sample { one->two; } configuration file: =================== FILE_PATTERNS = *.txt HAVE_DOT = YES DOTFILE_DIRS = . Now run doxygen. Look at the output for page1. The first 2 references (to section 1 and section 2) are correct. The two others are wrong. Tested on win2000.
Fixed in 1.3.8
Verfified 1.3.8. The bug is indeed solved for html output. BUT there are no links at all in rtf output????
This bug's version was set to "latest". Since this is a moving target, I changed it to 1.5.3-SVN. If you believe this has already been fixed, then please change the status accordingly.
(In reply to comment #3) > This bug's version was set to "latest". Since this is a moving target, I > changed it to 1.5.3-SVN. If you believe this has already been fixed, then > please change the status accordingly. Closing... Please feel free to reopen this bug if the problem still occurs with a newer version of GNOME.
(In reply to comment #4) > (In reply to comment #3) > > This bug's version was set to "latest". Since this is a moving target, I > > changed it to 1.5.3-SVN. If you believe this has already been fixed, then > > please change the status accordingly. > Closing... > Please feel free to reopen this bug if the problem still occurs with a newer > version of GNOME. I just checked it on version 1.7.2. The bug is corrected on html output, but is still present for rtf output. In the rtf output links to #AAAAAAAAAB, #AAAAAAAAAC etc.. are generated, but there are no such targets (bookmarks) in the generated document. As a result, clicking on any of the links brings you to the start of the document, which is not so very useful.
Confirmed. I'll correct the RTF problem (which is not related to @dotfile btw) in the next subversion update.
This bug was previously marked ASSIGNED, which means it should be fixed in doxygen version 1.7.4. Please verify if this is indeed the case. Reopen the bug if you think it is not fixed and please include any additional information that you think can be relevant.