rpeg-multimarkdown2 2.0.1
Sign up to get free protection for your applications and to get access to all the features.
- data/LICENSE +96 -0
- data/README.markdown +52 -0
- data/Rakefile +167 -0
- data/bin/rpeg-multimarkdown2 +128 -0
- data/ext/extconf.h +3 -0
- data/ext/extconf.rb +15 -0
- data/ext/markdown.c +102 -0
- data/ext/markdown_lib.c +265 -0
- data/ext/markdown_lib.h +33 -0
- data/ext/markdown_output.c +2832 -0
- data/ext/markdown_parser.c +9091 -0
- data/ext/markdown_peg.h +144 -0
- data/ext/odf.c +183 -0
- data/ext/odf.h +3 -0
- data/ext/parsing_functions.c +199 -0
- data/ext/utility_functions.c +566 -0
- data/lib/multimarkdown2.rb +1 -0
- data/lib/peg_multimarkdown.rb +74 -0
- data/test/MultiMarkdownTest/BeamerTests/Beamer-Tables.html +76 -0
- data/test/MultiMarkdownTest/BeamerTests/Beamer-Tables.tex +64 -0
- data/test/MultiMarkdownTest/BeamerTests/Beamer-Tables.text +38 -0
- data/test/MultiMarkdownTest/CompatibilityTests/Automatic Labels.html +35 -0
- data/test/MultiMarkdownTest/CompatibilityTests/Automatic Labels.text +45 -0
- data/test/MultiMarkdownTest/CompatibilityTests/Base Header Level.html +14 -0
- data/test/MultiMarkdownTest/CompatibilityTests/Base Header Level.text +16 -0
- data/test/MultiMarkdownTest/CompatibilityTests/BibTeX.html +9 -0
- data/test/MultiMarkdownTest/CompatibilityTests/BibTeX.text +10 -0
- data/test/MultiMarkdownTest/CompatibilityTests/Citations.html +40 -0
- data/test/MultiMarkdownTest/CompatibilityTests/Citations.text +42 -0
- data/test/MultiMarkdownTest/CompatibilityTests/Definition Lists.html +40 -0
- data/test/MultiMarkdownTest/CompatibilityTests/Definition Lists.text +39 -0
- data/test/MultiMarkdownTest/CompatibilityTests/Dutch.html +17 -0
- data/test/MultiMarkdownTest/CompatibilityTests/Dutch.text +17 -0
- data/test/MultiMarkdownTest/CompatibilityTests/Email.html +40 -0
- data/test/MultiMarkdownTest/CompatibilityTests/Email.text +31 -0
- data/test/MultiMarkdownTest/CompatibilityTests/English.html +17 -0
- data/test/MultiMarkdownTest/CompatibilityTests/English.text +17 -0
- data/test/MultiMarkdownTest/CompatibilityTests/Errors.html +9 -0
- data/test/MultiMarkdownTest/CompatibilityTests/Errors.text +11 -0
- data/test/MultiMarkdownTest/CompatibilityTests/Footnotes.html +23 -0
- data/test/MultiMarkdownTest/CompatibilityTests/Footnotes.text +25 -0
- data/test/MultiMarkdownTest/CompatibilityTests/French.html +17 -0
- data/test/MultiMarkdownTest/CompatibilityTests/French.text +17 -0
- data/test/MultiMarkdownTest/CompatibilityTests/German.html +17 -0
- data/test/MultiMarkdownTest/CompatibilityTests/German.text +17 -0
- data/test/MultiMarkdownTest/CompatibilityTests/GermanGuillemets.html +17 -0
- data/test/MultiMarkdownTest/CompatibilityTests/GermanGuillemets.text +17 -0
- data/test/MultiMarkdownTest/CompatibilityTests/Glossary.html +29 -0
- data/test/MultiMarkdownTest/CompatibilityTests/Glossary.text +28 -0
- data/test/MultiMarkdownTest/CompatibilityTests/Headers.html +42 -0
- data/test/MultiMarkdownTest/CompatibilityTests/Headers.text +51 -0
- data/test/MultiMarkdownTest/CompatibilityTests/Line Breaks.html +13 -0
- data/test/MultiMarkdownTest/CompatibilityTests/Line Breaks.text +15 -0
- data/test/MultiMarkdownTest/CompatibilityTests/Link Attributes.html +35 -0
- data/test/MultiMarkdownTest/CompatibilityTests/Link Attributes.text +51 -0
- data/test/MultiMarkdownTest/CompatibilityTests/List Parsing.html +13 -0
- data/test/MultiMarkdownTest/CompatibilityTests/List Parsing.text +11 -0
- data/test/MultiMarkdownTest/CompatibilityTests/MarkdownInHTML.html +13 -0
- data/test/MultiMarkdownTest/CompatibilityTests/MarkdownInHTML.text +19 -0
- data/test/MultiMarkdownTest/CompatibilityTests/Math.html +14 -0
- data/test/MultiMarkdownTest/CompatibilityTests/Math.text +15 -0
- data/test/MultiMarkdownTest/CompatibilityTests/MetaData.html +14 -0
- data/test/MultiMarkdownTest/CompatibilityTests/MetaData.text +14 -0
- data/test/MultiMarkdownTest/CompatibilityTests/NotMetaData.html +3 -0
- data/test/MultiMarkdownTest/CompatibilityTests/NotMetaData.text +4 -0
- data/test/MultiMarkdownTest/CompatibilityTests/Sanity.html +77 -0
- data/test/MultiMarkdownTest/CompatibilityTests/Sanity.text +77 -0
- data/test/MultiMarkdownTest/CompatibilityTests/SmartQuotes.html +22 -0
- data/test/MultiMarkdownTest/CompatibilityTests/SmartQuotes.text +22 -0
- data/test/MultiMarkdownTest/CompatibilityTests/Swedish.html +17 -0
- data/test/MultiMarkdownTest/CompatibilityTests/Swedish.text +17 -0
- data/test/MultiMarkdownTest/CompatibilityTests/Tables.html +65 -0
- data/test/MultiMarkdownTest/CompatibilityTests/Tables.text +71 -0
- data/test/MultiMarkdownTest/MarkdownTest.pl +182 -0
- data/test/MultiMarkdownTest/MemoirTests/Automatic Labels.html +42 -0
- data/test/MultiMarkdownTest/MemoirTests/Automatic Labels.tex +47 -0
- data/test/MultiMarkdownTest/MemoirTests/Automatic Labels.text +46 -0
- data/test/MultiMarkdownTest/MemoirTests/Base Header Level.html +20 -0
- data/test/MultiMarkdownTest/MemoirTests/Base Header Level.tex +19 -0
- data/test/MultiMarkdownTest/MemoirTests/Base Header Level.text +16 -0
- data/test/MultiMarkdownTest/MemoirTests/BibTeX.html +17 -0
- data/test/MultiMarkdownTest/MemoirTests/BibTeX.tex +12 -0
- data/test/MultiMarkdownTest/MemoirTests/BibTeX.text +11 -0
- data/test/MultiMarkdownTest/MemoirTests/Citations.html +63 -0
- data/test/MultiMarkdownTest/MemoirTests/Citations.tex +48 -0
- data/test/MultiMarkdownTest/MemoirTests/Citations.text +43 -0
- data/test/MultiMarkdownTest/MemoirTests/Definition Lists.html +61 -0
- data/test/MultiMarkdownTest/MemoirTests/Definition Lists.tex +58 -0
- data/test/MultiMarkdownTest/MemoirTests/Definition Lists.text +40 -0
- data/test/MultiMarkdownTest/MemoirTests/Dutch.html +23 -0
- data/test/MultiMarkdownTest/MemoirTests/Dutch.tex +18 -0
- data/test/MultiMarkdownTest/MemoirTests/Dutch.text +17 -0
- data/test/MultiMarkdownTest/MemoirTests/Email.html +48 -0
- data/test/MultiMarkdownTest/MemoirTests/Email.tex +61 -0
- data/test/MultiMarkdownTest/MemoirTests/Email.text +32 -0
- data/test/MultiMarkdownTest/MemoirTests/English.html +23 -0
- data/test/MultiMarkdownTest/MemoirTests/English.tex +18 -0
- data/test/MultiMarkdownTest/MemoirTests/English.text +17 -0
- data/test/MultiMarkdownTest/MemoirTests/Footnotes.html +47 -0
- data/test/MultiMarkdownTest/MemoirTests/Footnotes.tex +28 -0
- data/test/MultiMarkdownTest/MemoirTests/Footnotes.text +26 -0
- data/test/MultiMarkdownTest/MemoirTests/French.html +23 -0
- data/test/MultiMarkdownTest/MemoirTests/French.tex +18 -0
- data/test/MultiMarkdownTest/MemoirTests/French.text +17 -0
- data/test/MultiMarkdownTest/MemoirTests/German.html +23 -0
- data/test/MultiMarkdownTest/MemoirTests/German.tex +18 -0
- data/test/MultiMarkdownTest/MemoirTests/German.text +17 -0
- data/test/MultiMarkdownTest/MemoirTests/GermanGuillemets.html +23 -0
- data/test/MultiMarkdownTest/MemoirTests/GermanGuillemets.tex +18 -0
- data/test/MultiMarkdownTest/MemoirTests/GermanGuillemets.text +17 -0
- data/test/MultiMarkdownTest/MemoirTests/Glossary.html +47 -0
- data/test/MultiMarkdownTest/MemoirTests/Glossary.tex +30 -0
- data/test/MultiMarkdownTest/MemoirTests/Glossary.text +29 -0
- data/test/MultiMarkdownTest/MemoirTests/Line Breaks.html +21 -0
- data/test/MultiMarkdownTest/MemoirTests/Line Breaks.tex +16 -0
- data/test/MultiMarkdownTest/MemoirTests/Line Breaks.text +16 -0
- data/test/MultiMarkdownTest/MemoirTests/Link Attributes.html +40 -0
- data/test/MultiMarkdownTest/MemoirTests/Link Attributes.tex +61 -0
- data/test/MultiMarkdownTest/MemoirTests/Link Attributes.text +51 -0
- data/test/MultiMarkdownTest/MemoirTests/Math.html +22 -0
- data/test/MultiMarkdownTest/MemoirTests/Math.tex +16 -0
- data/test/MultiMarkdownTest/MemoirTests/Math.text +16 -0
- data/test/MultiMarkdownTest/MemoirTests/Memoir Mode.html +24 -0
- data/test/MultiMarkdownTest/MemoirTests/Memoir Mode.tex +23 -0
- data/test/MultiMarkdownTest/MemoirTests/Memoir Mode.text +20 -0
- data/test/MultiMarkdownTest/MemoirTests/MetaData.html +22 -0
- data/test/MultiMarkdownTest/MemoirTests/MetaData.tex +14 -0
- data/test/MultiMarkdownTest/MemoirTests/MetaData.text +15 -0
- data/test/MultiMarkdownTest/MemoirTests/Sanity.html +100 -0
- data/test/MultiMarkdownTest/MemoirTests/Sanity.tex +101 -0
- data/test/MultiMarkdownTest/MemoirTests/Sanity.text +78 -0
- data/test/MultiMarkdownTest/MemoirTests/SmartQuotes.html +26 -0
- data/test/MultiMarkdownTest/MemoirTests/SmartQuotes.tex +21 -0
- data/test/MultiMarkdownTest/MemoirTests/SmartQuotes.text +19 -0
- data/test/MultiMarkdownTest/MemoirTests/Swedish.html +23 -0
- data/test/MultiMarkdownTest/MemoirTests/Swedish.tex +18 -0
- data/test/MultiMarkdownTest/MemoirTests/Swedish.text +17 -0
- data/test/MultiMarkdownTest/MemoirTests/Tables.html +221 -0
- data/test/MultiMarkdownTest/MemoirTests/Tables.tex +134 -0
- data/test/MultiMarkdownTest/MemoirTests/Tables.text +64 -0
- data/test/MultiMarkdownTest/MultiMarkdownTests/Automatic Labels.html +43 -0
- data/test/MultiMarkdownTest/MultiMarkdownTests/Automatic Labels.tex +46 -0
- data/test/MultiMarkdownTest/MultiMarkdownTests/Automatic Labels.text +45 -0
- data/test/MultiMarkdownTest/MultiMarkdownTests/Base Header Level.html +22 -0
- data/test/MultiMarkdownTest/MultiMarkdownTests/Base Header Level.tex +19 -0
- data/test/MultiMarkdownTest/MultiMarkdownTests/Base Header Level.text +16 -0
- data/test/MultiMarkdownTest/MultiMarkdownTests/BibTeX.html +18 -0
- data/test/MultiMarkdownTest/MultiMarkdownTests/BibTeX.tex +11 -0
- data/test/MultiMarkdownTest/MultiMarkdownTests/BibTex.text +10 -0
- data/test/MultiMarkdownTest/MultiMarkdownTests/Citations.html +64 -0
- data/test/MultiMarkdownTest/MultiMarkdownTests/Citations.tex +47 -0
- data/test/MultiMarkdownTest/MultiMarkdownTests/Citations.text +42 -0
- data/test/MultiMarkdownTest/MultiMarkdownTests/Definition Lists.html +57 -0
- data/test/MultiMarkdownTest/MultiMarkdownTests/Definition Lists.tex +57 -0
- data/test/MultiMarkdownTest/MultiMarkdownTests/Definition Lists.text +39 -0
- data/test/MultiMarkdownTest/MultiMarkdownTests/Dutch.html +25 -0
- data/test/MultiMarkdownTest/MultiMarkdownTests/Dutch.tex +18 -0
- data/test/MultiMarkdownTest/MultiMarkdownTests/Dutch.text +17 -0
- data/test/MultiMarkdownTest/MultiMarkdownTests/Email.html +49 -0
- data/test/MultiMarkdownTest/MultiMarkdownTests/Email.tex +54 -0
- data/test/MultiMarkdownTest/MultiMarkdownTests/Email.text +31 -0
- data/test/MultiMarkdownTest/MultiMarkdownTests/English.html +25 -0
- data/test/MultiMarkdownTest/MultiMarkdownTests/English.tex +18 -0
- data/test/MultiMarkdownTest/MultiMarkdownTests/English.text +17 -0
- data/test/MultiMarkdownTest/MultiMarkdownTests/Errors.html +18 -0
- data/test/MultiMarkdownTest/MultiMarkdownTests/Errors.tex +11 -0
- data/test/MultiMarkdownTest/MultiMarkdownTests/Errors.text +11 -0
- data/test/MultiMarkdownTest/MultiMarkdownTests/Footnotes.html +48 -0
- data/test/MultiMarkdownTest/MultiMarkdownTests/Footnotes.tex +24 -0
- data/test/MultiMarkdownTest/MultiMarkdownTests/Footnotes.text +25 -0
- data/test/MultiMarkdownTest/MultiMarkdownTests/French.html +25 -0
- data/test/MultiMarkdownTest/MultiMarkdownTests/French.tex +18 -0
- data/test/MultiMarkdownTest/MultiMarkdownTests/French.text +17 -0
- data/test/MultiMarkdownTest/MultiMarkdownTests/German.html +25 -0
- data/test/MultiMarkdownTest/MultiMarkdownTests/German.tex +18 -0
- data/test/MultiMarkdownTest/MultiMarkdownTests/German.text +17 -0
- data/test/MultiMarkdownTest/MultiMarkdownTests/GermanGuillemets.html +25 -0
- data/test/MultiMarkdownTest/MultiMarkdownTests/GermanGuillemets.tex +18 -0
- data/test/MultiMarkdownTest/MultiMarkdownTests/GermanGuillemets.text +17 -0
- data/test/MultiMarkdownTest/MultiMarkdownTests/Glossary.html +48 -0
- data/test/MultiMarkdownTest/MultiMarkdownTests/Glossary.tex +26 -0
- data/test/MultiMarkdownTest/MultiMarkdownTests/Glossary.text +28 -0
- data/test/MultiMarkdownTest/MultiMarkdownTests/Headers.html +50 -0
- data/test/MultiMarkdownTest/MultiMarkdownTests/Headers.tex +54 -0
- data/test/MultiMarkdownTest/MultiMarkdownTests/Headers.text +51 -0
- data/test/MultiMarkdownTest/MultiMarkdownTests/Line Breaks.html +22 -0
- data/test/MultiMarkdownTest/MultiMarkdownTests/Line Breaks.tex +15 -0
- data/test/MultiMarkdownTest/MultiMarkdownTests/Line Breaks.text +15 -0
- data/test/MultiMarkdownTest/MultiMarkdownTests/Link Attributes.html +56 -0
- data/test/MultiMarkdownTest/MultiMarkdownTests/Link Attributes.tex +60 -0
- data/test/MultiMarkdownTest/MultiMarkdownTests/Link Attributes.text +50 -0
- data/test/MultiMarkdownTest/MultiMarkdownTests/List Parsing.html +22 -0
- data/test/MultiMarkdownTest/MultiMarkdownTests/List Parsing.tex +17 -0
- data/test/MultiMarkdownTest/MultiMarkdownTests/List Parsing.text +11 -0
- data/test/MultiMarkdownTest/MultiMarkdownTests/MarkdownInHTML.html +21 -0
- data/test/MultiMarkdownTest/MultiMarkdownTests/MarkdownInHTML.tex +13 -0
- data/test/MultiMarkdownTest/MultiMarkdownTests/MarkdownInHTML.text +19 -0
- data/test/MultiMarkdownTest/MultiMarkdownTests/Math.html +23 -0
- data/test/MultiMarkdownTest/MultiMarkdownTests/Math.tex +15 -0
- data/test/MultiMarkdownTest/MultiMarkdownTests/Math.text +15 -0
- data/test/MultiMarkdownTest/MultiMarkdownTests/MetaData.html +23 -0
- data/test/MultiMarkdownTest/MultiMarkdownTests/MetaData.tex +13 -0
- data/test/MultiMarkdownTest/MultiMarkdownTests/MetaData.text +14 -0
- data/test/MultiMarkdownTest/MultiMarkdownTests/NotMetaData.html +3 -0
- data/test/MultiMarkdownTest/MultiMarkdownTests/NotMetaData.tex +3 -0
- data/test/MultiMarkdownTest/MultiMarkdownTests/NotMetaData.text +4 -0
- data/test/MultiMarkdownTest/MultiMarkdownTests/Sanity.html +106 -0
- data/test/MultiMarkdownTest/MultiMarkdownTests/Sanity.tex +100 -0
- data/test/MultiMarkdownTest/MultiMarkdownTests/Sanity.text +77 -0
- data/test/MultiMarkdownTest/MultiMarkdownTests/SmartQuotes.html +31 -0
- data/test/MultiMarkdownTest/MultiMarkdownTests/SmartQuotes.tex +24 -0
- data/test/MultiMarkdownTest/MultiMarkdownTests/SmartQuotes.text +22 -0
- data/test/MultiMarkdownTest/MultiMarkdownTests/Swedish.html +25 -0
- data/test/MultiMarkdownTest/MultiMarkdownTests/Swedish.tex +18 -0
- data/test/MultiMarkdownTest/MultiMarkdownTests/Swedish.text +17 -0
- data/test/MultiMarkdownTest/MultiMarkdownTests/Tables.html +273 -0
- data/test/MultiMarkdownTest/MultiMarkdownTests/Tables.tex +155 -0
- data/test/MultiMarkdownTest/MultiMarkdownTests/Tables.text +71 -0
- data/test/MultiMarkdownTest/MultiMarkdownTests/bibtex.bib +119 -0
- data/test/MultiMarkdownTest/README.md +58 -0
- data/test/MultiMarkdownTest/Tests/Amps and angle encoding.html +17 -0
- data/test/MultiMarkdownTest/Tests/Amps and angle encoding.text +21 -0
- data/test/MultiMarkdownTest/Tests/Auto links.html +18 -0
- data/test/MultiMarkdownTest/Tests/Auto links.text +13 -0
- data/test/MultiMarkdownTest/Tests/Backslash escapes.html +118 -0
- data/test/MultiMarkdownTest/Tests/Backslash escapes.text +120 -0
- data/test/MultiMarkdownTest/Tests/Blockquotes with code blocks.html +15 -0
- data/test/MultiMarkdownTest/Tests/Blockquotes with code blocks.text +11 -0
- data/test/MultiMarkdownTest/Tests/Code Blocks.html +18 -0
- data/test/MultiMarkdownTest/Tests/Code Blocks.text +14 -0
- data/test/MultiMarkdownTest/Tests/Code Spans.html +6 -0
- data/test/MultiMarkdownTest/Tests/Code Spans.text +6 -0
- data/test/MultiMarkdownTest/Tests/Compatibility.html +5 -0
- data/test/MultiMarkdownTest/Tests/Compatibility.text +9 -0
- data/test/MultiMarkdownTest/Tests/Hard-wrapped paragraphs with list-like lines.html +8 -0
- data/test/MultiMarkdownTest/Tests/Hard-wrapped paragraphs with list-like lines.text +8 -0
- data/test/MultiMarkdownTest/Tests/Horizontal rules.html +71 -0
- data/test/MultiMarkdownTest/Tests/Horizontal rules.text +67 -0
- data/test/MultiMarkdownTest/Tests/Inline HTML (Advanced).html +15 -0
- data/test/MultiMarkdownTest/Tests/Inline HTML (Advanced).text +15 -0
- data/test/MultiMarkdownTest/Tests/Inline HTML (Simple).html +72 -0
- data/test/MultiMarkdownTest/Tests/Inline HTML (Simple).text +69 -0
- data/test/MultiMarkdownTest/Tests/Inline HTML comments.html +13 -0
- data/test/MultiMarkdownTest/Tests/Inline HTML comments.text +13 -0
- data/test/MultiMarkdownTest/Tests/Links, inline style.html +11 -0
- data/test/MultiMarkdownTest/Tests/Links, inline style.text +12 -0
- data/test/MultiMarkdownTest/Tests/Links, reference style.html +52 -0
- data/test/MultiMarkdownTest/Tests/Links, reference style.text +71 -0
- data/test/MultiMarkdownTest/Tests/Links, shortcut references.html +9 -0
- data/test/MultiMarkdownTest/Tests/Links, shortcut references.text +20 -0
- data/test/MultiMarkdownTest/Tests/Literal quotes in titles.html +3 -0
- data/test/MultiMarkdownTest/Tests/Literal quotes in titles.text +7 -0
- data/test/MultiMarkdownTest/Tests/Markdown Documentation - Basics.html +314 -0
- data/test/MultiMarkdownTest/Tests/Markdown Documentation - Basics.text +306 -0
- data/test/MultiMarkdownTest/Tests/Markdown Documentation - Syntax.html +942 -0
- data/test/MultiMarkdownTest/Tests/Markdown Documentation - Syntax.text +888 -0
- data/test/MultiMarkdownTest/Tests/Nested blockquotes.html +9 -0
- data/test/MultiMarkdownTest/Tests/Nested blockquotes.text +5 -0
- data/test/MultiMarkdownTest/Tests/Ordered and unordered lists.html +148 -0
- data/test/MultiMarkdownTest/Tests/Ordered and unordered lists.text +131 -0
- data/test/MultiMarkdownTest/Tests/Strong and em together.html +7 -0
- data/test/MultiMarkdownTest/Tests/Strong and em together.text +7 -0
- data/test/MultiMarkdownTest/Tests/Tabs.html +25 -0
- data/test/MultiMarkdownTest/Tests/Tabs.text +21 -0
- data/test/MultiMarkdownTest/Tests/Tidyness.html +8 -0
- data/test/MultiMarkdownTest/Tests/Tidyness.text +5 -0
- data/test/benchmark.rb +49 -0
- data/test/multimarkdown_test.rb +89 -0
- metadata +318 -0
@@ -0,0 +1,12 @@
|
|
1
|
+
\input{mmd-article-header}
|
2
|
+
\def\mytitle{MultiMarkdown BibTeX Test}
|
3
|
+
\def\latexmode{memoir}
|
4
|
+
\def\bibliocommand{\bibliography{bibtex}}
|
5
|
+
\input{mmd-article-begin-doc}
|
6
|
+
This is a test of BibTeX Support.~\citep{Knuth:1968}
|
7
|
+
|
8
|
+
And a locator.~\citep[p. 123]{Knuth:1981}
|
9
|
+
|
10
|
+
\input{mmd-memoir-footer}
|
11
|
+
|
12
|
+
\end{document}
|
@@ -0,0 +1,11 @@
|
|
1
|
+
latex input: mmd-article-header
|
2
|
+
Title: MultiMarkdown BibTeX Test
|
3
|
+
latex mode: memoir
|
4
|
+
BibTeX: bibtex
|
5
|
+
latex input: mmd-article-begin-doc
|
6
|
+
latex footer: mmd-memoir-footer
|
7
|
+
|
8
|
+
This is a test of BibTeX Support.[#Knuth:1968]
|
9
|
+
|
10
|
+
And a locator.[p. 123][#Knuth:1981]
|
11
|
+
|
@@ -0,0 +1,63 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8" ?>
|
2
|
+
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
3
|
+
<html xmlns="http://www.w3.org/1999/xhtml">
|
4
|
+
<head>
|
5
|
+
<meta name="latexinput" content="mmd-article-header"/>
|
6
|
+
<title>MultiMarkdown Citation Test</title>
|
7
|
+
<link type="text/css" rel="stylesheet" href="http://fletcherpenney.net/css/document.css"/>
|
8
|
+
<meta name="bibtex" content="fake"/>
|
9
|
+
<meta name="latexmode" content="memoir"/>
|
10
|
+
<meta name="latexinput" content="mmd-article-begin-doc"/>
|
11
|
+
<meta name="latexfooter" content="mmd-memoir-footer"/>
|
12
|
+
</head>
|
13
|
+
<body>
|
14
|
+
<p>This is a test of citations<a class="citation" href="#fn:1" title="Jump to citation">[1]<span class="citekey" style="display:none">first</span></a> for<a href="#fn:2" id="fnref:2" title="see footnote" class="footnote">[2]</a> MultiMarkdown<a class="citation" href="#fn:3" title="Jump to citation">[3]<span class="citekey" style="display:none">second</span></a>.</p>
|
15
|
+
|
16
|
+
<p>And an unlisted citation.<span class="externalcitation">[#Author:1988]</span>.</p>
|
17
|
+
|
18
|
+
<p>And now some repeats…<a href="#fn:4" id="fnref:4" title="see footnote" class="footnote">[4]</a></p>
|
19
|
+
|
20
|
+
<p>This is a test of citations<a class="citation" href="#fn:1" title="Jump to citation">[<span class="locator">p. 123</span>, 1]<span class="citekey" style="display:none">first</span></a> for MultiMarkdown<a class="citation" href="#fn:3" title="Jump to citation">[3]<span class="citekey" style="display:none">second</span></a>.</p>
|
21
|
+
|
22
|
+
<p>And an unlisted citation<span class="externalcitation">[#Author:1988]</span>.</p>
|
23
|
+
|
24
|
+
<p>Unlisted with locator.<span class="externalcitation">[test][#Author:1988]</span></p>
|
25
|
+
|
26
|
+
<p>Empty locator.<a class="citation" href="#fn:1" title="Jump to citation">[1]<span class="citekey" style="display:none">first</span></a></p>
|
27
|
+
|
28
|
+
<p>Consecutive citations.<a class="citation" href="#fn:1" title="Jump to citation">[1]<span class="citekey" style="display:none">first</span></a><a class="citation" href="#fn:3" title="Jump to citation">[3]<span class="citekey" style="display:none">second</span></a></p>
|
29
|
+
|
30
|
+
<p>Consecutive citations.<a class="citation" href="#fn:1" title="Jump to citation">[1]<span class="citekey" style="display:none">first</span></a><a class="citation" href="#fn:3" title="Jump to citation">[3]<span class="citekey" style="display:none">second</span></a></p>
|
31
|
+
|
32
|
+
<p>An “improperly” formed citation.<a class="citation" href="#fn:3" title="Jump to citation">[3]<span class="citekey" style="display:none">second</span></a></p>
|
33
|
+
|
34
|
+
<p>And an “improper” sequence.<a class="citation" href="#fn:1" title="Jump to citation">[1]<span class="citekey" style="display:none">first</span></a><a class="citation" href="#fn:3" title="Jump to citation">[3]<span class="citekey" style="display:none">second</span></a></p>
|
35
|
+
|
36
|
+
<p><span class="notcited" id="5"><span class="citekey" style="display:none">third</span></span></p>
|
37
|
+
|
38
|
+
<div class="footnotes">
|
39
|
+
<hr />
|
40
|
+
<ol>
|
41
|
+
|
42
|
+
<li id="fn:1" class="citation"><span class="citekey" style="display:none">first</span><p>John Doe. <em>A Totally Fake Book</em>. Vanity Press, 2006.</p>
|
43
|
+
</li>
|
44
|
+
|
45
|
+
<li id="fn:2">
|
46
|
+
<p>A footnote for good measure.</p> <a href="#fnref:2" title="return to article" class="reversefootnote"> ↩</a>
|
47
|
+
</li>
|
48
|
+
|
49
|
+
<li id="fn:3" class="citation"><span class="citekey" style="display:none">second</span><p>Jane Doe. <em>Another Totally Fake Book</em>. Vanity Press, 2008.</p>
|
50
|
+
</li>
|
51
|
+
|
52
|
+
<li id="fn:4">
|
53
|
+
<p>And another footnote</p> <a href="#fnref:4" title="return to article" class="reversefootnote"> ↩</a>
|
54
|
+
</li>
|
55
|
+
|
56
|
+
<li id="fn:5" class="citation"><span class="citekey" style="display:none">third</span><p>Jim Doe. <em>Yet Another Fake Book</em>. Vanity Press, 2010.</p>
|
57
|
+
</li>
|
58
|
+
|
59
|
+
</ol>
|
60
|
+
</div>
|
61
|
+
|
62
|
+
</body>
|
63
|
+
</html>
|
@@ -0,0 +1,48 @@
|
|
1
|
+
\input{mmd-article-header}
|
2
|
+
\def\mytitle{MultiMarkdown Citation Test}
|
3
|
+
\def\bibliocommand{\bibliography{fake}}
|
4
|
+
\def\latexmode{memoir}
|
5
|
+
\input{mmd-article-begin-doc}
|
6
|
+
This is a test of citations~\citep{first} for\footnote{A footnote for good measure.} MultiMarkdown~\citep{second}.
|
7
|
+
|
8
|
+
And an unlisted citation.~\citep{Author:1988}.
|
9
|
+
|
10
|
+
And now some repeats{\ldots}\footnote{And another footnote}
|
11
|
+
|
12
|
+
This is a test of citations~\citep[p. 123]{first} for MultiMarkdown~\citep{second}.
|
13
|
+
|
14
|
+
And an unlisted citation~\citep{Author:1988}.
|
15
|
+
|
16
|
+
Unlisted with locator.~\citep[test]{Author:1988}
|
17
|
+
|
18
|
+
Empty locator.~\citep{first}
|
19
|
+
|
20
|
+
Consecutive citations.~\citep{first}~\citep{second}
|
21
|
+
|
22
|
+
Consecutive citations.~\citep{first}~\citep{second}
|
23
|
+
|
24
|
+
An ``improperly'' formed citation.~\citep{second}
|
25
|
+
|
26
|
+
And an ``improper'' sequence.~\citep{first}~\citep{second}
|
27
|
+
|
28
|
+
~\nocite{third}
|
29
|
+
|
30
|
+
\begin{thebibliography}{0}
|
31
|
+
|
32
|
+
\bibitem{first}
|
33
|
+
John Doe. \emph{A Totally Fake Book}. Vanity Press, 2006.
|
34
|
+
|
35
|
+
|
36
|
+
\bibitem{second}
|
37
|
+
Jane Doe. \emph{Another Totally Fake Book}. Vanity Press, 2008.
|
38
|
+
|
39
|
+
|
40
|
+
\bibitem{third}
|
41
|
+
Jim Doe. \emph{Yet Another Fake Book}. Vanity Press, 2010.
|
42
|
+
|
43
|
+
|
44
|
+
\end{thebibliography}
|
45
|
+
|
46
|
+
\input{mmd-memoir-footer}
|
47
|
+
|
48
|
+
\end{document}
|
@@ -0,0 +1,43 @@
|
|
1
|
+
latex input: mmd-article-header
|
2
|
+
Title: MultiMarkdown Citation Test
|
3
|
+
CSS: http://fletcherpenney.net/css/document.css
|
4
|
+
BibTex: fake
|
5
|
+
latex mode: memoir
|
6
|
+
latex input: mmd-article-begin-doc
|
7
|
+
latex footer: mmd-memoir-footer
|
8
|
+
|
9
|
+
This is a test of citations[#first] for[^note] MultiMarkdown[#second].
|
10
|
+
|
11
|
+
And an unlisted citation.[#Author:1988].
|
12
|
+
|
13
|
+
And now some repeats...[^note2]
|
14
|
+
|
15
|
+
This is a test of citations[p. 123][#first] for MultiMarkdown[#second].
|
16
|
+
|
17
|
+
And an unlisted citation[#Author:1988].
|
18
|
+
|
19
|
+
Unlisted with locator.[test][#Author:1988]
|
20
|
+
|
21
|
+
Empty locator.[#first][]
|
22
|
+
|
23
|
+
Consecutive citations.[#first][#second]
|
24
|
+
|
25
|
+
Consecutive citations.[#first][][#second][]
|
26
|
+
|
27
|
+
An "improperly" formed citation.[][#second]
|
28
|
+
|
29
|
+
And an "improper" sequence.[][#first][][#second]
|
30
|
+
|
31
|
+
|
32
|
+
[not cited][#third]
|
33
|
+
|
34
|
+
|
35
|
+
[#first]: John Doe. *A Totally Fake Book*. Vanity Press, 2006.
|
36
|
+
|
37
|
+
[#second]: Jane Doe. *Another Totally Fake Book*. Vanity Press, 2008.
|
38
|
+
|
39
|
+
[#third]: Jim Doe. *Yet Another Fake Book*. Vanity Press, 2010.
|
40
|
+
|
41
|
+
[^note]: A footnote for good measure.
|
42
|
+
|
43
|
+
[^note2]: And another footnote
|
@@ -0,0 +1,61 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8" ?>
|
2
|
+
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
3
|
+
<html xmlns="http://www.w3.org/1999/xhtml">
|
4
|
+
<head>
|
5
|
+
<meta name="latexinput" content="mmd-article-header"/>
|
6
|
+
<title>MultiMarkdown Definition List Test</title>
|
7
|
+
<meta name="latexmode" content="memoir"/>
|
8
|
+
<meta name="latexinput" content="mmd-article-begin-doc"/>
|
9
|
+
<meta name="latexfooter" content="mmd-memoir-footer"/>
|
10
|
+
</head>
|
11
|
+
<body>
|
12
|
+
<dl>
|
13
|
+
<dt>Term 1
|
14
|
+
</dt>
|
15
|
+
<dt>Term 2
|
16
|
+
</dt>
|
17
|
+
<dd>Definition a</dd>
|
18
|
+
|
19
|
+
<dt>Term 3
|
20
|
+
</dt>
|
21
|
+
<dd>Definition b</dd>
|
22
|
+
|
23
|
+
<dd>Definition c</dd>
|
24
|
+
|
25
|
+
<dt>Term 1
|
26
|
+
</dt>
|
27
|
+
<dd>
|
28
|
+
<p>This is a definition with two paragraphs. Lorem ipsum
|
29
|
+
dolor sit amet, consectetuer adipiscing elit. Aliquam
|
30
|
+
hendrerit mi posuere lectus.</p>
|
31
|
+
|
32
|
+
<p>Vestibulum enim wisi, viverra nec, fringilla in, laoreet
|
33
|
+
vitae, risus.</p></dd>
|
34
|
+
|
35
|
+
<dd>
|
36
|
+
<p>Second definition for term 1, also wrapped in a paragraph
|
37
|
+
because of the blank line preceding it.</p></dd>
|
38
|
+
|
39
|
+
<dt>Term 2
|
40
|
+
</dt>
|
41
|
+
<dd>
|
42
|
+
<p>This definition has a code block, a blockquote and a list.</p>
|
43
|
+
|
44
|
+
<pre><code>code block.
|
45
|
+
</code></pre>
|
46
|
+
|
47
|
+
<blockquote>
|
48
|
+
<p>block quote
|
49
|
+
on two lines.</p>
|
50
|
+
</blockquote>
|
51
|
+
|
52
|
+
<ol>
|
53
|
+
<li>first list item</li>
|
54
|
+
<li>second list item</li>
|
55
|
+
</ol></dd>
|
56
|
+
</dl>
|
57
|
+
|
58
|
+
|
59
|
+
<p>And this is a regular paragraph.</p>
|
60
|
+
</body>
|
61
|
+
</html>
|
@@ -0,0 +1,58 @@
|
|
1
|
+
\input{mmd-article-header}
|
2
|
+
\def\mytitle{MultiMarkdown Definition List Test}
|
3
|
+
\def\latexmode{memoir}
|
4
|
+
\input{mmd-article-begin-doc}
|
5
|
+
\begin{description}
|
6
|
+
|
7
|
+
\item[Term 1]
|
8
|
+
|
9
|
+
\item[Term 2]
|
10
|
+
|
11
|
+
Definition a
|
12
|
+
|
13
|
+
\item[Term 3]
|
14
|
+
|
15
|
+
Definition b
|
16
|
+
|
17
|
+
Definition c
|
18
|
+
|
19
|
+
\item[Term 1]
|
20
|
+
|
21
|
+
This is a definition with two paragraphs. Lorem ipsum
|
22
|
+
dolor sit amet, consectetuer adipiscing elit. Aliquam
|
23
|
+
hendrerit mi posuere lectus.
|
24
|
+
|
25
|
+
Vestibulum enim wisi, viverra nec, fringilla in, laoreet
|
26
|
+
vitae, risus.
|
27
|
+
|
28
|
+
Second definition for term 1, also wrapped in a paragraph
|
29
|
+
because of the blank line preceding it.
|
30
|
+
|
31
|
+
\item[Term 2]
|
32
|
+
|
33
|
+
This definition has a code block, a blockquote and a list.
|
34
|
+
|
35
|
+
\begin{verbatim}
|
36
|
+
code block.
|
37
|
+
\end{verbatim}
|
38
|
+
|
39
|
+
|
40
|
+
\begin{quote}
|
41
|
+
|
42
|
+
block quote
|
43
|
+
on two lines.
|
44
|
+
\end{quote}
|
45
|
+
|
46
|
+
\begin{enumerate}
|
47
|
+
\item first list item
|
48
|
+
|
49
|
+
\item second list item
|
50
|
+
|
51
|
+
\end{enumerate}
|
52
|
+
\end{description}
|
53
|
+
|
54
|
+
And this is a regular paragraph.
|
55
|
+
|
56
|
+
\input{mmd-memoir-footer}
|
57
|
+
|
58
|
+
\end{document}
|
@@ -0,0 +1,40 @@
|
|
1
|
+
latex input: mmd-article-header
|
2
|
+
Title: MultiMarkdown Definition List Test
|
3
|
+
latex mode: memoir
|
4
|
+
latex input: mmd-article-begin-doc
|
5
|
+
latex footer: mmd-memoir-footer
|
6
|
+
|
7
|
+
Term 1
|
8
|
+
Term 2
|
9
|
+
: Definition a
|
10
|
+
|
11
|
+
Term 3
|
12
|
+
: Definition b
|
13
|
+
: Definition c
|
14
|
+
|
15
|
+
|
16
|
+
Term 1
|
17
|
+
|
18
|
+
: This is a definition with two paragraphs. Lorem ipsum
|
19
|
+
dolor sit amet, consectetuer adipiscing elit. Aliquam
|
20
|
+
hendrerit mi posuere lectus.
|
21
|
+
|
22
|
+
Vestibulum enim wisi, viverra nec, fringilla in, laoreet
|
23
|
+
vitae, risus.
|
24
|
+
|
25
|
+
: Second definition for term 1, also wrapped in a paragraph
|
26
|
+
because of the blank line preceding it.
|
27
|
+
|
28
|
+
Term 2
|
29
|
+
|
30
|
+
: This definition has a code block, a blockquote and a list.
|
31
|
+
|
32
|
+
code block.
|
33
|
+
|
34
|
+
> block quote
|
35
|
+
> on two lines.
|
36
|
+
|
37
|
+
1. first list item
|
38
|
+
2. second list item
|
39
|
+
|
40
|
+
And this is a regular paragraph.
|
@@ -0,0 +1,23 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8" ?>
|
2
|
+
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
3
|
+
<html xmlns="http://www.w3.org/1999/xhtml">
|
4
|
+
<head>
|
5
|
+
<meta name="latexinput" content="mmd-article-header"/>
|
6
|
+
<title>MultiMarkdown Dutch Test</title>
|
7
|
+
<meta name="latexinput" content="mmd-article-begin-doc"/>
|
8
|
+
<meta name="latexfooter" content="mmd-memoir-footer"/>
|
9
|
+
</head>
|
10
|
+
<body>
|
11
|
+
<p>‘this is a single quote’</p>
|
12
|
+
|
13
|
+
<p>„this is a double quote”</p>
|
14
|
+
|
15
|
+
<p>this isn’t an apostrophe.</p>
|
16
|
+
|
17
|
+
<p>this is an em — dash</p>
|
18
|
+
|
19
|
+
<p>this is an en – dash</p>
|
20
|
+
|
21
|
+
<p>and an ellipsis…</p>
|
22
|
+
</body>
|
23
|
+
</html>
|
@@ -0,0 +1,18 @@
|
|
1
|
+
\input{mmd-article-header}
|
2
|
+
\def\mytitle{MultiMarkdown Dutch Test}
|
3
|
+
\input{mmd-article-begin-doc}
|
4
|
+
`this is a single quote'
|
5
|
+
|
6
|
+
„this is a double quote''
|
7
|
+
|
8
|
+
this isn't an apostrophe.
|
9
|
+
|
10
|
+
this is an em --- dash
|
11
|
+
|
12
|
+
this is an en -- dash
|
13
|
+
|
14
|
+
and an ellipsis{\ldots}
|
15
|
+
|
16
|
+
\input{mmd-memoir-footer}
|
17
|
+
|
18
|
+
\end{document}
|
@@ -0,0 +1,17 @@
|
|
1
|
+
latex input: mmd-article-header
|
2
|
+
Title: MultiMarkdown Dutch Test
|
3
|
+
quoteslanguage: dutch
|
4
|
+
latex input: mmd-article-begin-doc
|
5
|
+
latex footer: mmd-memoir-footer
|
6
|
+
|
7
|
+
'this is a single quote'
|
8
|
+
|
9
|
+
"this is a double quote"
|
10
|
+
|
11
|
+
this isn't an apostrophe.
|
12
|
+
|
13
|
+
this is an em --- dash
|
14
|
+
|
15
|
+
this is an en -- dash
|
16
|
+
|
17
|
+
and an ellipsis...
|
@@ -0,0 +1,48 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8" ?>
|
2
|
+
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
3
|
+
<html xmlns="http://www.w3.org/1999/xhtml">
|
4
|
+
<head>
|
5
|
+
<meta name="latexinput" content="mmd-article-header"/>
|
6
|
+
<title>Email Test</title>
|
7
|
+
<meta name="latexmode" content="memoir"/>
|
8
|
+
<meta name="latexinput" content="mmd-article-begin-doc"/>
|
9
|
+
<meta name="latexfooter" content="mmd-memoir-footer"/>
|
10
|
+
</head>
|
11
|
+
<body>
|
12
|
+
<p>Link: <a href="mailto:user67@example.com">user67@example.com</a>.</p>
|
13
|
+
|
14
|
+
<ul>
|
15
|
+
<li>In a list?</li>
|
16
|
+
<li><a href="mailto:user67@example.com">user67@example.com</a></li>
|
17
|
+
<li>It should.</li>
|
18
|
+
</ul>
|
19
|
+
|
20
|
+
<blockquote>
|
21
|
+
<p>Blockquoted: <a href="mailto:user67@example.com">user67@example.com</a></p>
|
22
|
+
</blockquote>
|
23
|
+
|
24
|
+
<p>Auto-links should not occur here: <code><user67@example.com></code></p>
|
25
|
+
|
26
|
+
<pre><code>or here: <user67@example.com>
|
27
|
+
</code></pre>
|
28
|
+
|
29
|
+
<p>And with the mailto bit:</p>
|
30
|
+
|
31
|
+
<p>Link: <a href="mailto:user67@example.com">user67@example.com</a>.</p>
|
32
|
+
|
33
|
+
<ul>
|
34
|
+
<li>In a list?</li>
|
35
|
+
<li><a href="mailto:user67@example.com">user67@example.com</a></li>
|
36
|
+
<li>It should.</li>
|
37
|
+
</ul>
|
38
|
+
|
39
|
+
<blockquote>
|
40
|
+
<p>Blockquoted: <a href="mailto:user67@example.com">user67@example.com</a></p>
|
41
|
+
</blockquote>
|
42
|
+
|
43
|
+
<p>Auto-links should not occur here: <code><mailto:user67@example.com></code></p>
|
44
|
+
|
45
|
+
<pre><code>or here: <mailto:user67@example.com>
|
46
|
+
</code></pre>
|
47
|
+
</body>
|
48
|
+
</html>
|
@@ -0,0 +1,61 @@
|
|
1
|
+
\input{mmd-article-header}
|
2
|
+
\def\mytitle{Email Test}
|
3
|
+
\def\latexmode{memoir}
|
4
|
+
\input{mmd-article-begin-doc}
|
5
|
+
Link: \href{mailto:user67@example.com}{user67@example.com}.
|
6
|
+
|
7
|
+
\begin{itemize}
|
8
|
+
\item In a list?
|
9
|
+
|
10
|
+
\item \href{mailto:user67@example.com}{user67@example.com}
|
11
|
+
|
12
|
+
\item It should.
|
13
|
+
|
14
|
+
\end{itemize}
|
15
|
+
|
16
|
+
\begin{quote}
|
17
|
+
|
18
|
+
Blockquoted: \href{mailto:user67@example.com}{user67@example.com}
|
19
|
+
\end{quote}
|
20
|
+
|
21
|
+
Auto-links should not occur here: \texttt{$<$user67@example.com$>$}
|
22
|
+
|
23
|
+
\begin{adjustwidth}{2.5em}{2.5em}
|
24
|
+
\begin{verbatim}
|
25
|
+
|
26
|
+
or here: <user67@example.com>
|
27
|
+
|
28
|
+
\end{verbatim}
|
29
|
+
\end{adjustwidth}
|
30
|
+
|
31
|
+
And with the mailto bit:
|
32
|
+
|
33
|
+
Link: \href{mailto:user67@example.com}{user67@example.com}.
|
34
|
+
|
35
|
+
\begin{itemize}
|
36
|
+
\item In a list?
|
37
|
+
|
38
|
+
\item \href{mailto:user67@example.com}{user67@example.com}
|
39
|
+
|
40
|
+
\item It should.
|
41
|
+
|
42
|
+
\end{itemize}
|
43
|
+
|
44
|
+
\begin{quote}
|
45
|
+
|
46
|
+
Blockquoted: \href{mailto:user67@example.com}{user67@example.com}
|
47
|
+
\end{quote}
|
48
|
+
|
49
|
+
Auto-links should not occur here: \texttt{$<$mailto:user67@example.com$>$}
|
50
|
+
|
51
|
+
\begin{adjustwidth}{2.5em}{2.5em}
|
52
|
+
\begin{verbatim}
|
53
|
+
|
54
|
+
or here: <mailto:user67@example.com>
|
55
|
+
|
56
|
+
\end{verbatim}
|
57
|
+
\end{adjustwidth}
|
58
|
+
|
59
|
+
\input{mmd-memoir-footer}
|
60
|
+
|
61
|
+
\end{document}
|
@@ -0,0 +1,32 @@
|
|
1
|
+
latex input: mmd-article-header
|
2
|
+
Title: Email Test
|
3
|
+
latex mode: memoir
|
4
|
+
latex input: mmd-article-begin-doc
|
5
|
+
latex footer: mmd-memoir-footer
|
6
|
+
|
7
|
+
Link: <user67@example.com>.
|
8
|
+
|
9
|
+
* In a list?
|
10
|
+
* <user67@example.com>
|
11
|
+
* It should.
|
12
|
+
|
13
|
+
> Blockquoted: <user67@example.com>
|
14
|
+
|
15
|
+
Auto-links should not occur here: `<user67@example.com>`
|
16
|
+
|
17
|
+
or here: <user67@example.com>
|
18
|
+
|
19
|
+
|
20
|
+
And with the mailto bit:
|
21
|
+
|
22
|
+
Link: <mailto:user67@example.com>.
|
23
|
+
|
24
|
+
* In a list?
|
25
|
+
* <mailto:user67@example.com>
|
26
|
+
* It should.
|
27
|
+
|
28
|
+
> Blockquoted: <mailto:user67@example.com>
|
29
|
+
|
30
|
+
Auto-links should not occur here: `<mailto:user67@example.com>`
|
31
|
+
|
32
|
+
or here: <mailto:user67@example.com>
|
@@ -0,0 +1,23 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8" ?>
|
2
|
+
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
3
|
+
<html xmlns="http://www.w3.org/1999/xhtml">
|
4
|
+
<head>
|
5
|
+
<meta name="latexinput" content="mmd-article-header"/>
|
6
|
+
<title>MultiMarkdown English Test</title>
|
7
|
+
<meta name="latexinput" content="mmd-article-begin-doc"/>
|
8
|
+
<meta name="latexfooter" content="mmd-memoir-footer"/>
|
9
|
+
</head>
|
10
|
+
<body>
|
11
|
+
<p>‘this is a single quote’</p>
|
12
|
+
|
13
|
+
<p>“this is a double quote”</p>
|
14
|
+
|
15
|
+
<p>this isn’t an apostrophe.</p>
|
16
|
+
|
17
|
+
<p>this is an em — dash</p>
|
18
|
+
|
19
|
+
<p>this is an en – dash</p>
|
20
|
+
|
21
|
+
<p>and an ellipsis…</p>
|
22
|
+
</body>
|
23
|
+
</html>
|
@@ -0,0 +1,18 @@
|
|
1
|
+
\input{mmd-article-header}
|
2
|
+
\def\mytitle{MultiMarkdown English Test}
|
3
|
+
\input{mmd-article-begin-doc}
|
4
|
+
`this is a single quote'
|
5
|
+
|
6
|
+
``this is a double quote''
|
7
|
+
|
8
|
+
this isn't an apostrophe.
|
9
|
+
|
10
|
+
this is an em --- dash
|
11
|
+
|
12
|
+
this is an en -- dash
|
13
|
+
|
14
|
+
and an ellipsis{\ldots}
|
15
|
+
|
16
|
+
\input{mmd-memoir-footer}
|
17
|
+
|
18
|
+
\end{document}
|
@@ -0,0 +1,17 @@
|
|
1
|
+
latex input: mmd-article-header
|
2
|
+
Title: MultiMarkdown English Test
|
3
|
+
quoteslanguage: english
|
4
|
+
latex input: mmd-article-begin-doc
|
5
|
+
latex footer: mmd-memoir-footer
|
6
|
+
|
7
|
+
'this is a single quote'
|
8
|
+
|
9
|
+
"this is a double quote"
|
10
|
+
|
11
|
+
this isn't an apostrophe.
|
12
|
+
|
13
|
+
this is an em --- dash
|
14
|
+
|
15
|
+
this is an en -- dash
|
16
|
+
|
17
|
+
and an ellipsis...
|
@@ -0,0 +1,47 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8" ?>
|
2
|
+
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
3
|
+
<html xmlns="http://www.w3.org/1999/xhtml">
|
4
|
+
<head>
|
5
|
+
<meta name="latexinput" content="mmd-article-header"/>
|
6
|
+
<title>MultiMarkdown Footer Test</title>
|
7
|
+
<meta name="latexmode" content="memoir"/>
|
8
|
+
<meta name="latexinput" content="mmd-article-begin-doc"/>
|
9
|
+
<meta name="latexfooter" content="mmd-memoir-footer"/>
|
10
|
+
</head>
|
11
|
+
<body>
|
12
|
+
<p>Here is some text containing a footnote.<a href="#fn:1" id="fnref:1" title="see footnote" class="footnote">[1]</a></p>
|
13
|
+
|
14
|
+
<blockquote>
|
15
|
+
<p>And here is a footnote within a blockquote, should be labelled #2.<a href="#fn:2" id="fnref:2" title="see footnote" class="footnote">[2]</a></p>
|
16
|
+
</blockquote>
|
17
|
+
|
18
|
+
<p>And this is a codeblock, that should not be a footnote:</p>
|
19
|
+
|
20
|
+
<pre><code>This is code.[^somesamplefootnote]
|
21
|
+
</code></pre>
|
22
|
+
|
23
|
+
<p>And this is a short footnote for testing.<a href="#fn:3" id="fnref:3" title="see footnote" class="footnote">[3]</a></p>
|
24
|
+
|
25
|
+
<p>And now, reuse a footnote.<a href="#fn:3" title="see footnote" class="footnote">[3]</a></p>
|
26
|
+
|
27
|
+
<div class="footnotes">
|
28
|
+
<hr />
|
29
|
+
<ol>
|
30
|
+
|
31
|
+
<li id="fn:1">
|
32
|
+
<p>Here is the text of the footnote itself. It also has a <a href="http://somelink.com">link</a>.</p> <a href="#fnref:1" title="return to article" class="reversefootnote"> ↩</a>
|
33
|
+
</li>
|
34
|
+
|
35
|
+
<li id="fn:2">
|
36
|
+
<p>Note # 2.</p> <a href="#fnref:2" title="return to article" class="reversefootnote"> ↩</a>
|
37
|
+
</li>
|
38
|
+
|
39
|
+
<li id="fn:3">
|
40
|
+
<p>Finis</p> <a href="#fnref:3" title="return to article" class="reversefootnote"> ↩</a>
|
41
|
+
</li>
|
42
|
+
|
43
|
+
</ol>
|
44
|
+
</div>
|
45
|
+
|
46
|
+
</body>
|
47
|
+
</html>
|