Skip to content

Commit bbbd409

Browse files
author
Dimitri van Heesch
committed
Merge pull request doxygen#440 from albert-github/feature/bug_pdf_pagenumbering
Latex page numbering
2 parents 3911ebd + 044f2c4 commit bbbd409

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

doc/doxygen_manual.tex

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,7 @@
7474
\hbadness=750
7575
\tolerance=750
7676
\begin{document}
77+
\pagenumbering{alph}
7778
\begin{titlepage}
7879
\includegraphics[width=\textwidth]{doxygen_logo}
7980
\begin{center}
@@ -82,8 +83,8 @@
8283
\copyright 1997-\thisyear
8384
\end{center}
8485
\end{titlepage}
85-
\pagenumbering{Roman}
8686
\clearemptydoublepage
87+
\pagenumbering{Roman}
8788
\tableofcontents
8889
\clearemptydoublepage
8990
\pagenumbering{arabic}

src/latexgen.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -687,7 +687,7 @@ static void writeDefaultHeaderPart1(FTextStream &t)
687687
<< " pdfencoding=unicode\n"
688688
<< " }\n";
689689
}
690-
t << "\\pagenumbering{roman}\n"
690+
t << "\\pagenumbering{alph}\n"
691691
"\\begin{titlepage}\n"
692692
"\\vspace*{7cm}\n"
693693
"\\begin{center}%\n"
@@ -716,6 +716,7 @@ static void writeDefaultHeaderPart3(FTextStream &t)
716716
bool compactLatex = Config_getBool("COMPACT_LATEX");
717717
if (!compactLatex)
718718
t << "\\clearemptydoublepage\n";
719+
t << "\\pagenumbering{roman}\n";
719720

720721
// ToC
721722
t << "\\tableofcontents\n";

0 commit comments

Comments
 (0)