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 626175 - invalid latex in doxygen.sty
invalid latex in doxygen.sty
Status: RESOLVED FIXED
Product: doxygen
Classification: Other
Component: general
1.7.1
Other Windows
: Normal major
: ---
Assigned To: Dimitri van Heesch
Dimitri van Heesch
Depends on:
Blocks:
 
 
Reported: 2010-08-06 10:02 UTC by Axel Heider
Modified: 2010-10-09 08:20 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Axel Heider 2010-08-06 10:02:59 UTC
currently, doxygen.sty contain the following:

-------------------------------------------------------------------------
\lhead[\fancyplain{}{\bfseries\thepage}]{%
  \fancyplain{}{\bfseries\rightmark}%
}
\rhead[\fancyplain{}{\bfseries\leftmark}]{%
  \fancyplain{}{\bfseries\thepage}%
}
\rfoot[\fancyplain{}{\bfseries\scriptsize%
  Generated on Fri Aug 6 2010 11:53:27 by doxygen\lfoot[]{\fancyplain{}{\bfseries\scriptsize%
  Generated on Fri Aug 6 2010 11:53:27 by doxygen}}
\cfoot{}
-------------------------------------------------------------------------

even if latex is no complaining, the "\rfoot" command appears to be missing a closing "]". To improve readbility, I would recomment to change this to:

-------------------------------------------------------------------------
\lhead[\fancyplain{}{\bfseries\thepage}]{%
  \fancyplain{}{\bfseries\rightmark}%
}

\rhead[\fancyplain{}{\bfseries\leftmark}]{%
  \fancyplain{}{\bfseries\thepage}%
}

\rfoot[\fancyplain{}{\bfseries\scriptsize%
  Generated on Fri Aug 6 2010 11:53:27 by doxygen}]{}

\lfoot[]{\fancyplain{}{\bfseries\scriptsize%
  Generated on Fri Aug 6 2010 11:53:27 by doxygen}}

\cfoot{}
-------------------------------------------------------------------------

To improve readbility even further, I recomment using the following. It appears to be the most logical usage of the fancyhdr package and is easy to understand.

-------------------------------------------------------------------------
\fancyhead[LE]{\fancyplain{}{\bfseries\thepage}}
\fancyhead[CE]{\fancyplain{}{}}
\fancyhead[RE]{\fancyplain{}{\bfseries\leftmark}}
\fancyhead[LO]{\fancyplain{}{\bfseries\rightmark}}
\fancyhead[CO]{\fancyplain{}{}}
\fancyhead[RO]{\fancyplain{}{\bfseries\thepage}}

\fancyfoot[LE]{\fancyplain{}{}}
\fancyfoot[CE]{\fancyplain{}{}}
\fancyfoot[RE]{\fancyplain{}{\bfseries\scriptsize Generated on Fri Aug 6 2010 11:53:27 by doxygen}}
\fancyfoot[LO]{\fancyplain{}{\bfseries\scriptsize Generated on Fri Aug 6 2010 11:53:27 by doxygen}}
\fancyfoot[CO]{\fancyplain{}{}}
\fancyfoot[RO]{\fancyplain{}{}}
-------------------------------------------------------------------------
Comment 1 Dimitri van Heesch 2010-08-07 15:29:48 UTC
Thanks, I'll implement your suggestion.
Comment 2 Dimitri van Heesch 2010-10-09 08:20:06 UTC
This bug was previously marked ASSIGNED, which means it should be fixed in
doxygen version 1.7.2. 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.