After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 670571 - subpage link in latex is wrong
subpage link in latex is wrong
Status: RESOLVED FIXED
Product: doxygen
Classification: Other
Component: build
1.7.6.1
Other Windows
: Normal major
: ---
Assigned To: Dimitri van Heesch
Dimitri van Heesch
Depends on:
Blocks:
 
 
Reported: 2012-02-21 22:42 UTC by christian.mercier
Modified: 2012-02-25 15:37 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
latex dir generated (79.32 KB, application/x-zip-compressed)
2012-02-21 23:15 UTC, christian.mercier
Details

Description christian.mercier 2012-02-21 22:42:56 UTC
Im using the latest version 1.7.6.1

if i put a \subpage command in my code, everything is ok in HTML but not ok in latex

every subpage has an associated .tex file which is completely empty (0 Kb).
And all the hyperlink in the others .tex files point to those empty files instead of the section, subsection, subsubsection, etc, generated for this subpage.

this simple code generate the problem :

/// \page essai_1 essai 1
/// qwewqewqewqe qw wqe qwe qw e wqe
/// \subpage essai_2

/// \page essai_2 essai 2
/// ewrerdsfdg dgfh vzx hg jgf dfg
/// \subpage essai_3

/// \page essai_3 essai 3
/// hgfjj ghk fdgh bngfj fgh hdf hfghj
/// \ref essai_3 "this is a ref test"

So, the link to essai_2 in essai_1 point to nowhere...
same thing for essai_3 in essai_2.

it also does the same thing for \ref using \subpage anchor.
Comment 1 christian.mercier 2012-02-21 22:58:46 UTC
also if i tried to use the latest sources in SVN (Release-1.7.6.1-20120220), everything compiles but doxygen crash with this error :

input buffer overflow, can't enlarge buffer because scanner uses REJECT

Why i does only this with compiles version of doxygen ?
Comment 2 christian.mercier 2012-02-21 23:15:16 UTC
Created attachment 208171 [details]
latex dir generated
Comment 3 christian.mercier 2012-02-22 20:53:25 UTC
Ok, i tried the current svn version (Release-1.7.6.1-20120220) with smaller source file, and i dont have 
input buffer overflow, can't enlarge buffer because scanner uses REJECT
error anymore,

But I Still have the same problem with \subpage
Comment 4 Dimitri van Heesch 2012-02-23 21:00:03 UTC
Hi Christian,

This seems to be caused by setting SHORT_NAMES to YES, in which case the hyperlink label does not match the hypertarget.

The empty files for subpages are indeed redundant, but do no harm as they are not used.
Comment 5 Dimitri van Heesch 2012-02-24 10:20:10 UTC
Should be fixed in the next release.
Comment 6 Dimitri van Heesch 2012-02-25 15:37:27 UTC
This bug was previously marked ASSIGNED, which means it should be fixed in
doxygen version 1.8.0. 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.