From 6773447c8caf31d3fc0b9390fed79ca64c6d2195 Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Mon, 26 Jun 2017 16:30:03 +0200 Subject: Support `--toc` in `opendocument`/`odt`. --- data/templates/default.opendocument | 129 ++++++++++++++++++++++++++++++++++++ 1 file changed, 129 insertions(+) (limited to 'data/templates/default.opendocument') diff --git a/data/templates/default.opendocument b/data/templates/default.opendocument index bb01d4bbb..e0bc5c1d3 100644 --- a/data/templates/default.opendocument +++ b/data/templates/default.opendocument @@ -23,6 +23,135 @@ $endif$ $for(include-before)$ $include-before$ $endfor$ +$if(toc)$ + + + + $toc-title$ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +$endif$ $body$ $for(include-after)$ $include-after$ -- cgit v1.2.3