\environment hs.env-fonts
|
\environment hs.env-colors
|
\setupexternalfigures[location={default,local},conversion=mp]
|
\environment hs.env-din-a4
|
\environment hs.env-makeups
|
\environment hs.env-paragraphs
|
\environment hs.env-tabellen
|
\environment hs.env-doubleside-formal-header-footer
|
\environment hs.env-headlines
|
\environment hs.env-chapter-section-toc
|
\environment hs.env-lists
|
%\usemodule[chart]
|
\setupdocument
|
[
|
$if(title)$
|
metadata:title={$title$},
|
$endif$
|
$if(subtitle)$
|
metadata:subtitle={$subtitle$},
|
$endif$
|
$if(author)$
|
metadata:author={$for(author)$$author$$sep$; $endfor$},
|
$endif$
|
$if(keyword)$
|
metadata:keyword={$for(keywords)$$keywords$$sep$; $endfor$}
|
$endif$]
|
|
$if(csl-refs)$
|
\definemeasure[cslhangindent][1.5em]
|
\definenarrower[hangingreferences][left=\measure{cslhangindent}]
|
\definestartstop [cslreferences] [
|
$if(csl-hanging-indent)$
|
before={%
|
% \switchtobodyfont [condensedfont,10pt]
|
\starthangingreferences[left]
|
\setupindenting[-\leftskip,yes,first]
|
\setupalign[verytolerant,morehyphenation,stretch]
|
\doindentation
|
},
|
after=\stophangingreferences,
|
$endif$
|
]
|
$endif$
|
|
%\showframe
|
|
\startuniqueMPgraphic{MPfa}{s::symbol}
|
picture pic ;
|
pic := textext.rt("\color[hs-orange]{\symbol[fontawesome][\MPvariable{symbol}]}") ;
|
draw pic scaled 6; %for dramatic effects
|
\stopuniqueMPgraphic
|
|
|
\setuphead[subject]
|
[incrementnumber=yes, % keep track of the number
|
number=no] % but don't show it
|
\setupcombinedlist[content][list={chapter,subject,section}]
|
|
\startdocument
|
\starttext
|
\startfrontmatter
|
\setupbackgrounds[page][background=color,backgroundcolor=hs-dunkelblau]
|
|
\startdarkcoverpagemakeup
|
\blank[10*big]
|
$if(cover)$
|
\externalfigure[$cover$][width=\makeupwidth]
|
$endif$
|
\blank[6*big]
|
$if(title)$
|
{\bfd \color[white]{\documentvariable{metadata:title}}}
|
\blank[2*big]
|
$endif$
|
$if(subtitle)$
|
{\tfc \color[white]{\documentvariable{metadata:subtitle}}}
|
\blank[2*big]
|
$endif$
|
$if(author)$
|
{\tfc \color[white]{\documentvariable{metadata:author}}}
|
\blank[4*big]
|
$endif$
|
{\tfa \color[white]{Version $version$ vom \currentdate}}
|
\stopdarkcoverpagemakeup
|
|
\setupbackgrounds[page][background=,]
|
\starttitle[title=Inhalt]
|
\placecontent
|
|
\stopfrontmatter
|
|
\startbodymatter
|
|
$body$
|
|
\stopbodymatter
|
\startbackmatter
|
\startcopyrightmakeup
|
\component impressum
|
\stopcopyrightmakeup
|
\stopbackmatter
|
\stoptext
|
\stopdocument
|