summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/yathesis/yathesis-demo.sty
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2024-03-08 23:19:49 +0000
committerKarl Berry <karl@freefriends.org>2024-03-08 23:19:49 +0000
commit16e7af98f2b1cc746c4240da06e32609d97616a0 (patch)
tree9373f5a7f6197bbec1712f9bc864c8bb5829fd0d /Master/texmf-dist/tex/latex/yathesis/yathesis-demo.sty
parent38e56e6181d9aa8e9e9acf83dcf17425bdd043d8 (diff)
yathesis (9mar24)
git-svn-id: svn://tug.org/texlive/trunk@70511 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/yathesis/yathesis-demo.sty')
-rw-r--r--Master/texmf-dist/tex/latex/yathesis/yathesis-demo.sty8
1 files changed, 6 insertions, 2 deletions
diff --git a/Master/texmf-dist/tex/latex/yathesis/yathesis-demo.sty b/Master/texmf-dist/tex/latex/yathesis/yathesis-demo.sty
index 276f5d3b2d8..b4fba5d2e42 100644
--- a/Master/texmf-dist/tex/latex/yathesis/yathesis-demo.sty
+++ b/Master/texmf-dist/tex/latex/yathesis/yathesis-demo.sty
@@ -74,8 +74,12 @@
}
\xpretocmd{\conclusion}{\cleardoublepage\zlabel{conclusion}}{}{}
\xpretocmd{\conclusion*}{\cleardoublepage\zlabel{conclusion}}{}{}
- \xpretocmd{\printbibliography}{\cleardoublepage\zlabel{printbibliography}}{}{}
- \xpretocmd{\printindex}{\cleardoublepage\zlabel{printindex}}{}{}
+ \ifcsdef{printbibliography}{%
+ \xpretocmd{\printbibliography}{\cleardoublepage\zlabel{printbibliography}}{}{}
+ }{}
+ \ifcsdef{printindex}{%
+ \xpretocmd{\printindex}{\cleardoublepage\zlabel{printindex}}{}{}
+ }{}
\xapptocmd{\makebackcover}{\zlabel{makebackcover}}{}{}
\let\include\input
}