aboutsummaryrefslogtreecommitdiff
path: root/tests/writer.context
diff options
context:
space:
mode:
Diffstat (limited to 'tests/writer.context')
-rw-r--r--tests/writer.context46
1 files changed, 24 insertions, 22 deletions
diff --git a/tests/writer.context b/tests/writer.context
index 3aaf8c14b..bb070ce67 100644
--- a/tests/writer.context
+++ b/tests/writer.context
@@ -16,9 +16,12 @@
\setupwhitespace[medium]
-\setuphead[section] [style=\tfc,number=no]
-\setuphead[subsection] [style=\tfb,number=no]
-\setuphead[subsubsection][style=\bf,number=no]
+\setuphead[chapter] [style=\tfd]
+\setuphead[section] [style=\tfc]
+\setuphead[subsection] [style=\tfb]
+\setuphead[subsubsection][style=\bf]
+
+\setuphead[chapter, section, subsection, subsubsection][number=no]
\definedescription
[description]
@@ -130,7 +133,7 @@ nested
\stopblockquote
\stopblockquote
-This should not be a block quote: 2 \lettermore{} 1.
+This should not be a block quote: 2 > 1.
And a following paragraph.
@@ -614,7 +617,7 @@ Superscripts: a\high{bc}d a\high{{\em hello}} a\high{hello~there}.
Subscripts: H\low{2}O, H\low{23}O, H\low{many~of~them}O.
These should not be superscripts or subscripts, because of the unescaped
-spaces: a\letterhat{}b c\letterhat{}d, a\lettertilde{}b c\lettertilde{}d.
+spaces: a^b c^d, a\lettertilde{}b c\lettertilde{}d.
\thinrule
@@ -698,15 +701,15 @@ Here is some unicode:
copyright: ©
\stopitemize
-AT\&T has an ampersand in their name.
+AT&T has an ampersand in their name.
-AT\&T is another way to write it.
+AT&T is another way to write it.
-This \& that.
+This & that.
-4 \letterless{} 5.
+4 < 5.
-6 \lettermore{} 5.
+6 > 5.
Backslash: \letterbackslash{}
@@ -714,11 +717,11 @@ Backtick: `
Asterisk: *
-Underscore: \letterunderscore{}
+Underscore: _
-Left brace: \letteropenbrace{}
+Left brace: \{
-Right brace: \letterclosebrace{}
+Right brace: \}
Left bracket: {[}
@@ -728,7 +731,7 @@ Left paren: (
Right paren: )
-Greater-than: \lettermore{}
+Greater-than: >
Hash: \#
@@ -758,7 +761,7 @@ Just a \useURL[url4][/url/][][URL]\from[url4].
\useURL[url9][/url/][][URL and title]\from[url9]
-\useURL[url10][/url/with_underscore][][with\letterunderscore{}underscore]\from[url10]
+\useURL[url10][/url/with_underscore][][with_underscore]\from[url10]
\useURL[url11][mailto:nobody@nowhere.net][][Email link]\from[url11]
@@ -798,7 +801,7 @@ Here's a \useURL[url23][http://example.com/?foo=1&bar=2][][link with an
ampersand in the URL]\from[url23].
Here's a link with an amersand in the link text:
-\useURL[url24][http://att.com/][][AT\&T]\from[url24].
+\useURL[url24][http://att.com/][][AT&T]\from[url24].
Here's an \useURL[url25][/script?foo=1&bar=2][][inline link]\from[url25].
@@ -808,7 +811,7 @@ braces]\from[url26].
\subsection[autolinks]{Autolinks}
With an ampersand:
-\useURL[url27][http://example.com/?foo=1&bar=2][][\hyphenatedurl{http://example.com/?foo=1\&bar=2}]\from[url27]
+\useURL[url27][http://example.com/?foo=1&bar=2][][\hyphenatedurl{http://example.com/?foo=1&bar=2}]\from[url27]
\startitemize
\item
@@ -861,11 +864,10 @@ Here is a footnote reference,\footnote{Here is the footnote. It can go
If you want, you can indent every line, but you can also be lazy and just
indent the first line of each block.\stopbuffer\footnote{\getbuffer} This
-should {\em not} be a footnote reference, because it contains a
-space.{[}\letterhat{}my note{]} Here is an inline note.\footnote{This is
- {\em easier} to type. Inline notes may contain
- \useURL[url31][http://google.com][][links]\from[url31] and \type{]} verbatim
- characters, as well as {[}bracketed text{]}.}
+should {\em not} be a footnote reference, because it contains a space.{[}^my
+note{]} Here is an inline note.\footnote{This is {\em easier} to type. Inline
+ notes may contain \useURL[url31][http://google.com][][links]\from[url31] and
+ \type{]} verbatim characters, as well as {[}bracketed text{]}.}
\startblockquote
Notes can go in quotes.\footnote{In quote.}