2007-07-15 04:56:34 +02:00
|
|
|
\enableregime[utf] % use UTF-8
|
|
|
|
|
|
|
|
\setupcolors[state=start]
|
2007-11-22 19:16:39 +01:00
|
|
|
\setupinteraction[state=start, color=middleblue] % needed for hyperlinks
|
2007-07-15 04:56:34 +02:00
|
|
|
|
|
|
|
\setuppapersize[letter][letter] % use letter paper
|
2007-07-15 19:04:37 +02:00
|
|
|
\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
|
2007-07-28 21:15:30 +02:00
|
|
|
\setupbodyfont[11pt] % 11pt font
|
2007-07-15 04:56:34 +02:00
|
|
|
\setupwhitespace[medium] % inter-paragraph spacing
|
|
|
|
|
|
|
|
\setuphead[section][style=\tfc]
|
|
|
|
\setuphead[subsection][style=\tfb]
|
|
|
|
\setuphead[subsubsection][style=\bf]
|
|
|
|
|
|
|
|
% define title block commands
|
|
|
|
\unprotect
|
|
|
|
\def\doctitle#1{\gdef\@title{#1}}
|
|
|
|
\def\author#1{\gdef\@author{#1}}
|
|
|
|
\def\date#1{\gdef\@date{#1}}
|
|
|
|
\date{\currentdate} % Default to today unless specified otherwise.
|
|
|
|
\def\maketitle{%
|
|
|
|
\startalignment[center]
|
|
|
|
\blank[2*big]
|
|
|
|
{\tfd \@title}
|
|
|
|
\blank[3*medium]
|
|
|
|
{\tfa \@author}
|
|
|
|
\blank[2*medium]
|
|
|
|
{\tfa \@date}
|
|
|
|
\blank[3*medium]
|
|
|
|
\stopalignment}
|
|
|
|
\protect
|
|
|
|
|
|
|
|
% define descr (for definition lists)
|
|
|
|
\definedescription[descr][
|
|
|
|
headstyle=bold,style=normal,align=left,location=hanging,
|
|
|
|
width=broad,margin=1cm]
|
|
|
|
|
2008-01-23 03:17:59 +01:00
|
|
|
% prevent orphaned list intros
|
|
|
|
\setupitemize[autointro]
|
|
|
|
|
2007-11-18 02:24:43 +01:00
|
|
|
% 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]
|
2007-07-15 04:56:34 +02:00
|
|
|
|
|
|
|
\setupthinrules[width=15em] % width of horizontal rules
|
|
|
|
|
2007-07-15 19:04:37 +02:00
|
|
|
% for block quotations
|
2007-11-18 02:24:43 +01:00
|
|
|
\unprotect
|
|
|
|
|
|
|
|
\startvariables all
|
|
|
|
blockquote: blockquote
|
|
|
|
\stopvariables
|
|
|
|
|
|
|
|
\definedelimitedtext
|
|
|
|
[\v!blockquote][\v!quotation]
|
|
|
|
|
|
|
|
\setupdelimitedtext
|
|
|
|
[\v!blockquote]
|
|
|
|
[\c!left=,
|
|
|
|
\c!right=,
|
|
|
|
before={\blank[medium]},
|
|
|
|
after={\blank[medium]},
|
|
|
|
]
|
2007-07-15 19:04:37 +02:00
|
|
|
|
2007-11-18 02:24:43 +01:00
|
|
|
\protect
|
2007-07-15 04:56:34 +02:00
|
|
|
|
2007-11-15 04:21:10 +01:00
|
|
|
\doctitle{Pandoc Test Suite}
|
2009-12-31 02:13:56 +01:00
|
|
|
\author{John MacFarlane\\Anonymous}
|
2007-11-15 04:21:10 +01:00
|
|
|
\date{July 17, 2006}
|
2007-07-15 04:56:34 +02:00
|
|
|
\starttext
|
|
|
|
\maketitle
|
|
|
|
|
2007-11-15 04:21:10 +01:00
|
|
|
This is a set of tests for pandoc. Most of them are adapted from
|
|
|
|
John Gruber's markdown test suite.
|
2007-07-15 04:56:34 +02:00
|
|
|
|
|
|
|
\thinrule
|
|
|
|
|
2007-11-15 04:21:10 +01:00
|
|
|
\subject{Headers}
|
2007-07-15 04:56:34 +02:00
|
|
|
|
2007-11-22 19:16:39 +01:00
|
|
|
\subsubject{Level 2 with an \useURL[1][/url][][embedded link]\from[1]}
|
2007-07-15 04:56:34 +02:00
|
|
|
|
2007-11-15 04:21:10 +01:00
|
|
|
\subsubsubject{Level 3 with {\em emphasis}}
|
2007-07-15 04:56:34 +02:00
|
|
|
|
2007-11-18 00:34:16 +01:00
|
|
|
\subsubsubsubject{Level 4}
|
2007-07-15 04:56:34 +02:00
|
|
|
|
2007-11-18 00:34:16 +01:00
|
|
|
\subsubsubsubsubject{Level 5}
|
2007-07-15 04:56:34 +02:00
|
|
|
|
2007-11-15 04:21:10 +01:00
|
|
|
\subject{Level 1}
|
2007-07-15 04:56:34 +02:00
|
|
|
|
2007-11-15 04:21:10 +01:00
|
|
|
\subsubject{Level 2 with {\em emphasis}}
|
2007-07-15 04:56:34 +02:00
|
|
|
|
2007-11-15 04:21:10 +01:00
|
|
|
\subsubsubject{Level 3}
|
2007-07-15 04:56:34 +02:00
|
|
|
|
|
|
|
with no blank line
|
|
|
|
|
2007-11-15 04:21:10 +01:00
|
|
|
\subsubject{Level 2}
|
2007-07-15 04:56:34 +02:00
|
|
|
|
|
|
|
with no blank line
|
|
|
|
|
|
|
|
\thinrule
|
|
|
|
|
2007-11-15 04:21:10 +01:00
|
|
|
\subject{Paragraphs}
|
2007-07-15 04:56:34 +02:00
|
|
|
|
|
|
|
Here's a regular paragraph.
|
|
|
|
|
2007-11-15 04:21:10 +01:00
|
|
|
In Markdown 1.0.0 and earlier. Version 8. This line turns into a
|
|
|
|
list item. Because a hard-wrapped line in the middle of a paragraph
|
|
|
|
looked like a list item.
|
2007-07-15 04:56:34 +02:00
|
|
|
|
|
|
|
Here's one with a bullet. * criminey.
|
|
|
|
|
2007-07-22 18:19:59 +02:00
|
|
|
There should be a hard line break\crlf
|
2007-07-15 04:56:34 +02:00
|
|
|
here.
|
|
|
|
|
|
|
|
\thinrule
|
|
|
|
|
2007-11-15 04:21:10 +01:00
|
|
|
\subject{Block Quotes}
|
2007-07-15 04:56:34 +02:00
|
|
|
|
|
|
|
E-mail style:
|
|
|
|
|
2007-07-15 19:04:37 +02:00
|
|
|
\startblockquote
|
2007-07-15 04:56:34 +02:00
|
|
|
This is a block quote. It is pretty short.
|
2007-07-15 19:04:37 +02:00
|
|
|
\stopblockquote
|
2007-11-18 02:24:43 +01:00
|
|
|
|
2007-12-29 10:31:45 +01:00
|
|
|
\startblockquote
|
2007-07-15 04:56:34 +02:00
|
|
|
Code in a block quote:
|
|
|
|
|
|
|
|
\starttyping
|
|
|
|
sub status {
|
|
|
|
print "working";
|
|
|
|
}
|
|
|
|
\stoptyping
|
2007-11-15 04:21:10 +01:00
|
|
|
|
2007-07-15 04:56:34 +02:00
|
|
|
A list:
|
|
|
|
|
2007-11-18 02:24:43 +01:00
|
|
|
\startitemize[n][stopper=.]
|
2008-08-09 18:51:08 +02:00
|
|
|
\item
|
2007-11-15 04:21:10 +01:00
|
|
|
item one
|
2008-08-09 18:51:08 +02:00
|
|
|
\item
|
2007-11-15 04:21:10 +01:00
|
|
|
item two
|
2007-08-08 04:43:15 +02:00
|
|
|
\stopitemize
|
2007-11-18 02:24:43 +01:00
|
|
|
|
2007-07-15 04:56:34 +02:00
|
|
|
Nested block quotes:
|
|
|
|
|
2007-07-15 19:04:37 +02:00
|
|
|
\startblockquote
|
2007-07-15 04:56:34 +02:00
|
|
|
nested
|
2007-07-15 19:04:37 +02:00
|
|
|
\stopblockquote
|
2007-11-18 02:24:43 +01:00
|
|
|
|
2007-12-29 10:31:45 +01:00
|
|
|
\startblockquote
|
2007-07-15 04:56:34 +02:00
|
|
|
nested
|
2007-07-15 19:04:37 +02:00
|
|
|
\stopblockquote
|
|
|
|
\stopblockquote
|
2007-12-29 10:31:45 +01:00
|
|
|
|
2007-07-15 04:56:34 +02:00
|
|
|
This should not be a block quote: 2 \lettermore{} 1.
|
|
|
|
|
|
|
|
And a following paragraph.
|
|
|
|
|
|
|
|
\thinrule
|
|
|
|
|
2007-11-15 04:21:10 +01:00
|
|
|
\subject{Code Blocks}
|
2007-07-15 04:56:34 +02:00
|
|
|
|
|
|
|
Code:
|
|
|
|
|
|
|
|
\starttyping
|
|
|
|
---- (should be four hyphens)
|
|
|
|
|
|
|
|
sub status {
|
|
|
|
print "working";
|
|
|
|
}
|
|
|
|
|
|
|
|
this code block is indented by one tab
|
|
|
|
\stoptyping
|
2007-11-15 04:21:10 +01:00
|
|
|
|
2007-07-15 04:56:34 +02:00
|
|
|
And:
|
|
|
|
|
|
|
|
\starttyping
|
|
|
|
this code block is indented by two tabs
|
|
|
|
|
|
|
|
These should not be escaped: \$ \\ \> \[ \{
|
|
|
|
\stoptyping
|
2007-11-15 04:21:10 +01:00
|
|
|
|
2007-07-15 04:56:34 +02:00
|
|
|
\thinrule
|
|
|
|
|
2007-11-15 04:21:10 +01:00
|
|
|
\subject{Lists}
|
2007-07-15 04:56:34 +02:00
|
|
|
|
2007-11-15 04:21:10 +01:00
|
|
|
\subsubject{Unordered}
|
2007-07-15 04:56:34 +02:00
|
|
|
|
|
|
|
Asterisks tight:
|
|
|
|
|
2007-11-18 02:24:43 +01:00
|
|
|
\startitemize
|
2008-08-09 18:51:08 +02:00
|
|
|
\item
|
2007-11-15 04:21:10 +01:00
|
|
|
asterisk 1
|
2008-08-09 18:51:08 +02:00
|
|
|
\item
|
2007-11-15 04:21:10 +01:00
|
|
|
asterisk 2
|
2008-08-09 18:51:08 +02:00
|
|
|
\item
|
2007-11-15 04:21:10 +01:00
|
|
|
asterisk 3
|
2007-11-18 02:24:43 +01:00
|
|
|
\stopitemize
|
|
|
|
|
2007-07-15 04:56:34 +02:00
|
|
|
Asterisks loose:
|
|
|
|
|
2007-11-18 02:24:43 +01:00
|
|
|
\startitemize
|
2008-08-09 18:51:08 +02:00
|
|
|
\item
|
2007-11-15 04:21:10 +01:00
|
|
|
asterisk 1
|
2008-08-09 18:51:08 +02:00
|
|
|
\item
|
2007-11-15 04:21:10 +01:00
|
|
|
asterisk 2
|
2008-08-09 18:51:08 +02:00
|
|
|
\item
|
2007-11-15 04:21:10 +01:00
|
|
|
asterisk 3
|
2007-11-18 02:24:43 +01:00
|
|
|
\stopitemize
|
|
|
|
|
2007-07-15 04:56:34 +02:00
|
|
|
Pluses tight:
|
|
|
|
|
2007-11-18 02:24:43 +01:00
|
|
|
\startitemize
|
2008-08-09 18:51:08 +02:00
|
|
|
\item
|
2007-11-15 04:21:10 +01:00
|
|
|
Plus 1
|
2008-08-09 18:51:08 +02:00
|
|
|
\item
|
2007-11-15 04:21:10 +01:00
|
|
|
Plus 2
|
2008-08-09 18:51:08 +02:00
|
|
|
\item
|
2007-11-15 04:21:10 +01:00
|
|
|
Plus 3
|
2007-11-18 02:24:43 +01:00
|
|
|
\stopitemize
|
|
|
|
|
2007-07-15 04:56:34 +02:00
|
|
|
Pluses loose:
|
|
|
|
|
2007-11-18 02:24:43 +01:00
|
|
|
\startitemize
|
2008-08-09 18:51:08 +02:00
|
|
|
\item
|
2007-11-15 04:21:10 +01:00
|
|
|
Plus 1
|
2008-08-09 18:51:08 +02:00
|
|
|
\item
|
2007-11-15 04:21:10 +01:00
|
|
|
Plus 2
|
2008-08-09 18:51:08 +02:00
|
|
|
\item
|
2007-11-15 04:21:10 +01:00
|
|
|
Plus 3
|
2007-11-18 02:24:43 +01:00
|
|
|
\stopitemize
|
|
|
|
|
2007-07-15 04:56:34 +02:00
|
|
|
Minuses tight:
|
|
|
|
|
2007-11-18 02:24:43 +01:00
|
|
|
\startitemize
|
2008-08-09 18:51:08 +02:00
|
|
|
\item
|
2007-11-15 04:21:10 +01:00
|
|
|
Minus 1
|
2008-08-09 18:51:08 +02:00
|
|
|
\item
|
2007-11-15 04:21:10 +01:00
|
|
|
Minus 2
|
2008-08-09 18:51:08 +02:00
|
|
|
\item
|
2007-11-15 04:21:10 +01:00
|
|
|
Minus 3
|
2007-11-18 02:24:43 +01:00
|
|
|
\stopitemize
|
|
|
|
|
2007-07-15 04:56:34 +02:00
|
|
|
Minuses loose:
|
|
|
|
|
2007-11-18 02:24:43 +01:00
|
|
|
\startitemize
|
2008-08-09 18:51:08 +02:00
|
|
|
\item
|
2007-11-15 04:21:10 +01:00
|
|
|
Minus 1
|
2008-08-09 18:51:08 +02:00
|
|
|
\item
|
2007-11-15 04:21:10 +01:00
|
|
|
Minus 2
|
2008-08-09 18:51:08 +02:00
|
|
|
\item
|
2007-11-15 04:21:10 +01:00
|
|
|
Minus 3
|
2007-11-18 02:24:43 +01:00
|
|
|
\stopitemize
|
|
|
|
|
2007-11-15 04:21:10 +01:00
|
|
|
\subsubject{Ordered}
|
2007-07-15 04:56:34 +02:00
|
|
|
|
|
|
|
Tight:
|
|
|
|
|
2007-11-18 02:24:43 +01:00
|
|
|
\startitemize[n][stopper=.]
|
2008-08-09 18:51:08 +02:00
|
|
|
\item
|
2007-11-15 04:21:10 +01:00
|
|
|
First
|
2008-08-09 18:51:08 +02:00
|
|
|
\item
|
2007-11-15 04:21:10 +01:00
|
|
|
Second
|
2008-08-09 18:51:08 +02:00
|
|
|
\item
|
2007-11-15 04:21:10 +01:00
|
|
|
Third
|
2007-08-08 04:43:15 +02:00
|
|
|
\stopitemize
|
2007-11-18 02:24:43 +01:00
|
|
|
|
2007-07-15 04:56:34 +02:00
|
|
|
and:
|
|
|
|
|
2007-11-18 02:24:43 +01:00
|
|
|
\startitemize[n][stopper=.]
|
2008-08-09 18:51:08 +02:00
|
|
|
\item
|
2007-11-15 04:21:10 +01:00
|
|
|
One
|
2008-08-09 18:51:08 +02:00
|
|
|
\item
|
2007-11-15 04:21:10 +01:00
|
|
|
Two
|
2008-08-09 18:51:08 +02:00
|
|
|
\item
|
2007-11-15 04:21:10 +01:00
|
|
|
Three
|
2007-08-08 04:43:15 +02:00
|
|
|
\stopitemize
|
2007-11-18 02:24:43 +01:00
|
|
|
|
2007-07-15 04:56:34 +02:00
|
|
|
Loose using tabs:
|
|
|
|
|
2007-11-18 02:24:43 +01:00
|
|
|
\startitemize[n][stopper=.]
|
2008-08-09 18:51:08 +02:00
|
|
|
\item
|
2007-11-15 04:21:10 +01:00
|
|
|
First
|
2008-08-09 18:51:08 +02:00
|
|
|
\item
|
2007-11-15 04:21:10 +01:00
|
|
|
Second
|
2008-08-09 18:51:08 +02:00
|
|
|
\item
|
2007-11-15 04:21:10 +01:00
|
|
|
Third
|
2007-08-08 04:43:15 +02:00
|
|
|
\stopitemize
|
2007-11-18 02:24:43 +01:00
|
|
|
|
2007-07-15 04:56:34 +02:00
|
|
|
and using spaces:
|
|
|
|
|
2007-11-18 02:24:43 +01:00
|
|
|
\startitemize[n][stopper=.]
|
2008-08-09 18:51:08 +02:00
|
|
|
\item
|
2007-11-15 04:21:10 +01:00
|
|
|
One
|
2008-08-09 18:51:08 +02:00
|
|
|
\item
|
2007-11-15 04:21:10 +01:00
|
|
|
Two
|
2008-08-09 18:51:08 +02:00
|
|
|
\item
|
2007-11-15 04:21:10 +01:00
|
|
|
Three
|
2007-08-08 04:43:15 +02:00
|
|
|
\stopitemize
|
2007-11-18 02:24:43 +01:00
|
|
|
|
2007-07-15 04:56:34 +02:00
|
|
|
Multiple paragraphs:
|
|
|
|
|
2007-11-18 02:24:43 +01:00
|
|
|
\startitemize[n][stopper=.]
|
2008-08-09 18:51:08 +02:00
|
|
|
\item
|
2007-11-15 04:21:10 +01:00
|
|
|
Item 1, graf one.
|
2007-12-29 10:31:45 +01:00
|
|
|
|
2007-11-15 04:21:10 +01:00
|
|
|
Item 1. graf two. The quick brown fox jumped over the lazy dog's
|
|
|
|
back.
|
2008-08-09 18:51:08 +02:00
|
|
|
\item
|
2007-11-15 04:21:10 +01:00
|
|
|
Item 2.
|
2008-08-09 18:51:08 +02:00
|
|
|
\item
|
2007-11-15 04:21:10 +01:00
|
|
|
Item 3.
|
2007-08-08 04:43:15 +02:00
|
|
|
\stopitemize
|
2007-11-18 02:24:43 +01:00
|
|
|
|
2007-11-15 04:21:10 +01:00
|
|
|
\subsubject{Nested}
|
2007-07-15 04:56:34 +02:00
|
|
|
|
2007-11-18 02:24:43 +01:00
|
|
|
\startitemize
|
2008-08-09 18:51:08 +02:00
|
|
|
\item
|
2007-11-15 04:21:10 +01:00
|
|
|
Tab
|
2007-11-18 02:24:43 +01:00
|
|
|
\startitemize
|
2008-08-09 18:51:08 +02:00
|
|
|
\item
|
2007-11-15 04:21:10 +01:00
|
|
|
Tab
|
2007-11-18 02:24:43 +01:00
|
|
|
\startitemize
|
2008-08-09 18:51:08 +02:00
|
|
|
\item
|
2007-11-15 04:21:10 +01:00
|
|
|
Tab
|
2007-11-18 02:24:43 +01:00
|
|
|
\stopitemize
|
|
|
|
\stopitemize
|
|
|
|
\stopitemize
|
|
|
|
|
2007-07-15 04:56:34 +02:00
|
|
|
Here's another:
|
|
|
|
|
2007-11-18 02:24:43 +01:00
|
|
|
\startitemize[n][stopper=.]
|
2008-08-09 18:51:08 +02:00
|
|
|
\item
|
2007-11-15 04:21:10 +01:00
|
|
|
First
|
2008-08-09 18:51:08 +02:00
|
|
|
\item
|
2007-11-15 04:21:10 +01:00
|
|
|
Second:
|
2007-11-18 02:24:43 +01:00
|
|
|
\startitemize
|
2008-08-09 18:51:08 +02:00
|
|
|
\item
|
2007-11-15 04:21:10 +01:00
|
|
|
Fee
|
2008-08-09 18:51:08 +02:00
|
|
|
\item
|
2007-11-15 04:21:10 +01:00
|
|
|
Fie
|
2008-08-09 18:51:08 +02:00
|
|
|
\item
|
2007-11-15 04:21:10 +01:00
|
|
|
Foe
|
2007-11-18 02:24:43 +01:00
|
|
|
\stopitemize
|
2008-08-09 18:51:08 +02:00
|
|
|
\item
|
2007-11-15 04:21:10 +01:00
|
|
|
Third
|
2007-08-08 04:43:15 +02:00
|
|
|
\stopitemize
|
2007-11-18 02:24:43 +01:00
|
|
|
|
2007-07-15 04:56:34 +02:00
|
|
|
Same thing but with paragraphs:
|
|
|
|
|
2007-11-18 02:24:43 +01:00
|
|
|
\startitemize[n][stopper=.]
|
2008-08-09 18:51:08 +02:00
|
|
|
\item
|
2007-11-15 04:21:10 +01:00
|
|
|
First
|
2008-08-09 18:51:08 +02:00
|
|
|
\item
|
2007-11-15 04:21:10 +01:00
|
|
|
Second:
|
2007-12-29 10:31:45 +01:00
|
|
|
|
2007-11-18 02:24:43 +01:00
|
|
|
\startitemize
|
2008-08-09 18:51:08 +02:00
|
|
|
\item
|
2007-11-15 04:21:10 +01:00
|
|
|
Fee
|
2008-08-09 18:51:08 +02:00
|
|
|
\item
|
2007-11-15 04:21:10 +01:00
|
|
|
Fie
|
2008-08-09 18:51:08 +02:00
|
|
|
\item
|
2007-11-15 04:21:10 +01:00
|
|
|
Foe
|
2007-11-18 02:24:43 +01:00
|
|
|
\stopitemize
|
2008-08-09 18:51:08 +02:00
|
|
|
\item
|
2007-11-15 04:21:10 +01:00
|
|
|
Third
|
2007-08-08 04:43:15 +02:00
|
|
|
\stopitemize
|
2007-11-18 02:24:43 +01:00
|
|
|
|
2007-11-15 04:21:10 +01:00
|
|
|
\subsubject{Tabs and spaces}
|
2007-07-15 04:56:34 +02:00
|
|
|
|
2007-11-18 02:24:43 +01:00
|
|
|
\startitemize
|
2008-08-09 18:51:08 +02:00
|
|
|
\item
|
2007-11-15 04:21:10 +01:00
|
|
|
this is a list item indented with tabs
|
2008-08-09 18:51:08 +02:00
|
|
|
\item
|
2007-11-15 04:21:10 +01:00
|
|
|
this is a list item indented with spaces
|
2007-12-29 10:31:45 +01:00
|
|
|
|
2007-11-18 02:24:43 +01:00
|
|
|
\startitemize
|
2008-08-09 18:51:08 +02:00
|
|
|
\item
|
2007-11-15 04:21:10 +01:00
|
|
|
this is an example list item indented with tabs
|
2008-08-09 18:51:08 +02:00
|
|
|
\item
|
2007-11-15 04:21:10 +01:00
|
|
|
this is an example list item indented with spaces
|
2007-11-18 02:24:43 +01:00
|
|
|
\stopitemize
|
|
|
|
\stopitemize
|
|
|
|
|
2007-11-15 04:21:10 +01:00
|
|
|
\subsubject{Fancy list markers}
|
2007-08-08 04:43:15 +02:00
|
|
|
|
2007-11-18 02:24:43 +01:00
|
|
|
\startitemize[n][start=2,left=(,stopper=),width=2.0em]
|
2008-08-09 18:51:08 +02:00
|
|
|
\item
|
2007-11-15 04:21:10 +01:00
|
|
|
begins with 2
|
2008-08-09 18:51:08 +02:00
|
|
|
\item
|
2007-11-15 04:21:10 +01:00
|
|
|
and now 3
|
2007-12-29 10:31:45 +01:00
|
|
|
|
2007-11-15 04:21:10 +01:00
|
|
|
with a continuation
|
2007-12-29 10:31:45 +01:00
|
|
|
|
2007-11-18 02:24:43 +01:00
|
|
|
\startitemize[r][start=4,stopper=.,width=2.0em]
|
2008-08-09 18:51:08 +02:00
|
|
|
\item
|
2007-11-15 04:21:10 +01:00
|
|
|
sublist with roman numerals, starting with 4
|
2008-08-09 18:51:08 +02:00
|
|
|
\item
|
2007-11-15 04:21:10 +01:00
|
|
|
more items
|
2007-11-18 02:24:43 +01:00
|
|
|
\startitemize[A][left=(,stopper=),width=2.0em]
|
2008-08-09 18:51:08 +02:00
|
|
|
\item
|
2007-11-15 04:21:10 +01:00
|
|
|
a subsublist
|
2008-08-09 18:51:08 +02:00
|
|
|
\item
|
2007-11-15 04:21:10 +01:00
|
|
|
a subsublist
|
|
|
|
\stopitemize
|
|
|
|
\stopitemize
|
2007-08-08 04:43:15 +02:00
|
|
|
\stopitemize
|
2007-11-18 02:24:43 +01:00
|
|
|
|
2007-08-08 04:43:15 +02:00
|
|
|
Nesting:
|
|
|
|
|
2007-11-18 02:24:43 +01:00
|
|
|
\startitemize[A][stopper=.]
|
2008-08-09 18:51:08 +02:00
|
|
|
\item
|
2007-11-15 04:21:10 +01:00
|
|
|
Upper Alpha
|
2007-11-18 02:24:43 +01:00
|
|
|
\startitemize[R][stopper=.]
|
2008-08-09 18:51:08 +02:00
|
|
|
\item
|
2007-11-15 04:21:10 +01:00
|
|
|
Upper Roman.
|
2007-11-18 02:24:43 +01:00
|
|
|
\startitemize[n][start=6,left=(,stopper=),width=2.0em]
|
2008-08-09 18:51:08 +02:00
|
|
|
\item
|
2007-11-15 04:21:10 +01:00
|
|
|
Decimal start with 6
|
2007-11-18 02:24:43 +01:00
|
|
|
\startitemize[a][start=3,stopper=)]
|
2008-08-09 18:51:08 +02:00
|
|
|
\item
|
2007-11-15 04:21:10 +01:00
|
|
|
Lower alpha with paren
|
|
|
|
\stopitemize
|
|
|
|
\stopitemize
|
|
|
|
\stopitemize
|
2007-08-08 04:43:15 +02:00
|
|
|
\stopitemize
|
2007-11-18 02:24:43 +01:00
|
|
|
|
2007-08-08 04:43:15 +02:00
|
|
|
Autonumbering:
|
|
|
|
|
2007-11-18 02:24:43 +01:00
|
|
|
\startitemize[n]
|
2008-08-09 18:51:08 +02:00
|
|
|
\item
|
2007-11-15 04:21:10 +01:00
|
|
|
Autonumber.
|
2008-08-09 18:51:08 +02:00
|
|
|
\item
|
2007-11-15 04:21:10 +01:00
|
|
|
More.
|
2007-11-18 02:24:43 +01:00
|
|
|
\startitemize[a]
|
2008-08-09 18:51:08 +02:00
|
|
|
\item
|
2007-11-15 04:21:10 +01:00
|
|
|
Nested.
|
2007-11-18 02:24:43 +01:00
|
|
|
\stopitemize
|
|
|
|
\stopitemize
|
|
|
|
|
2007-08-18 17:26:29 +02:00
|
|
|
Should not be a list item:
|
|
|
|
|
2008-07-11 04:14:57 +02:00
|
|
|
M.A.~2007
|
2007-08-18 17:26:29 +02:00
|
|
|
|
2007-08-23 06:25:09 +02:00
|
|
|
B. Williams
|
|
|
|
|
2007-07-15 04:56:34 +02:00
|
|
|
\thinrule
|
|
|
|
|
2007-11-15 04:21:10 +01:00
|
|
|
\subject{Definition Lists}
|
2007-07-15 04:56:34 +02:00
|
|
|
|
|
|
|
Tight using spaces:
|
|
|
|
|
|
|
|
\startdescr{apple}
|
|
|
|
red fruit
|
|
|
|
\stopdescr
|
2007-12-29 10:31:45 +01:00
|
|
|
|
2007-07-15 04:56:34 +02:00
|
|
|
\startdescr{orange}
|
|
|
|
orange fruit
|
|
|
|
\stopdescr
|
2007-12-29 10:31:45 +01:00
|
|
|
|
2007-07-15 04:56:34 +02:00
|
|
|
\startdescr{banana}
|
|
|
|
yellow fruit
|
|
|
|
\stopdescr
|
|
|
|
|
|
|
|
Tight using tabs:
|
|
|
|
|
|
|
|
\startdescr{apple}
|
|
|
|
red fruit
|
|
|
|
\stopdescr
|
2007-12-29 10:31:45 +01:00
|
|
|
|
2007-07-15 04:56:34 +02:00
|
|
|
\startdescr{orange}
|
|
|
|
orange fruit
|
|
|
|
\stopdescr
|
2007-12-29 10:31:45 +01:00
|
|
|
|
2007-07-15 04:56:34 +02:00
|
|
|
\startdescr{banana}
|
|
|
|
yellow fruit
|
|
|
|
\stopdescr
|
|
|
|
|
|
|
|
Loose:
|
|
|
|
|
|
|
|
\startdescr{apple}
|
|
|
|
red fruit
|
|
|
|
\stopdescr
|
2007-12-29 10:31:45 +01:00
|
|
|
|
2007-07-15 04:56:34 +02:00
|
|
|
\startdescr{orange}
|
|
|
|
orange fruit
|
|
|
|
\stopdescr
|
2007-12-29 10:31:45 +01:00
|
|
|
|
2007-07-15 04:56:34 +02:00
|
|
|
\startdescr{banana}
|
|
|
|
yellow fruit
|
|
|
|
\stopdescr
|
|
|
|
|
|
|
|
Multiple blocks with italics:
|
|
|
|
|
|
|
|
\startdescr{{\em apple}}
|
|
|
|
red fruit
|
|
|
|
|
|
|
|
contains seeds, crisp, pleasant to taste
|
|
|
|
\stopdescr
|
2007-12-29 10:31:45 +01:00
|
|
|
|
2007-07-15 04:56:34 +02:00
|
|
|
\startdescr{{\em orange}}
|
|
|
|
orange fruit
|
|
|
|
|
|
|
|
\starttyping
|
|
|
|
{ orange code block }
|
|
|
|
\stoptyping
|
2007-11-15 04:21:10 +01:00
|
|
|
|
2007-07-15 19:04:37 +02:00
|
|
|
\startblockquote
|
2007-07-15 04:56:34 +02:00
|
|
|
orange block quote
|
2007-07-15 19:04:37 +02:00
|
|
|
\stopblockquote
|
2007-07-15 04:56:34 +02:00
|
|
|
\stopdescr
|
|
|
|
|
2009-12-07 09:26:53 +01:00
|
|
|
Multiple definitions, tight:
|
|
|
|
|
|
|
|
\startdescr{apple}
|
|
|
|
red fruit
|
|
|
|
|
|
|
|
computer
|
|
|
|
\stopdescr
|
|
|
|
|
|
|
|
\startdescr{orange}
|
|
|
|
orange fruit
|
|
|
|
|
|
|
|
bank
|
|
|
|
\stopdescr
|
|
|
|
|
|
|
|
Multiple definitions, loose:
|
|
|
|
|
|
|
|
\startdescr{apple}
|
|
|
|
red fruit
|
|
|
|
|
|
|
|
computer
|
|
|
|
\stopdescr
|
|
|
|
|
|
|
|
\startdescr{orange}
|
|
|
|
orange fruit
|
|
|
|
|
|
|
|
bank
|
|
|
|
\stopdescr
|
|
|
|
|
|
|
|
Blank line after term, indented marker, alternate markers:
|
|
|
|
|
|
|
|
\startdescr{apple}
|
|
|
|
red fruit
|
|
|
|
|
|
|
|
computer
|
|
|
|
\stopdescr
|
|
|
|
|
|
|
|
\startdescr{orange}
|
|
|
|
orange fruit
|
|
|
|
|
|
|
|
\startitemize[n][stopper=.]
|
|
|
|
\item
|
|
|
|
sublist
|
|
|
|
\item
|
|
|
|
sublist
|
|
|
|
\stopitemize
|
|
|
|
\stopdescr
|
|
|
|
|
2007-11-15 04:21:10 +01:00
|
|
|
\subject{HTML Blocks}
|
2007-07-15 04:56:34 +02:00
|
|
|
|
|
|
|
Simple block on one line:
|
|
|
|
|
|
|
|
foo
|
|
|
|
And nested without indentation:
|
|
|
|
|
|
|
|
foo
|
|
|
|
bar
|
|
|
|
Interpreted markdown in a table:
|
|
|
|
|
|
|
|
This is {\em emphasized}
|
|
|
|
And this is {\bf strong}
|
|
|
|
Here's a simple block:
|
|
|
|
|
|
|
|
foo
|
|
|
|
This should be a code block, though:
|
|
|
|
|
|
|
|
\starttyping
|
|
|
|
<div>
|
|
|
|
foo
|
|
|
|
</div>
|
|
|
|
\stoptyping
|
2007-11-15 04:21:10 +01:00
|
|
|
|
2007-07-15 04:56:34 +02:00
|
|
|
As should this:
|
|
|
|
|
|
|
|
\starttyping
|
|
|
|
<div>foo</div>
|
|
|
|
\stoptyping
|
2007-11-15 04:21:10 +01:00
|
|
|
|
2007-07-15 04:56:34 +02:00
|
|
|
Now, nested:
|
|
|
|
|
|
|
|
foo
|
|
|
|
This should just be an HTML comment:
|
|
|
|
|
|
|
|
Multiline:
|
|
|
|
|
|
|
|
Code block:
|
|
|
|
|
|
|
|
\starttyping
|
|
|
|
<!-- Comment -->
|
|
|
|
\stoptyping
|
2007-11-15 04:21:10 +01:00
|
|
|
|
2007-07-15 04:56:34 +02:00
|
|
|
Just plain comment, with trailing spaces on the line:
|
|
|
|
|
|
|
|
Code:
|
|
|
|
|
|
|
|
\starttyping
|
|
|
|
<hr />
|
|
|
|
\stoptyping
|
2007-11-15 04:21:10 +01:00
|
|
|
|
2007-07-15 04:56:34 +02:00
|
|
|
Hr's:
|
|
|
|
|
|
|
|
\thinrule
|
|
|
|
|
2007-11-15 04:21:10 +01:00
|
|
|
\subject{Inline Markup}
|
2007-07-15 04:56:34 +02:00
|
|
|
|
|
|
|
This is {\em emphasized}, and so {\em is this}.
|
|
|
|
|
|
|
|
This is {\bf strong}, and so {\bf is this}.
|
|
|
|
|
2007-11-22 19:16:39 +01:00
|
|
|
An {\em \useURL[2][/url][][emphasized link]\from[2]}.
|
2007-07-15 04:56:34 +02:00
|
|
|
|
|
|
|
{\bf {\em This is strong and em.}}
|
|
|
|
|
|
|
|
So is {\bf {\em this}} word.
|
|
|
|
|
|
|
|
{\bf {\em This is strong and em.}}
|
|
|
|
|
|
|
|
So is {\bf {\em this}} word.
|
|
|
|
|
2007-11-15 04:21:10 +01:00
|
|
|
This is code: \type{>}, \type{$}, \type{\}, \type{\$},
|
|
|
|
\type{<html>}.
|
2007-07-15 04:56:34 +02:00
|
|
|
|
2007-07-22 20:49:23 +02:00
|
|
|
\overstrikes{This is {\em strikeout}.}
|
|
|
|
|
2008-07-11 03:24:15 +02:00
|
|
|
Superscripts: a\high{bc}d a\high{{\em hello}} a\high{hello~there}.
|
2007-07-22 20:49:23 +02:00
|
|
|
|
2008-07-11 03:24:15 +02:00
|
|
|
Subscripts: H\low{2}O, H\low{23}O, H\low{many~of~them}O.
|
2007-07-22 20:49:23 +02:00
|
|
|
|
2007-11-15 04:21:10 +01:00
|
|
|
These should not be superscripts or subscripts, because of the
|
|
|
|
unescaped spaces: a\letterhat{}b c\letterhat{}d, a\lettertilde{}b
|
|
|
|
c\lettertilde{}d.
|
2007-07-22 20:49:23 +02:00
|
|
|
|
2007-07-15 04:56:34 +02:00
|
|
|
\thinrule
|
|
|
|
|
2007-11-15 04:21:10 +01:00
|
|
|
\subject{Smart quotes, ellipses, dashes}
|
2007-07-15 04:56:34 +02:00
|
|
|
|
2007-11-15 04:21:10 +01:00
|
|
|
\quotation{Hello,} said the spider.
|
|
|
|
\quotation{\quote{Shelob} is my name.}
|
2007-07-15 04:56:34 +02:00
|
|
|
|
|
|
|
\quote{A}, \quote{B}, and \quote{C} are letters.
|
|
|
|
|
2007-11-15 04:21:10 +01:00
|
|
|
\quote{Oak,} \quote{elm,} and \quote{beech} are names of trees. So
|
|
|
|
is \quote{pine.}
|
2007-07-15 04:56:34 +02:00
|
|
|
|
2007-11-15 04:21:10 +01:00
|
|
|
\quote{He said, \quotation{I want to go.}} Were you alive in the
|
|
|
|
70's?
|
2007-07-15 04:56:34 +02:00
|
|
|
|
2007-11-15 04:21:10 +01:00
|
|
|
Here is some quoted \quote{\type{code}} and a
|
2007-11-22 19:16:39 +01:00
|
|
|
\quotation{\useURL[3][http://example.com/?foo=1&bar=2][][quoted link]\from[3]}.
|
2007-07-15 04:56:34 +02:00
|
|
|
|
2008-06-08 05:20:15 +02:00
|
|
|
Some dashes: one---two --- three---four --- five.
|
2007-07-15 04:56:34 +02:00
|
|
|
|
|
|
|
Dashes between numbers: 5--7, 255--66, 1987--1999.
|
|
|
|
|
|
|
|
Ellipses\ldots{}and\ldots{}and\ldots{}.
|
|
|
|
|
|
|
|
\thinrule
|
|
|
|
|
2008-08-09 18:51:08 +02:00
|
|
|
\subject{LaTeX}
|
|
|
|
|
|
|
|
\startitemize
|
|
|
|
\item
|
|
|
|
\cite[22-23]{smith.1899}
|
|
|
|
\item
|
|
|
|
$2+2=4$
|
|
|
|
\item
|
|
|
|
$x \in y$
|
|
|
|
\item
|
|
|
|
$\alpha \wedge \omega$
|
|
|
|
\item
|
|
|
|
$223$
|
|
|
|
\item
|
|
|
|
$p$-Tree
|
|
|
|
\item
|
2008-08-13 05:02:42 +02:00
|
|
|
Here's some display math:
|
|
|
|
\startformula \frac{d}{dx}f(x)=\lim_{h\to 0}\frac{f(x+h)-f(x)}{h} \stopformula
|
2008-08-09 18:51:08 +02:00
|
|
|
\item
|
|
|
|
Here's one that has a line break in it:
|
|
|
|
$\alpha + \omega \times x^2$.
|
|
|
|
\stopitemize
|
|
|
|
|
|
|
|
These shouldn't be math:
|
|
|
|
|
|
|
|
\startitemize
|
|
|
|
\item
|
|
|
|
To get the famous equation, write \type{$e = mc^2$}.
|
|
|
|
\item
|
|
|
|
\$22,000 is a {\em lot} of money. So is \$34,000. (It worked if
|
|
|
|
\quotation{lot} is emphasized.)
|
|
|
|
\item
|
|
|
|
Shoes (\$20) and socks (\$5).
|
|
|
|
\item
|
|
|
|
Escaped \type{$}: \$73 {\em this should be emphasized} 23\$.
|
|
|
|
\stopitemize
|
|
|
|
|
|
|
|
Here's a LaTeX table:
|
|
|
|
|
|
|
|
\begin{tabular}{|l|l|}\hline
|
|
|
|
Animal & Number \\ \hline
|
|
|
|
Dog & 2 \\
|
|
|
|
Cat & 1 \\ \hline
|
|
|
|
\end{tabular}
|
|
|
|
|
|
|
|
\thinrule
|
|
|
|
|
2007-11-15 04:21:10 +01:00
|
|
|
\subject{Special Characters}
|
2007-07-15 04:56:34 +02:00
|
|
|
|
|
|
|
Here is some unicode:
|
|
|
|
|
2007-11-18 02:24:43 +01:00
|
|
|
\startitemize
|
2008-08-09 18:51:08 +02:00
|
|
|
\item
|
2007-11-15 04:21:10 +01:00
|
|
|
I hat: Î
|
2008-08-09 18:51:08 +02:00
|
|
|
\item
|
2007-11-15 04:21:10 +01:00
|
|
|
o umlaut: ö
|
2008-08-09 18:51:08 +02:00
|
|
|
\item
|
2007-11-15 04:21:10 +01:00
|
|
|
section: §
|
2008-08-09 18:51:08 +02:00
|
|
|
\item
|
2007-11-15 04:21:10 +01:00
|
|
|
set membership: ∈
|
2008-08-09 18:51:08 +02:00
|
|
|
\item
|
2007-11-15 04:21:10 +01:00
|
|
|
copyright: ©
|
2007-11-18 02:24:43 +01:00
|
|
|
\stopitemize
|
|
|
|
|
2007-07-15 04:56:34 +02:00
|
|
|
AT\&T has an ampersand in their name.
|
|
|
|
|
|
|
|
AT\&T is another way to write it.
|
|
|
|
|
|
|
|
This \& that.
|
|
|
|
|
|
|
|
4 \letterless{} 5.
|
|
|
|
|
|
|
|
6 \lettermore{} 5.
|
|
|
|
|
|
|
|
Backslash: \letterbackslash{}
|
|
|
|
|
|
|
|
Backtick: `
|
|
|
|
|
|
|
|
Asterisk: *
|
|
|
|
|
|
|
|
Underscore: \letterunderscore{}
|
|
|
|
|
|
|
|
Left brace: \letteropenbrace{}
|
|
|
|
|
|
|
|
Right brace: \letterclosebrace{}
|
|
|
|
|
|
|
|
Left bracket: [
|
|
|
|
|
|
|
|
Right bracket: ]
|
|
|
|
|
|
|
|
Left paren: (
|
|
|
|
|
|
|
|
Right paren: )
|
|
|
|
|
|
|
|
Greater-than: \lettermore{}
|
|
|
|
|
|
|
|
Hash: \#
|
|
|
|
|
|
|
|
Period: .
|
|
|
|
|
|
|
|
Bang: !
|
|
|
|
|
|
|
|
Plus: +
|
|
|
|
|
|
|
|
Minus: -
|
|
|
|
|
|
|
|
\thinrule
|
|
|
|
|
2007-11-15 04:21:10 +01:00
|
|
|
\subject{Links}
|
2007-07-15 04:56:34 +02:00
|
|
|
|
2007-11-15 04:21:10 +01:00
|
|
|
\subsubject{Explicit}
|
2007-07-15 04:56:34 +02:00
|
|
|
|
2007-11-22 19:16:39 +01:00
|
|
|
Just a \useURL[4][/url/][][URL]\from[4].
|
2007-07-15 04:56:34 +02:00
|
|
|
|
2007-11-22 19:16:39 +01:00
|
|
|
\useURL[5][/url/][][URL and title]\from[5].
|
2007-07-15 04:56:34 +02:00
|
|
|
|
2007-11-22 19:16:39 +01:00
|
|
|
\useURL[6][/url/][][URL and title]\from[6].
|
2007-07-15 04:56:34 +02:00
|
|
|
|
2007-11-22 19:16:39 +01:00
|
|
|
\useURL[7][/url/][][URL and title]\from[7].
|
2007-07-15 04:56:34 +02:00
|
|
|
|
2007-11-22 19:16:39 +01:00
|
|
|
\useURL[8][/url/][][URL and title]\from[8]
|
2007-07-15 04:56:34 +02:00
|
|
|
|
2007-11-22 19:16:39 +01:00
|
|
|
\useURL[9][/url/][][URL and title]\from[9]
|
2007-07-15 04:56:34 +02:00
|
|
|
|
2007-11-22 19:16:39 +01:00
|
|
|
\useURL[10][/url/with_underscore][][with\letterunderscore{}underscore]\from[10]
|
2007-07-15 04:56:34 +02:00
|
|
|
|
2007-11-22 19:16:39 +01:00
|
|
|
\useURL[11][mailto:nobody@nowhere.net][][Email link]\from[11]
|
2007-07-15 04:56:34 +02:00
|
|
|
|
2007-11-22 19:16:39 +01:00
|
|
|
\useURL[12][][][Empty]\from[12].
|
2007-07-15 04:56:34 +02:00
|
|
|
|
2007-11-15 04:21:10 +01:00
|
|
|
\subsubject{Reference}
|
2007-07-15 04:56:34 +02:00
|
|
|
|
2007-11-22 19:16:39 +01:00
|
|
|
Foo \useURL[13][/url/][][bar]\from[13].
|
2007-07-15 04:56:34 +02:00
|
|
|
|
2007-11-22 19:16:39 +01:00
|
|
|
Foo \useURL[14][/url/][][bar]\from[14].
|
2007-07-15 04:56:34 +02:00
|
|
|
|
2007-11-22 19:16:39 +01:00
|
|
|
Foo \useURL[15][/url/][][bar]\from[15].
|
2007-07-15 04:56:34 +02:00
|
|
|
|
2007-11-22 19:16:39 +01:00
|
|
|
With \useURL[16][/url/][][embedded [brackets]]\from[16].
|
2007-07-15 04:56:34 +02:00
|
|
|
|
2007-11-22 19:16:39 +01:00
|
|
|
\useURL[17][/url/][][b]\from[17] by itself should be a link.
|
2007-07-15 04:56:34 +02:00
|
|
|
|
2007-11-22 19:16:39 +01:00
|
|
|
Indented \useURL[18][/url][][once]\from[18].
|
2007-07-15 04:56:34 +02:00
|
|
|
|
2007-11-22 19:16:39 +01:00
|
|
|
Indented \useURL[19][/url][][twice]\from[19].
|
2007-07-15 04:56:34 +02:00
|
|
|
|
2007-11-22 19:16:39 +01:00
|
|
|
Indented \useURL[20][/url][][thrice]\from[20].
|
2007-07-15 04:56:34 +02:00
|
|
|
|
|
|
|
This should [not][] be a link.
|
|
|
|
|
|
|
|
\starttyping
|
|
|
|
[not]: /url
|
|
|
|
\stoptyping
|
2007-11-15 04:21:10 +01:00
|
|
|
|
2007-11-22 19:16:39 +01:00
|
|
|
Foo \useURL[21][/url/][][bar]\from[21].
|
2007-07-15 04:56:34 +02:00
|
|
|
|
2007-11-22 19:16:39 +01:00
|
|
|
Foo \useURL[22][/url/][][biz]\from[22].
|
2007-07-15 04:56:34 +02:00
|
|
|
|
2007-11-15 04:21:10 +01:00
|
|
|
\subsubject{With ampersands}
|
2007-07-15 04:56:34 +02:00
|
|
|
|
2007-11-15 04:21:10 +01:00
|
|
|
Here's a
|
2007-11-22 19:16:39 +01:00
|
|
|
\useURL[23][http://example.com/?foo=1&bar=2][][link with an ampersand in the URL]\from[23].
|
2007-07-15 04:56:34 +02:00
|
|
|
|
2007-11-15 04:21:10 +01:00
|
|
|
Here's a link with an amersand in the link text:
|
2007-11-22 19:16:39 +01:00
|
|
|
\useURL[24][http://att.com/][][AT\&T]\from[24].
|
2007-07-15 04:56:34 +02:00
|
|
|
|
2007-12-29 10:31:45 +01:00
|
|
|
Here's an \useURL[25][/script?foo=1&bar=2][][inline link]\from[25].
|
2007-07-15 04:56:34 +02:00
|
|
|
|
2007-11-15 04:21:10 +01:00
|
|
|
Here's an
|
2007-11-22 19:16:39 +01:00
|
|
|
\useURL[26][/script?foo=1&bar=2][][inline link in pointy braces]\from[26].
|
2007-07-15 04:56:34 +02:00
|
|
|
|
2007-11-15 04:21:10 +01:00
|
|
|
\subsubject{Autolinks}
|
2007-07-15 04:56:34 +02:00
|
|
|
|
2007-11-15 04:21:10 +01:00
|
|
|
With an ampersand:
|
2007-11-22 19:16:39 +01:00
|
|
|
\useURL[27][http://example.com/?foo=1&bar=2][][http://example.com/?foo=1\&bar=2]\from[27]
|
2007-07-15 04:56:34 +02:00
|
|
|
|
2007-11-18 02:24:43 +01:00
|
|
|
\startitemize
|
2008-08-09 18:51:08 +02:00
|
|
|
\item
|
2007-11-15 04:21:10 +01:00
|
|
|
In a list?
|
2008-08-09 18:51:08 +02:00
|
|
|
\item
|
2007-11-22 19:16:39 +01:00
|
|
|
\useURL[28][http://example.com/][][http://example.com/]\from[28]
|
2008-08-09 18:51:08 +02:00
|
|
|
\item
|
2007-11-15 04:21:10 +01:00
|
|
|
It should.
|
2007-11-18 02:24:43 +01:00
|
|
|
\stopitemize
|
|
|
|
|
2007-11-15 04:21:10 +01:00
|
|
|
An e-mail address:
|
2007-11-22 19:16:39 +01:00
|
|
|
\useURL[29][mailto:nobody@nowhere.net][][nobody@nowhere.net]\from[29]
|
2007-07-15 04:56:34 +02:00
|
|
|
|
2007-07-15 19:04:37 +02:00
|
|
|
\startblockquote
|
2007-11-15 04:21:10 +01:00
|
|
|
Blockquoted:
|
2007-11-22 19:16:39 +01:00
|
|
|
\useURL[30][http://example.com/][][http://example.com/]\from[30]
|
2007-07-15 19:04:37 +02:00
|
|
|
\stopblockquote
|
2007-12-29 10:31:45 +01:00
|
|
|
|
2007-07-15 04:56:34 +02:00
|
|
|
Auto-links should not occur here: \type{<http://example.com/>}
|
|
|
|
|
|
|
|
\starttyping
|
|
|
|
or here: <http://example.com/>
|
|
|
|
\stoptyping
|
2007-11-15 04:21:10 +01:00
|
|
|
|
2007-07-15 04:56:34 +02:00
|
|
|
\thinrule
|
|
|
|
|
2007-11-15 04:21:10 +01:00
|
|
|
\subject{Images}
|
2007-07-15 04:56:34 +02:00
|
|
|
|
|
|
|
From \quotation{Voyage dans la Lune} by Georges Melies (1902):
|
|
|
|
|
|
|
|
\placefigure
|
|
|
|
[]
|
|
|
|
[fig:lalune]
|
|
|
|
{Voyage dans la Lune}
|
|
|
|
{\externalfigure[lalune.jpg]}
|
|
|
|
|
2007-11-15 04:21:10 +01:00
|
|
|
Here is a movie
|
|
|
|
\placefigure
|
2007-07-15 04:56:34 +02:00
|
|
|
[]
|
|
|
|
[fig:movie]
|
|
|
|
{}
|
|
|
|
{\externalfigure[movie.jpg]} icon.
|
|
|
|
|
|
|
|
\thinrule
|
|
|
|
|
2007-11-15 04:21:10 +01:00
|
|
|
\subject{Footnotes}
|
2007-07-15 04:56:34 +02:00
|
|
|
|
2007-11-17 19:42:11 +01:00
|
|
|
Here is a footnote reference,
|
2007-12-04 05:14:27 +01:00
|
|
|
\footnote{Here is the footnote. It can go anywhere after the footnote
|
2007-11-15 04:21:10 +01:00
|
|
|
reference. It need not be placed at the end of the document.}
|
2007-11-17 19:42:11 +01:00
|
|
|
and another.
|
2007-12-04 05:14:27 +01:00
|
|
|
\footnote{Here's the long note. This one contains multiple blocks.
|
2007-07-15 04:56:34 +02:00
|
|
|
|
2007-11-15 04:21:10 +01:00
|
|
|
Subsequent blocks are indented to show that they belong to the
|
|
|
|
footnote (as with list items).
|
2007-07-15 04:56:34 +02:00
|
|
|
|
|
|
|
\starttyping
|
|
|
|
{ <code> }
|
|
|
|
\stoptyping
|
|
|
|
|
2007-11-15 04:21:10 +01:00
|
|
|
If you want, you can indent every line, but you can also be lazy
|
|
|
|
and just indent the first line of each block.}
|
|
|
|
This should {\em not} be a footnote reference, because it contains
|
2007-11-17 19:42:11 +01:00
|
|
|
a space.[\letterhat{}my note] Here is an inline note.
|
2007-12-04 05:14:27 +01:00
|
|
|
\footnote{This is {\em easier} to type. Inline notes may contain
|
2007-11-22 19:16:39 +01:00
|
|
|
\useURL[31][http://google.com][][links]\from[31] and \type{]}
|
2007-11-15 04:21:10 +01:00
|
|
|
verbatim characters, as well as [bracketed text].}
|
2007-07-15 04:56:34 +02:00
|
|
|
|
2007-07-15 19:04:37 +02:00
|
|
|
\startblockquote
|
2007-11-17 19:42:11 +01:00
|
|
|
Notes can go in quotes.
|
2007-12-04 05:14:27 +01:00
|
|
|
\footnote{In quote.}
|
2007-07-15 19:04:37 +02:00
|
|
|
\stopblockquote
|
2007-12-29 10:31:45 +01:00
|
|
|
|
2007-11-18 02:24:43 +01:00
|
|
|
\startitemize[n][stopper=.]
|
2008-08-09 18:51:08 +02:00
|
|
|
\item
|
2007-11-17 19:42:11 +01:00
|
|
|
And in list items.
|
2007-12-04 05:14:27 +01:00
|
|
|
\footnote{In list.}
|
2007-08-08 04:43:15 +02:00
|
|
|
\stopitemize
|
2007-11-18 02:24:43 +01:00
|
|
|
|
2007-11-15 04:21:10 +01:00
|
|
|
This paragraph should not be part of the note, as it is not
|
|
|
|
indented.
|
2009-12-31 02:14:27 +01:00
|
|
|
|
2007-07-15 04:56:34 +02:00
|
|
|
\stoptext
|
2007-07-28 21:15:30 +02:00
|
|
|
|