diff options
Diffstat (limited to 'default.context')
-rw-r--r-- | default.context | 32 |
1 files changed, 28 insertions, 4 deletions
diff --git a/default.context b/default.context index 8792693..1ad5779 100644 --- a/default.context +++ b/default.context | |||
@@ -27,7 +27,6 @@ $endif$ | |||
27 | % make chapter, section bookmarks visible when opening document | 27 | % make chapter, section bookmarks visible when opening document |
28 | \placebookmarks[chapter, section, subsection, subsubsection, subsubsubsection, subsubsubsubsection][chapter, section] | 28 | \placebookmarks[chapter, section, subsection, subsubsection, subsubsubsection, subsubsubsubsection][chapter, section] |
29 | \setupinteractionscreen[option=bookmark] | 29 | \setupinteractionscreen[option=bookmark] |
30 | \setuptagging[state=start] | ||
31 | 30 | ||
32 | $if(papersize)$ | 31 | $if(papersize)$ |
33 | \setuppapersize[$for(papersize)$$papersize$$sep$,$endfor$] | 32 | \setuppapersize[$for(papersize)$$papersize$$sep$,$endfor$] |
@@ -37,14 +36,18 @@ $if(layout)$ | |||
37 | $endif$ | 36 | $endif$ |
38 | $if(pagenumbering)$ | 37 | $if(pagenumbering)$ |
39 | \setuppagenumbering[$for(pagenumbering)$$pagenumbering$$sep$,$endfor$] | 38 | \setuppagenumbering[$for(pagenumbering)$$pagenumbering$$sep$,$endfor$] |
39 | $else$ | ||
40 | \setuppagenumbering[location={footer,middle}] | ||
40 | $endif$ | 41 | $endif$ |
41 | $if(pdfa)$ | 42 | $if(pdfa)$ |
42 | % attempt to generate PDF/A | 43 | % attempt to generate PDF/A |
43 | \setupbackend | 44 | \setupbackend |
44 | [format=PDF/A-1b:2005, | 45 | [format=PDF/A-$pdfa$, |
45 | intent=sRGB IEC61966-2.1, | 46 | profile={$if(pdfaiccprofile)$$for(pdfaiccprofile)$$pdfaiccprofile$$sep$,$endfor$$else$sRGB.icc$endif$}, |
46 | profile=sRGB.icc] | 47 | intent=$if(pdfaintent)$$pdfaintent$$else$sRGB IEC61966-2.1$endif$] |
47 | $endif$ | 48 | $endif$ |
49 | \setupbackend[export=yes] | ||
50 | \setupstructure[state=start,method=auto] | ||
48 | 51 | ||
49 | % use microtypography | 52 | % use microtypography |
50 | \definefontfeature[default][default][script=latn, protrusion=quality, expansion=quality, itlc=yes, textitalics=yes, onum=yes, pnum=yes] | 53 | \definefontfeature[default][default][script=latn, protrusion=quality, expansion=quality, itlc=yes, textitalics=yes, onum=yes, pnum=yes] |
@@ -104,6 +107,27 @@ $endif$ | |||
104 | \setupxtable[body][] | 107 | \setupxtable[body][] |
105 | \setupxtable[foot][bottomframe=on] | 108 | \setupxtable[foot][bottomframe=on] |
106 | 109 | ||
110 | $if(csl-refs)$ | ||
111 | \newdimen\cslhangindent | ||
112 | \cslhangindent=1.5em | ||
113 | \definestartstop [cslreferences] [ | ||
114 | $if(csl-hanging-indent)$ | ||
115 | before={% | ||
116 | \setupnarrower[left=\cslhangindent] | ||
117 | \startnarrower[left]% | ||
118 | \setupindenting[-\leftskip,yes,first]% | ||
119 | %\setuphead[chapter,section][indentnext=yes]% | ||
120 | \indentation% | ||
121 | }, | ||
122 | after=\stopnarrower, | ||
123 | $endif$ | ||
124 | ] | ||
125 | $endif$ | ||
126 | $if(includesource)$ | ||
127 | $for(sourcefile)$ | ||
128 | \attachment[file=$curdir$/$sourcefile$,method=hidden] | ||
129 | $endfor$ | ||
130 | $endif$ | ||
107 | $for(header-includes)$ | 131 | $for(header-includes)$ |
108 | $header-includes$ | 132 | $header-includes$ |
109 | $endfor$ | 133 | $endfor$ |