git.iko.soy/typeable/pandoc
on master help sign in
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.

commitd0940c6e00ab8be5c40727daa65a5a1387645ace authorJohn MacFarlane <jgm@berkeley.edu> dateWed 25 Apr 2018, 17:49 (9 years ago) parenta9344bf
2 files changed+8−2
data/templates/default.ms+4−1 test/writer.ms+4−1
data/templates/default.ms+4−1
@@ -90,7 +90,10 @@ $for(author)$
9090$author$
9191$endfor$
9292$if(date)$
93−.ND "$date$"
93+.AU
94+.sp 0.5
95+.ft R
96+$date$
9497$endif$
9598$if(abstract)$
9699.AB
test/writer.ms+4−1
@@ -67,7 +67,10 @@ Pandoc Test Suite
6767John MacFarlane
6868.AU
6969Anonymous
70−.ND "July 17, 2006"
70+.AU
71+.sp 0.5
72+.ft R
73+July 17, 2006
7174.\" 1 column (use .2C for two column)
7275.1C
7376.LP