Commit 956fe773 authored by Vít Starý Novotný's avatar Vít Starý Novotný
Browse files

Reverted 6ad9c5e4, 4adf72. Moved `\thesis@pages` to `\thesis@preamble`.

parent 1bed9ea7
Loading
Loading
Loading
Loading
+23 −4
Original line number Diff line number Diff line
@@ -1285,6 +1285,19 @@
    \thesis@autofalse
  \fi}
%    \end{macrocode}
% \end{macro}\begin{macro}{\thesis@pages@frontMatter}
% The \cs{thesis@pages@frontMatter} macro contains the last page
% number within the front matter of the document. During the
% first \TeX{} compilation, the macro expands to ??.
% \changes{v0.3.45}{2017/05/24}{Defined the
%   \cs{thesis@pages@frontMatter} macro in
%   \texttt{style/mu/fithesis-base.sty}. The patch was submitted
%   by Juraj Pálenik. [VN]}
% \begin{macrocode}
\ifx\thesis@pages@frontMatter\undefined
  \def\thesis@pages@frontMatter{??}\fi
%    \end{macrocode}
% \end{macro}
% The \DescribeMacro{\thesis@preamble}|\thesis@preamble|
% and \DescribeMacro{\thesis@postamble}|\thesis@postamble|
% macros temporarily switch to the hyphenation patterns and the
@@ -1295,9 +1308,11 @@
% \DescribeMacro{\thesis@blocks@postamble}|\thesis@blocks@postamble|
% macros, respectively.
%
% Before leaving the group, the |\thesis@preamble| macro clears the
% page. After leaving the group, the |\thesis@preamble| macro sets
% up the style of the main matter by expanding the
% Before leaving the group, the |\thesis@preamble| macro defines
% the \cs{thesis@pages@frontMatter} macro, writes the definition
% to the auxiliary file, and  clears the page. After leaving the
% group, th |\thesis@preamble| sets up the style of the main
% matter by expanding the
% \DescribeMacro{\thesis@blocks@mainMatter}|\thesis@blocks@mainMatter|
% macro. All the aforementioned |@block@| macros are defined as
% |\relax| and are subject to redefinition by the loaded style
@@ -1305,7 +1320,11 @@
%    \begin{macrocode}
\def\thesis@preamble{%
  {\thesis@selectLocale{\thesis@locale}%
  \thesis@blocks@preamble\clearpage}
  \thesis@blocks@preamble
  \gdef\thesis@pages@frontMatter{\thepage}
  \write\@auxout{\noexpand\gdef\noexpand
    \thesis@pages@frontMatter{\thepage}}
  \clearpage}
  \thesis@blocks@mainMatter}

\def\thesis@postamble{{%
+1 −18
Original line number Diff line number Diff line
@@ -987,28 +987,11 @@
    \fi
  \fi}
%    \end{macrocode}
% \end{macro}\begin{macro}{\thesis@pages@frontMatter}
% The \cs{thesis@pages@frontMatter} macro contains the last page
% number within the front matter of the document. During the
% first \TeX{} compilation, the macro expands to ??.
% \changes{v0.3.45}{2017/05/21}{Defined the
%   \cs{thesis@pages@frontMatter} macro in
%   \texttt{style/mu/fithesis-base.sty}. The patch was submitted
%   by Juraj Pálenik. [VN]}
% \begin{macrocode}
\ifx\thesis@pages@frontMatter\undefined
  \def\thesis@pages@frontMatter{??}\fi
%    \end{macrocode}
% \end{macro}\begin{macro}{\thesis@blocks@mainMatter}
% The |\thesis@blocks@mainMatter| macro sets up the style
% of the main matter of the thesis, defines the
% \cs{thesis@pages@frontMatter} macro and also writes the
% definition to the auxiliary file.
% of the main matter of the thesis.
% \begin{macrocode}
\def\thesis@blocks@mainMatter{%
  \gdef\thesis@pages@frontMatter{\thepage}
  \write\@auxout{\noexpand\gdef\noexpand
    \thesis@pages@frontMatter{\thepage}}
  \thesis@blocks@clear
  \setcounter{page}{1}
  \pagenumbering{arabic}
+0 −3
Original line number Diff line number Diff line
@@ -122,9 +122,6 @@
% requirements.
% \begin{macrocode}
\def\thesis@blocks@mainMatter{%
  \gdef\thesis@pages@frontMatter{\thepage}
  \write\@auxout{\noexpand\gdef\noexpand
    \thesis@pages@frontMatter{\thepage}}
  \thesis@blocks@clear
  % In case of double-sided typesetting, change the geometry
  \ifthesis@twoside@
+0 −3
Original line number Diff line number Diff line
@@ -92,9 +92,6 @@
% accordance with the requirements of the faculty.
% \begin{macrocode}
\def\thesis@blocks@mainMatter{%
  \gdef\thesis@pages@frontMatter{\thepage}
  \write\@auxout{\noexpand\gdef\noexpand
    \thesis@pages@frontMatter{\thepage}}
  \thesis@blocks@clear
  \setcounter{page}{1}
  \pagenumbering{arabic}
+0 −3
Original line number Diff line number Diff line
@@ -59,9 +59,6 @@
% formal requirements of the faculty.
% \begin{macrocode}
\def\thesis@blocks@mainMatter{%
  \gdef\thesis@pages@frontMatter{\thepage}
  \write\@auxout{\noexpand\gdef\noexpand
    \thesis@pages@frontMatter{\thepage}}
  \thesis@blocks@clear
  \pagestyle{thesisheadings}
  \parindent 1.5em\relax}
Loading