Skip to content
Snippets Groups Projects
Commit 6ad9c5e4 authored by Vít Starý Novotný's avatar Vít Starý Novotný
Browse files

Moved `\thesis@pages@frontMatter` to produce correct page numbers.

parent 70248163
No related branches found
No related tags found
No related merge requests found
...@@ -1006,10 +1006,10 @@ ...@@ -1006,10 +1006,10 @@
% definition to the auxiliary file. % definition to the auxiliary file.
% \begin{macrocode} % \begin{macrocode}
\def\thesis@blocks@mainMatter{% \def\thesis@blocks@mainMatter{%
\thesis@blocks@clear
\gdef\thesis@pages@frontMatter{\thepage} \gdef\thesis@pages@frontMatter{\thepage}
\write\@auxout{\noexpand\gdef\noexpand \write\@auxout{\noexpand\gdef\noexpand
\thesis@pages@frontMatter{\thepage}} \thesis@pages@frontMatter{\thepage}}
\thesis@blocks@clear
\setcounter{page}{1} \setcounter{page}{1}
\pagenumbering{arabic} \pagenumbering{arabic}
\pagestyle{thesisheadings} \pagestyle{thesisheadings}
......
...@@ -122,10 +122,10 @@ ...@@ -122,10 +122,10 @@
% requirements. % requirements.
% \begin{macrocode} % \begin{macrocode}
\def\thesis@blocks@mainMatter{% \def\thesis@blocks@mainMatter{%
\thesis@blocks@clear
\gdef\thesis@pages@frontMatter{\thepage} \gdef\thesis@pages@frontMatter{\thepage}
\write\@auxout{\noexpand\gdef\noexpand \write\@auxout{\noexpand\gdef\noexpand
\thesis@pages@frontMatter{\thepage}} \thesis@pages@frontMatter{\thepage}}
\thesis@blocks@clear
% In case of double-sided typesetting, change the geometry % In case of double-sided typesetting, change the geometry
\ifthesis@twoside@ \ifthesis@twoside@
\newgeometry{top=25mm,bottom=20mm,left=35mm, \newgeometry{top=25mm,bottom=20mm,left=35mm,
......
...@@ -92,10 +92,10 @@ ...@@ -92,10 +92,10 @@
% accordance with the requirements of the faculty. % accordance with the requirements of the faculty.
% \begin{macrocode} % \begin{macrocode}
\def\thesis@blocks@mainMatter{% \def\thesis@blocks@mainMatter{%
\thesis@blocks@clear
\gdef\thesis@pages@frontMatter{\thepage} \gdef\thesis@pages@frontMatter{\thepage}
\write\@auxout{\noexpand\gdef\noexpand \write\@auxout{\noexpand\gdef\noexpand
\thesis@pages@frontMatter{\thepage}} \thesis@pages@frontMatter{\thepage}}
\thesis@blocks@clear
\setcounter{page}{1} \setcounter{page}{1}
\pagenumbering{arabic} \pagenumbering{arabic}
\pagestyle{thesisheadings} \pagestyle{thesisheadings}
......
...@@ -59,10 +59,10 @@ ...@@ -59,10 +59,10 @@
% formal requirements of the faculty. % formal requirements of the faculty.
% \begin{macrocode} % \begin{macrocode}
\def\thesis@blocks@mainMatter{% \def\thesis@blocks@mainMatter{%
\thesis@blocks@clear
\gdef\thesis@pages@frontMatter{\thepage} \gdef\thesis@pages@frontMatter{\thepage}
\write\@auxout{\noexpand\gdef\noexpand \write\@auxout{\noexpand\gdef\noexpand
\thesis@pages@frontMatter{\thepage}} \thesis@pages@frontMatter{\thepage}}
\thesis@blocks@clear
\pagestyle{thesisheadings} \pagestyle{thesisheadings}
\parindent 1.5em\relax} \parindent 1.5em\relax}
% \end{macrocode} % \end{macrocode}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment