diff options
author | Aditya Mahajan <adityam@umich.edu> | 2011-08-23 10:25:30 -0400 |
---|---|---|
committer | Aditya Mahajan <adityam@umich.edu> | 2011-08-23 10:25:30 -0400 |
commit | 3a429589355f35793fc8632d34379464a7cc0dc6 (patch) | |
tree | bac91d9b7dc3fef31739fa7f22cae39f4ba65ae9 | |
parent | 939e3e151bdc9de5ee0247f0bc29d16fc4d4bb66 (diff) | |
download | pandoc-3a429589355f35793fc8632d34379464a7cc0dc6.tar.gz |
Refactoring code style
-rw-r--r-- | default.context | 50 |
1 files changed, 28 insertions, 22 deletions
diff --git a/default.context b/default.context index a07e7b285..449aa61dd 100644 --- a/default.context +++ b/default.context @@ -1,22 +1,28 @@ -\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, header=0.75in, footer=0.75in] -\setuphead[section][style=\tfc] -\setuphead[subsection][style=\tfb] +\setuppagenumbering[location={footer,center}] + +\setupbodyfont[11pt] + +\setupwhitespace[medium] + +\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] +\definedescription + [description] + [headstyle=bold,style=normal,location=hanging,width=broad,margin=1cm] % prevent orphaned list intros \setupitemize[autointro] @@ -27,7 +33,7 @@ \setupitemize[3][symbol=3][indentnext=no] \setupitemize[4][symbol=4][indentnext=no] -\setupthinrules[width=15em] % width of horizontal rules +\setupthinrules[width=15em] % width of horizontal rules % for block quotations \unprotect @@ -37,15 +43,15 @@ blockquote: blockquote \stopvariables \definedelimitedtext -[\v!blockquote][\v!quotation] + [\v!blockquote][\v!quotation] \setupdelimitedtext -[\v!blockquote] -[\c!left=, -\c!right=, -before={\blank[medium]}, -after={\blank[medium]}, -] + [\v!blockquote] + [\c!left=, + \c!right=, + \c!before={\blank[medium]}, + \c!after={\blank[medium]}, + ] \protect $for(header-includes)$ |