git.iko.soy/typeable/pandoc
on master help sign in
Changes to ConTeXt test suite.

git-svn-id: https://pandoc.googlecode.com/svn/trunk@726 788f1e2b-df1e-0410-8736-df70ead52e1b

commitad0d4bf41ed558e7b04e9c157b3138c0d011d2d1 authorfiddlosopher <fiddlosopher@788f1e2b-df1e-0410-8736-df70ead52e1b> dateSun 15 Jul 2007, 17:04 (19 years ago) parent2f928d4
1 file changed+32−25
tests/writer.context+32−25
tests/writer.context+32−25
@@ -4,9 +4,10 @@
44\setupinteraction[state=start, color=middlered] % needed for hyperlinks
55
66\setuppapersize[letter][letter] % use letter paper
7−\setuplayout[width=6in, height=9.5in] % page layout
8−\setuppagenumbering[location={footer,center}, style=bold] % number pages
9−\setupbodyfont[11pt] % 11pt font
7+\setuplayout[width=middle, backspace=1.5in, cutspace=1.5in,
8+ height=middle, header=0.75in, footer=0.75in] % page layout
9+\setuppagenumbering[location={footer,center}] % number pages
10+\setupbodyfont[12pt] % 12pt font
1011\setupwhitespace[medium] % inter-paragraph spacing
1112
1213\setuphead[section][style=\tfc]
@@ -52,6 +53,12 @@
5253
5354\setupthinrules[width=15em] % width of horizontal rules
5455
56+% for block quotations
57+\definestartstop [blockquote]
58+ [before={\startnarrower\switchtobodyfont[11pt]
59+ \whitespace\setupindenting[no]},
60+ after={\stopnarrower\whitespace}]
61+
5562\setupheads[sectionnumber=no, style=\bf]
5663\doctitle{Pandoc Test Suite}
5764 \author{John MacFarlane \& Anonymous}
@@ -105,12 +112,12 @@ here.
105112
106113E-mail style:
107114
108−\startnarrower
115+\startblockquote
109116This is a block quote. It is pretty short.
110117
111−\stopnarrower
118+\stopblockquote
112119
113−\startnarrower
120+\startblockquote
114121Code in a block quote:
115122
116123\starttyping
@@ -126,23 +133,23 @@ A list:
126133\stopltxenum
127134Nested block quotes:
128135
129−\startnarrower
136+\startblockquote
130137nested
131138
132−\stopnarrower
139+\stopblockquote
133140
134−\startnarrower
141+\startblockquote
135142nested
136143
137−\stopnarrower
144+\stopblockquote
138145
139−\stopnarrower
146+\stopblockquote
140147
141148This should not be a block quote: 2 \lettermore{} 1.
142149
143150Box-style:
144151
145−\startnarrower
152+\startblockquote
146153Example:
147154
148155\starttyping
@@ -150,26 +157,26 @@ sub status {
150157 print "working";
151158}
152159\stoptyping
153−\stopnarrower
160+\stopblockquote
154161
155−\startnarrower
162+\startblockquote
156163\startltxenum
157164\item do laundry
158165\item take out the trash
159166\stopltxenum
160−\stopnarrower
167+\stopblockquote
161168
162169Here's a nested one:
163170
164−\startnarrower
171+\startblockquote
165172Joe said:
166173
167−\startnarrower
174+\startblockquote
168175Don't quote me.
169176
170−\stopnarrower
177+\stopblockquote
171178
172−\stopnarrower
179+\stopblockquote
173180
174181And a following paragraph.
175182
@@ -419,10 +426,10 @@ orange fruit
419426\starttyping
420427{ orange code block }
421428\stoptyping
422−\startnarrower
429+\startblockquote
423430orange block quote
424431
425−\stopnarrower
432+\stopblockquote
426433
427434
428435\stopdescr
@@ -643,10 +650,10 @@ With an ampersand: \useurl[27][http://example.com/?foo=1&bar=2][][http://example
643650\stopltxitem
644651An e-mail address: \useurl[29][mailto:nobody@nowhere.net][][nobody@nowhere.net]\from[29]
645652
646−\startnarrower
653+\startblockquote
647654Blockquoted: \useurl[30][http://example.com/][][http://example.com/]\from[30]
648655
649−\stopnarrower
656+\stopblockquote
650657
651658Auto-links should not occur here: \type{<http://example.com/>}
652659
@@ -690,12 +697,12 @@ If you want, you can indent every line, but you can also be lazy and just indent
690697
691698}
692699
693−\startnarrower
700+\startblockquote
694701Notes can go in quotes.\footnote{In quote.
695702
696703}
697704
698−\stopnarrower
705+\stopblockquote
699706
700707\startltxenum
701708\item And in list items.\footnote{In list.