rpeg-multimarkdown2 2.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- 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,221 @@
|
|
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 Table 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
|
+
|
13
|
+
|
14
|
+
<table>
|
15
|
+
<caption id="prototypetable">Prototype table caption</caption>
|
16
|
+
<col align="left"/>
|
17
|
+
<col align="center"/>
|
18
|
+
<col align="right"/>
|
19
|
+
|
20
|
+
<thead>
|
21
|
+
<tr>
|
22
|
+
<th align="left"></th>
|
23
|
+
<th align="center" colspan="2">Grouping</th>
|
24
|
+
</tr>
|
25
|
+
<tr>
|
26
|
+
<th align="left">First Header</th>
|
27
|
+
<th align="center">Second Header</th>
|
28
|
+
<th align="right">Third Header</th>
|
29
|
+
</tr>
|
30
|
+
</thead>
|
31
|
+
|
32
|
+
<tbody>
|
33
|
+
<tr>
|
34
|
+
<td align="left">Content</td>
|
35
|
+
<td align="center" colspan="2"><em>Long Cell</em></td>
|
36
|
+
</tr>
|
37
|
+
<tr>
|
38
|
+
<td align="left">Content</td>
|
39
|
+
<td align="center"><strong>Cell</strong></td>
|
40
|
+
<td align="right">Cell</td>
|
41
|
+
</tr>
|
42
|
+
</tbody>
|
43
|
+
|
44
|
+
<tbody>
|
45
|
+
<tr>
|
46
|
+
<td align="left">New section</td>
|
47
|
+
<td align="center">More</td>
|
48
|
+
<td align="right">Data</td>
|
49
|
+
</tr>
|
50
|
+
<tr>
|
51
|
+
<td align="left">And more</td>
|
52
|
+
<td align="center" colspan="2">With an escaped ‘|’</td>
|
53
|
+
</tr>
|
54
|
+
</tbody>
|
55
|
+
</table>
|
56
|
+
<p>And this is a link to the <a href="#prototypetable">Prototype table</a>.</p>
|
57
|
+
|
58
|
+
<p>And now a table with only a caption.</p>
|
59
|
+
|
60
|
+
<table>
|
61
|
+
<caption id="captionbutnolabel">Caption but no label</caption>
|
62
|
+
<col align="left"/>
|
63
|
+
<col align="center"/>
|
64
|
+
<col align="right"/>
|
65
|
+
|
66
|
+
<thead>
|
67
|
+
<tr>
|
68
|
+
<th align="left"></th>
|
69
|
+
<th align="center" colspan="2">Grouping</th>
|
70
|
+
</tr>
|
71
|
+
<tr>
|
72
|
+
<th align="left">First Header</th>
|
73
|
+
<th align="center">Second Header</th>
|
74
|
+
<th align="right">Third Header</th>
|
75
|
+
</tr>
|
76
|
+
</thead>
|
77
|
+
|
78
|
+
<tbody>
|
79
|
+
<tr>
|
80
|
+
<td align="left">Content</td>
|
81
|
+
<td align="center" colspan="2"><em>Long Cell</em></td>
|
82
|
+
</tr>
|
83
|
+
<tr>
|
84
|
+
<td align="left">Content</td>
|
85
|
+
<td align="center"><strong>Cell</strong></td>
|
86
|
+
<td align="right">Cell</td>
|
87
|
+
</tr>
|
88
|
+
</tbody>
|
89
|
+
|
90
|
+
<tbody>
|
91
|
+
<tr>
|
92
|
+
<td align="left">New section</td>
|
93
|
+
<td align="center">More</td>
|
94
|
+
<td align="right">Data</td>
|
95
|
+
</tr>
|
96
|
+
<tr>
|
97
|
+
<td align="left">And more</td>
|
98
|
+
<td align="center" colspan="2">With an escaped ‘|’</td>
|
99
|
+
</tr>
|
100
|
+
</tbody>
|
101
|
+
</table>
|
102
|
+
<p>And a link to the second <a href="#captionbutnolabel">table</a>.</p>
|
103
|
+
|
104
|
+
<p>And two tables in close proximity:</p>
|
105
|
+
|
106
|
+
<table>
|
107
|
+
<caption id="multimarkdownvs.crayons">MultiMarkdown vs. Crayons</caption>
|
108
|
+
<col align="left"/>
|
109
|
+
<col align="center"/>
|
110
|
+
<col align="center"/>
|
111
|
+
|
112
|
+
<thead>
|
113
|
+
<tr>
|
114
|
+
<th align="left">Features</th>
|
115
|
+
<th align="center">MultiMarkdown</th>
|
116
|
+
<th align="center">Crayons</th>
|
117
|
+
</tr>
|
118
|
+
</thead>
|
119
|
+
|
120
|
+
<tbody>
|
121
|
+
<tr>
|
122
|
+
<td align="left">Melts in warm places</td>
|
123
|
+
<td align="center">No</td>
|
124
|
+
<td align="center">Yes</td>
|
125
|
+
</tr>
|
126
|
+
<tr>
|
127
|
+
<td align="left">Mistakes can be easily fixed</td>
|
128
|
+
<td align="center">Yes</td>
|
129
|
+
<td align="center">No</td>
|
130
|
+
</tr>
|
131
|
+
<tr>
|
132
|
+
<td align="left">Easy to copy documents for friends</td>
|
133
|
+
<td align="center">Yes</td>
|
134
|
+
<td align="center">No</td>
|
135
|
+
</tr>
|
136
|
+
<tr>
|
137
|
+
<td align="left">Fun at parties</td>
|
138
|
+
<td align="center">No</td>
|
139
|
+
<td align="center">Why not?</td>
|
140
|
+
</tr>
|
141
|
+
</tbody>
|
142
|
+
|
143
|
+
<tbody>
|
144
|
+
<tr>
|
145
|
+
<td align="left">Minimum markup1 for maximum quality?</td>
|
146
|
+
<td align="center">Yes</td>
|
147
|
+
<td align="center">No</td>
|
148
|
+
</tr>
|
149
|
+
</tbody>
|
150
|
+
</table>
|
151
|
+
|
152
|
+
|
153
|
+
<table>
|
154
|
+
<caption id="multimarkdownvs.crayons2">MultiMarkdown vs. Crayons2</caption>
|
155
|
+
<col align="left"/>
|
156
|
+
<col align="center"/>
|
157
|
+
<col align="center"/>
|
158
|
+
|
159
|
+
<thead>
|
160
|
+
<tr>
|
161
|
+
<th align="left">Features</th>
|
162
|
+
<th align="center">MultiMarkdown</th>
|
163
|
+
<th align="center">Crayons</th>
|
164
|
+
</tr>
|
165
|
+
</thead>
|
166
|
+
|
167
|
+
<tbody>
|
168
|
+
<tr>
|
169
|
+
<td align="left">Melts in warm places</td>
|
170
|
+
<td align="center">No</td>
|
171
|
+
<td align="center">Yes</td>
|
172
|
+
</tr>
|
173
|
+
<tr>
|
174
|
+
<td align="left">Mistakes can be easily fixed</td>
|
175
|
+
<td align="center">Yes</td>
|
176
|
+
<td align="center">No</td>
|
177
|
+
</tr>
|
178
|
+
<tr>
|
179
|
+
<td align="left">Easy to copy documents for friends</td>
|
180
|
+
<td align="center">Yes</td>
|
181
|
+
<td align="center">No</td>
|
182
|
+
</tr>
|
183
|
+
<tr>
|
184
|
+
<td align="left">Fun at parties</td>
|
185
|
+
<td align="center">No</td>
|
186
|
+
<td align="center">Why not?</td>
|
187
|
+
</tr>
|
188
|
+
</tbody>
|
189
|
+
|
190
|
+
<tbody>
|
191
|
+
<tr>
|
192
|
+
<td align="left">Minimum markup2 for maximum quality?</td>
|
193
|
+
<td align="center">Yes</td>
|
194
|
+
<td align="center">No</td>
|
195
|
+
</tr>
|
196
|
+
</tbody>
|
197
|
+
</table>
|
198
|
+
|
199
|
+
|
200
|
+
<table>
|
201
|
+
<caption id="captiononly">Caption only</caption>
|
202
|
+
<col align="left"/>
|
203
|
+
<col align="left"/>
|
204
|
+
|
205
|
+
<thead>
|
206
|
+
<tr>
|
207
|
+
<th align="left">Col 1</th>
|
208
|
+
<th align="left">Col 2</th>
|
209
|
+
</tr>
|
210
|
+
</thead>
|
211
|
+
|
212
|
+
<tbody>
|
213
|
+
<tr>
|
214
|
+
<td align="left">One</td>
|
215
|
+
<td align="left">Two </td>
|
216
|
+
</tr>
|
217
|
+
</tbody>
|
218
|
+
</table>
|
219
|
+
|
220
|
+
</body>
|
221
|
+
</html>
|
@@ -0,0 +1,134 @@
|
|
1
|
+
\input{mmd-article-header}
|
2
|
+
\def\mytitle{MultiMarkdown Table Test}
|
3
|
+
\def\latexmode{memoir}
|
4
|
+
\input{mmd-article-begin-doc}
|
5
|
+
\begin{table}[htbp]
|
6
|
+
\begin{minipage}{\linewidth}
|
7
|
+
\setlength{\tymax}{0.5\linewidth}
|
8
|
+
\centering
|
9
|
+
\small
|
10
|
+
\caption{Prototype table caption}
|
11
|
+
\label{prototypetable}
|
12
|
+
\begin{tabulary}{\textwidth}{@{}LCR@{}} \toprule
|
13
|
+
&\multicolumn{2}{c}{Grouping}\\
|
14
|
+
First Header&Second Header&Third Header\\
|
15
|
+
\midrule
|
16
|
+
Content&\multicolumn{2}{c}{\emph{Long Cell}}\\
|
17
|
+
Content&\textbf{Cell}&Cell\\
|
18
|
+
|
19
|
+
\midrule
|
20
|
+
New section&More&Data\\
|
21
|
+
And more&\multicolumn{2}{c}{With an escaped `\textbar{}'}\\
|
22
|
+
|
23
|
+
\bottomrule
|
24
|
+
|
25
|
+
\end{tabulary}
|
26
|
+
\end{minipage}
|
27
|
+
\end{table}
|
28
|
+
|
29
|
+
|
30
|
+
And this is a link to the Prototype table (\autoref{prototypetable}).
|
31
|
+
|
32
|
+
And now a table with only a caption.
|
33
|
+
|
34
|
+
\begin{table}[htbp]
|
35
|
+
\begin{minipage}{\linewidth}
|
36
|
+
\setlength{\tymax}{0.5\linewidth}
|
37
|
+
\centering
|
38
|
+
\small
|
39
|
+
\caption{Caption but no label}
|
40
|
+
\label{captionbutnolabel}
|
41
|
+
\begin{tabulary}{\textwidth}{@{}LCR@{}} \toprule
|
42
|
+
&\multicolumn{2}{c}{Grouping}\\
|
43
|
+
First Header&Second Header&Third Header\\
|
44
|
+
\midrule
|
45
|
+
Content&\multicolumn{2}{c}{\emph{Long Cell}}\\
|
46
|
+
Content&\textbf{Cell}&Cell\\
|
47
|
+
|
48
|
+
\midrule
|
49
|
+
New section&More&Data\\
|
50
|
+
And more&\multicolumn{2}{c}{With an escaped `\textbar{}'}\\
|
51
|
+
|
52
|
+
\bottomrule
|
53
|
+
|
54
|
+
\end{tabulary}
|
55
|
+
\end{minipage}
|
56
|
+
\end{table}
|
57
|
+
|
58
|
+
|
59
|
+
And a link to the second table (\autoref{captionbutnolabel}).
|
60
|
+
|
61
|
+
And two tables in close proximity:
|
62
|
+
|
63
|
+
\begin{table}[htbp]
|
64
|
+
\begin{minipage}{\linewidth}
|
65
|
+
\setlength{\tymax}{0.5\linewidth}
|
66
|
+
\centering
|
67
|
+
\small
|
68
|
+
\caption{MultiMarkdown vs. Crayons}
|
69
|
+
\label{multimarkdownvs.crayons}
|
70
|
+
\begin{tabulary}{\textwidth}{@{}LCC@{}} \toprule
|
71
|
+
Features&MultiMarkdown&Crayons\\
|
72
|
+
\midrule
|
73
|
+
Melts in warm places&No&Yes\\
|
74
|
+
Mistakes can be easily fixed&Yes&No\\
|
75
|
+
Easy to copy documents for friends&Yes&No\\
|
76
|
+
Fun at parties&No&Why not?\\
|
77
|
+
|
78
|
+
\midrule
|
79
|
+
Minimum markup1 for maximum quality?&Yes&No\\
|
80
|
+
|
81
|
+
\bottomrule
|
82
|
+
|
83
|
+
\end{tabulary}
|
84
|
+
\end{minipage}
|
85
|
+
\end{table}
|
86
|
+
|
87
|
+
|
88
|
+
\begin{table}[htbp]
|
89
|
+
\begin{minipage}{\linewidth}
|
90
|
+
\setlength{\tymax}{0.5\linewidth}
|
91
|
+
\centering
|
92
|
+
\small
|
93
|
+
\caption{MultiMarkdown vs. Crayons2}
|
94
|
+
\label{multimarkdownvs.crayons2}
|
95
|
+
\begin{tabulary}{\textwidth}{@{}LCC@{}} \toprule
|
96
|
+
Features&MultiMarkdown&Crayons\\
|
97
|
+
\midrule
|
98
|
+
Melts in warm places&No&Yes\\
|
99
|
+
Mistakes can be easily fixed&Yes&No\\
|
100
|
+
Easy to copy documents for friends&Yes&No\\
|
101
|
+
Fun at parties&No&Why not?\\
|
102
|
+
|
103
|
+
\midrule
|
104
|
+
Minimum markup2 for maximum quality?&Yes&No\\
|
105
|
+
|
106
|
+
\bottomrule
|
107
|
+
|
108
|
+
\end{tabulary}
|
109
|
+
\end{minipage}
|
110
|
+
\end{table}
|
111
|
+
|
112
|
+
|
113
|
+
\begin{table}[htbp]
|
114
|
+
\begin{minipage}{\linewidth}
|
115
|
+
\setlength{\tymax}{0.5\linewidth}
|
116
|
+
\centering
|
117
|
+
\small
|
118
|
+
\caption{Caption only}
|
119
|
+
\label{captiononly}
|
120
|
+
\begin{tabulary}{\textwidth}{@{}LL@{}} \toprule
|
121
|
+
Col 1&Col 2\\
|
122
|
+
\midrule
|
123
|
+
One&Two \\
|
124
|
+
|
125
|
+
\bottomrule
|
126
|
+
|
127
|
+
\end{tabulary}
|
128
|
+
\end{minipage}
|
129
|
+
\end{table}
|
130
|
+
|
131
|
+
|
132
|
+
\input{mmd-memoir-footer}
|
133
|
+
|
134
|
+
\end{document}
|
@@ -0,0 +1,64 @@
|
|
1
|
+
latex input: mmd-article-header
|
2
|
+
Title: MultiMarkdown Table Test
|
3
|
+
latex mode: memoir
|
4
|
+
latex input: mmd-article-begin-doc
|
5
|
+
latex footer: mmd-memoir-footer
|
6
|
+
|
7
|
+
|
8
|
+
| | Grouping ||
|
9
|
+
First Header | Second Header | Third Header |
|
10
|
+
| ---------- | :----------------: | -----------: |
|
11
|
+
Content | *Long Cell* ||
|
12
|
+
Content | **Cell** | Cell |
|
13
|
+
|
14
|
+
New section | More | Data |
|
15
|
+
And more | With an escaped '\|' ||
|
16
|
+
[Prototype table caption][Prototype table]
|
17
|
+
|
18
|
+
|
19
|
+
And this is a link to the [Prototype table].
|
20
|
+
|
21
|
+
|
22
|
+
And now a table with only a caption.
|
23
|
+
|
24
|
+
|
25
|
+
| | Grouping ||
|
26
|
+
First Header | Second Header | Third Header |
|
27
|
+
| ---------- | :----------------: | -----------: |
|
28
|
+
Content | *Long Cell* ||
|
29
|
+
Content | **Cell** | Cell |
|
30
|
+
|
31
|
+
New section | More | Data |
|
32
|
+
And more | With an escaped '\|' ||
|
33
|
+
[Caption but no label]
|
34
|
+
|
35
|
+
And a link to the second [table][Caption but no label].
|
36
|
+
|
37
|
+
And two tables in close proximity:
|
38
|
+
|
39
|
+
[MultiMarkdown vs. Crayons]
|
40
|
+
| Features | MultiMarkdown | Crayons |
|
41
|
+
----------------------------------- | :-----------: | :------: |
|
42
|
+
Melts in warm places | No | Yes |
|
43
|
+
Mistakes can be easily fixed | Yes | No |
|
44
|
+
Easy to copy documents for friends | Yes | No |
|
45
|
+
Fun at parties | No | Why not? |
|
46
|
+
|
47
|
+
Minimum markup1 for maximum quality? | Yes | No |
|
48
|
+
|
49
|
+
[MultiMarkdown vs. Crayons2]
|
50
|
+
| Features | MultiMarkdown | Crayons |
|
51
|
+
----------------------------------- | :-----------: | :------: |
|
52
|
+
Melts in warm places | No | Yes |
|
53
|
+
Mistakes can be easily fixed | Yes | No |
|
54
|
+
Easy to copy documents for friends | Yes | No |
|
55
|
+
Fun at parties | No | Why not? |
|
56
|
+
|
57
|
+
Minimum markup2 for maximum quality? | Yes | No |
|
58
|
+
|
59
|
+
|
60
|
+
[Caption only]
|
61
|
+
Col 1 | Col 2
|
62
|
+
----- | -----
|
63
|
+
One | Two
|
64
|
+
|
@@ -0,0 +1,43 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<html>
|
3
|
+
<head>
|
4
|
+
<meta charset="utf-8"/>
|
5
|
+
<meta name="latexinput" content="mmd-article-header"/>
|
6
|
+
<title>MultiMarkdown Autoreference Test</title>
|
7
|
+
<meta name="latexinput" content="mmd-article-begin-doc"/>
|
8
|
+
<meta name="latexfooter" content="mmd-memoir-footer"/>
|
9
|
+
</head>
|
10
|
+
<body>
|
11
|
+
|
12
|
+
<h2 id="muststartwithalpha">109&^*&#^() Must Start With Alpha</h2>
|
13
|
+
|
14
|
+
<h2 id="stripoutcharacters">Strip out &^% characters ^&*^</h2>
|
15
|
+
|
16
|
+
<h2 id="specialcrossreferencecases">Special Cross Reference Cases</h2>
|
17
|
+
|
18
|
+
<h3 id="cross-references:specialcharacters">1 Cross-References: Special Characters!@#$%^&*()<></h3>
|
19
|
+
|
20
|
+
<p>And now, link to <a href="#cross-references:specialcharacters">1 Cross-References: Special Characters!@#$%^&*()<></a></p>
|
21
|
+
|
22
|
+
<h2 id="setext1">Setext 1</h2>
|
23
|
+
|
24
|
+
<h3 id="setext2">Setext 2</h3>
|
25
|
+
|
26
|
+
<h2 id="atx1">Atx 1</h2>
|
27
|
+
|
28
|
+
<p>Link to <a href="#setext1">Setext 1</a>.</p>
|
29
|
+
|
30
|
+
<p>And <a href="#setext2">Setext 2</a>.</p>
|
31
|
+
|
32
|
+
<p>And <a href="#atx1">Atx 1</a>.</p>
|
33
|
+
|
34
|
+
<p>And [Atx 2] should fail.</p>
|
35
|
+
|
36
|
+
<h2 id="label">Manual Header</h2>
|
37
|
+
|
38
|
+
<h2 id="label2">Manual Header 2</h2>
|
39
|
+
|
40
|
+
<h3 id="label3">Manual Header 3</h3>
|
41
|
+
|
42
|
+
</body>
|
43
|
+
</html>
|
@@ -0,0 +1,46 @@
|
|
1
|
+
\input{mmd-article-header}
|
2
|
+
\def\mytitle{MultiMarkdown Autoreference Test}
|
3
|
+
\input{mmd-article-begin-doc}
|
4
|
+
\chapter{109\&\^{}*\&\#\^{}() Must Start With Alpha}
|
5
|
+
\label{muststartwithalpha}
|
6
|
+
|
7
|
+
\chapter{Strip out \&\^{}\% characters \^{}\&*\^{}}
|
8
|
+
\label{stripoutcharacters}
|
9
|
+
|
10
|
+
\chapter{Special Cross Reference Cases}
|
11
|
+
\label{specialcrossreferencecases}
|
12
|
+
|
13
|
+
\section{1 Cross-References: Special Characters!@\#\$\%\^{}\&*()$<$$>$}
|
14
|
+
\label{cross-references:specialcharacters}
|
15
|
+
|
16
|
+
And now, link to 1 Cross-References: Special Characters!@\#\$\%\^{}\&*()$<$$>$ (\autoref{cross-references:specialcharacters})
|
17
|
+
|
18
|
+
\chapter{Setext 1}
|
19
|
+
\label{setext1}
|
20
|
+
|
21
|
+
\section{Setext 2}
|
22
|
+
\label{setext2}
|
23
|
+
|
24
|
+
\chapter{Atx 1}
|
25
|
+
\label{atx1}
|
26
|
+
|
27
|
+
Link to Setext 1 (\autoref{setext1}).
|
28
|
+
|
29
|
+
And Setext 2 (\autoref{setext2}).
|
30
|
+
|
31
|
+
And Atx 1 (\autoref{atx1}).
|
32
|
+
|
33
|
+
And [Atx 2] should fail.
|
34
|
+
|
35
|
+
\chapter{Manual Header}
|
36
|
+
\label{label}
|
37
|
+
|
38
|
+
\chapter{Manual Header 2}
|
39
|
+
\label{label2}
|
40
|
+
|
41
|
+
\section{Manual Header 3}
|
42
|
+
\label{label3}
|
43
|
+
|
44
|
+
\input{mmd-memoir-footer}
|
45
|
+
|
46
|
+
\end{document}
|
@@ -0,0 +1,45 @@
|
|
1
|
+
latex input: mmd-article-header
|
2
|
+
Title: MultiMarkdown Autoreference Test
|
3
|
+
base header level: 2
|
4
|
+
latex input: mmd-article-begin-doc
|
5
|
+
latex footer: mmd-memoir-footer
|
6
|
+
|
7
|
+
# 109&^*&#^() Must Start With Alpha #
|
8
|
+
|
9
|
+
# Strip out &^% characters ^&*^ #
|
10
|
+
|
11
|
+
|
12
|
+
# Special Cross Reference Cases#
|
13
|
+
|
14
|
+
## 1 Cross-References: Special Characters!@#$%^&*()<>##
|
15
|
+
|
16
|
+
And now, link to [1 Cross-References: Special Characters!@#$%^&*()<>][]
|
17
|
+
|
18
|
+
|
19
|
+
Setext 1
|
20
|
+
========
|
21
|
+
|
22
|
+
|
23
|
+
Setext 2
|
24
|
+
--------
|
25
|
+
|
26
|
+
#Atx 1 #
|
27
|
+
|
28
|
+
|
29
|
+
Link to [Setext 1].
|
30
|
+
|
31
|
+
And [Setext 2].
|
32
|
+
|
33
|
+
And [Atx 1].
|
34
|
+
|
35
|
+
And [Atx 2] should fail.
|
36
|
+
|
37
|
+
|
38
|
+
# Manual Header [label] #
|
39
|
+
|
40
|
+
|
41
|
+
Manual Header 2 [label2]
|
42
|
+
========================
|
43
|
+
|
44
|
+
Manual Header 3 [label3]
|
45
|
+
------------------------
|
@@ -0,0 +1,22 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<html>
|
3
|
+
<head>
|
4
|
+
<meta charset="utf-8"/>
|
5
|
+
<meta name="latexinput" content="mmd-article-header"/>
|
6
|
+
<title>MultiMarkdown Base Header Level 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
|
+
|
13
|
+
<h2 id="thisshouldbeh2">This should be h2</h2>
|
14
|
+
|
15
|
+
<h3 id="thisshouldbeh3">This should be h3</h3>
|
16
|
+
|
17
|
+
<h6 id="thisshouldbeh6">This should be h6</h6>
|
18
|
+
|
19
|
+
<h6 id="thisshouldbeh6inhtmlh7inlatex">This should be h6 in HTML h7 in LaTeX</h6>
|
20
|
+
|
21
|
+
</body>
|
22
|
+
</html>
|
@@ -0,0 +1,19 @@
|
|
1
|
+
\input{mmd-article-header}
|
2
|
+
\def\mytitle{MultiMarkdown Base Header Level Test}
|
3
|
+
\def\latexmode{memoir}
|
4
|
+
\input{mmd-article-begin-doc}
|
5
|
+
\chapter{This should be h2}
|
6
|
+
\label{thisshouldbeh2}
|
7
|
+
|
8
|
+
\section{This should be h3}
|
9
|
+
\label{thisshouldbeh3}
|
10
|
+
|
11
|
+
\paragraph{This should be h6}
|
12
|
+
\label{thisshouldbeh6}
|
13
|
+
|
14
|
+
\subparagraph{This should be h6 in HTML h7 in LaTeX}
|
15
|
+
\label{thisshouldbeh6inhtmlh7inlatex}
|
16
|
+
|
17
|
+
\input{mmd-memoir-footer}
|
18
|
+
|
19
|
+
\end{document}
|
@@ -0,0 +1,16 @@
|
|
1
|
+
latex input: mmd-article-header
|
2
|
+
Title: MultiMarkdown Base Header Level Test
|
3
|
+
latex mode: memoir
|
4
|
+
Base Header Level: 2
|
5
|
+
latex input: mmd-article-begin-doc
|
6
|
+
latex footer: mmd-memoir-footer
|
7
|
+
|
8
|
+
# This should be h2 #
|
9
|
+
|
10
|
+
## This should be h3 ##
|
11
|
+
|
12
|
+
|
13
|
+
##### This should be h6 #####
|
14
|
+
|
15
|
+
###### This should be h6 in HTML h7 in LaTeX ######
|
16
|
+
|
@@ -0,0 +1,18 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<html>
|
3
|
+
<head>
|
4
|
+
<meta charset="utf-8"/>
|
5
|
+
<meta name="latexinput" content="mmd-article-header"/>
|
6
|
+
<title>MultiMarkdown BibTeX Test</title>
|
7
|
+
<meta name="bibtex" content="bibtex"/>
|
8
|
+
<meta name="latexinput" content="mmd-article-begin-doc"/>
|
9
|
+
<meta name="latexfooter" content="mmd-memoir-footer"/>
|
10
|
+
</head>
|
11
|
+
<body>
|
12
|
+
|
13
|
+
<p>This is a test of BibTeX Support.<span class="externalcitation">[#Knuth:1968]</span></p>
|
14
|
+
|
15
|
+
<p>And a locator.<span class="externalcitation">[p. 123][#Knuth:1981]</span></p>
|
16
|
+
|
17
|
+
</body>
|
18
|
+
</html>
|
@@ -0,0 +1,11 @@
|
|
1
|
+
\input{mmd-article-header}
|
2
|
+
\def\mytitle{MultiMarkdown BibTeX Test}
|
3
|
+
\def\bibliocommand{\bibliography{bibtex}}
|
4
|
+
\input{mmd-article-begin-doc}
|
5
|
+
This is a test of BibTeX Support.~\citep{Knuth:1968}
|
6
|
+
|
7
|
+
And a locator.~\citep[p. 123]{Knuth:1981}
|
8
|
+
|
9
|
+
\input{mmd-memoir-footer}
|
10
|
+
|
11
|
+
\end{document}
|