From 959c20399bdf5f44e56497352a63917c4db2a5ce Mon Sep 17 00:00:00 2001 From: Andrew Dunning Date: Tue, 17 Nov 2015 20:22:23 -0500 Subject: Revert use of \setuphead for ConTeXt title block. Thanks to Rik Kabel on pandoc-discuss. --- default.context | 35 ++++++++++++++++------------------- 1 file changed, 16 insertions(+), 19 deletions(-) diff --git a/default.context b/default.context index c5ad2113f..1feff01b0 100644 --- a/default.context +++ b/default.context @@ -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} -- cgit v1.2.3