From 64c7a0ab765eced232c84a9e86064518f786a78c Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Sun, 20 Jul 2014 21:58:16 -0700 Subject: [PATCH] Include `lot` and `lof` variables in latex template. These can be set to get `\listoftables` and `\listoffigures`. Closes #1407. At this point we won't add a command line argument, because this only affects one writer. But the variables can be set at the command line with -Vlof -Vlot or in YAML metadata. --- README | 8 ++++++++ data/templates | 2 +- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/README b/README index 82f3f6615..61f451185 100644 --- a/README +++ b/README @@ -828,6 +828,14 @@ as `title`, `author`, and `date`) as well as the following: : color for citation links in LaTeX documents `links-as-notes` : causes links to be printed as footnotes in LaTeX documents +`toc` +: include table of contents in LaTeX documents +`toc-depth` +: level of section to include in table of contents in LaTeX documents +`lof` +: include list of figures in LaTeX documents +`lot` +: include list of tables in LaTeX documents `biblio-style` : bibliography style in LaTeX, when used with `--natbib` `biblio-files` diff --git a/data/templates b/data/templates index 4425dfc89..3befef257 160000 --- a/data/templates +++ b/data/templates @@ -1 +1 @@ -Subproject commit 4425dfc894761cc6cdff8e67d3e5ba78df2d5d4e +Subproject commit 3befef257ce461ae68760004df938f3ca8397b31