aboutsummaryrefslogtreecommitdiff
path: root/src/headers/ConTeXtHeader
diff options
context:
space:
mode:
authorfiddlosopher <fiddlosopher@788f1e2b-df1e-0410-8736-df70ead52e1b>2007-07-15 15:08:27 +0000
committerfiddlosopher <fiddlosopher@788f1e2b-df1e-0410-8736-df70ead52e1b>2007-07-15 15:08:27 +0000
commit2f928d4c9ddd897bd5780fdc613bb81310b4538f (patch)
tree3a51bf7c8ae2cb0d4db2a404bd6755081fa9669f /src/headers/ConTeXtHeader
parent676b1ab149115cb989f46ea988d9d637d3fd6847 (diff)
downloadpandoc-2f928d4c9ddd897bd5780fdc613bb81310b4538f.tar.gz
ConTeXt writer changes:
+ Use defined blockquote environment for block quotes (smaller font, no indent, narrower text) + Changed default font to 12pt + Changed default page layout git-svn-id: https://pandoc.googlecode.com/svn/trunk@725 788f1e2b-df1e-0410-8736-df70ead52e1b
Diffstat (limited to 'src/headers/ConTeXtHeader')
-rw-r--r--src/headers/ConTeXtHeader13
1 files changed, 10 insertions, 3 deletions
diff --git a/src/headers/ConTeXtHeader b/src/headers/ConTeXtHeader
index 7a27b38d8..c04daed65 100644
--- a/src/headers/ConTeXtHeader
+++ b/src/headers/ConTeXtHeader
@@ -4,9 +4,10 @@
\setupinteraction[state=start, color=middlered] % needed for hyperlinks
\setuppapersize[letter][letter] % use letter paper
-\setuplayout[width=6in, height=9.5in] % page layout
-\setuppagenumbering[location={footer,center}, style=bold] % number pages
-\setupbodyfont[11pt] % 11pt font
+\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[12pt] % 12pt font
\setupwhitespace[medium] % inter-paragraph spacing
\setuphead[section][style=\tfc]
@@ -52,3 +53,9 @@
\setupthinrules[width=15em] % width of horizontal rules
+% for block quotations
+\definestartstop [blockquote]
+ [before={\startnarrower\switchtobodyfont[11pt]
+ \whitespace\setupindenting[no]},
+ after={\stopnarrower\whitespace}]
+