aboutsummaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorJohn MacFarlane <[email protected]>2022-03-01 13:20:31 -0800
committerJohn MacFarlane <[email protected]>2022-03-01 13:20:31 -0800
commitc3cf339f1d2eecb217d3e2f0e67b00de27652b59 (patch)
tree02d896f22295167974213a49e9579c527cca793a /data
parent326a00ab1a0ff7cd1afff4d6a3417a780d9bdf40 (diff)
RST writer: support all standard metadata ("bibliographic") fields.
Diffstat (limited to 'data')
-rw-r--r--data/templates/default.rst42
1 files changed, 34 insertions, 8 deletions
diff --git a/data/templates/default.rst b/data/templates/default.rst
index 9ba15f546..207967122 100644
--- a/data/templates/default.rst
+++ b/data/templates/default.rst
@@ -1,19 +1,45 @@
$if(titleblock)$
$titleblock$
-$endif$
$for(author)$
-:Author: $author$
+:Author: $^$$author$
$endfor$
-$if(date)$
-:Date: $date$
+$if(authors)$
+:Authors:
+ $author$
$endif$
-$if(author)$
-
-$else$
$if(date)$
-
+:Date: $^$$date$
+$endif$
+$if(address)$
+:Addresss: $^$$address$
+$endif$
+$if(contact)$
+:Contact: $^$$contact$
+$endif$
+$if(copyright)$
+:Copyright: $^$$copyright$
$endif$
+$if(dedication)$
+:Dedication: $^$$dedication$
+$endif$
+$if(organization)$
+:Organization: $^$$organization$
+$endif$
+$if(revision)$
+:Revision: $^$$revision$
+$endif$
+$if(status)$
+:Status: $^$$status$
+$endif$
+$if(version)$
+:Version: $^$$version$
+$endif$
+$if(abstract)$
+:Abstract:
+ $abstract$
+$endif$
+
$endif$
$if(rawtex)$
.. role:: raw-latex(raw)