Merge pull request #156 from adunning/patch-1

Revert use of \setuphead for ConTeXt title block.
This commit is contained in:
John MacFarlane 2015-11-20 14:44:03 -08:00
commit 2f9ba8e766

View file

@ -93,31 +93,28 @@ $endif$
\setupthinrules[width=15em] % width of horizontal rules
\setuphead[title][
style={\tfd\raggedcenter},
before={\startalignment[middle]},
after={
$if(subtitle)$
\smallskip
{\tfa $subtitle$}
$endif$
$if(author)$
\smallskip
{\tfa $for(author)$$author$$sep$\crlf $endfor$}
$endif$
$if(date)$
\smallskip
{\tfa $date$}
$endif$
\bigskip\stopalignment}]
$for(header-includes)$
$header-includes$
$endfor$
\starttext
$if(title)$
\title{$title$}
\startalignment[middle]
{\tfd $title$}
$if(subtitle)$
\smallskip
{\tfa $subtitle$}
$endif$
$if(author)$
\smallskip
{\tfa $for(author)$$author$$sep$\crlf $endfor$}
$endif$
$if(date)$
\smallskip
{\tfa $date$}
$endif$
\bigskip
\stopalignment
$endif$
$if(abstract)$
\midaligned{\it Abstract}