summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/latex/fithesis
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2018-04-09 21:17:50 +0000
committerKarl Berry <karl@freefriends.org>2018-04-09 21:17:50 +0000
commita20371822a110924cb6a42227a0611df4004eb05 (patch)
tree93b589b12c52fbf52f969ded4b17e266f3b04536 /Master/texmf-dist/source/latex/fithesis
parentc2963777bab7935e5a01b69f45bd913766ac922a (diff)
fithesis (9apr18)
git-svn-id: svn://tug.org/texlive/trunk@47409 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/source/latex/fithesis')
-rw-r--r--Master/texmf-dist/source/latex/fithesis/fithesis.dtx14
1 files changed, 10 insertions, 4 deletions
diff --git a/Master/texmf-dist/source/latex/fithesis/fithesis.dtx b/Master/texmf-dist/source/latex/fithesis/fithesis.dtx
index 2427e3ef21f..4f0321875a7 100644
--- a/Master/texmf-dist/source/latex/fithesis/fithesis.dtx
+++ b/Master/texmf-dist/source/latex/fithesis/fithesis.dtx
@@ -56,7 +56,7 @@
\gdef\thesis@version@number{#1}
\gdef\thesis@version@date{#2}
\gdef\thesis@version{#2 #1 fithesis3 MU thesis class}}
-\thesis@versiondef{v0.3.49}{2018/02/11}}
+\thesis@versiondef{v0.3.50}{2018/03/25}}
% {\newwrite\f\openout\f=VERSION\write\f{\thesis@version}\closeout\f}
%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
@@ -1342,10 +1342,12 @@
% group, the |\thesis@postamble| macro defines the
% \cs{thesis@pages@postamble} macro, writes the definition to the
% auxiliary file, and clears the page.
+% \changes{v0.3.50}{2018/03/25}{Make writes immediate, so that they
+% do not get lost when they occur at an empty page. [VN]}
% \begin{macrocode}
\def\thesis@postamble{%
\gdef\thesis@pages@postamble{\thepage}
- \write\@auxout{\noexpand\gdef\noexpand
+ \immediate\write\@auxout{\noexpand\gdef\noexpand
\thesis@pages@postamble{\thepage}}
{\thesis@selectLocale{\thesis@locale}%
\thesis@blocks@postamble}}
@@ -1597,15 +1599,19 @@
% beginning and at the end of the document, respectively. The
% definition of the |\thesis@pages| macro is also scheduled to be
% written to the auxiliary file at the end of the document.
+% \changes{v0.3.50}{2018/03/25}{Make writes immediate, so that they
+% do not get lost when they occur at an empty page. [VN]}
% \begin{macrocode}
\ifthesis@auto
\AtBeginDocument{\thesis@preamble}
\AtEndDocument{%
\thesis@postamble
- \write\@auxout{\noexpand\gdef\noexpand\thesis@pages{\thepage}}}
+ \immediate\write\@auxout{%
+ \noexpand\gdef\noexpand\thesis@pages{\thepage}}}
\else
\AtEndDocument{%
- \write\@auxout{\noexpand\gdef\noexpand\thesis@pages{\thepage}}}
+ \immediate\write\@auxout{%
+ \noexpand\gdef\noexpand\thesis@pages{\thepage}}}
\fi
\makeatother
\fi}