Resolves: bz#1198355, doxygen generates \backmatter in article class
This commit is contained in:
parent
f293e096b2
commit
fa6f4ff6fa
26
doxygen-bz#1198355.patch
Normal file
26
doxygen-bz#1198355.patch
Normal file
@ -0,0 +1,26 @@
|
|||||||
|
diff --git a/src/latexgen.cpp b/src/latexgen.cpp
|
||||||
|
index d4d8fae..de2ed22 100644
|
||||||
|
--- a/src/latexgen.cpp
|
||||||
|
+++ b/src/latexgen.cpp
|
||||||
|
@@ -535,14 +535,18 @@ static void writeDefaultFooter(FTextStream &t)
|
||||||
|
Doxygen::citeDict->writeLatexBibliography(t);
|
||||||
|
|
||||||
|
// Index
|
||||||
|
+ t << "% Index\n";
|
||||||
|
QCString unit;
|
||||||
|
if (Config_getBool("COMPACT_LATEX"))
|
||||||
|
+ {
|
||||||
|
unit = "section";
|
||||||
|
+ }
|
||||||
|
else
|
||||||
|
+ {
|
||||||
|
unit = "chapter";
|
||||||
|
- t << "% Index\n"
|
||||||
|
- "\\backmatter\n"
|
||||||
|
- "\\newpage\n"
|
||||||
|
+ t << "\\backmatter\n";
|
||||||
|
+ }
|
||||||
|
+ t << "\\newpage\n"
|
||||||
|
"\\phantomsection\n"
|
||||||
|
"\\clearemptydoublepage\n"
|
||||||
|
"\\addcontentsline{toc}{" << unit << "}{" << theTranslator->trRTFGeneralIndex() << "}\n"
|
@ -2,7 +2,7 @@ Summary: A documentation system for C/C++
|
|||||||
Name: doxygen
|
Name: doxygen
|
||||||
Epoch: 1
|
Epoch: 1
|
||||||
Version: 1.8.9.1
|
Version: 1.8.9.1
|
||||||
Release: 1%{?dist}
|
Release: 2%{?dist}
|
||||||
|
|
||||||
# No version is specified.
|
# No version is specified.
|
||||||
License: GPL+
|
License: GPL+
|
||||||
@ -14,6 +14,7 @@ Source2: doxywizard.desktop
|
|||||||
|
|
||||||
Patch1: doxygen-1.8.9.1-config.patch
|
Patch1: doxygen-1.8.9.1-config.patch
|
||||||
Patch2: doxygen-1.8.9.1-html_timestamp_default_false.patch
|
Patch2: doxygen-1.8.9.1-html_timestamp_default_false.patch
|
||||||
|
Patch3: doxygen-bz#1198355.patch
|
||||||
|
|
||||||
BuildRequires: perl
|
BuildRequires: perl
|
||||||
BuildRequires: tex(dvips)
|
BuildRequires: tex(dvips)
|
||||||
@ -63,6 +64,7 @@ Requires: texlive-epstopdf-bin
|
|||||||
|
|
||||||
%patch1 -p1 -b .config
|
%patch1 -p1 -b .config
|
||||||
%patch2 -p1 -b .html_timestamp_default_false
|
%patch2 -p1 -b .html_timestamp_default_false
|
||||||
|
%patch3 -p1 -b .bz#1198355
|
||||||
|
|
||||||
# convert into utf-8
|
# convert into utf-8
|
||||||
iconv --from=ISO-8859-1 --to=UTF-8 LANGUAGE.HOWTO > LANGUAGE.HOWTO.new
|
iconv --from=ISO-8859-1 --to=UTF-8 LANGUAGE.HOWTO > LANGUAGE.HOWTO.new
|
||||||
@ -118,7 +120,10 @@ desktop-file-install \
|
|||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
* Wed Jan 21 2015 Than Ngo <than@redhat.com> 1.8.9.1-1
|
* Wed Apr 29 2015 Than Ngo <than@redhat.com> - 1:1.8.9.1-2
|
||||||
|
- Resolves: bz#1198355, doxygen generates \backmatter in article class
|
||||||
|
|
||||||
|
* Wed Jan 21 2015 Than Ngo <than@redhat.com> 1:1.8.9.1-1
|
||||||
- update to 1.8.9.1
|
- update to 1.8.9.1
|
||||||
|
|
||||||
* Mon Aug 25 2014 Than Ngo <than@redhat.com> - 1:1.8.8-1
|
* Mon Aug 25 2014 Than Ngo <than@redhat.com> - 1:1.8.8-1
|
||||||
|
Loading…
Reference in New Issue
Block a user