summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEkaitz Zárraga <ekaitz.zarraga@protonmail.com>2019-02-02 21:48:43 +0100
committerEkaitz Zárraga <ekaitz.zarraga@protonmail.com>2019-02-02 21:48:43 +0100
commit81a4319db54c9c37327c8091921305ed91c555c6 (patch)
treea44309148be250e645a9234c5ed1057b0db410eb
parent22af9e7fb171a897e79da4383d9a120bc8f8abfe (diff)
More documentation about metadata
-rw-r--r--README.md2
-rw-r--r--pandoc/templates/elenq-article.latex5
-rw-r--r--pandoc/templates/elenq-book.latex4
3 files changed, 11 insertions, 0 deletions
diff --git a/README.md b/README.md
index af4a8f2..bc97467 100644
--- a/README.md
+++ b/README.md
@@ -38,6 +38,8 @@ author: Author's name
license: License of the document
```
+Templates also accept any metadata valid for Pandoc.
+
> NOTE: Templates automatically put the copyleft symbol in the PDF, they are
> only prepared for copyleft licenses.
diff --git a/pandoc/templates/elenq-article.latex b/pandoc/templates/elenq-article.latex
index 50ec24a..c6d88b4 100644
--- a/pandoc/templates/elenq-article.latex
+++ b/pandoc/templates/elenq-article.latex
@@ -24,6 +24,11 @@
% author: Author's name
% license: License of the document
%
+% It also accepts some optional metadata:
+%
+% toc: true | false # Activate table of contents (defaults to false)
+% abstract: "Content of the abstract"
+%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\documentclass[a4paper,11pt]{$documentclass$}
diff --git a/pandoc/templates/elenq-book.latex b/pandoc/templates/elenq-book.latex
index cfb7d7f..3dcf2a3 100644
--- a/pandoc/templates/elenq-book.latex
+++ b/pandoc/templates/elenq-book.latex
@@ -24,6 +24,10 @@
% author: Author's name
% license: License of the document
%
+% It also accepts some optional metadata:
+%
+% toc: true | false # Activate table of contents (defaults to true)
+%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\documentclass[a4paper,11pt]{$documentclass$}