git.iko.soy/typeable/pandoc
on master help sign in
Merge pull request #156 from adunning/patch-1

Revert use of \setuphead for ConTeXt title block.

commit2f9ba8e7663fd492b46ab219a55b98d720cc9aa8 authorJohn MacFarlane <jgm@berkeley.edu> dateFri 20 Nov 2015, 14:44 (11 years ago) parentdb3aec1959c203
1 file changed+16−19
default.context+16−19
default.context+16−19
@@ -93,31 +93,28 @@ $endif$
9393
9494\setupthinrules[width=15em] % width of horizontal rules
9595
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−
11496$for(header-includes)$
11597$header-includes$
11698$endfor$
11799
118100\starttext
119101$if(title)$
120−\title{$title$}
102+\startalignment[middle]
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
121118$endif$
122119$if(abstract)$
123120\midaligned{\it Abstract}