summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authoralbert-github <albert.tests@gmail.com>2016-01-09 18:11:28 (GMT)
committeralbert-github <albert.tests@gmail.com>2016-01-09 18:11:28 (GMT)
commit044f2c49882815f58c88b12a0086ad71dd97f071 (patch)
treeb0bfa85786d1f305974475c6c53f5ea9e60b02be /src
parent3911ebdad44a91a6b825051a1ae0f7b280c84567 (diff)
downloadDoxygen-044f2c49882815f58c88b12a0086ad71dd97f071.zip
Doxygen-044f2c49882815f58c88b12a0086ad71dd97f071.tar.gz
Doxygen-044f2c49882815f58c88b12a0086ad71dd97f071.tar.bz2
Latex page numbering
In the documentation generated by doxygen the table of contents does not start with page number i but with iii, by setting the pagenumbering}{roman} after the clearemptydoublepage titlepage this is corrected. In the beginning of the documentation we set the page numbering to "alph" so it won't interfere with the numbers in the table of contents and the real documentation. For the doxygen manual similar reasoning is true, furthermore the table of contents was on the left side page (when printed double sided), yhis is corrected as well.
Diffstat (limited to 'src')
-rw-r--r--src/latexgen.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/latexgen.cpp b/src/latexgen.cpp
index 66a1f8e..9889980 100644
--- a/src/latexgen.cpp
+++ b/src/latexgen.cpp
@@ -687,7 +687,7 @@ static void writeDefaultHeaderPart1(FTextStream &t)
<< " pdfencoding=unicode\n"
<< " }\n";
}
- t << "\\pagenumbering{roman}\n"
+ t << "\\pagenumbering{alph}\n"
"\\begin{titlepage}\n"
"\\vspace*{7cm}\n"
"\\begin{center}%\n"
@@ -716,6 +716,7 @@ static void writeDefaultHeaderPart3(FTextStream &t)
bool compactLatex = Config_getBool("COMPACT_LATEX");
if (!compactLatex)
t << "\\clearemptydoublepage\n";
+ t << "\\pagenumbering{roman}\n";
// ToC
t << "\\tableofcontents\n";