diff options
m--------- | templates | 13 | ||||
-rw-r--r-- | tests/writer.context | 66 |
2 files changed, 35 insertions, 44 deletions
diff --git a/templates b/templates -Subproject 939e3e151bdc9de5ee0247f0bc29d16fc4d4bb6 +Subproject af2b1d117b3d5c74538ab7c98bc3a8b7afc9b7b diff --git a/tests/writer.context b/tests/writer.context index 874702ef3..3d8da2a57 100644 --- a/tests/writer.context +++ b/tests/writer.context @@ -1,53 +1,41 @@ -\enableregime[utf] % use UTF-8 +\startmode[*mkii] + \enableregime[utf-8] + \setupcolors[state=start] +\stopmode -\setupcolors[state=start] -\setupinteraction[state=start, color=middleblue] % needed for hyperlinks +% Enable hyperlinks +\setupinteraction[state=start, color=middleblue] -\setuppapersize[letter][letter] % use letter paper -\setuplayout[width=middle, backspace=1.5in, cutspace=1.5in, - height=middle, header=0.75in, footer=0.75in] % page layout -\setuppagenumbering[location={footer,center}] % number pages -\setupbodyfont[11pt] % 11pt font -\setupwhitespace[medium] % inter-paragraph spacing +\setuppapersize [letter][letter] +\setuplayout [width=middle, backspace=1.5in, cutspace=1.5in, + height=middle, topspace=0.75in, bottomspace=0.75in] -\setuphead[section][style=\tfc] -\setuphead[subsection][style=\tfb] -\setuphead[subsubsection][style=\bf] - -% define description (for definition lists) -\definedescription[description][ - headstyle=bold,style=normal,location=hanging,width=broad,margin=1cm] +\setuppagenumbering[location={footer,center}] -% prevent orphaned list intros -\setupitemize[autointro] +\setupbodyfont[11pt] -% define defaults for bulleted lists -\setupitemize[1][symbol=1][indentnext=no] -\setupitemize[2][symbol=2][indentnext=no] -\setupitemize[3][symbol=3][indentnext=no] -\setupitemize[4][symbol=4][indentnext=no] +\setupwhitespace[medium] -\setupthinrules[width=15em] % width of horizontal rules +\setuphead[section] [style=\tfc] +\setuphead[subsection] [style=\tfb] +\setuphead[subsubsection][style=\bf] -% for block quotations -\unprotect +\definedescription + [description] + [headstyle=bold, style=normal, location=hanging, width=broad, margin=1cm] -\startvariables all -blockquote: blockquote -\stopvariables +\setupitemize[autointro] % prevent orphan list intro +\setupitemize[indentnext=no] -\definedelimitedtext -[\v!blockquote][\v!quotation] +\setupthinrules[width=15em] % width of horizontal rules \setupdelimitedtext -[\v!blockquote] -[\c!left=, -\c!right=, -before={\blank[medium]}, -after={\blank[medium]}, -] - -\protect + [blockquote] + [before={\blank[medium]}, + after={\blank[medium]}, + indentnext=no, + ] + \starttext \startalignment[center] |