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,23 @@
|
|
1
|
+
\input{mmd-article-header}
|
2
|
+
\def\mytitle{Memoir Output Test}
|
3
|
+
\def\latexmode{memoir}
|
4
|
+
\input{mmd-article-begin-doc}
|
5
|
+
\part{This is first part}
|
6
|
+
\label{thisisfirstpart}
|
7
|
+
|
8
|
+
\chapter{First chapter in first part}
|
9
|
+
\label{firstchapterinfirstpart}
|
10
|
+
|
11
|
+
Hi.
|
12
|
+
|
13
|
+
\part{Second part}
|
14
|
+
\label{secondpart}
|
15
|
+
|
16
|
+
\chapter{First chapter in second part}
|
17
|
+
\label{firstchapterinsecondpart}
|
18
|
+
|
19
|
+
Bye.
|
20
|
+
|
21
|
+
\input{mmd-memoir-footer}
|
22
|
+
|
23
|
+
\end{document}
|
@@ -0,0 +1,20 @@
|
|
1
|
+
latex input: mmd-article-header
|
2
|
+
Title: Memoir Output Test
|
3
|
+
latex mode: memoir
|
4
|
+
latex input: mmd-article-begin-doc
|
5
|
+
latex footer: mmd-memoir-footer
|
6
|
+
|
7
|
+
|
8
|
+
# This is first part #
|
9
|
+
|
10
|
+
|
11
|
+
## First chapter in first part ##
|
12
|
+
|
13
|
+
|
14
|
+
Hi.
|
15
|
+
|
16
|
+
# Second part #
|
17
|
+
|
18
|
+
## First chapter in second part ##
|
19
|
+
|
20
|
+
Bye.
|
@@ -0,0 +1,22 @@
|
|
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>This should be a <title> element</title>
|
7
|
+
<meta name="author" content="This should be the author"/>
|
8
|
+
<meta name="latexinput" content="inputthisfile"/>
|
9
|
+
<meta name="bibtex" content="bibliographyfile"/>
|
10
|
+
<meta name="latexmode" content="memoir"/>
|
11
|
+
<meta name="date" content="January 1, 2011"/>
|
12
|
+
<link type="text/css" rel="stylesheet" href="http://fletcherpenney.net/css/document.css"/>
|
13
|
+
<meta name="emptymetadata" content=""/>
|
14
|
+
<meta name="testing"
|
15
|
+
content="This test should fail in LaTeX from XSLT"/>
|
16
|
+
<meta name="latexinput" content="mmd-article-begin-doc"/>
|
17
|
+
<meta name="latexfooter" content="mmd-memoir-footer"/>
|
18
|
+
</head>
|
19
|
+
<body>
|
20
|
+
<p>And this should be the main text.</p>
|
21
|
+
</body>
|
22
|
+
</html>
|
@@ -0,0 +1,14 @@
|
|
1
|
+
\input{mmd-article-header}
|
2
|
+
\def\mytitle{This should be a $<$title$>$ element}
|
3
|
+
\def\myauthor{This should be the author}
|
4
|
+
\input{inputthisfile}
|
5
|
+
\def\bibliocommand{\bibliography{bibliographyfile}}
|
6
|
+
\def\latexmode{memoir}
|
7
|
+
\def\mydate{January 1, 2011}
|
8
|
+
\def\emptymetadata{}
|
9
|
+
\input{mmd-article-begin-doc}
|
10
|
+
And this should be the main text.
|
11
|
+
|
12
|
+
\input{mmd-memoir-footer}
|
13
|
+
|
14
|
+
\end{document}
|
@@ -0,0 +1,15 @@
|
|
1
|
+
latex input: mmd-article-header
|
2
|
+
Title: This should be a <title> element
|
3
|
+
Author: This should be the author
|
4
|
+
latex input: inputthisfile
|
5
|
+
bibtex: bibliographyfile
|
6
|
+
latex mode: memoir
|
7
|
+
date: January 1, 2011
|
8
|
+
CSS: http://fletcherpenney.net/css/document.css
|
9
|
+
empty metadata:
|
10
|
+
XHTML HEADER: <meta name="testing"
|
11
|
+
content="This test should fail in LaTeX from XSLT"/>
|
12
|
+
latex input: mmd-article-begin-doc
|
13
|
+
latex footer: mmd-memoir-footer
|
14
|
+
|
15
|
+
And this should be the main text.
|
@@ -0,0 +1,100 @@
|
|
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 Sanity 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
|
+
<h1 id="section">Section</h1>
|
13
|
+
|
14
|
+
<p>Sanity check by Jonathan Coulombe</p>
|
15
|
+
|
16
|
+
<p>Reference to <a href="#section">Section</a>
|
17
|
+
Citation<span class="externalcitation">[#Citation]</span>
|
18
|
+
Figure <a href="file.png">figure</a>
|
19
|
+
Table <a href="#table">table</a>
|
20
|
+
Link <a href="www.com">link</a>
|
21
|
+
Nowhere [Nowhere]</p>
|
22
|
+
|
23
|
+
<p>Reference to <a href="#section"></a>
|
24
|
+
Citation<span class="externalcitation">[#Citation]</span>
|
25
|
+
<!--Figure [][figure]-->
|
26
|
+
Table <a href="#table"></a>
|
27
|
+
<!--Link [][link]-->
|
28
|
+
Nowhere [][Nowhere]</p>
|
29
|
+
|
30
|
+
<p>Reference to <a href="#section">Section</a>
|
31
|
+
Citation<span class="externalcitation">[#Citation]</span>
|
32
|
+
Figure <a href="file.png">figure</a>
|
33
|
+
Table <a href="#table">table</a>
|
34
|
+
Link <a href="www.com">link</a>
|
35
|
+
Nowhere [Nowhere][]</p>
|
36
|
+
|
37
|
+
<p>Reference to <a href="#section">option</a>
|
38
|
+
Citation<span class="externalcitation">[option][#Citation]</span>
|
39
|
+
Figure <a href="file.png">option</a>
|
40
|
+
Table <a href="#table">option</a>
|
41
|
+
Link <a href="www.com">option</a>
|
42
|
+
Nowhere [option][Nowhere]</p>
|
43
|
+
|
44
|
+
<p>Reference to [Section][option]
|
45
|
+
Citation<span class="externalcitation">[#Citation]</span>[option]
|
46
|
+
Figure [figure][option]
|
47
|
+
Table [table][option]
|
48
|
+
Link [link][option]
|
49
|
+
Nowhere [Nowhere][option]</p>
|
50
|
+
|
51
|
+
<p>Reference to <a href="Section">Section</a>
|
52
|
+
Citation<span class="externalcitation">[#Citation]</span>(Citation)
|
53
|
+
Figure <a href="figure">figure</a>
|
54
|
+
Table <a href="table">table</a>
|
55
|
+
Link <a href="link">link</a>
|
56
|
+
Nowhere <a href="nowhere">Nowhere</a></p>
|
57
|
+
|
58
|
+
<!--Reference to [](Section)-->
|
59
|
+
|
60
|
+
<!--Citation[](Citation)-->
|
61
|
+
|
62
|
+
<!--Figure [](figure)-->
|
63
|
+
|
64
|
+
<!--Table [](table)-->
|
65
|
+
|
66
|
+
<!--Link [](link)-->
|
67
|
+
|
68
|
+
<!--Nowhere [](nowhere)-->
|
69
|
+
|
70
|
+
<p>Reference to <a href="#Section"></a>
|
71
|
+
Citation<a href="#Citation"></a>
|
72
|
+
Figure <a href="#figure"></a>
|
73
|
+
Table <a href="#table"></a>
|
74
|
+
Link <a href="#link"></a>
|
75
|
+
Nowhere <a href="#nowhere"></a></p>
|
76
|
+
|
77
|
+
<p><img src="file.png" id="figure" alt="figure" /></p>
|
78
|
+
|
79
|
+
<table>
|
80
|
+
<caption id="table">table</caption>
|
81
|
+
<col align="left"/>
|
82
|
+
<col align="left"/>
|
83
|
+
|
84
|
+
<thead>
|
85
|
+
<tr>
|
86
|
+
<th align="left">a</th>
|
87
|
+
<th align="left">b</th>
|
88
|
+
</tr>
|
89
|
+
</thead>
|
90
|
+
|
91
|
+
<tbody>
|
92
|
+
<tr>
|
93
|
+
<td align="left">x</td>
|
94
|
+
<td align="left">y</td>
|
95
|
+
</tr>
|
96
|
+
</tbody>
|
97
|
+
</table>
|
98
|
+
|
99
|
+
</body>
|
100
|
+
</html>
|
@@ -0,0 +1,101 @@
|
|
1
|
+
\input{mmd-article-header}
|
2
|
+
\def\mytitle{MultiMarkdown Sanity Test}
|
3
|
+
\def\latexmode{memoir}
|
4
|
+
\input{mmd-article-begin-doc}
|
5
|
+
\part{Section}
|
6
|
+
\label{section}
|
7
|
+
|
8
|
+
Sanity check by Jonathan Coulombe
|
9
|
+
|
10
|
+
Reference to Section (\autoref{section})
|
11
|
+
Citation~\citep{Citation}
|
12
|
+
Figure \href{file.png}{figure}\footnote{\href{file.png}{file.png}}
|
13
|
+
Table table (\autoref{table})
|
14
|
+
Link \href{www.com}{link}\footnote{\href{www.com}{www.com}}
|
15
|
+
Nowhere [Nowhere]
|
16
|
+
|
17
|
+
Reference to \autoref{section}
|
18
|
+
Citation~\citep{Citation}
|
19
|
+
Figure [][figure]
|
20
|
+
Table \autoref{table}
|
21
|
+
Link [][link]
|
22
|
+
Nowhere [][Nowhere]
|
23
|
+
|
24
|
+
Reference to Section (\autoref{section})
|
25
|
+
Citation~\citep{Citation}
|
26
|
+
Figure \href{file.png}{figure}\footnote{\href{file.png}{file.png}}
|
27
|
+
Table table (\autoref{table})
|
28
|
+
Link \href{www.com}{link}\footnote{\href{www.com}{www.com}}
|
29
|
+
Nowhere [Nowhere][]
|
30
|
+
|
31
|
+
Reference to option (\autoref{section})
|
32
|
+
Citation~\citep[option]{Citation}
|
33
|
+
Figure \href{file.png}{option}\footnote{\href{file.png}{file.png}}
|
34
|
+
Table option (\autoref{table})
|
35
|
+
Link \href{www.com}{option}\footnote{\href{www.com}{www.com}}
|
36
|
+
Nowhere [option][Nowhere]
|
37
|
+
|
38
|
+
Reference to [Section][option]
|
39
|
+
Citation~\citep{Citation}[option]
|
40
|
+
Figure [figure][option]
|
41
|
+
Table [table][option]
|
42
|
+
Link [link][option]
|
43
|
+
Nowhere [Nowhere][option]
|
44
|
+
|
45
|
+
Reference to \href{Section}{Section}
|
46
|
+
Citation~\citep{Citation}(Citation)
|
47
|
+
Figure \href{figure}{figure}
|
48
|
+
Table \href{table}{table}
|
49
|
+
Link \href{link}{link}
|
50
|
+
Nowhere \href{nowhere}{Nowhere}\footnote{\href{nowhere}{nowhere}}
|
51
|
+
|
52
|
+
Reference to [](Section)
|
53
|
+
|
54
|
+
Citation[](Citation)
|
55
|
+
|
56
|
+
Figure [](figure)
|
57
|
+
|
58
|
+
Table [](table)
|
59
|
+
|
60
|
+
Link [](link)
|
61
|
+
|
62
|
+
Nowhere [](nowhere)
|
63
|
+
|
64
|
+
Reference to \autoref{section}
|
65
|
+
Citation\autoref{citation}
|
66
|
+
Figure \autoref{figure}
|
67
|
+
Table \autoref{table}
|
68
|
+
Link \autoref{link}
|
69
|
+
Nowhere \autoref{nowhere}
|
70
|
+
|
71
|
+
\begin{figure}[htbp]
|
72
|
+
\centering
|
73
|
+
\includegraphics[keepaspectratio,width=\textwidth,height=0.75\textheight]{file.png}
|
74
|
+
\caption{figure}
|
75
|
+
\label{figure}
|
76
|
+
\end{figure}
|
77
|
+
|
78
|
+
|
79
|
+
|
80
|
+
\begin{table}[htbp]
|
81
|
+
\begin{minipage}{\linewidth}
|
82
|
+
\setlength{\tymax}{0.5\linewidth}
|
83
|
+
\centering
|
84
|
+
\small
|
85
|
+
\caption{table}
|
86
|
+
\label{table}
|
87
|
+
\begin{tabulary}{\textwidth}{@{}LL@{}} \toprule
|
88
|
+
a&b\\
|
89
|
+
\midrule
|
90
|
+
x&y\\
|
91
|
+
|
92
|
+
\bottomrule
|
93
|
+
|
94
|
+
\end{tabulary}
|
95
|
+
\end{minipage}
|
96
|
+
\end{table}
|
97
|
+
|
98
|
+
|
99
|
+
\input{mmd-memoir-footer}
|
100
|
+
|
101
|
+
\end{document}
|
@@ -0,0 +1,78 @@
|
|
1
|
+
latex input: mmd-article-header
|
2
|
+
Title: MultiMarkdown Sanity Test
|
3
|
+
quoteslanguage: english
|
4
|
+
latex mode: memoir
|
5
|
+
latex input: mmd-article-begin-doc
|
6
|
+
latex footer: mmd-memoir-footer
|
7
|
+
|
8
|
+
# Section #
|
9
|
+
|
10
|
+
Sanity check by Jonathan Coulombe
|
11
|
+
|
12
|
+
Reference to [Section]
|
13
|
+
Citation[#Citation]
|
14
|
+
Figure [figure]
|
15
|
+
Table [table]
|
16
|
+
Link [link]
|
17
|
+
Nowhere [Nowhere]
|
18
|
+
|
19
|
+
Reference to [][Section]
|
20
|
+
Citation[][#Citation]
|
21
|
+
<!--Figure [][figure]-->
|
22
|
+
Table [][table]
|
23
|
+
<!--Link [][link]-->
|
24
|
+
Nowhere [][Nowhere]
|
25
|
+
|
26
|
+
Reference to [Section][]
|
27
|
+
Citation[#Citation][]
|
28
|
+
Figure [figure][]
|
29
|
+
Table [table][]
|
30
|
+
Link [link][]
|
31
|
+
Nowhere [Nowhere][]
|
32
|
+
|
33
|
+
Reference to [option][Section]
|
34
|
+
Citation[option][#Citation]
|
35
|
+
Figure [option][figure]
|
36
|
+
Table [option][table]
|
37
|
+
Link [option][link]
|
38
|
+
Nowhere [option][Nowhere]
|
39
|
+
|
40
|
+
Reference to [Section][option]
|
41
|
+
Citation[#Citation][option]
|
42
|
+
Figure [figure][option]
|
43
|
+
Table [table][option]
|
44
|
+
Link [link][option]
|
45
|
+
Nowhere [Nowhere][option]
|
46
|
+
|
47
|
+
Reference to [Section](Section)
|
48
|
+
Citation[#Citation](Citation)
|
49
|
+
Figure [figure](figure)
|
50
|
+
Table [table](table)
|
51
|
+
Link [link](link)
|
52
|
+
Nowhere [Nowhere](nowhere)
|
53
|
+
|
54
|
+
<!--Reference to [](Section)-->
|
55
|
+
<!--Citation[](Citation)-->
|
56
|
+
<!--Figure [](figure)-->
|
57
|
+
<!--Table [](table)-->
|
58
|
+
<!--Link [](link)-->
|
59
|
+
<!--Nowhere [](nowhere)-->
|
60
|
+
|
61
|
+
Reference to [](#Section)
|
62
|
+
Citation[](#Citation)
|
63
|
+
Figure [](#figure)
|
64
|
+
Table [](#table)
|
65
|
+
Link [](#link)
|
66
|
+
Nowhere [](#nowhere)
|
67
|
+
|
68
|
+
|
69
|
+
![figure][]
|
70
|
+
|
71
|
+
[figure]: file.png
|
72
|
+
|
73
|
+
[table]
|
74
|
+
| a | b |
|
75
|
+
|---|---|
|
76
|
+
| x | y |
|
77
|
+
|
78
|
+
[link]: www.com
|
@@ -0,0 +1,26 @@
|
|
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>SmartQuotes 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>Some rather complicated tests for smart quotes with non-ascii input.</p>
|
13
|
+
|
14
|
+
<p>l’année l’année</p>
|
15
|
+
|
16
|
+
<p>l’été l’année</p>
|
17
|
+
|
18
|
+
<p>l’été l’été</p>
|
19
|
+
|
20
|
+
<p>l’année l’été</p>
|
21
|
+
|
22
|
+
<p>“Smart” ‘quote’</p>
|
23
|
+
|
24
|
+
<p>An escaped ‘|’</p>
|
25
|
+
</body>
|
26
|
+
</html>
|
@@ -0,0 +1,21 @@
|
|
1
|
+
\input{mmd-article-header}
|
2
|
+
\def\mytitle{SmartQuotes Test}
|
3
|
+
\def\latexmode{memoir}
|
4
|
+
\input{mmd-article-begin-doc}
|
5
|
+
Some rather complicated tests for smart quotes with non-ascii input.
|
6
|
+
|
7
|
+
l'année l'année
|
8
|
+
|
9
|
+
l'été l'année
|
10
|
+
|
11
|
+
l'été l'été
|
12
|
+
|
13
|
+
l'année l'été
|
14
|
+
|
15
|
+
``Smart'' `quote'
|
16
|
+
|
17
|
+
An escaped `\textbar{}'
|
18
|
+
|
19
|
+
\input{mmd-memoir-footer}
|
20
|
+
|
21
|
+
\end{document}
|
@@ -0,0 +1,19 @@
|
|
1
|
+
latex input: mmd-article-header
|
2
|
+
Title: SmartQuotes Test
|
3
|
+
latex mode: memoir
|
4
|
+
latex input: mmd-article-begin-doc
|
5
|
+
latex footer: mmd-memoir-footer
|
6
|
+
|
7
|
+
Some rather complicated tests for smart quotes with non-ascii input.
|
8
|
+
|
9
|
+
l'année l'année
|
10
|
+
|
11
|
+
l'été l'année
|
12
|
+
|
13
|
+
l'été l'été
|
14
|
+
|
15
|
+
l'année l'été
|
16
|
+
|
17
|
+
"Smart" 'quote'
|
18
|
+
|
19
|
+
An escaped '|'
|
@@ -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 Swedish 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 Swedish 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 Swedish Test
|
3
|
+
quoteslanguage: swedish
|
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...
|