git.iko.soy/typeable/pandoc
on master help sign in
Merge pull request #156 from adunning/patch-1
2f9ba8eJohn MacFarlane
default.context+16−19
@@ -93,31 +93,28 @@ $endif$
93
93
94\setupthinrules[width=15em] % width of horizontal rules
94\setupthinrules[width=15em] % width of horizontal rules
95
95
96−\setuphead[title][
97− style={\tfd\raggedcenter},
98− before={\startalignment[middle]},
99− after={
100−$if(subtitle)$
101− \smallskip
102− {\tfa $subtitle$}
103−$endif$
104−$if(author)$
105− \smallskip
106− {\tfa $for(author)$$author$$sep$\crlf $endfor$}
107−$endif$
108−$if(date)$
109− \smallskip
110− {\tfa $date$}
111−$endif$
112− \bigskip\stopalignment}]
113−
114$for(header-includes)$
96$for(header-includes)$
115$header-includes$
97$header-includes$
116$endfor$
98$endfor$
117
99
118\starttext
100\starttext
119$if(title)$
101$if(title)$
102+\startalignment[middle]
120−\title{$title$}
103+ {\tfd $title$}
104+$if(subtitle)$
105+ \smallskip
106+ {\tfa $subtitle$}
107+$endif$
108+$if(author)$
109+ \smallskip
110+ {\tfa $for(author)$$author$$sep$\crlf $endfor$}
111+$endif$
112+$if(date)$
113+ \smallskip
114+ {\tfa $date$}
115+$endif$
116+ \bigskip
117+\stopalignment
121$endif$
118$endif$
122$if(abstract)$
119$if(abstract)$
123\midaligned{\it Abstract}
120\midaligned{\it Abstract}