aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2024-06-11 17:07:54 +0100
committerSilvio Rhatto <rhatto@riseup.net>2024-06-11 17:07:54 +0100
commit95021fc04652c6e02c81cb454b03237c3616eb49 (patch)
tree491452d8c74f37aaa2d842880e68e2297f6917bd
parenta2b2b7886fc9b25a5c5c01509bddaddfcd6dcb8a (diff)
downloadbookup-0.1.4.tar.gz
bookup-0.1.4.tar.bz2
Feat: PDF: fine-grained control of lists of tables, figures etc0.1.4
-rw-r--r--ChangeLog.md4
-rw-r--r--structure/book/en/99-end.tex27
-rw-r--r--structure/book/pt-br/99-end.tex27
3 files changed, 45 insertions, 13 deletions
diff --git a/ChangeLog.md b/ChangeLog.md
index 583d682..44edfac 100644
--- a/ChangeLog.md
+++ b/ChangeLog.md
@@ -1,6 +1,6 @@
# ChangeLog
-## v0.1.4 - unreleased
+## v0.1.4 - 2024-06-11
### Fixes
@@ -9,6 +9,8 @@
### Features
+* [x] Fine-grained control of lists of tables,
+ figures etc.
* [x] Scaffolding to support a "Recent changes"
section in the compiled book.
* [x] Documentation: Bookup features, and minor
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
diff --git a/structure/book/pt-br/99-end.tex b/structure/book/pt-br/99-end.tex
index 098fdd8..c7e4a38 100644
--- a/structure/book/pt-br/99-end.tex
+++ b/structure/book/pt-br/99-end.tex
@@ -1,17 +1,28 @@
% Bookdown LaTeX footer file
% Put all indexes in a final chapter
+\ifx\BookupListIndex\undefined
+\else
\chapter{Índice}
-%Listas de tabelas, figuras, definições e etimologias.
-%Listas de tabelas e figuras.
-Listas de tabelas, figuras etc.
+\ifx\BookupListElements\undefined
+\else
+ %Listas de tabelas, figuras, definições e etimologias.
+ %Listas de tabelas e figuras.
+ Listas de tabelas, figuras 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 @@ Listas de tabelas, figuras 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