Revert use of \setuphead for ConTeXt title block.
Thanks to Rik Kabel on pandoc-discuss.
This commit is contained in:
parent
ff9ebaa31a
commit
959c20399b
1 changed files with 16 additions and 19 deletions
|
@ -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}
|
||||
|
|
Loading…
Add table
Reference in a new issue