commit | author | age
|
6a4200
|
1 |
\environment hs.env-fonts |
JUH |
2 |
\environment hs.env-colors |
|
3 |
\setupexternalfigures[location={default,local},conversion=mp] |
|
4 |
\environment hs.env-din-a4 |
|
5 |
\environment hs.env-makeups |
|
6 |
\environment hs.env-paragraphs |
|
7 |
\environment hs.env-tabellen |
|
8 |
\environment hs.env-doubleside-formal-header-footer |
|
9 |
\environment hs.env-headlines |
|
10 |
\environment hs.env-chapter-section-toc |
|
11 |
\environment hs.env-lists |
|
12 |
%\usemodule[chart] |
|
13 |
\setupdocument |
|
14 |
[ |
|
15 |
$if(title)$ |
|
16 |
metadata:title={$title$}, |
|
17 |
$endif$ |
|
18 |
$if(subtitle)$ |
|
19 |
metadata:subtitle={$subtitle$}, |
|
20 |
$endif$ |
|
21 |
$if(author)$ |
|
22 |
metadata:author={$for(author)$$author$$sep$; $endfor$}, |
|
23 |
$endif$ |
|
24 |
$if(keyword)$ |
|
25 |
metadata:keyword={$for(keywords)$$keywords$$sep$; $endfor$} |
|
26 |
$endif$] |
|
27 |
|
|
28 |
$if(csl-refs)$ |
|
29 |
\definemeasure[cslhangindent][1.5em] |
|
30 |
\definenarrower[hangingreferences][left=\measure{cslhangindent}] |
|
31 |
\definestartstop [cslreferences] [ |
|
32 |
$if(csl-hanging-indent)$ |
|
33 |
before={% |
|
34 |
% \switchtobodyfont [condensedfont,10pt] |
|
35 |
\starthangingreferences[left] |
|
36 |
\setupindenting[-\leftskip,yes,first] |
|
37 |
\setupalign[verytolerant,morehyphenation,stretch] |
|
38 |
\doindentation |
|
39 |
}, |
|
40 |
after=\stophangingreferences, |
|
41 |
$endif$ |
|
42 |
] |
|
43 |
$endif$ |
|
44 |
|
|
45 |
%\showframe |
|
46 |
|
|
47 |
\startuniqueMPgraphic{MPfa}{s::symbol} |
|
48 |
picture pic ; |
|
49 |
pic := textext.rt("\color[hs-orange]{\symbol[fontawesome][\MPvariable{symbol}]}") ; |
|
50 |
draw pic scaled 6; %for dramatic effects |
|
51 |
\stopuniqueMPgraphic |
|
52 |
|
|
53 |
|
|
54 |
\setuphead[subject] |
|
55 |
[incrementnumber=yes, % keep track of the number |
|
56 |
number=no] % but don't show it |
|
57 |
\setupcombinedlist[content][list={chapter,subject,section}] |
|
58 |
|
|
59 |
\startdocument |
|
60 |
\starttext |
|
61 |
\startfrontmatter |
|
62 |
\setupbackgrounds[page][background=color,backgroundcolor=hs-dunkelblau] |
|
63 |
|
|
64 |
\startdarkcoverpagemakeup |
|
65 |
\blank[10*big] |
|
66 |
$if(cover)$ |
|
67 |
\externalfigure[$cover$][width=\makeupwidth] |
|
68 |
$endif$ |
|
69 |
\blank[6*big] |
|
70 |
$if(title)$ |
|
71 |
{\bfd \color[white]{\documentvariable{metadata:title}}} |
|
72 |
\blank[2*big] |
|
73 |
$endif$ |
|
74 |
$if(subtitle)$ |
|
75 |
{\tfc \color[white]{\documentvariable{metadata:subtitle}}} |
|
76 |
\blank[2*big] |
|
77 |
$endif$ |
|
78 |
$if(author)$ |
|
79 |
{\tfc \color[white]{\documentvariable{metadata:author}}} |
|
80 |
\blank[4*big] |
|
81 |
$endif$ |
|
82 |
{\tfa \color[white]{Version $version$ vom \currentdate}} |
|
83 |
\stopdarkcoverpagemakeup |
|
84 |
|
|
85 |
\setupbackgrounds[page][background=,] |
|
86 |
\starttitle[title=Inhalt] |
|
87 |
\placecontent |
|
88 |
|
|
89 |
\stopfrontmatter |
|
90 |
|
|
91 |
\startbodymatter |
|
92 |
|
|
93 |
$body$ |
|
94 |
|
|
95 |
\stopbodymatter |
|
96 |
\startbackmatter |
|
97 |
\startcopyrightmakeup |
|
98 |
\component impressum |
|
99 |
\stopcopyrightmakeup |
|
100 |
\stopbackmatter |
|
101 |
\stoptext |
|
102 |
\stopdocument |