diff options
author | John MacFarlane <jgm@berkeley.edu> | 2018-04-25 17:49:01 -0700 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2018-04-25 17:49:01 -0700 |
commit | d0940c6e00ab8be5c40727daa65a5a1387645ace (patch) | |
tree | c59f5ea7b4cdf91e2e0689d0c1df6bc603455c0a | |
parent | a9344bf308afa4d2197582aff8045de56e24c7aa (diff) | |
download | pandoc-d0940c6e00ab8be5c40727daa65a5a1387645ace.tar.gz |
Ms template: Fix date.
Previously .ND was used, but this only works if you
have a title page, which we don't. Thanks to @teoric.
-rw-r--r-- | data/templates/default.ms | 5 | ||||
-rw-r--r-- | test/writer.ms | 5 |
2 files changed, 8 insertions, 2 deletions
diff --git a/data/templates/default.ms b/data/templates/default.ms index f4204338a..02bbc626a 100644 --- a/data/templates/default.ms +++ b/data/templates/default.ms @@ -90,7 +90,10 @@ $for(author)$ $author$ $endfor$ $if(date)$ -.ND "$date$" +.AU +.sp 0.5 +.ft R +$date$ $endif$ $if(abstract)$ .AB diff --git a/test/writer.ms b/test/writer.ms index 33dec71d3..e7ac44bb9 100644 --- a/test/writer.ms +++ b/test/writer.ms @@ -67,7 +67,10 @@ Pandoc Test Suite John MacFarlane .AU Anonymous -.ND "July 17, 2006" +.AU +.sp 0.5 +.ft R +July 17, 2006 .\" 1 column (use .2C for two column) .1C .LP |