aboutsummaryrefslogtreecommitdiff
path: root/structure/book/en
diff options
context:
space:
mode:
Diffstat (limited to 'structure/book/en')
-rw-r--r--structure/book/en/99-end.tex27
1 files changed, 21 insertions, 6 deletions
diff --git a/structure/book/en/99-end.tex b/structure/book/en/99-end.tex
index fb48277..e0facbc 100644
--- a/structure/book/en/99-end.tex
+++ b/structure/book/en/99-end.tex
@@ -1,17 +1,28 @@
% Bookdown LaTeX footer file
% Put all indexes in a final chapter
+\ifx\BookupListIndex\undefined
+\else
\chapter{Index}
-%Lists of tables, figures, definitions and etimologies.
-%Lists of tables and figures.
-Lists of tables, figures etc.
+\ifx\BookupListElements\undefined
+\else
+ %Lists of tables, figures, definitions and etimologies.
+ %Lists of tables and figures.
+ Lists of tables, figures etc.
+\fi
% Print the list of tables
-\listoftables
+\ifx\BookupListTables\undefined
+\else
+ \listoftables
+\fi
% Print the list of figures
-\listoffigures
+\ifx\BookupListFigures\undefined
+\else
+ \listoffigures
+\fi
% Print the list of definitions
% See https://latex.org/forum/viewtopic.php?t=17679
@@ -32,8 +43,12 @@ Lists of tables, figures etc.
\fi
% Print the index
-\printindex
+\ifx\BookupListWordIndex\undefined
+\else
+ \printindex
+\fi
% ChangeLog
% This is commented until a LaTeX version is available
%\IfFileExists{snippets/changes.md}{\input{snippets/changes.md}}{}
+\fi