rpeg-multimarkdown 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (214) hide show
  1. data/LICENSE +94 -0
  2. data/README.markdown +58 -0
  3. data/Rakefile +171 -0
  4. data/bin/rpeg-multimarkdown +128 -0
  5. data/ext/extconf.h +3 -0
  6. data/ext/extconf.rb +15 -0
  7. data/ext/markdown.c +88 -0
  8. data/ext/markdown_lib.c +211 -0
  9. data/ext/markdown_lib.h +28 -0
  10. data/ext/markdown_output.c +2704 -0
  11. data/ext/markdown_parser.c +8275 -0
  12. data/ext/markdown_peg.h +142 -0
  13. data/ext/odf.c +179 -0
  14. data/ext/odf.h +3 -0
  15. data/ext/parsing_functions.c +182 -0
  16. data/ext/utility_functions.c +535 -0
  17. data/lib/multimarkdown.rb +1 -0
  18. data/lib/peg_multimarkdown.rb +74 -0
  19. data/test/MultiMarkdownTest/BeamerTests/Beamer-Tables.html +76 -0
  20. data/test/MultiMarkdownTest/BeamerTests/Beamer-Tables.tex +64 -0
  21. data/test/MultiMarkdownTest/BeamerTests/Beamer-Tables.text +38 -0
  22. data/test/MultiMarkdownTest/MarkdownTest.pl +182 -0
  23. data/test/MultiMarkdownTest/MemoirTests/Automatic Labels.html +42 -0
  24. data/test/MultiMarkdownTest/MemoirTests/Automatic Labels.tex +47 -0
  25. data/test/MultiMarkdownTest/MemoirTests/Automatic Labels.text +46 -0
  26. data/test/MultiMarkdownTest/MemoirTests/Base Header Level.html +20 -0
  27. data/test/MultiMarkdownTest/MemoirTests/Base Header Level.tex +19 -0
  28. data/test/MultiMarkdownTest/MemoirTests/Base Header Level.text +16 -0
  29. data/test/MultiMarkdownTest/MemoirTests/BibTeX.html +17 -0
  30. data/test/MultiMarkdownTest/MemoirTests/BibTeX.tex +12 -0
  31. data/test/MultiMarkdownTest/MemoirTests/BibTeX.text +11 -0
  32. data/test/MultiMarkdownTest/MemoirTests/Citations.html +63 -0
  33. data/test/MultiMarkdownTest/MemoirTests/Citations.tex +48 -0
  34. data/test/MultiMarkdownTest/MemoirTests/Citations.text +43 -0
  35. data/test/MultiMarkdownTest/MemoirTests/Definition Lists.html +61 -0
  36. data/test/MultiMarkdownTest/MemoirTests/Definition Lists.tex +63 -0
  37. data/test/MultiMarkdownTest/MemoirTests/Definition Lists.text +40 -0
  38. data/test/MultiMarkdownTest/MemoirTests/Dutch.html +23 -0
  39. data/test/MultiMarkdownTest/MemoirTests/Dutch.tex +18 -0
  40. data/test/MultiMarkdownTest/MemoirTests/Dutch.text +17 -0
  41. data/test/MultiMarkdownTest/MemoirTests/Email.html +48 -0
  42. data/test/MultiMarkdownTest/MemoirTests/Email.tex +61 -0
  43. data/test/MultiMarkdownTest/MemoirTests/Email.text +32 -0
  44. data/test/MultiMarkdownTest/MemoirTests/English.html +23 -0
  45. data/test/MultiMarkdownTest/MemoirTests/English.tex +18 -0
  46. data/test/MultiMarkdownTest/MemoirTests/English.text +17 -0
  47. data/test/MultiMarkdownTest/MemoirTests/Footnotes.html +47 -0
  48. data/test/MultiMarkdownTest/MemoirTests/Footnotes.tex +28 -0
  49. data/test/MultiMarkdownTest/MemoirTests/Footnotes.text +26 -0
  50. data/test/MultiMarkdownTest/MemoirTests/French.html +23 -0
  51. data/test/MultiMarkdownTest/MemoirTests/French.tex +18 -0
  52. data/test/MultiMarkdownTest/MemoirTests/French.text +17 -0
  53. data/test/MultiMarkdownTest/MemoirTests/German.html +23 -0
  54. data/test/MultiMarkdownTest/MemoirTests/German.tex +18 -0
  55. data/test/MultiMarkdownTest/MemoirTests/German.text +17 -0
  56. data/test/MultiMarkdownTest/MemoirTests/GermanGuillemets.html +23 -0
  57. data/test/MultiMarkdownTest/MemoirTests/GermanGuillemets.tex +18 -0
  58. data/test/MultiMarkdownTest/MemoirTests/GermanGuillemets.text +17 -0
  59. data/test/MultiMarkdownTest/MemoirTests/Glossary.html +47 -0
  60. data/test/MultiMarkdownTest/MemoirTests/Glossary.tex +30 -0
  61. data/test/MultiMarkdownTest/MemoirTests/Glossary.text +29 -0
  62. data/test/MultiMarkdownTest/MemoirTests/Line Breaks.html +21 -0
  63. data/test/MultiMarkdownTest/MemoirTests/Line Breaks.tex +16 -0
  64. data/test/MultiMarkdownTest/MemoirTests/Line Breaks.text +16 -0
  65. data/test/MultiMarkdownTest/MemoirTests/Link Attributes.html +40 -0
  66. data/test/MultiMarkdownTest/MemoirTests/Link Attributes.tex +61 -0
  67. data/test/MultiMarkdownTest/MemoirTests/Link Attributes.text +51 -0
  68. data/test/MultiMarkdownTest/MemoirTests/Math.html +22 -0
  69. data/test/MultiMarkdownTest/MemoirTests/Math.tex +16 -0
  70. data/test/MultiMarkdownTest/MemoirTests/Math.text +16 -0
  71. data/test/MultiMarkdownTest/MemoirTests/Memoir Mode.html +24 -0
  72. data/test/MultiMarkdownTest/MemoirTests/Memoir Mode.tex +23 -0
  73. data/test/MultiMarkdownTest/MemoirTests/Memoir Mode.text +20 -0
  74. data/test/MultiMarkdownTest/MemoirTests/MetaData.html +22 -0
  75. data/test/MultiMarkdownTest/MemoirTests/MetaData.tex +14 -0
  76. data/test/MultiMarkdownTest/MemoirTests/MetaData.text +15 -0
  77. data/test/MultiMarkdownTest/MemoirTests/Sanity.html +100 -0
  78. data/test/MultiMarkdownTest/MemoirTests/Sanity.tex +101 -0
  79. data/test/MultiMarkdownTest/MemoirTests/Sanity.text +78 -0
  80. data/test/MultiMarkdownTest/MemoirTests/SmartQuotes.html +26 -0
  81. data/test/MultiMarkdownTest/MemoirTests/SmartQuotes.tex +21 -0
  82. data/test/MultiMarkdownTest/MemoirTests/SmartQuotes.text +19 -0
  83. data/test/MultiMarkdownTest/MemoirTests/Swedish.html +23 -0
  84. data/test/MultiMarkdownTest/MemoirTests/Swedish.tex +18 -0
  85. data/test/MultiMarkdownTest/MemoirTests/Swedish.text +17 -0
  86. data/test/MultiMarkdownTest/MemoirTests/Tables.html +221 -0
  87. data/test/MultiMarkdownTest/MemoirTests/Tables.tex +134 -0
  88. data/test/MultiMarkdownTest/MemoirTests/Tables.text +64 -0
  89. data/test/MultiMarkdownTest/MultiMarkdownTests/Automatic Labels.html +41 -0
  90. data/test/MultiMarkdownTest/MultiMarkdownTests/Automatic Labels.tex +46 -0
  91. data/test/MultiMarkdownTest/MultiMarkdownTests/Automatic Labels.text +45 -0
  92. data/test/MultiMarkdownTest/MultiMarkdownTests/Base Header Level.html +20 -0
  93. data/test/MultiMarkdownTest/MultiMarkdownTests/Base Header Level.tex +19 -0
  94. data/test/MultiMarkdownTest/MultiMarkdownTests/Base Header Level.text +16 -0
  95. data/test/MultiMarkdownTest/MultiMarkdownTests/BibTeX.html +16 -0
  96. data/test/MultiMarkdownTest/MultiMarkdownTests/BibTeX.tex +11 -0
  97. data/test/MultiMarkdownTest/MultiMarkdownTests/BibTex.text +10 -0
  98. data/test/MultiMarkdownTest/MultiMarkdownTests/Citations.html +62 -0
  99. data/test/MultiMarkdownTest/MultiMarkdownTests/Citations.tex +47 -0
  100. data/test/MultiMarkdownTest/MultiMarkdownTests/Citations.text +42 -0
  101. data/test/MultiMarkdownTest/MultiMarkdownTests/Definition Lists.html +60 -0
  102. data/test/MultiMarkdownTest/MultiMarkdownTests/Definition Lists.tex +62 -0
  103. data/test/MultiMarkdownTest/MultiMarkdownTests/Definition Lists.text +39 -0
  104. data/test/MultiMarkdownTest/MultiMarkdownTests/Dutch.html +23 -0
  105. data/test/MultiMarkdownTest/MultiMarkdownTests/Dutch.tex +18 -0
  106. data/test/MultiMarkdownTest/MultiMarkdownTests/Dutch.text +17 -0
  107. data/test/MultiMarkdownTest/MultiMarkdownTests/Email.html +47 -0
  108. data/test/MultiMarkdownTest/MultiMarkdownTests/Email.tex +54 -0
  109. data/test/MultiMarkdownTest/MultiMarkdownTests/Email.text +31 -0
  110. data/test/MultiMarkdownTest/MultiMarkdownTests/English.html +23 -0
  111. data/test/MultiMarkdownTest/MultiMarkdownTests/English.tex +18 -0
  112. data/test/MultiMarkdownTest/MultiMarkdownTests/English.text +17 -0
  113. data/test/MultiMarkdownTest/MultiMarkdownTests/Errors.html +16 -0
  114. data/test/MultiMarkdownTest/MultiMarkdownTests/Errors.tex +11 -0
  115. data/test/MultiMarkdownTest/MultiMarkdownTests/Errors.text +11 -0
  116. data/test/MultiMarkdownTest/MultiMarkdownTests/Footnotes.html +46 -0
  117. data/test/MultiMarkdownTest/MultiMarkdownTests/Footnotes.tex +24 -0
  118. data/test/MultiMarkdownTest/MultiMarkdownTests/Footnotes.text +25 -0
  119. data/test/MultiMarkdownTest/MultiMarkdownTests/French.html +23 -0
  120. data/test/MultiMarkdownTest/MultiMarkdownTests/French.tex +18 -0
  121. data/test/MultiMarkdownTest/MultiMarkdownTests/French.text +17 -0
  122. data/test/MultiMarkdownTest/MultiMarkdownTests/German.html +23 -0
  123. data/test/MultiMarkdownTest/MultiMarkdownTests/German.tex +18 -0
  124. data/test/MultiMarkdownTest/MultiMarkdownTests/German.text +17 -0
  125. data/test/MultiMarkdownTest/MultiMarkdownTests/GermanGuillemets.html +23 -0
  126. data/test/MultiMarkdownTest/MultiMarkdownTests/GermanGuillemets.tex +18 -0
  127. data/test/MultiMarkdownTest/MultiMarkdownTests/GermanGuillemets.text +17 -0
  128. data/test/MultiMarkdownTest/MultiMarkdownTests/Glossary.html +46 -0
  129. data/test/MultiMarkdownTest/MultiMarkdownTests/Glossary.tex +26 -0
  130. data/test/MultiMarkdownTest/MultiMarkdownTests/Glossary.text +28 -0
  131. data/test/MultiMarkdownTest/MultiMarkdownTests/Headers.html +46 -0
  132. data/test/MultiMarkdownTest/MultiMarkdownTests/Headers.tex +52 -0
  133. data/test/MultiMarkdownTest/MultiMarkdownTests/Headers.text +49 -0
  134. data/test/MultiMarkdownTest/MultiMarkdownTests/Line Breaks.html +20 -0
  135. data/test/MultiMarkdownTest/MultiMarkdownTests/Line Breaks.tex +15 -0
  136. data/test/MultiMarkdownTest/MultiMarkdownTests/Line Breaks.text +15 -0
  137. data/test/MultiMarkdownTest/MultiMarkdownTests/Link Attributes.html +54 -0
  138. data/test/MultiMarkdownTest/MultiMarkdownTests/Link Attributes.tex +60 -0
  139. data/test/MultiMarkdownTest/MultiMarkdownTests/Link Attributes.text +50 -0
  140. data/test/MultiMarkdownTest/MultiMarkdownTests/List Parsing.html +20 -0
  141. data/test/MultiMarkdownTest/MultiMarkdownTests/List Parsing.tex +17 -0
  142. data/test/MultiMarkdownTest/MultiMarkdownTests/List Parsing.text +11 -0
  143. data/test/MultiMarkdownTest/MultiMarkdownTests/MarkdownInHTML.html +19 -0
  144. data/test/MultiMarkdownTest/MultiMarkdownTests/MarkdownInHTML.tex +13 -0
  145. data/test/MultiMarkdownTest/MultiMarkdownTests/MarkdownInHTML.text +19 -0
  146. data/test/MultiMarkdownTest/MultiMarkdownTests/Math.html +21 -0
  147. data/test/MultiMarkdownTest/MultiMarkdownTests/Math.tex +15 -0
  148. data/test/MultiMarkdownTest/MultiMarkdownTests/Math.text +15 -0
  149. data/test/MultiMarkdownTest/MultiMarkdownTests/MetaData.html +21 -0
  150. data/test/MultiMarkdownTest/MultiMarkdownTests/MetaData.tex +13 -0
  151. data/test/MultiMarkdownTest/MultiMarkdownTests/MetaData.text +14 -0
  152. data/test/MultiMarkdownTest/MultiMarkdownTests/Sanity.html +104 -0
  153. data/test/MultiMarkdownTest/MultiMarkdownTests/Sanity.tex +100 -0
  154. data/test/MultiMarkdownTest/MultiMarkdownTests/Sanity.text +77 -0
  155. data/test/MultiMarkdownTest/MultiMarkdownTests/SmartQuotes.html +29 -0
  156. data/test/MultiMarkdownTest/MultiMarkdownTests/SmartQuotes.tex +24 -0
  157. data/test/MultiMarkdownTest/MultiMarkdownTests/SmartQuotes.text +22 -0
  158. data/test/MultiMarkdownTest/MultiMarkdownTests/Swedish.html +23 -0
  159. data/test/MultiMarkdownTest/MultiMarkdownTests/Swedish.tex +18 -0
  160. data/test/MultiMarkdownTest/MultiMarkdownTests/Swedish.text +17 -0
  161. data/test/MultiMarkdownTest/MultiMarkdownTests/Tables.html +230 -0
  162. data/test/MultiMarkdownTest/MultiMarkdownTests/Tables.tex +133 -0
  163. data/test/MultiMarkdownTest/MultiMarkdownTests/Tables.text +63 -0
  164. data/test/MultiMarkdownTest/MultiMarkdownTests/bibtex.bib +119 -0
  165. data/test/MultiMarkdownTest/README.md +58 -0
  166. data/test/MultiMarkdownTest/Tests/Amps and angle encoding.html +17 -0
  167. data/test/MultiMarkdownTest/Tests/Amps and angle encoding.text +21 -0
  168. data/test/MultiMarkdownTest/Tests/Auto links.html +18 -0
  169. data/test/MultiMarkdownTest/Tests/Auto links.text +13 -0
  170. data/test/MultiMarkdownTest/Tests/Backslash escapes.html +118 -0
  171. data/test/MultiMarkdownTest/Tests/Backslash escapes.text +120 -0
  172. data/test/MultiMarkdownTest/Tests/Blockquotes with code blocks.html +15 -0
  173. data/test/MultiMarkdownTest/Tests/Blockquotes with code blocks.text +11 -0
  174. data/test/MultiMarkdownTest/Tests/Code Blocks.html +18 -0
  175. data/test/MultiMarkdownTest/Tests/Code Blocks.text +14 -0
  176. data/test/MultiMarkdownTest/Tests/Code Spans.html +6 -0
  177. data/test/MultiMarkdownTest/Tests/Code Spans.text +6 -0
  178. data/test/MultiMarkdownTest/Tests/Compatibility.html +5 -0
  179. data/test/MultiMarkdownTest/Tests/Compatibility.text +9 -0
  180. data/test/MultiMarkdownTest/Tests/Hard-wrapped paragraphs with list-like lines.html +8 -0
  181. data/test/MultiMarkdownTest/Tests/Hard-wrapped paragraphs with list-like lines.text +8 -0
  182. data/test/MultiMarkdownTest/Tests/Horizontal rules.html +71 -0
  183. data/test/MultiMarkdownTest/Tests/Horizontal rules.text +67 -0
  184. data/test/MultiMarkdownTest/Tests/Inline HTML (Advanced).html +15 -0
  185. data/test/MultiMarkdownTest/Tests/Inline HTML (Advanced).text +15 -0
  186. data/test/MultiMarkdownTest/Tests/Inline HTML (Simple).html +72 -0
  187. data/test/MultiMarkdownTest/Tests/Inline HTML (Simple).text +69 -0
  188. data/test/MultiMarkdownTest/Tests/Inline HTML comments.html +13 -0
  189. data/test/MultiMarkdownTest/Tests/Inline HTML comments.text +13 -0
  190. data/test/MultiMarkdownTest/Tests/Links, inline style.html +11 -0
  191. data/test/MultiMarkdownTest/Tests/Links, inline style.text +12 -0
  192. data/test/MultiMarkdownTest/Tests/Links, reference style.html +52 -0
  193. data/test/MultiMarkdownTest/Tests/Links, reference style.text +71 -0
  194. data/test/MultiMarkdownTest/Tests/Links, shortcut references.html +9 -0
  195. data/test/MultiMarkdownTest/Tests/Links, shortcut references.text +20 -0
  196. data/test/MultiMarkdownTest/Tests/Literal quotes in titles.html +3 -0
  197. data/test/MultiMarkdownTest/Tests/Literal quotes in titles.text +7 -0
  198. data/test/MultiMarkdownTest/Tests/Markdown Documentation - Basics.html +314 -0
  199. data/test/MultiMarkdownTest/Tests/Markdown Documentation - Basics.text +306 -0
  200. data/test/MultiMarkdownTest/Tests/Markdown Documentation - Syntax.html +942 -0
  201. data/test/MultiMarkdownTest/Tests/Markdown Documentation - Syntax.text +888 -0
  202. data/test/MultiMarkdownTest/Tests/Nested blockquotes.html +9 -0
  203. data/test/MultiMarkdownTest/Tests/Nested blockquotes.text +5 -0
  204. data/test/MultiMarkdownTest/Tests/Ordered and unordered lists.html +148 -0
  205. data/test/MultiMarkdownTest/Tests/Ordered and unordered lists.text +131 -0
  206. data/test/MultiMarkdownTest/Tests/Strong and em together.html +7 -0
  207. data/test/MultiMarkdownTest/Tests/Strong and em together.text +7 -0
  208. data/test/MultiMarkdownTest/Tests/Tabs.html +25 -0
  209. data/test/MultiMarkdownTest/Tests/Tabs.text +21 -0
  210. data/test/MultiMarkdownTest/Tests/Tidyness.html +8 -0
  211. data/test/MultiMarkdownTest/Tests/Tidyness.text +5 -0
  212. data/test/benchmark.rb +49 -0
  213. data/test/multimarkdown_test.rb +89 -0
  214. metadata +280 -0
@@ -0,0 +1,60 @@
1
+ <?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
2
+ <!DOCTYPE html>
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="latexinput" content="mmd-article-begin-doc"/>
8
+ <meta name="latexfooter" content="mmd-memoir-footer"/>
9
+ </head>
10
+ <body>
11
+ <dl>
12
+ <dt>Term 1
13
+ </dt>
14
+ <dt>Term 2
15
+ </dt>
16
+ <dd>Definition a</dd>
17
+
18
+ <dt>Term 3
19
+ </dt>
20
+ <dd>Definition b</dd>
21
+
22
+ <dd>Definition c</dd>
23
+
24
+ <dt>Term 1
25
+ </dt>
26
+ <dd>
27
+ <p>This is a definition with two paragraphs. Lorem ipsum
28
+ dolor sit amet, consectetuer adipiscing elit. Aliquam
29
+ hendrerit mi posuere lectus.</p>
30
+
31
+ <p>Vestibulum enim wisi, viverra nec, fringilla in, laoreet
32
+ vitae, risus.</p></dd>
33
+
34
+ <dd>
35
+ <p>Second definition for term 1, also wrapped in a paragraph
36
+ because of the blank line preceding it.</p></dd>
37
+
38
+ <dt>Term 2
39
+ </dt>
40
+ <dd>
41
+ <p>This definition has a code block, a blockquote and a list.</p>
42
+
43
+ <pre><code>code block.
44
+ </code></pre>
45
+
46
+ <blockquote>
47
+ <p>block quote
48
+ on two lines.</p>
49
+ </blockquote>
50
+
51
+ <ol>
52
+ <li>first list item</li>
53
+ <li>second list item</li>
54
+ </ol></dd>
55
+ </dl>
56
+
57
+
58
+ <p>And this is a regular paragraph.</p>
59
+ </body>
60
+ </html>
@@ -0,0 +1,62 @@
1
+ \input{mmd-article-header}
2
+ \def\mytitle{MultiMarkdown Definition List Test}
3
+ \input{mmd-article-begin-doc}
4
+ \begin{description}
5
+
6
+ \item[Term 1
7
+ ]
8
+
9
+ \item[Term 2
10
+ ]
11
+
12
+ Definition a
13
+
14
+ \item[Term 3
15
+ ]
16
+
17
+ Definition b
18
+
19
+ Definition c
20
+
21
+ \item[Term 1
22
+ ]
23
+
24
+ This is a definition with two paragraphs. Lorem ipsum
25
+ dolor sit amet, consectetuer adipiscing elit. Aliquam
26
+ hendrerit mi posuere lectus.
27
+
28
+ Vestibulum enim wisi, viverra nec, fringilla in, laoreet
29
+ vitae, risus.
30
+
31
+ Second definition for term 1, also wrapped in a paragraph
32
+ because of the blank line preceding it.
33
+
34
+ \item[Term 2
35
+ ]
36
+
37
+ This definition has a code block, a blockquote and a list.
38
+
39
+ \begin{verbatim}
40
+ code block.
41
+ \end{verbatim}
42
+
43
+
44
+ \begin{quote}
45
+
46
+ block quote
47
+ on two lines.
48
+ \end{quote}
49
+
50
+ \begin{enumerate}
51
+ \item first list item
52
+
53
+ \item second list item
54
+
55
+ \end{enumerate}
56
+ \end{description}
57
+
58
+ And this is a regular paragraph.
59
+
60
+ \input{mmd-memoir-footer}
61
+
62
+ \end{document}
@@ -0,0 +1,39 @@
1
+ latex input: mmd-article-header
2
+ Title: MultiMarkdown Definition List Test
3
+ latex input: mmd-article-begin-doc
4
+ latex footer: mmd-memoir-footer
5
+
6
+ Term 1
7
+ Term 2
8
+ : Definition a
9
+
10
+ Term 3
11
+ : Definition b
12
+ : Definition c
13
+
14
+
15
+ Term 1
16
+
17
+ : This is a definition with two paragraphs. Lorem ipsum
18
+ dolor sit amet, consectetuer adipiscing elit. Aliquam
19
+ hendrerit mi posuere lectus.
20
+
21
+ Vestibulum enim wisi, viverra nec, fringilla in, laoreet
22
+ vitae, risus.
23
+
24
+ : Second definition for term 1, also wrapped in a paragraph
25
+ because of the blank line preceding it.
26
+
27
+ Term 2
28
+
29
+ : This definition has a code block, a blockquote and a list.
30
+
31
+ code block.
32
+
33
+ > block quote
34
+ > on two lines.
35
+
36
+ 1. first list item
37
+ 2. second list item
38
+
39
+ And this is a regular paragraph.
@@ -0,0 +1,23 @@
1
+ <?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
2
+ <!DOCTYPE html>
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>&#8216;this is a single quote&#8217;</p>
12
+
13
+ <p>&#8222;this is a double quote&#8221;</p>
14
+
15
+ <p>this isn&#8217;t an apostrophe.</p>
16
+
17
+ <p>this is an em &#8212; dash</p>
18
+
19
+ <p>this is an en &#8211; dash</p>
20
+
21
+ <p>and an ellipsis&#8230;</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,47 @@
1
+ <?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
2
+ <!DOCTYPE html>
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="latexinput" content="mmd-article-begin-doc"/>
8
+ <meta name="latexfooter" content="mmd-memoir-footer"/>
9
+ </head>
10
+ <body>
11
+ <p>Link: <a href="&#x6d;&#x61;&#x69;&#108;&#116;&#111;&#58;&#117;&#x73;&#x65;&#114;&#x36;&#55;&#64;&#x65;&#x78;&#x61;&#x6d;&#112;&#108;&#x65;&#x2e;&#x63;&#x6f;&#109;">&#x75;&#x73;&#101;&#114;&#x36;&#x37;&#64;&#101;&#x78;&#97;&#x6d;&#x70;&#x6c;&#x65;&#x2e;&#x63;&#111;&#x6d;</a>.</p>
12
+
13
+ <ul>
14
+ <li>In a list?</li>
15
+ <li><a href="&#109;&#x61;&#x69;&#108;&#x74;&#111;&#x3a;&#x75;&#x73;&#101;&#114;&#54;&#55;&#64;&#101;&#120;&#x61;&#109;&#112;&#x6c;&#101;&#x2e;&#x63;&#x6f;&#109;">&#117;&#x73;&#101;&#x72;&#x36;&#x37;&#x40;&#101;&#x78;&#97;&#x6d;&#x70;&#x6c;&#101;&#x2e;&#x63;&#x6f;&#x6d;</a></li>
16
+ <li>It should.</li>
17
+ </ul>
18
+
19
+ <blockquote>
20
+ <p>Blockquoted: <a href="&#x6d;&#97;&#x69;&#108;&#116;&#x6f;&#x3a;&#117;&#115;&#101;&#114;&#x36;&#55;&#64;&#x65;&#x78;&#x61;&#109;&#x70;&#108;&#x65;&#x2e;&#99;&#111;&#x6d;">&#x75;&#x73;&#x65;&#x72;&#54;&#55;&#x40;&#101;&#120;&#97;&#x6d;&#112;&#108;&#x65;&#46;&#x63;&#111;&#109;</a></p>
21
+ </blockquote>
22
+
23
+ <p>Auto-links should not occur here: <code>&lt;user67@example.com&gt;</code></p>
24
+
25
+ <pre><code>or here: &lt;user67@example.com&gt;
26
+ </code></pre>
27
+
28
+ <p>And with the mailto bit:</p>
29
+
30
+ <p>Link: <a href="&#109;&#97;&#x69;&#108;&#116;&#x6f;&#x3a;&#x75;&#115;&#x65;&#x72;&#54;&#x37;&#64;&#x65;&#120;&#97;&#109;&#x70;&#x6c;&#101;&#46;&#99;&#x6f;&#x6d;">&#117;&#x73;&#x65;&#114;&#x36;&#55;&#x40;&#101;&#x78;&#97;&#109;&#112;&#108;&#101;&#46;&#99;&#111;&#109;</a>.</p>
31
+
32
+ <ul>
33
+ <li>In a list?</li>
34
+ <li><a href="&#x6d;&#97;&#105;&#108;&#116;&#x6f;&#x3a;&#x75;&#x73;&#x65;&#114;&#x36;&#x37;&#x40;&#101;&#x78;&#x61;&#109;&#112;&#108;&#x65;&#x2e;&#x63;&#111;&#109;">&#x75;&#x73;&#101;&#114;&#x36;&#55;&#64;&#101;&#x78;&#x61;&#x6d;&#x70;&#x6c;&#x65;&#x2e;&#x63;&#111;&#109;</a></li>
35
+ <li>It should.</li>
36
+ </ul>
37
+
38
+ <blockquote>
39
+ <p>Blockquoted: <a href="&#x6d;&#97;&#x69;&#x6c;&#x74;&#x6f;&#58;&#x75;&#115;&#x65;&#x72;&#54;&#x37;&#64;&#x65;&#120;&#97;&#109;&#112;&#x6c;&#x65;&#x2e;&#x63;&#x6f;&#x6d;">&#117;&#x73;&#x65;&#114;&#x36;&#55;&#64;&#101;&#x78;&#x61;&#109;&#112;&#108;&#x65;&#x2e;&#x63;&#x6f;&#x6d;</a></p>
40
+ </blockquote>
41
+
42
+ <p>Auto-links should not occur here: <code>&lt;mailto:user67@example.com&gt;</code></p>
43
+
44
+ <pre><code>or here: &lt;mailto:user67@example.com&gt;
45
+ </code></pre>
46
+ </body>
47
+ </html>
@@ -0,0 +1,54 @@
1
+ \input{mmd-article-header}
2
+ \def\mytitle{Email Test}
3
+ \input{mmd-article-begin-doc}
4
+ Link: \href{mailto:user67@example.com}{user67@example.com}.
5
+
6
+ \begin{itemize}
7
+ \item In a list?
8
+
9
+ \item \href{mailto:user67@example.com}{user67@example.com}
10
+
11
+ \item It should.
12
+
13
+ \end{itemize}
14
+
15
+ \begin{quote}
16
+
17
+ Blockquoted: \href{mailto:user67@example.com}{user67@example.com}
18
+ \end{quote}
19
+
20
+ Auto-links should not occur here: \texttt{$<$user67@example.com$>$}
21
+
22
+ \begin{verbatim}
23
+ or here: <user67@example.com>
24
+ \end{verbatim}
25
+
26
+
27
+ And with the mailto bit:
28
+
29
+ Link: \href{mailto:user67@example.com}{user67@example.com}.
30
+
31
+ \begin{itemize}
32
+ \item In a list?
33
+
34
+ \item \href{mailto:user67@example.com}{user67@example.com}
35
+
36
+ \item It should.
37
+
38
+ \end{itemize}
39
+
40
+ \begin{quote}
41
+
42
+ Blockquoted: \href{mailto:user67@example.com}{user67@example.com}
43
+ \end{quote}
44
+
45
+ Auto-links should not occur here: \texttt{$<$mailto:user67@example.com$>$}
46
+
47
+ \begin{verbatim}
48
+ or here: <mailto:user67@example.com>
49
+ \end{verbatim}
50
+
51
+
52
+ \input{mmd-memoir-footer}
53
+
54
+ \end{document}
@@ -0,0 +1,31 @@
1
+ latex input: mmd-article-header
2
+ Title: Email Test
3
+ latex input: mmd-article-begin-doc
4
+ latex footer: mmd-memoir-footer
5
+
6
+ Link: <user67@example.com>.
7
+
8
+ * In a list?
9
+ * <user67@example.com>
10
+ * It should.
11
+
12
+ > Blockquoted: <user67@example.com>
13
+
14
+ Auto-links should not occur here: `<user67@example.com>`
15
+
16
+ or here: <user67@example.com>
17
+
18
+
19
+ And with the mailto bit:
20
+
21
+ Link: <mailto:user67@example.com>.
22
+
23
+ * In a list?
24
+ * <mailto:user67@example.com>
25
+ * It should.
26
+
27
+ > Blockquoted: <mailto:user67@example.com>
28
+
29
+ Auto-links should not occur here: `<mailto:user67@example.com>`
30
+
31
+ or here: <mailto:user67@example.com>
@@ -0,0 +1,23 @@
1
+ <?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
2
+ <!DOCTYPE html>
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>&#8216;this is a single quote&#8217;</p>
12
+
13
+ <p>&#8220;this is a double quote&#8221;</p>
14
+
15
+ <p>this isn&#8217;t an apostrophe.</p>
16
+
17
+ <p>this is an em &#8212; dash</p>
18
+
19
+ <p>this is an en &#8211; dash</p>
20
+
21
+ <p>and an ellipsis&#8230;</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,16 @@
1
+ <?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
2
+ <!DOCTYPE html>
3
+ <html xmlns="http://www.w3.org/1999/xhtml">
4
+ <head>
5
+ <meta name="latexinput" content="mmd-article-header"/>
6
+ <title>MultiMarkdown Error 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 document contains &#8220;errors&#8221; - the output shouldn&#8217;t match what was
12
+ intended, but it shouldn&#8217;t crash MMD.</p>
13
+
14
+ <p>This is a missing link reference [some text][missing] and ![missing image][missing2].</p>
15
+ </body>
16
+ </html>