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 615957 - All pages except main page are inserted by \include instead of \input in generated LaTeX
All pages except main page are inserted by \include instead of \input in gene...
Status: RESOLVED FIXED
Product: doxygen
Classification: Other
Component: general
1.6.3
Other Windows
: Normal normal
: ---
Assigned To: Dimitri van Heesch
Dimitri van Heesch
Depends on:
Blocks:
 
 
Reported: 2010-04-16 13:52 UTC by nystadmail+bugzilla
Modified: 2010-06-15 11:21 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description nystadmail+bugzilla 2010-04-16 13:52:58 UTC
Condition: GENERATE_LATEX set to YES and COMPACT_LATEX set to NO

When creating documentation pages using \page command, they are inserted into the main tex file using \include instead of \input.

This results in a page break after the chapter heading in all page chapter except the mainpage chapter.

Note: Modifying the \include command to not insert page break is not an option as this would affect unwanted parts of the documentation.

Suggestion:
Add another option to use \input in this case without affecting the rest of the documentation
OR
use \input always as this seems to be the most natural choice (why would one want the chapter heading on a separate page in only these cases?).

The latter suggestion would require changing latexgen.cpp:1080 from
if (compactLatex || first) t << "\\input" ; else t << "\\include";
to
t << "\\input" ;
in 1.6.3 source.
Comment 1 Dimitri van Heesch 2010-04-16 19:20:30 UTC
Confirmed. I'll replace the \includes by \inputs.
Comment 2 Dimitri van Heesch 2010-06-15 11:21:42 UTC
This bug was previously marked ASSIGNED, which means it should be fixed in
doxygen version 1.7.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.