9 |
--------------------------------------------------------------------------------
/tests/MMD6Tests/BOM.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | BOM
6 |
7 |
8 |
9 | This file leads with a Byte Order Marker (BOM).
10 |
11 |
12 |
13 |
14 |
--------------------------------------------------------------------------------
/tests/MMD6Tests/BOM.htmlc:
--------------------------------------------------------------------------------
1 | title: BOM
2 | latexconfig: article
3 |
4 | This file leads with a Byte Order Marker (BOM).
5 |
--------------------------------------------------------------------------------
/tests/MMD6Tests/BOM.opml:
--------------------------------------------------------------------------------
1 |
2 |
3 | BOM
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
--------------------------------------------------------------------------------
/tests/MMD6Tests/BOM.tex:
--------------------------------------------------------------------------------
1 | \input{mmd6-article-leader}
2 | \def\mytitle{BOM}
3 | \input{mmd6-article-begin}
4 |
5 | This file leads with a Byte Order Marker (BOM).
6 |
7 | \input{mmd6-article-footer}
8 | \end{document}
9 |
--------------------------------------------------------------------------------
/tests/MMD6Tests/BOM.text:
--------------------------------------------------------------------------------
1 | title: BOM
2 | latexconfig: article
3 |
4 | This file leads with a Byte Order Marker (BOM).
5 |
--------------------------------------------------------------------------------
/tests/MMD6Tests/BasicBlocks.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | Basic Blocks
6 |
7 |
8 |
9 | foo
10 |
11 | Heading foo
12 |
13 | Heading
14 |
15 | foo
16 | bar
17 |
18 | 5
19 |
20 | foo
21 | bar
22 |
23 | foo
24 | bar
25 |
26 |
27 |
28 |
29 |
--------------------------------------------------------------------------------
/tests/MMD6Tests/BasicBlocks.htmlc:
--------------------------------------------------------------------------------
1 | title: Basic Blocks
2 | latexconfig: article
3 |
4 | foo
5 |
6 | Heading foo
7 |
8 | Heading
9 |
10 | foo
11 | bar
12 |
13 | 5
14 |
15 | foo
16 | bar
17 |
18 | foo
19 | bar
20 |
--------------------------------------------------------------------------------
/tests/MMD6Tests/BasicBlocks.opml:
--------------------------------------------------------------------------------
1 |
2 |
3 | Basic Blocks
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
--------------------------------------------------------------------------------
/tests/MMD6Tests/BasicBlocks.tex:
--------------------------------------------------------------------------------
1 | \input{mmd6-article-leader}
2 | \def\mytitle{Basic Blocks}
3 | \input{mmd6-article-begin}
4 |
5 | foo
6 |
7 | \part{Heading \emph{foo}}
8 | \label{headingfoo}
9 |
10 | \chapter{Heading}
11 | \label{heading}
12 |
13 | foo
14 | bar
15 |
16 | 5
17 |
18 | foo
19 | bar
20 |
21 | foo
22 | bar
23 |
24 | \input{mmd6-article-footer}
25 | \end{document}
26 |
--------------------------------------------------------------------------------
/tests/MMD6Tests/BasicBlocks.text:
--------------------------------------------------------------------------------
1 | title: Basic Blocks
2 | latexconfig: article
3 |
4 | foo
5 |
6 | # Heading *foo* #
7 |
8 | ## Heading ##
9 |
10 | foo
11 | bar
12 |
13 | 5
14 |
15 | foo
16 | bar
17 |
18 | foo
19 | bar
20 |
21 |
--------------------------------------------------------------------------------
/tests/MMD6Tests/BasicLists.opml:
--------------------------------------------------------------------------------
1 |
2 |
3 | Basic Lists
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
--------------------------------------------------------------------------------
/tests/MMD6Tests/BasicLists.text:
--------------------------------------------------------------------------------
1 | title: Basic Lists
2 | latexconfig: article
3 |
4 | * foo
5 | * foo
6 | * foo
7 |
8 |
9 | bar
10 |
11 | * foo
12 |
13 | * foo
14 |
15 | * foo
16 |
17 |
18 | bar
19 |
20 | * foo
21 | * foo
22 |
23 | * foo
24 |
25 | 5
26 |
27 | 1. foo
28 | 2. foo
29 | 3. foo
30 |
31 | bar
32 |
33 | 1. foo
34 |
35 | 2. foo
36 |
37 | 3. foo
38 |
39 | bar
40 |
41 | 1. foo
42 | 2. foo
43 |
44 | 3. foo
45 |
46 | 10
47 |
48 | + foo
49 | + foo
50 | + foo
51 |
52 | bar
53 |
54 | - foo
55 | - foo
56 | - foo
57 |
58 | bar
59 |
60 | * foo
61 | bar
62 | * foo
63 | bar
64 | * foo
65 | bar
66 |
67 | 15
68 |
69 | * foo
70 |
71 | bar
72 |
73 | bar
74 |
75 | 1. foo
76 |
77 | bar
78 |
79 | bar
80 |
81 | * foo
82 |
83 | bar
84 |
85 | 1. foo
86 |
87 | bar
88 |
89 | 1. foo
90 | 2. foo
91 |
92 | bar
93 |
94 |
--------------------------------------------------------------------------------
/tests/MMD6Tests/BibTeX.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | Bibliography
6 |
7 |
8 |
9 | [#Knuth:1968]
10 |
11 | [#Knuth:1968;]
12 |
13 | [#Knuth:1981]
14 |
15 | [#Knuth:1981;]
16 |
17 | [#Knuth:1968,Knuth:1981]
18 |
19 | 5
20 |
21 | [#Knuth:1968,Knuth:1981;]
22 |
23 | [#Knuth:1981][#Knuth:1981]
24 |
25 | [#Knuth:1981;][#Knuth:1981;]
26 |
27 |
28 |
29 |
30 |
--------------------------------------------------------------------------------
/tests/MMD6Tests/BibTeX.htmlc:
--------------------------------------------------------------------------------
1 | title: Bibliography
2 | latexconfig: article
3 | bibtex: bibtex
4 | bibliostyle: apalike
5 |
6 | [#Knuth:1968]
7 |
8 | [#Knuth:1968;]
9 |
10 | [#Knuth:1981]
11 |
12 | [#Knuth:1981;]
13 |
14 | [#Knuth:1968,Knuth:1981]
15 |
16 | 5
17 |
18 | [#Knuth:1968,Knuth:1981;]
19 |
20 | [chap. 2][#Knuth:1981]
21 |
22 | [chap. 2][#Knuth:1981;]
23 |
--------------------------------------------------------------------------------
/tests/MMD6Tests/BibTeX.opml:
--------------------------------------------------------------------------------
1 |
2 |
3 | Bibliography
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
--------------------------------------------------------------------------------
/tests/MMD6Tests/BibTeX.tex:
--------------------------------------------------------------------------------
1 | \input{mmd6-article-leader}
2 | \def\mytitle{Bibliography}
3 | \def\bibliocommand{\bibliography{bibtex}}
4 | \def\bibliostyle{apalike}
5 | \input{mmd6-article-begin}
6 |
7 | ~\citep{Knuth:1968}
8 |
9 | \citet{Knuth:1968}
10 |
11 | ~\citep{Knuth:1981}
12 |
13 | \citet{Knuth:1981}
14 |
15 | ~\citep{Knuth:1968,Knuth:1981}
16 |
17 | 5
18 |
19 | \citet{Knuth:1968,Knuth:1981}
20 |
21 | ~\citep[chap. 2]{Knuth:1981}
22 |
23 | \citet[chap. 2]{Knuth:1981}
24 |
25 | \input{mmd6-article-footer}
26 | \end{document}
27 |
--------------------------------------------------------------------------------
/tests/MMD6Tests/BibTeX.text:
--------------------------------------------------------------------------------
1 | title: Bibliography
2 | latexconfig: article
3 | bibtex: bibtex
4 | bibliostyle: apalike
5 |
6 |
7 | [#Knuth:1968]
8 |
9 | [#Knuth:1968;]
10 |
11 | [#Knuth:1981]
12 |
13 | [#Knuth:1981;]
14 |
15 | [#Knuth:1968,Knuth:1981]
16 |
17 | 5
18 |
19 | [#Knuth:1968,Knuth:1981;]
20 |
21 | [chap. 2][#Knuth:1981]
22 |
23 | [chap. 2][#Knuth:1981;]
24 |
--------------------------------------------------------------------------------
/tests/MMD6Tests/Blockquotes.text:
--------------------------------------------------------------------------------
1 | title: Blockquotes
2 | latexconfig: article
3 |
4 | > foo
5 | > bar
6 |
7 | > foo
8 | >> bar
9 | > foo
10 |
11 | > foo
12 | > > bar
13 | >
14 | > foo
15 |
16 | > foo
17 | > bar
18 | > foo
19 | >
20 | > bar
21 | > foo
22 | >bar
23 |
24 | > foo
25 |
26 | > bar
27 |
28 | 5
29 |
30 | > foo
31 | >
32 | > bar
33 |
34 | > foo
35 |
36 | > bar
37 |
38 | > foo
39 | >
40 | > bar
41 |
42 | > ```
43 | > *foo*
44 | > **bar**
45 | > ```
46 |
47 | >
48 | > Test
49 | >
50 |
51 | > **foo**
52 |
53 | 10
54 |
55 | > ## This is a header.
56 | >
57 | > 1. This is the first list item.
58 | > 2. This is the second list item.
59 | >
60 | > Here's some example code:
61 | >
62 | > return shell_exec("echo $input | $markdown_script");
63 |
--------------------------------------------------------------------------------
/tests/MMD6Tests/Citations.htmlc:
--------------------------------------------------------------------------------
1 | title: Citations
2 | latexconfig: article
3 |
4 | citep
5 |
6 | [#foo1]
7 |
8 | [#foo1][]
9 |
10 | [p. 123][#foo1]
11 |
12 | [][#foo1]
13 |
14 | [foo][bar][#foo1]
15 |
16 | [#foo1][#foo2]
17 |
18 | citet
19 |
20 | [#foo1;]
21 |
22 | [#foo1;][]
23 |
24 | [p. 123][#foo1;]
25 |
26 | [][#foo1;]
27 |
28 | [foo][bar][#foo1;]
29 |
30 | [#foo1;][#foo2;]
31 |
32 | [Not Cited][#foo3]
33 |
34 | [#foo1]: John Doe. A Totally Fake Book 1 . Vanity Press, 2006.
35 |
36 | [#foo2]: John Doe. A Totally Fake Book 2 . Vanity Press, 2006.
37 |
38 | [#foo3]: John Doe. A Totally Fake Book 3 . Vanity Press, 2006.
39 |
--------------------------------------------------------------------------------
/tests/MMD6Tests/Citations.opml:
--------------------------------------------------------------------------------
1 |
2 |
3 | Citations
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
--------------------------------------------------------------------------------
/tests/MMD6Tests/Citations.tex:
--------------------------------------------------------------------------------
1 | \input{mmd6-article-leader}
2 | \def\mytitle{Citations}
3 | \input{mmd6-article-begin}
4 |
5 | \part{citep}
6 | \label{citep}
7 |
8 | ~\citep{foo1}
9 |
10 | ~\citep{foo1}{[]}
11 |
12 | ~\citep[p. 123]{foo1}
13 |
14 | ~\citep{foo1}
15 |
16 | ~\citep[foo][bar]{foo1}
17 |
18 | ~\citep{foo1}~\citep{foo2}
19 |
20 | \part{citet}
21 | \label{citet}
22 |
23 | \citet{foo1}
24 |
25 | \citet{foo1}{[]}
26 |
27 | \citet[p. 123]{foo1}
28 |
29 | \citet{foo1}
30 |
31 | \citet[foo][bar]{foo1}
32 |
33 | \citet{foo1}\citet{foo2}
34 |
35 | ~\nocite{foo3}
36 |
37 | \begin{thebibliography}{0}
38 |
39 | \bibitem{foo1}
40 | John Doe. \emph{A Totally Fake Book 1}. Vanity Press, 2006.
41 |
42 | \bibitem{foo2}
43 | John Doe. \emph{A Totally Fake Book 2}. Vanity Press, 2006.
44 |
45 | \bibitem{foo3}
46 | John Doe. \emph{A Totally Fake Book 3}. Vanity Press, 2006.
47 | \end{thebibliography}
48 |
49 | \input{mmd6-article-footer}
50 | \end{document}
51 |
--------------------------------------------------------------------------------
/tests/MMD6Tests/Citations.text:
--------------------------------------------------------------------------------
1 | title: Citations
2 | latexconfig: article
3 |
4 | # citep #
5 |
6 | [#foo1]
7 |
8 | [#foo1][]
9 |
10 | [p. 123][#foo1]
11 |
12 | [][#foo1]
13 |
14 | [foo\]\[bar][#foo1]
15 |
16 | [#foo1][#foo2]
17 |
18 |
19 | # citet #
20 |
21 | [#foo1;]
22 |
23 | [#foo1;][]
24 |
25 | [p. 123][#foo1;]
26 |
27 | [][#foo1;]
28 |
29 | [foo\]\[bar][#foo1;]
30 |
31 | [#foo1;][#foo2;]
32 |
33 |
34 | [Not Cited][#foo3]
35 |
36 |
37 | [#foo1]: John Doe. *A Totally Fake Book 1*. Vanity Press, 2006.
38 |
39 | [#foo2]: John Doe. *A Totally Fake Book 2*. Vanity Press, 2006.
40 |
41 | [#foo3]: John Doe. *A Totally Fake Book 3*. Vanity Press, 2006.
42 |
--------------------------------------------------------------------------------
/tests/MMD6Tests/CodeSpans.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | Code Spans
6 |
7 |
8 |
9 | foo
10 |
11 | foo ` bar
12 |
13 | ``
14 |
15 | foo``bar
16 |
17 | ``foo`
18 |
19 | 5
20 |
21 | `foo``
22 |
23 | foo
24 |
25 | foo bar
26 | baz
27 |
28 | foo `` bar
29 |
30 | foo
31 |
32 | 10
33 |
34 | foo bar
35 |
36 | *foo*
37 |
38 | [foo]
39 |
40 | -<>--&\&---...
41 |
42 | `foo`
43 |
44 | 15
45 |
46 | $foo << $bar
47 |
48 | #foo
49 |
50 |
51 |
52 |
53 |
--------------------------------------------------------------------------------
/tests/MMD6Tests/CodeSpans.htmlc:
--------------------------------------------------------------------------------
1 | title: Code Spans
2 | latexconfig: article
3 |
4 | foo
5 |
6 | foo ` bar
7 |
8 | ``
9 |
10 | foo``bar
11 |
12 | ``foo`
13 |
14 | 5
15 |
16 | `foo``
17 |
18 | foo
19 |
20 | foo bar
21 | baz
22 |
23 | foo `` bar
24 |
25 | foo
26 |
27 | 10
28 |
29 | foo bar
30 |
31 | *foo*
32 |
33 | [foo]
34 |
35 | -<>--&\&---...
36 |
37 | `foo`
38 |
39 | 15
40 |
41 | $foo << $bar
42 |
43 | #foo
44 |
--------------------------------------------------------------------------------
/tests/MMD6Tests/CodeSpans.opml:
--------------------------------------------------------------------------------
1 |
2 |
3 | Code Spans
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
--------------------------------------------------------------------------------
/tests/MMD6Tests/CodeSpans.tex:
--------------------------------------------------------------------------------
1 | \input{mmd6-article-leader}
2 | \def\mytitle{Code Spans}
3 | \input{mmd6-article-begin}
4 |
5 | \texttt{foo}
6 |
7 | \texttt{foo ` bar}
8 |
9 | \texttt{``}
10 |
11 | \texttt{foo``bar}
12 |
13 | ``foo`
14 |
15 | 5
16 |
17 | `foo``
18 |
19 | \texttt{foo}
20 |
21 | \texttt{foo bar
22 | baz}
23 |
24 | \texttt{foo `` bar}
25 |
26 | \texttt{foo}
27 |
28 | 10
29 |
30 | \texttt{foo bar}
31 |
32 | \texttt{*foo*}
33 |
34 | \texttt{[foo]}
35 |
36 | \texttt{-<>-{}-\&\textbackslash{}\&-{}-{}-...}
37 |
38 | \texttt{`foo`}
39 |
40 | 15
41 |
42 | \texttt{\$foo << \$bar}
43 |
44 | \texttt{\#foo}
45 |
46 | \input{mmd6-article-footer}
47 | \end{document}
48 |
--------------------------------------------------------------------------------
/tests/MMD6Tests/CodeSpans.text:
--------------------------------------------------------------------------------
1 | title: Code Spans
2 | latexconfig: article
3 |
4 | `foo`
5 |
6 | `` foo ` bar ``
7 |
8 | ` `` `
9 |
10 | `foo``bar`
11 |
12 | ``foo`
13 |
14 | 5
15 |
16 | `foo``
17 |
18 | ``
19 | foo
20 | ``
21 |
22 | `foo bar
23 | baz`
24 |
25 | `foo `` bar`
26 |
27 | ` foo `
28 |
29 | 10
30 |
31 | ` foo bar `
32 |
33 | `*foo*`
34 |
35 | `[foo]`
36 |
37 | `-<>--&\&---...`
38 |
39 | `` `foo` ``
40 |
41 | 15
42 |
43 | `$foo << $bar`
44 |
45 | `#foo`
46 |
--------------------------------------------------------------------------------
/tests/MMD6Tests/Cross-References.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | Cross-References
6 |
7 |
8 |
9 | A Section
10 |
11 | 109&*&#()^ Can Start With Digit
12 |
13 | Strip out &%^ characters &*^
14 |
15 | A Section .
16 |
17 | 1 Cross-References: Special Characters!@#$%&*()<>^
18 |
19 | 5
20 |
21 | And now, link to 1 Cross-References: Special Characters!@#$%&*()<>^
22 |
23 | Заголовок по-русски
24 |
25 | И ссылка на Заголовок по-русски .
26 |
27 | Test 的 Multibyte
28 |
29 | 10
30 |
31 | Test_Underscore
32 |
33 | Link to Test_Underscore .
34 |
35 |
36 |
37 |
38 |
--------------------------------------------------------------------------------
/tests/MMD6Tests/Cross-References.htmlc:
--------------------------------------------------------------------------------
1 | title: Cross-References
2 | latexconfig: article
3 |
4 | A Section
5 |
6 | 109&*&#()^ Can Start With Digit
7 |
8 | Strip out &%^ characters &*^
9 |
10 | [A Section].
11 |
12 | 1 Cross-References: Special Characters!@#$%&*()<>^
13 |
14 | 5
15 |
16 | And now, link to [1 Cross-References: Special Characters!@#$%&*()<>^][]
17 |
18 | Заголовок по-русски
19 |
20 | И ссылка на [Заголовок по-русски].
21 |
22 | Test 的 Multibyte
23 |
24 | 10
25 |
26 | Test_Underscore
27 |
28 | Link to [Test_Underscore].
29 |
--------------------------------------------------------------------------------
/tests/MMD6Tests/Cross-References.opml:
--------------------------------------------------------------------------------
1 |
2 |
3 | Cross-References
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
--------------------------------------------------------------------------------
/tests/MMD6Tests/Cross-References.tex:
--------------------------------------------------------------------------------
1 | \input{mmd6-article-leader}
2 | \def\mytitle{Cross-References}
3 | \input{mmd6-article-begin}
4 |
5 | \part{A Section}
6 | \label{asection}
7 |
8 | \part{109\&*\&\#()\^{} Can Start With Digit}
9 | \label{109canstartwithdigit}
10 |
11 | \part{Strip out \&\%\^{} characters \&*\^{}}
12 | \label{stripoutcharacters}
13 |
14 | A Section (\autoref{asection}).
15 |
16 | \chapter{1 Cross-References: Special Characters!@\#\$\%\&*()<>\^{}}
17 | \label{1cross-references:specialcharacters}
18 |
19 | 5
20 |
21 | And now, link to 1 Cross-References: Special Characters!@\#\$\%\&*()<>\^{} (\autoref{1cross-references:specialcharacters})
22 |
23 | \part{Заголовок по-русски}
24 | \label{Заголовокпо-русски}
25 |
26 | И ссылка на Заголовок по-русски (\autoref{Заголовокпо-русски}).
27 |
28 | \part{Test 的 Multibyte}
29 | \label{test的multibyte}
30 |
31 | 10
32 |
33 | \part{Test\_Underscore}
34 | \label{test_underscore}
35 |
36 | Link to Test\_Underscore (\autoref{test_underscore}).
37 |
38 | \input{mmd6-article-footer}
39 | \end{document}
40 |
--------------------------------------------------------------------------------
/tests/MMD6Tests/Cross-References.text:
--------------------------------------------------------------------------------
1 | title: Cross-References
2 | latexconfig: article
3 |
4 | # A Section #
5 |
6 | # 109&*()^ Can Start With Digit #
7 |
8 | # Strip out &%^ characters &*^ #
9 |
10 | [A Section].
11 |
12 | ## 1 Cross-References: Special Characters!@#$%&*()<>^ ##
13 |
14 | 5
15 |
16 | And now, link to [1 Cross-References: Special Characters!@#$%&*()<>^][]
17 |
18 | # Заголовок по-русски #
19 |
20 | И ссылка на [Заголовок по-русски].
21 |
22 | # Test 的 Multibyte #
23 |
24 | 10
25 |
26 | # Test_Underscore #
27 |
28 | Link to [Test_Underscore].
29 |
--------------------------------------------------------------------------------
/tests/MMD6Tests/DefinitionLists.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | Definition Lists
6 |
7 |
8 |
9 |
10 | foo
11 | bar
12 | *foo bar
13 |
14 | baz bat*
15 |
16 | foo
17 | bar
18 | foo bar
19 | bar foo
20 |
21 | baz bat
22 |
23 | bat
24 | foo
25 |
26 | foo
27 | *foo bar
28 | bar foo
29 |
30 | baz* bat
31 |
32 |
33 | foo
34 |
35 | :foo
36 |
37 |
38 |
39 |
40 |
41 |
--------------------------------------------------------------------------------
/tests/MMD6Tests/DefinitionLists.htmlc:
--------------------------------------------------------------------------------
1 | title: Definition Lists
2 | latexconfig: article
3 |
4 | foo
5 | bar
6 | : foo bar
7 | : baz bat
8 |
9 | foo
10 | bar
11 | : foo bar
12 | bar foo
13 | : baz bat
14 |
15 | bat
16 | : foo
17 |
18 | foo
19 | : foo bar
20 | bar foo
21 | : baz bat
22 |
23 | foo
24 |
25 | :foo
26 |
--------------------------------------------------------------------------------
/tests/MMD6Tests/DefinitionLists.opml:
--------------------------------------------------------------------------------
1 |
2 |
3 | Definition Lists
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
--------------------------------------------------------------------------------
/tests/MMD6Tests/DefinitionLists.tex:
--------------------------------------------------------------------------------
1 | \input{mmd6-article-leader}
2 | \def\mytitle{Definition Lists}
3 | \input{mmd6-article-begin}
4 |
5 | \begin{description}
6 | \item[foo]
7 |
8 | \item[bar]
9 |
10 | *foo bar
11 |
12 | baz bat*
13 |
14 | \item[foo]
15 |
16 | \item[bar]
17 |
18 | \emph{foo bar
19 | bar foo}
20 |
21 | baz bat
22 |
23 | \item[bat]
24 |
25 | \emph{foo}
26 |
27 | \item[foo]
28 |
29 | *foo bar
30 | bar foo
31 |
32 | baz* bat
33 | \end{description}
34 |
35 | foo
36 |
37 | :foo
38 |
39 |
40 | \input{mmd6-article-footer}
41 | \end{document}
42 |
--------------------------------------------------------------------------------
/tests/MMD6Tests/DefinitionLists.text:
--------------------------------------------------------------------------------
1 | title: Definition Lists
2 | latexconfig: article
3 |
4 | foo
5 | bar
6 | : *foo bar
7 | : baz bat*
8 |
9 | foo
10 | bar
11 | : *foo bar
12 | bar foo*
13 | : baz bat
14 |
15 | bat
16 | : *foo*
17 |
18 | foo
19 | : *foo bar
20 | bar foo
21 | : baz* bat
22 |
23 | foo
24 |
25 | :foo
26 |
--------------------------------------------------------------------------------
/tests/MMD6Tests/Dutch.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | Dutch
6 |
7 |
8 |
9 | ‘foo’
10 |
11 | „foo”
12 |
13 | foo’s
14 |
15 | foo — bar
16 |
17 | foo – bar
18 |
19 | 5
20 |
21 | foo…
22 |
23 |
24 |
25 | (1)
26 |
27 |
37 |
38 |
39 |
40 |
41 |
42 |
43 | foo ↩︎
44 |
45 |
46 |
47 |
48 |
49 |
50 |
51 |
52 |
--------------------------------------------------------------------------------
/tests/MMD6Tests/Dutch.htmlc:
--------------------------------------------------------------------------------
1 | title: Dutch
2 | latexconfig: article
3 | language: nl
4 |
5 | 'foo'
6 |
7 | "foo"
8 |
9 | foo's
10 |
11 | foo --- bar
12 |
13 | foo -- bar
14 |
15 | 5
16 |
17 | foo...
18 |
19 | [^foo]
20 |
21 | #bar
22 |
--------------------------------------------------------------------------------
/tests/MMD6Tests/Dutch.opml:
--------------------------------------------------------------------------------
1 |
2 |
3 | Dutch
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
--------------------------------------------------------------------------------
/tests/MMD6Tests/Dutch.tex:
--------------------------------------------------------------------------------
1 | \input{mmd6-article-leader}
2 | \def\mytitle{Dutch}
3 | \input{mmd6-article-begin}
4 |
5 | `foo'
6 |
7 | „foo''
8 |
9 | foo's
10 |
11 | foo --- bar
12 |
13 | foo -- bar
14 |
15 | 5
16 |
17 | foo{\ldots}
18 |
19 | \footnote{foo}
20 |
21 | ~\citep{bar}
22 |
23 | \begin{thebibliography}{0}
24 |
25 | \bibitem{bar}
26 | foo
27 | \end{thebibliography}
28 |
29 | \input{mmd6-article-footer}
30 | \end{document}
31 |
--------------------------------------------------------------------------------
/tests/MMD6Tests/Dutch.text:
--------------------------------------------------------------------------------
1 | title: Dutch
2 | latexconfig: article
3 | language: nl
4 |
5 | 'foo'
6 |
7 | "foo"
8 |
9 | foo's
10 |
11 | foo --- bar
12 |
13 | foo -- bar
14 |
15 | 5
16 |
17 | foo...
18 |
19 | [^foo]
20 |
21 | [#bar]
22 |
23 | [#bar]: foo
24 |
--------------------------------------------------------------------------------
/tests/MMD6Tests/Encoding-Western.fodt:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/fletcher/MultiMarkdown-6/8b81672c2355c41296773ece36077558b3fe7adf/tests/MMD6Tests/Encoding-Western.fodt
--------------------------------------------------------------------------------
/tests/MMD6Tests/Encoding-Western.html:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/fletcher/MultiMarkdown-6/8b81672c2355c41296773ece36077558b3fe7adf/tests/MMD6Tests/Encoding-Western.html
--------------------------------------------------------------------------------
/tests/MMD6Tests/Encoding-Western.htmlc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/fletcher/MultiMarkdown-6/8b81672c2355c41296773ece36077558b3fe7adf/tests/MMD6Tests/Encoding-Western.htmlc
--------------------------------------------------------------------------------
/tests/MMD6Tests/Encoding-Western.opml:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/fletcher/MultiMarkdown-6/8b81672c2355c41296773ece36077558b3fe7adf/tests/MMD6Tests/Encoding-Western.opml
--------------------------------------------------------------------------------
/tests/MMD6Tests/Encoding-Western.tex:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/fletcher/MultiMarkdown-6/8b81672c2355c41296773ece36077558b3fe7adf/tests/MMD6Tests/Encoding-Western.tex
--------------------------------------------------------------------------------
/tests/MMD6Tests/Encoding-Western.text:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/fletcher/MultiMarkdown-6/8b81672c2355c41296773ece36077558b3fe7adf/tests/MMD6Tests/Encoding-Western.text
--------------------------------------------------------------------------------
/tests/MMD6Tests/English.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | English
6 |
7 |
8 |
9 | ‘foo’
10 |
11 | “foo”
12 |
13 | foo’s
14 |
15 | foo — bar
16 |
17 | foo – bar
18 |
19 | 5
20 |
21 | foo…
22 |
23 |
24 |
25 | (1)
26 |
27 |
37 |
38 |
39 |
40 |
41 |
42 |
43 | foo ↩︎
44 |
45 |
46 |
47 |
48 |
49 |
50 |
51 |
52 |
--------------------------------------------------------------------------------
/tests/MMD6Tests/English.htmlc:
--------------------------------------------------------------------------------
1 | title: English
2 | latexconfig: article
3 | language: en
4 |
5 | 'foo'
6 |
7 | "foo"
8 |
9 | foo's
10 |
11 | foo --- bar
12 |
13 | foo -- bar
14 |
15 | 5
16 |
17 | foo...
18 |
19 | [^foo]
20 |
21 | #bar
22 |
--------------------------------------------------------------------------------
/tests/MMD6Tests/English.opml:
--------------------------------------------------------------------------------
1 |
2 |
3 | English
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
--------------------------------------------------------------------------------
/tests/MMD6Tests/English.tex:
--------------------------------------------------------------------------------
1 | \input{mmd6-article-leader}
2 | \def\mytitle{English}
3 | \input{mmd6-article-begin}
4 |
5 | `foo'
6 |
7 | ``foo''
8 |
9 | foo's
10 |
11 | foo --- bar
12 |
13 | foo -- bar
14 |
15 | 5
16 |
17 | foo{\ldots}
18 |
19 | \footnote{foo}
20 |
21 | ~\citep{bar}
22 |
23 | \begin{thebibliography}{0}
24 |
25 | \bibitem{bar}
26 | foo
27 | \end{thebibliography}
28 |
29 | \input{mmd6-article-footer}
30 | \end{document}
31 |
--------------------------------------------------------------------------------
/tests/MMD6Tests/English.text:
--------------------------------------------------------------------------------
1 | title: English
2 | latexconfig: article
3 | language: en
4 |
5 | 'foo'
6 |
7 | "foo"
8 |
9 | foo's
10 |
11 | foo --- bar
12 |
13 | foo -- bar
14 |
15 | 5
16 |
17 | foo...
18 |
19 | [^foo]
20 |
21 | [#bar]
22 |
23 | [#bar]: foo
24 |
--------------------------------------------------------------------------------
/tests/MMD6Tests/Escapes.text:
--------------------------------------------------------------------------------
1 | title: Escapes
2 | latexconfig: article
3 |
4 | \.
5 |
6 | \!
7 |
8 | \?
9 |
10 | \,
11 |
12 | \;
13 |
14 | 5
15 |
16 | \:
17 |
18 | \"
19 |
20 | \'
21 |
22 | \`
23 |
24 | \~
25 |
26 | 10
27 |
28 | \(
29 |
30 | \)
31 |
32 | \{
33 |
34 | \}
35 |
36 | \[
37 |
38 | 15
39 |
40 | \]
41 |
42 | \#
43 |
44 | \$
45 |
46 | \%
47 |
48 | \+
49 |
50 | 20
51 |
52 | \-
53 |
54 | \=
55 |
56 | \<
57 |
58 | \>
59 |
60 | \&
61 |
62 | 25
63 |
64 | \@
65 |
66 | \\
67 |
68 | \/
69 |
70 | \^
71 |
72 | \*
73 |
74 | 30
75 |
76 | \_
77 |
78 | \|
79 |
80 | \-
81 | \&
82 | \%
83 | \\
84 | \`
85 |
86 | `\- \& \% \\ \ \ `
87 |
88 | \*foo\*
89 |
90 | 35
91 |
92 | \_bar\_
93 |
94 | \`foo\`
95 |
96 | \`foo`
97 |
98 | `foo\ `
99 |
100 | \``foo\ `
101 |
102 | 40
103 |
104 | \``foo`
105 |
106 | foo\ bar
107 |
108 | `\\[foo]`
109 |
110 | `\ `
111 |
112 | `\ `
113 |
114 | 45
115 |
116 | [foo](https://www\.test\.com/foo?bar=XXX\-YYY&x=400)
117 |
--------------------------------------------------------------------------------
/tests/MMD6Tests/FencedCodeBlocks.text:
--------------------------------------------------------------------------------
1 | title: Fenced Code Blocks
2 | latexconfig: article
3 |
4 | ```
5 | *foo*
6 | ```
7 |
8 | ````
9 | *foo*
10 |
11 | bar
12 | ````
13 |
14 | * foo
15 |
16 | ```
17 | *foo*
18 | ```
19 |
20 | * foo
21 |
22 | ````
23 | *foo*
24 |
25 | bar
26 | ````
27 |
28 | ```
29 | \begin{equation}\nabla \times \mathbf{E} = - \frac{\partial \mathbf{B}}{\partial t}\end{equation}
30 | ```
31 |
32 | ```tex
33 | \begin{equation}\nabla \times \mathbf{E} = - \frac{\partial \mathbf{B}}{\partial t}\end{equation}
34 | ```
35 |
36 | 5
37 |
38 | ```
39 | foo
40 | ```
41 |
42 | ```
43 | foo
44 |
45 | bar
46 |
47 | bar
48 |
49 | foo
50 | ```
51 |
52 | ```
53 | * foo
54 | + bar
55 | - baz
56 | * foo
57 | + bar
58 | - baz
59 |
60 | 1. foo
61 | 2. bar
62 | 3. baz
63 | ```
64 |
65 | ```
66 | # foo
67 | ## bar
68 | ### baz #
69 | #### foo ##
70 | ##### bar ##
71 | ###### baz#
72 | ```
73 |
74 | ```
75 | foo
76 |
--------------------------------------------------------------------------------
/tests/MMD6Tests/FigureImages.htmlc:
--------------------------------------------------------------------------------
1 | title: Figure Images
2 | latexconfig: article
3 |
4 | ![foo]
5 |
6 | ![bar ][foo]
7 |
8 | ![bar ][foo] bar
9 |
10 | 
11 |
12 | 
13 |
14 | [foo]: http://foo.bar/ "foo" width="40px" height="20px"
15 |
16 | 5
17 |
18 | 
19 |
20 | 
21 |
--------------------------------------------------------------------------------
/tests/MMD6Tests/FigureImages.opml:
--------------------------------------------------------------------------------
1 |
2 |
3 | Figure Images
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
--------------------------------------------------------------------------------
/tests/MMD6Tests/FigureImages.text:
--------------------------------------------------------------------------------
1 | title: Figure Images
2 | latexconfig: article
3 |
4 | ![foo]
5 |
6 | ![*bar*][foo]
7 |
8 | ![*bar*][foo] bar
9 |
10 | 
11 |
12 | 
13 |
14 | [foo]: http://foo.bar/ "foo" width="40px" height="20px"
15 |
16 | 5
17 |
18 | 
19 |
20 | 
21 |
--------------------------------------------------------------------------------
/tests/MMD6Tests/French.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | French
6 |
7 |
8 |
9 | 'foo’
10 |
11 | «foo»
12 |
13 | foo’s
14 |
15 | foo — bar
16 |
17 | foo – bar
18 |
19 | 5
20 |
21 | foo…
22 |
23 |
24 |
25 | (1)
26 |
27 |
37 |
38 |
39 |
40 |
41 |
42 |
43 | foo ↩︎
44 |
45 |
46 |
47 |
48 |
49 |
50 |
51 |
52 |
--------------------------------------------------------------------------------
/tests/MMD6Tests/French.htmlc:
--------------------------------------------------------------------------------
1 | title: French
2 | latexconfig: article
3 | language: fr
4 |
5 | 'foo'
6 |
7 | "foo"
8 |
9 | foo's
10 |
11 | foo --- bar
12 |
13 | foo -- bar
14 |
15 | 5
16 |
17 | foo...
18 |
19 | [^foo]
20 |
21 | #bar
22 |
--------------------------------------------------------------------------------
/tests/MMD6Tests/French.opml:
--------------------------------------------------------------------------------
1 |
2 |
3 | French
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
--------------------------------------------------------------------------------
/tests/MMD6Tests/French.tex:
--------------------------------------------------------------------------------
1 | \input{mmd6-article-leader}
2 | \def\mytitle{French}
3 | \input{mmd6-article-begin}
4 |
5 | 'foo'
6 |
7 | «foo»
8 |
9 | foo's
10 |
11 | foo --- bar
12 |
13 | foo -- bar
14 |
15 | 5
16 |
17 | foo{\ldots}
18 |
19 | \footnote{foo}
20 |
21 | ~\citep{bar}
22 |
23 | \begin{thebibliography}{0}
24 |
25 | \bibitem{bar}
26 | foo
27 | \end{thebibliography}
28 |
29 | \input{mmd6-article-footer}
30 | \end{document}
31 |
--------------------------------------------------------------------------------
/tests/MMD6Tests/French.text:
--------------------------------------------------------------------------------
1 | title: French
2 | latexconfig: article
3 | language: fr
4 |
5 | 'foo'
6 |
7 | "foo"
8 |
9 | foo's
10 |
11 | foo --- bar
12 |
13 | foo -- bar
14 |
15 | 5
16 |
17 | foo...
18 |
19 | [^foo]
20 |
21 | [#bar]
22 |
23 | [#bar]: foo
24 |
--------------------------------------------------------------------------------
/tests/MMD6Tests/Fuzz.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | Fuzz Testing
6 |
7 |
8 |
9 | Collection of test cases identified by American fuzzy lop .
10 |
11 | û~~foo~>bar~~}
12 |
13 |
17 |
18 | :Escapes
19 |
20 | [>MM]: MultiMarkdown
21 |
22 | foo1
23 |
24 | foo2
25 |
26 | ]: And aÄe footn.IThi1 . $
27 |
28 | [MMD]:
29 |
30 | f F O O (o o ) f o o
31 |
32 |
36 |
37 | (This must be at end of file without trailing newline)
38 |
39 | A
40 |
41 |
42 |
43 |
44 |
--------------------------------------------------------------------------------
/tests/MMD6Tests/Fuzz.htmlc:
--------------------------------------------------------------------------------
1 | title: Fuzz Testing
2 | latexconfig: article
3 |
4 | Collection of test cases identified by American fuzzy lop .
5 |
6 | û~~foo~>bar~~}
7 |
8 |
12 |
13 | :Escapes [escaped]
14 |
15 | [>MM]: MultiMarkdown
16 |
17 | [?terí¢ıı[?term]: A term to be defined.
18 |
19 | foo1
20 |
21 | foo2
22 |
23 | ]: And aÄe footn.I^Thi1. $
24 |
25 | [MMD]:
26 |
27 | f o o f o o
28 |
29 | [> o o]: F O O
30 |
31 |
35 |
36 | (This must be at end of file without trailing newline)
37 |
38 | A
39 |
--------------------------------------------------------------------------------
/tests/MMD6Tests/Fuzz.opml:
--------------------------------------------------------------------------------
1 |
2 |
3 | Fuzz Testing
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
--------------------------------------------------------------------------------
/tests/MMD6Tests/Fuzz.tex:
--------------------------------------------------------------------------------
1 | \input{mmd6-article-leader}
2 | \def\mytitle{Fuzz Testing}
3 | \newacronym{o o}{o o}{F O O}
4 |
5 | \input{mmd6-article-begin}
6 |
7 | Collection of test cases identified by \href{http://lcamtuf.coredump.cx/afl/}{American fuzzy lop}\footnote{\href{http://lcamtuf.coredump.cx/afl/}{http:\slash{}\slash{}lcamtuf.coredump.cx\slash{}afl\slash{}}}.
8 |
9 | û\ensuremath{\sim}\ensuremath{\sim}foo~>bar~~\}
10 |
11 | \begin{itemize}
12 | \item list
13 |
14 | \item tems
15 |
16 | \end{itemize}
17 |
18 | \chapter{:Escapes}
19 | \label{escaped}
20 |
21 | [>MM]: MultiMarkdown
22 |
23 | foo1 (\autoref{ba})
24 |
25 | foo2 (\autoref{bar})
26 |
27 | ]: And aÄe footn.I\textsuperscript{Thi1}. \$
28 |
29 | {[MMD]}:
30 |
31 | f \gls{o o} f \gls{o o}
32 |
33 | \begin{itemize}
34 | \item foo
35 |
36 | \item foo
37 |
38 | \end{itemize}
39 |
40 | (This must be at end of file without trailing newline)
41 |
42 | \part{A}
43 | \label{a}
44 |
45 | \input{mmd6-article-footer}
46 | \end{document}
47 |
--------------------------------------------------------------------------------
/tests/MMD6Tests/Fuzz.text:
--------------------------------------------------------------------------------
1 | title: Fuzz Testing
2 | latexconfig: article
3 |
4 | Collection of test cases identified by [American fuzzy lop](http://lcamtuf.coredump.cx/afl/).
5 |
6 | û~~foo~>bar~~}
7 |
8 | * list
9 | * tems
10 |
11 | :Escapes [escaped]
12 | ----------------
13 |
14 | [>MM\]: MultiMarkdown
15 |
16 | [?terí¢ıı[?term]: A term to be defined.
17 |
18 | [foo1]
19 |
20 | [foo2]
21 |
22 | [foo1]: #ba\
23 | [foo2]: #bar
24 |
25 | ]: And aÄe footn.I^Thi1. \$
26 |
27 | [MMD]:
28 |
29 | f o o f o o
30 |
31 | [> o o]: F O O
32 |
33 | * foo
34 | * foo
35 |
36 |
37 |
38 | (This must be at end of file without trailing newline)
39 |
40 | # A
--------------------------------------------------------------------------------
/tests/MMD6Tests/German.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | German
6 |
7 |
8 |
9 | ‚foo‘
10 |
11 | „foo“
12 |
13 | foo’s
14 |
15 | foo — bar
16 |
17 | foo – bar
18 |
19 | 5
20 |
21 | foo…
22 |
23 |
24 |
25 | (1)
26 |
27 |
37 |
38 |
39 |
40 |
41 |
42 |
43 | foo ↩︎
44 |
45 |
46 |
47 |
48 |
49 |
50 |
51 |
52 |
--------------------------------------------------------------------------------
/tests/MMD6Tests/German.htmlc:
--------------------------------------------------------------------------------
1 | title: German
2 | latexconfig: article
3 | language: de
4 |
5 | 'foo'
6 |
7 | "foo"
8 |
9 | foo's
10 |
11 | foo --- bar
12 |
13 | foo -- bar
14 |
15 | 5
16 |
17 | foo...
18 |
19 | [^foo]
20 |
21 | #bar
22 |
--------------------------------------------------------------------------------
/tests/MMD6Tests/German.opml:
--------------------------------------------------------------------------------
1 |
2 |
3 | German
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
--------------------------------------------------------------------------------
/tests/MMD6Tests/German.tex:
--------------------------------------------------------------------------------
1 | \input{mmd6-article-leader}
2 | \def\mytitle{German}
3 | \input{mmd6-article-begin}
4 |
5 | ‚foo`
6 |
7 | „foo``
8 |
9 | foo's
10 |
11 | foo --- bar
12 |
13 | foo -- bar
14 |
15 | 5
16 |
17 | foo{\ldots}
18 |
19 | \footnote{foo}
20 |
21 | ~\citep{bar}
22 |
23 | \begin{thebibliography}{0}
24 |
25 | \bibitem{bar}
26 | foo
27 | \end{thebibliography}
28 |
29 | \input{mmd6-article-footer}
30 | \end{document}
31 |
--------------------------------------------------------------------------------
/tests/MMD6Tests/German.text:
--------------------------------------------------------------------------------
1 | title: German
2 | latexconfig: article
3 | language: de
4 |
5 | 'foo'
6 |
7 | "foo"
8 |
9 | foo's
10 |
11 | foo --- bar
12 |
13 | foo -- bar
14 |
15 | 5
16 |
17 | foo...
18 |
19 | [^foo]
20 |
21 | [#bar]
22 |
23 | [#bar]: foo
24 |
--------------------------------------------------------------------------------
/tests/MMD6Tests/GermanGuillemets.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | German Guillemets
6 |
7 |
8 |
9 | ›foo‹
10 |
11 | »foo«
12 |
13 | foo’s
14 |
15 | foo — bar
16 |
17 | foo – bar
18 |
19 | 5
20 |
21 | foo…
22 |
23 |
24 |
25 | (1)
26 |
27 |
37 |
38 |
39 |
40 |
41 |
42 |
43 | foo ↩︎
44 |
45 |
46 |
47 |
48 |
49 |
50 |
51 |
52 |
--------------------------------------------------------------------------------
/tests/MMD6Tests/GermanGuillemets.htmlc:
--------------------------------------------------------------------------------
1 | title: German Guillemets
2 | latexconfig: article
3 | language: de
4 | quoteslanguage: germanguillemets
5 |
6 | 'foo'
7 |
8 | "foo"
9 |
10 | foo's
11 |
12 | foo --- bar
13 |
14 | foo -- bar
15 |
16 | 5
17 |
18 | foo...
19 |
20 | [^foo]
21 |
22 | #bar
23 |
--------------------------------------------------------------------------------
/tests/MMD6Tests/GermanGuillemets.opml:
--------------------------------------------------------------------------------
1 |
2 |
3 | German Guillemets
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
--------------------------------------------------------------------------------
/tests/MMD6Tests/GermanGuillemets.tex:
--------------------------------------------------------------------------------
1 | \input{mmd6-article-leader}
2 | \def\mytitle{German Guillemets}
3 | \input{mmd6-article-begin}
4 |
5 | ›foo‹
6 |
7 | »foo«
8 |
9 | foo's
10 |
11 | foo --- bar
12 |
13 | foo -- bar
14 |
15 | 5
16 |
17 | foo{\ldots}
18 |
19 | \footnote{foo}
20 |
21 | ~\citep{bar}
22 |
23 | \begin{thebibliography}{0}
24 |
25 | \bibitem{bar}
26 | foo
27 | \end{thebibliography}
28 |
29 | \input{mmd6-article-footer}
30 | \end{document}
31 |
--------------------------------------------------------------------------------
/tests/MMD6Tests/GermanGuillemets.text:
--------------------------------------------------------------------------------
1 | title: German Guillemets
2 | latexconfig: article
3 | language: de
4 | quoteslanguage: germanguillemets
5 |
6 | 'foo'
7 |
8 | "foo"
9 |
10 | foo's
11 |
12 | foo --- bar
13 |
14 | foo -- bar
15 |
16 | 5
17 |
18 | foo...
19 |
20 | [^foo]
21 |
22 | [#bar]
23 |
24 | [#bar]: foo
25 |
--------------------------------------------------------------------------------
/tests/MMD6Tests/Glossaries.htmlc:
--------------------------------------------------------------------------------
1 | title: Glossaries
2 | latexconfig: article
3 |
4 | foo foo
5 |
6 | f.o.o. f.o.o.
7 |
8 | f-o-o f-o-o
9 |
10 | f o o f o o
11 |
12 | fo'o fo'o
13 |
14 | 5
15 |
16 | ?bar ?bar
17 |
18 | ?b.a.r. ?b.a.r.
19 |
20 | ?b-a-r ?b-a-r
21 |
22 | ?b a r ?b a r
23 |
24 | ?ba'r ?ba'r
25 |
26 | 10
27 |
28 | foo bar
29 |
30 | foo
31 | bar
32 |
33 | foo bar
34 |
35 | [?(baz) BAZ]
36 |
37 | [?foo bar]: FOO BAR
38 |
39 | BAR FOO
40 |
--------------------------------------------------------------------------------
/tests/MMD6Tests/Glossaries.opml:
--------------------------------------------------------------------------------
1 |
2 |
3 | Glossaries
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
--------------------------------------------------------------------------------
/tests/MMD6Tests/Glossaries.text:
--------------------------------------------------------------------------------
1 | title: Glossaries
2 | latexconfig: article
3 |
4 | foo foo
5 |
6 | f.o.o. f.o.o.
7 |
8 | f-o-o f-o-o
9 |
10 | f o o f o o
11 |
12 | fo'o fo'o
13 |
14 | 5
15 |
16 | [?bar] [?bar]
17 |
18 | [?b.a.r.] [?b.a.r.]
19 |
20 | [?b-a-r] [?b-a-r]
21 |
22 | [?b a r] [?b a r]
23 |
24 | [?ba'r] [?ba'r]
25 |
26 | 10
27 |
28 | foo bar
29 |
30 | foo
31 | bar
32 |
33 | foo bar
34 |
35 | [?(baz) BAZ]
36 |
37 |
38 |
39 | [?foo]: FOO
40 | [?f.o.o.]: F.O.O.
41 | [?f-o-o]: F-O-O
42 | [?f o o]: F O O
43 | [?fo'o]: FO'O
44 |
45 | [?bar]: BAR
46 | [?b.a.r.]: B.A.R.
47 | [?b-a-r]: B-A-R
48 | [?b a r]: B A R
49 | [?ba'r]: BA'R
50 |
51 | [?foo bar]: FOO BAR
52 |
53 | BAR FOO
--------------------------------------------------------------------------------
/tests/MMD6Tests/HTMLBlocks.tex:
--------------------------------------------------------------------------------
1 | \input{mmd6-article-leader}
2 | \def\mytitle{HTML Blocks}
3 | \input{mmd6-article-begin}
4 |
5 | \emph{bar1}
6 |
7 | foo
8 |
9 | \emph{bar3}
10 |
11 |
12 | \emph{bar5}
13 |
14 | 5
15 |
16 | foo
17 |
18 | \emph{bar5}
19 |
20 | 10
21 |
22 | \part{foo2}
23 | \label{foo2}
24 |
25 | foo (\autoref{foo2})
26 |
27 | 15
28 |
29 |
32 |
33 | \textbf{foo3}
34 |
35 | 20
36 |
37 | \textbf{foo5}
38 |
39 | \input{mmd6-article-footer}
40 | \end{document}
41 |
--------------------------------------------------------------------------------
/tests/MMD6Tests/HTMLComments.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | HTML Comments
6 |
7 |
8 |
9 | foo
10 |
11 | foo
13 |
14 | foo
17 |
18 | foo <!–
19 | bar
20 |
21 | –>
22 |
23 | foo <!–
24 |
25 | bar
26 |
27 | –>
28 |
29 | 5
30 |
31 | <!-- *foo* -->
32 |
33 |
34 |
39 |
40 | foo <!–
41 |
42 | bar –>
43 |
44 | <!– foo
45 |
46 | bar
47 |
48 | –>
49 |
50 | foo
51 |
52 | *bar*
55 |
56 | *foo*
57 |
58 |
59 |
60 |
61 |
62 |
--------------------------------------------------------------------------------
/tests/MMD6Tests/HTMLComments.htmlc:
--------------------------------------------------------------------------------
1 | title: HTML Comments
2 | latexconfig: article
3 |
4 | foo
5 |
6 | foo
8 |
9 | foo
12 |
13 | foo <!--
14 | bar
15 |
16 | -->
17 |
18 | foo <!--
19 |
20 | bar
21 |
22 | -->
23 |
24 | 5
25 |
26 | <!-- *foo* -->
27 |
28 |
29 |
34 |
35 | foo <!--
36 |
37 | bar -->
38 |
39 | <!-- foo
40 |
41 | bar
42 |
43 | -->
44 |
45 | foo
46 |
47 | *bar*
50 |
51 | *foo*
52 |
53 |
--------------------------------------------------------------------------------
/tests/MMD6Tests/HTMLComments.opml:
--------------------------------------------------------------------------------
1 |
2 |
3 | HTML Comments
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
--------------------------------------------------------------------------------
/tests/MMD6Tests/HTMLComments.tex:
--------------------------------------------------------------------------------
1 | \input{mmd6-article-leader}
2 | \def\mytitle{HTML Comments}
3 | \input{mmd6-article-begin}
4 |
5 | foo
6 |
7 | foo
8 |
9 | foo
10 |
11 | foo
15 |
16 | foo
21 |
22 | 5
23 |
24 | \begin{verbatim}
25 |
26 | \end{verbatim}
27 |
28 | foo
31 |
32 |
37 |
38 | \emph{foo}
39 |
40 | \input{mmd6-article-footer}
41 | \end{document}
42 |
--------------------------------------------------------------------------------
/tests/MMD6Tests/HTMLComments.text:
--------------------------------------------------------------------------------
1 | title: HTML Comments
2 | latexconfig: article
3 |
4 | foo
5 |
6 | foo
8 |
9 | foo
12 |
13 | foo
17 |
18 | foo
23 |
24 | 5
25 |
26 |
27 |
28 |
33 |
34 | foo
37 |
38 |
43 |
44 | *foo*
45 |
46 | *bar*
49 |
50 | *foo*
51 |
--------------------------------------------------------------------------------
/tests/MMD6Tests/HTMLInline.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | HTML Inline
6 |
7 |
8 |
9 | bar
10 |
11 | bar
12 |
13 | <div>
14 | foo
15 | </div>
16 |
17 |
18 | test.
19 |
20 | test.
24 |
25 |
26 |
27 |
28 |
--------------------------------------------------------------------------------
/tests/MMD6Tests/HTMLInline.htmlc:
--------------------------------------------------------------------------------
1 | title: HTML Inline
2 | latexconfig: article
3 |
4 | bar
5 |
6 | bar
7 |
8 | <div>
9 | foo
10 | </div>
11 |
12 |
13 | test.
14 |
15 | test.
19 |
--------------------------------------------------------------------------------
/tests/MMD6Tests/HTMLInline.opml:
--------------------------------------------------------------------------------
1 |
2 |
3 | HTML Inline
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
--------------------------------------------------------------------------------
/tests/MMD6Tests/HTMLInline.tex:
--------------------------------------------------------------------------------
1 | \input{mmd6-article-leader}
2 | \def\mytitle{HTML Inline}
3 | \input{mmd6-article-begin}
4 |
5 | \emph{bar}
6 |
7 | \emph{bar}
8 |
9 | \begin{verbatim}
10 |
11 | foo
12 |
13 | \end{verbatim}
14 |
15 | test.
16 |
17 | test.
18 |
19 | \input{mmd6-article-footer}
20 | \end{document}
21 |
--------------------------------------------------------------------------------
/tests/MMD6Tests/HTMLInline.text:
--------------------------------------------------------------------------------
1 | title: HTML Inline
2 | latexconfig: article
3 |
4 | *bar*
5 |
6 | *bar*
7 |
8 |
9 |
10 | foo
11 |
12 |
13 | test.
14 |
15 | test.
19 |
--------------------------------------------------------------------------------
/tests/MMD6Tests/Headers.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | Headers
6 |
7 |
8 |
9 | foo
10 |
11 | foo
12 |
13 | foo
14 |
15 | foo
16 |
17 | # foo #
18 |
19 |
20 | 5
21 |
22 | #foo#
23 |
24 | #foo #
25 |
26 | foo # bar
27 |
28 | # foo #
29 |
30 | foo
31 |
32 | 10
33 |
34 | foo
35 |
36 | foo
37 |
38 | foo
39 |
40 | foo
41 |
42 | ####### foo #######
43 |
44 | 15
45 |
46 | foo
47 |
48 |
49 |
50 |
51 |
--------------------------------------------------------------------------------
/tests/MMD6Tests/Headers.htmlc:
--------------------------------------------------------------------------------
1 | title: Headers
2 | latexconfig: article
3 |
4 | foo
5 |
6 | foo
7 |
8 | foo
9 |
10 | foo
11 |
12 | # foo #
13 |
14 |
15 | 5
16 |
17 | #foo#
18 |
19 | #foo #
20 |
21 | foo # bar
22 |
23 | # foo #
24 |
25 | foo
26 |
27 | 10
28 |
29 | foo
30 |
31 | foo
32 |
33 | foo
34 |
35 | foo
36 |
37 | ####### foo #######
38 |
39 | 15
40 |
41 | foo
42 |
--------------------------------------------------------------------------------
/tests/MMD6Tests/Headers.opml:
--------------------------------------------------------------------------------
1 |
2 |
3 | Headers
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
--------------------------------------------------------------------------------
/tests/MMD6Tests/Headers.tex:
--------------------------------------------------------------------------------
1 | \input{mmd6-article-leader}
2 | \def\mytitle{Headers}
3 | \input{mmd6-article-begin}
4 |
5 | \part{foo}
6 | \label{foo}
7 |
8 | \part{foo}
9 | \label{foo}
10 |
11 | \part{foo}
12 | \label{foo}
13 |
14 | \part{foo}
15 | \label{foo}
16 |
17 | \begin{verbatim}
18 | # foo #
19 | \end{verbatim}
20 |
21 | 5
22 |
23 | \#foo\#
24 |
25 | \#foo \#
26 |
27 | \part{foo \# bar}
28 | \label{foobar}
29 |
30 | \# foo \#
31 |
32 | \chapter{foo}
33 | \label{foo}
34 |
35 | 10
36 |
37 | \section{foo}
38 | \label{foo}
39 |
40 | \subsection{foo}
41 | \label{foo}
42 |
43 | \subsubsection{foo}
44 | \label{foo}
45 |
46 | \paragraph{foo}
47 | \label{foo}
48 |
49 | \#\#\#\#\#\#\# foo \#\#\#\#\#\#\#
50 |
51 | 15
52 |
53 | \paragraph{foo}
54 | \label{foo}
55 |
56 | \input{mmd6-article-footer}
57 | \end{document}
58 |
--------------------------------------------------------------------------------
/tests/MMD6Tests/Headers.text:
--------------------------------------------------------------------------------
1 | title: Headers
2 | latexconfig: article
3 |
4 | # foo #
5 |
6 | # foo #
7 |
8 | # foo #
9 |
10 | # foo #
11 |
12 | # foo #
13 |
14 | 5
15 |
16 | #foo#
17 |
18 | #foo #
19 |
20 | # foo # bar
21 |
22 | \# foo #
23 |
24 | ## foo ##
25 |
26 | 10
27 |
28 | ### foo ###
29 |
30 | #### foo ####
31 |
32 | ##### foo #####
33 |
34 | ###### foo ######
35 |
36 | ####### foo #######
37 |
38 | 15
39 |
40 | ###### foo ######
--------------------------------------------------------------------------------
/tests/MMD6Tests/HorizontalRules.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | Horizontal Rules
6 |
7 |
8 |
9 | Dashes:
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 | ---
20 |
21 |
22 | 5
23 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
32 | - - -
33 |
34 |
35 | 10
36 |
37 | Asterisks:
38 |
39 |
40 |
41 |
42 |
43 |
44 |
45 |
46 |
47 | ***
48 |
49 |
50 | 15
51 |
52 |
53 |
54 |
55 |
56 |
57 |
58 |
59 |
60 | * * *
61 |
62 |
63 | 20
64 |
65 | Underscores:
66 |
67 |
68 |
69 |
70 |
71 |
72 |
73 |
74 |
75 | ___
76 |
77 |
78 | 25
79 |
80 |
81 |
82 |
83 |
84 |
85 |
86 |
87 |
88 | _ _ _
89 |
90 |
91 | 30
92 |
93 |
94 |
95 |
96 |
--------------------------------------------------------------------------------
/tests/MMD6Tests/HorizontalRules.htmlc:
--------------------------------------------------------------------------------
1 | title: Horizontal Rules
2 | latexconfig: article
3 |
4 | Dashes:
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 | ---
15 |
16 |
17 | 5
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 | - - -
28 |
29 |
30 | 10
31 |
32 | Asterisks:
33 |
34 |
35 |
36 |
37 |
38 |
39 |
40 |
41 |
42 | ***
43 |
44 |
45 | 15
46 |
47 |
48 |
49 |
50 |
51 |
52 |
53 |
54 |
55 | * * *
56 |
57 |
58 | 20
59 |
60 | Underscores:
61 |
62 |
63 |
64 |
65 |
66 |
67 |
68 |
69 |
70 | ___
71 |
72 |
73 | 25
74 |
75 |
76 |
77 |
78 |
79 |
80 |
81 |
82 |
83 | _ _ _
84 |
85 |
86 | 30
87 |
--------------------------------------------------------------------------------
/tests/MMD6Tests/HorizontalRules.opml:
--------------------------------------------------------------------------------
1 |
2 |
3 | Horizontal Rules
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
--------------------------------------------------------------------------------
/tests/MMD6Tests/HorizontalRules.text:
--------------------------------------------------------------------------------
1 | title: Horizontal Rules
2 | latexconfig: article
3 |
4 | Dashes:
5 |
6 | ---
7 |
8 | ---
9 |
10 | ---
11 |
12 | ---
13 |
14 | ---
15 |
16 | 5
17 |
18 | - - -
19 |
20 | - - -
21 |
22 | - - -
23 |
24 | - - -
25 |
26 | - - -
27 |
28 | 10
29 |
30 | Asterisks:
31 |
32 | ***
33 |
34 | ***
35 |
36 | ***
37 |
38 | ***
39 |
40 | ***
41 |
42 | 15
43 |
44 | * * *
45 |
46 | * * *
47 |
48 | * * *
49 |
50 | * * *
51 |
52 | * * *
53 |
54 | 20
55 |
56 | Underscores:
57 |
58 | ___
59 |
60 | ___
61 |
62 | ___
63 |
64 | ___
65 |
66 | ___
67 |
68 | 25
69 |
70 | _ _ _
71 |
72 | _ _ _
73 |
74 | _ _ _
75 |
76 | _ _ _
77 |
78 | _ _ _
79 |
80 | 30
81 |
--------------------------------------------------------------------------------
/tests/MMD6Tests/IndentedCodeBlocks.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | Indented Code Blocks
6 |
7 |
8 |
9 | foo
10 |
11 |
12 | foo
13 |
14 | bar
15 |
16 |
17 | foo
18 |
19 | foo
20 |
21 | 5
22 |
23 | foo
24 |
25 | foo
26 |
27 | bar
28 |
29 |
30 | foo
31 |
32 | bar
33 |
34 |
35 | 10
36 |
37 | foo
38 |
39 | bar
40 | bar
41 |
42 |
43 | foo
44 |
45 | bar
46 |
47 |
48 | 15
49 |
50 | foo
51 | bar
52 | bar
53 |
54 | foo
55 |
56 | bar
57 |
58 |
59 | foo
60 |
61 | bar
62 |
63 | bar
64 |
65 | bar
66 |
67 |
68 | foo
69 |
70 | -<>--&\&---...
71 |
72 |
73 |
74 |
75 |
76 |
--------------------------------------------------------------------------------
/tests/MMD6Tests/IndentedCodeBlocks.htmlc:
--------------------------------------------------------------------------------
1 | title: Indented Code Blocks
2 | latexconfig: article
3 |
4 | foo
5 |
6 |
7 | foo
8 |
9 | bar
10 |
11 |
12 | foo
13 |
14 | foo
15 |
16 | 5
17 |
18 | foo
19 |
20 | foo
21 |
22 | bar
23 |
24 |
25 | foo
26 |
27 | bar
28 |
29 |
30 | 10
31 |
32 | foo
33 |
34 | bar
35 | bar
36 |
37 |
38 | foo
39 |
40 | bar
41 |
42 |
43 | 15
44 |
45 | foo
46 | bar
47 | bar
48 |
49 | foo
50 |
51 | bar
52 |
53 |
54 | foo
55 |
56 | bar
57 |
58 | bar
59 |
60 | bar
61 |
62 |
63 | foo
64 |
65 | -<>--&\&---...
66 |
67 |
--------------------------------------------------------------------------------
/tests/MMD6Tests/IndentedCodeBlocks.opml:
--------------------------------------------------------------------------------
1 |
2 |
3 | Indented Code Blocks
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
--------------------------------------------------------------------------------
/tests/MMD6Tests/IndentedCodeBlocks.tex:
--------------------------------------------------------------------------------
1 | \input{mmd6-article-leader}
2 | \def\mytitle{Indented Code Blocks}
3 | \input{mmd6-article-begin}
4 |
5 | \begin{verbatim}
6 | foo
7 | \end{verbatim}
8 |
9 | foo
10 |
11 | \begin{verbatim}
12 | bar
13 | \end{verbatim}
14 |
15 | foo
16 |
17 | foo
18 |
19 | 5
20 |
21 | foo
22 |
23 | foo
24 |
25 | \begin{verbatim}
26 | bar
27 | \end{verbatim}
28 |
29 | foo
30 |
31 | \begin{verbatim}
32 | bar
33 | \end{verbatim}
34 |
35 | 10
36 |
37 | foo
38 |
39 | \begin{verbatim}
40 | bar
41 | bar
42 | \end{verbatim}
43 |
44 | foo
45 |
46 | \begin{verbatim}
47 | bar
48 | \end{verbatim}
49 |
50 | 15
51 |
52 | foo
53 | bar
54 | bar
55 |
56 | foo
57 |
58 | \begin{verbatim}
59 | bar
60 | \end{verbatim}
61 |
62 | foo
63 |
64 | \begin{verbatim}
65 | bar
66 |
67 | bar
68 |
69 | bar
70 | \end{verbatim}
71 |
72 | foo
73 |
74 | \begin{verbatim}
75 | -<>--&\&---...
76 | \end{verbatim}
77 |
78 | \input{mmd6-article-footer}
79 | \end{document}
80 |
--------------------------------------------------------------------------------
/tests/MMD6Tests/IndentedCodeBlocks.text:
--------------------------------------------------------------------------------
1 | title: Indented Code Blocks
2 | latexconfig: article
3 |
4 | foo
5 |
6 | foo
7 |
8 | bar
9 |
10 | foo
11 |
12 | foo
13 |
14 | 5
15 |
16 | foo
17 |
18 | foo
19 |
20 | bar
21 |
22 | foo
23 |
24 | bar
25 |
26 | 10
27 |
28 | foo
29 |
30 | bar
31 | bar
32 |
33 | foo
34 |
35 | bar
36 |
37 | 15
38 |
39 | foo
40 | bar
41 | bar
42 |
43 | foo
44 |
45 | bar
46 |
47 | foo
48 |
49 | bar
50 |
51 | bar
52 |
53 | bar
54 |
55 | foo
56 |
57 | -<>--&\&---...
58 |
--------------------------------------------------------------------------------
/tests/MMD6Tests/InlineCitations.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | Inline Citations
6 |
7 |
8 |
9 | Inline. (1)
10 | (2)
11 |
12 |
13 |
14 |
15 |
16 |
17 | John Doe. A Totally Fake Book 1 . Vanity Press, 2006. ↩︎
18 |
19 |
20 |
21 | John Doe. A Totally Fake Book 2 . Vanity Press, 2006. ↩︎
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
--------------------------------------------------------------------------------
/tests/MMD6Tests/InlineCitations.htmlc:
--------------------------------------------------------------------------------
1 | title: Inline Citations
2 | latexconfig: article
3 |
4 | Inline. [#John Doe. A Totally Fake Book 1 . Vanity Press, 2006.]
5 | [#John Doe. A Totally Fake Book 2 . Vanity Press, 2006.]
6 |
--------------------------------------------------------------------------------
/tests/MMD6Tests/InlineCitations.opml:
--------------------------------------------------------------------------------
1 |
2 |
3 | Inline Citations
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
--------------------------------------------------------------------------------
/tests/MMD6Tests/InlineCitations.tex:
--------------------------------------------------------------------------------
1 | \input{mmd6-article-leader}
2 | \def\mytitle{Inline Citations}
3 | \input{mmd6-article-begin}
4 |
5 | Inline. ~\citep{johndoe.atotallyfakebook1.vanitypress2006.}
6 | ~\citep{johndoe.atotallyfakebook2.vanitypress2006.}
7 |
8 | \begin{thebibliography}{0}
9 |
10 | \bibitem{johndoe.atotallyfakebook1.vanitypress2006.}
11 | John Doe. \emph{A Totally Fake Book 1}. Vanity Press, 2006.
12 |
13 | \bibitem{johndoe.atotallyfakebook2.vanitypress2006.}
14 | John Doe. \emph{A Totally Fake Book 2}. Vanity Press, 2006.
15 | \end{thebibliography}
16 |
17 | \input{mmd6-article-footer}
18 | \end{document}
19 |
--------------------------------------------------------------------------------
/tests/MMD6Tests/InlineCitations.text:
--------------------------------------------------------------------------------
1 | title: Inline Citations
2 | latexconfig: article
3 |
4 | Inline. [#John Doe. *A Totally Fake Book 1*. Vanity Press, 2006.]
5 | [#John Doe. *A Totally Fake Book 2*. Vanity Press, 2006.]
6 |
--------------------------------------------------------------------------------
/tests/MMD6Tests/InlineFootnotes.htmlc:
--------------------------------------------------------------------------------
1 | title: Inline Footnotes
2 | latexconfig: article
3 |
4 | Inline.[^foo bar ]
5 |
6 | Inline.[^foo bar
7 | foo
8 | foo .]
9 |
10 | Inline.[^foo bar ]
11 |
12 | Inline.[^foo][^foo][^bar]
13 |
--------------------------------------------------------------------------------
/tests/MMD6Tests/InlineFootnotes.opml:
--------------------------------------------------------------------------------
1 |
2 |
3 | Inline Footnotes
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
--------------------------------------------------------------------------------
/tests/MMD6Tests/InlineFootnotes.tex:
--------------------------------------------------------------------------------
1 | \input{mmd6-article-leader}
2 | \def\mytitle{Inline Footnotes}
3 | \input{mmd6-article-begin}
4 |
5 | Inline.\footnote{foo \emph{bar}}
6 |
7 | Inline.\footnote{foo \emph{bar}
8 | \href{/bar}{foo}\footnote{\href{/bar}{\slash{}bar}}
9 | \textbf{foo}.}
10 |
11 | Inline.\footnote{foo \emph{bar}}
12 |
13 | Inline.\footnote{foo}\footnote{foo}\footnote{bar}
14 |
15 | \input{mmd6-article-footer}
16 | \end{document}
17 |
--------------------------------------------------------------------------------
/tests/MMD6Tests/InlineFootnotes.text:
--------------------------------------------------------------------------------
1 | title: Inline Footnotes
2 | latexconfig: article
3 |
4 | Inline.[^foo *bar*]
5 |
6 | Inline.[^foo *bar*
7 | [foo](/bar)
8 | **foo**.]
9 |
10 | Inline.[^foo *bar*]
11 |
12 | Inline.[^foo][^foo][^bar]
13 |
--------------------------------------------------------------------------------
/tests/MMD6Tests/InlineImages.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | Inline Images
6 |
7 |
8 |
9 | Just a .
10 |
11 | .
12 |
13 | .
14 |
15 | .
16 |
17 | .
18 |
19 | 5
20 |
21 | Empty .
22 |
23 | .
24 |
25 | .
26 |
27 | .
28 |
29 | .
30 |
31 | 10
32 |
33 | .
34 |
35 | .
36 |
37 |
38 |
39 |
40 |
--------------------------------------------------------------------------------
/tests/MMD6Tests/InlineImages.htmlc:
--------------------------------------------------------------------------------
1 | title: Inline Images
2 | latexconfig: article
3 |
4 | Just a .
5 |
6 | .
7 |
8 | .
9 |
10 | .
11 |
12 | .
13 |
14 | 5
15 |
16 | Empty .
17 |
18 | .
19 |
20 | .
21 |
22 | .
23 |
24 | .
25 |
26 | 10
27 |
28 | .
29 |
30 | .
31 |
--------------------------------------------------------------------------------
/tests/MMD6Tests/InlineImages.opml:
--------------------------------------------------------------------------------
1 |
2 |
3 | Inline Images
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
--------------------------------------------------------------------------------
/tests/MMD6Tests/InlineImages.text:
--------------------------------------------------------------------------------
1 | title: Inline Images
2 | latexconfig: article
3 |
4 | Just a .
5 |
6 | .
7 |
8 | .
9 |
10 | .
11 |
12 | .
13 |
14 | 5
15 |
16 | [Empty]().
17 |
18 | .
19 |
20 | .
21 |
22 | .
23 |
24 | ).
25 |
26 | 10
27 |
28 | .
29 |
30 | .
31 |
--------------------------------------------------------------------------------
/tests/MMD6Tests/InlineLinks.text:
--------------------------------------------------------------------------------
1 | title: Inline Links
2 | latexconfig: article
3 |
4 | Just a [URL](http://url/file.txt).
5 |
6 | [URL and title](/url/file.txt "title").
7 |
8 | [URL and title](/url/file.txt "title preceded by two spaces").
9 |
10 | [URL and title](/url/file.txt "title preceded by a tab").
11 |
12 | [URL and title](/url/file.txt "title has spaces afterward" ).
13 |
14 | 5
15 |
16 | [Empty]().
17 |
18 | [**URL** and *title*](/url/file.txt "title").
19 |
20 | [URL and title](/url/file.txt "title").
21 |
22 | [URL and title](/url/file.txt 'title').
23 |
24 | [URL and title](/url/file.txt (title)).
25 |
26 | 10
27 |
28 | [URL and title](/url/file.txt "").
29 |
30 | [URL and title](/url/file.txt "*title*").
31 |
32 | [URL and title] (/url/file.txt "*title*").
33 |
34 | [URL and title]
35 | (/url/file.txt "*title*").
36 |
37 | [URL and title]( /url/file.txt "title").
38 |
39 | 15
40 |
41 | [URL and title]( /url/file.txt "title").
42 |
43 | [URL and title]( "title").
44 |
45 | [URL and title]( "title").
46 |
47 | [URL and title]( "title").
48 |
--------------------------------------------------------------------------------
/tests/MMD6Tests/International.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | International
6 |
7 |
8 |
9 | été
10 |
11 | à la
12 |
13 |
14 |
15 |
16 |
--------------------------------------------------------------------------------
/tests/MMD6Tests/International.htmlc:
--------------------------------------------------------------------------------
1 | title: International
2 | latexconfig: article
3 |
4 | été
5 |
6 | à la
7 |
--------------------------------------------------------------------------------
/tests/MMD6Tests/International.opml:
--------------------------------------------------------------------------------
1 |
2 |
3 | International
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
--------------------------------------------------------------------------------
/tests/MMD6Tests/International.tex:
--------------------------------------------------------------------------------
1 | \input{mmd6-article-leader}
2 | \def\mytitle{International}
3 | \input{mmd6-article-begin}
4 |
5 | été
6 |
7 | à la
8 |
9 | \input{mmd6-article-footer}
10 | \end{document}
11 |
--------------------------------------------------------------------------------
/tests/MMD6Tests/International.text:
--------------------------------------------------------------------------------
1 | title: International
2 | latexconfig: article
3 |
4 | été
5 |
6 | à la
7 |
--------------------------------------------------------------------------------
/tests/MMD6Tests/Linebreaks.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | Linebreaks
6 |
7 |
8 |
9 | foo
10 | bar
11 |
12 | foo
13 | bar
14 |
15 | foo
16 | bar
17 |
18 | foo
19 | bar
20 |
21 | foo
22 | bar
23 |
24 | 5
25 |
26 | foo
27 | bar
28 |
29 |
30 |
31 |
32 |
--------------------------------------------------------------------------------
/tests/MMD6Tests/Linebreaks.htmlc:
--------------------------------------------------------------------------------
1 | title: Linebreaks
2 | latexconfig: article
3 |
4 | foo
5 | bar
6 |
7 | foo
8 | bar
9 |
10 | foo
11 | bar
12 |
13 | foo
14 | bar
15 |
16 | foo
17 | bar
18 |
19 | 5
20 |
21 | foo
22 | bar
23 |
--------------------------------------------------------------------------------
/tests/MMD6Tests/Linebreaks.opml:
--------------------------------------------------------------------------------
1 |
2 |
3 | Linebreaks
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
--------------------------------------------------------------------------------
/tests/MMD6Tests/Linebreaks.tex:
--------------------------------------------------------------------------------
1 | \input{mmd6-article-leader}
2 | \def\mytitle{Linebreaks}
3 | \input{mmd6-article-begin}
4 |
5 | foo
6 | bar
7 |
8 | foo
9 | bar
10 |
11 | foo\\
12 | bar
13 |
14 | foo\\
15 | bar
16 |
17 | foo\\
18 | bar
19 |
20 | 5
21 |
22 | foo\\
23 | bar
24 |
25 | \input{mmd6-article-footer}
26 | \end{document}
27 |
--------------------------------------------------------------------------------
/tests/MMD6Tests/Linebreaks.text:
--------------------------------------------------------------------------------
1 | title: Linebreaks
2 | latexconfig: article
3 |
4 | foo
5 | bar
6 |
7 | foo
8 | bar
9 |
10 | foo
11 | bar
12 |
13 | foo
14 | bar
15 |
16 | foo\
17 | bar
18 |
19 | 5
20 |
21 | foo
22 | bar
23 |
24 |
--------------------------------------------------------------------------------
/tests/MMD6Tests/LinkAttributes.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | Link Attributes
6 |
7 |
8 |
9 | foo
10 |
11 | foo link
12 |
13 | foo link2
14 |
15 | foo link3
16 |
17 |
18 |
19 | test
20 |
21 |
22 | 5
23 |
24 |
25 |
26 |
27 |
--------------------------------------------------------------------------------
/tests/MMD6Tests/LinkAttributes.htmlc:
--------------------------------------------------------------------------------
1 | title: Link Attributes
2 | latexconfig: article
3 |
4 | foo ![image][]
5 |
6 | foo [link][]
7 |
8 | foo [link2][]
9 |
10 | foo [link3][]
11 |
12 | 
13 |
14 | 5
15 |
16 | [image]: http://foo.bar/ "title" width="40px" height=400px
17 | [link]: http://foo.bar/1 class=external
18 | style="border: solid black 1px;"
19 | [link2]: http://foo.bar/2 class=external
20 | style="border: solid black 1px;"
21 | [link3]: http://foo.bar/3 class=external
22 | style="border: solid black 1px;"
23 |
--------------------------------------------------------------------------------
/tests/MMD6Tests/LinkAttributes.opml:
--------------------------------------------------------------------------------
1 |
2 |
3 | Link Attributes
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
--------------------------------------------------------------------------------
/tests/MMD6Tests/LinkAttributes.tex:
--------------------------------------------------------------------------------
1 | \input{mmd6-article-leader}
2 | \def\mytitle{Link Attributes}
3 | \input{mmd6-article-begin}
4 |
5 | foo \includegraphics[width=40pt,height=400pt]{http://foo.bar/}
6 |
7 | foo \href{http://foo.bar/1}{link}\footnote{\href{http://foo.bar/1}{http:\slash{}\slash{}foo.bar\slash{}1}}
8 |
9 | foo \href{http://foo.bar/2}{link2}\footnote{\href{http://foo.bar/2}{http:\slash{}\slash{}foo.bar\slash{}2}}
10 |
11 | foo \href{http://foo.bar/3}{link3}\footnote{\href{http://foo.bar/3}{http:\slash{}\slash{}foo.bar\slash{}3}}
12 |
13 | \begin{figure}[htbp]
14 | \centering
15 | \includegraphics[width=40pt,height=400pt]{http://foo.bar/}
16 | \caption[title]{test}
17 | \end{figure}
18 |
19 | 5
20 |
21 | \input{mmd6-article-footer}
22 | \end{document}
23 |
--------------------------------------------------------------------------------
/tests/MMD6Tests/LinkAttributes.text:
--------------------------------------------------------------------------------
1 | title: Link Attributes
2 | latexconfig: article
3 |
4 | foo ![image][]
5 |
6 | foo [link][]
7 |
8 | foo [link2][]
9 |
10 | foo [link3][]
11 |
12 | 
13 |
14 | 5
15 |
16 |
17 | [image]: http://foo.bar/ "title" width="40px" height=400px
18 | [link]: class=external
19 | style="border: solid black 1px;"
20 | [link2]: http://foo.bar/2 class=external
21 | style="border: solid black 1px;"
22 | [link3]: http://foo.bar/3 class=external
23 | style="border: solid black 1px;"
24 |
--------------------------------------------------------------------------------
/tests/MMD6Tests/LinkVariations.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | Link Variations
6 |
7 |
8 |
9 | Foo Bar
10 |
11 | Link to Foo Bar .
12 |
13 | Link to foo bar .
14 |
15 | Link to foobar .
16 |
17 | Link to Foo Bar .
18 |
19 | Link to .
20 |
21 | 5
22 |
23 | Link to Foo .
24 |
25 | & link
26 |
27 | ‘%’ Link
28 |
29 | ‘#’ link
30 |
31 | 10
32 |
33 | _ link
34 |
35 | ~ link
36 |
37 |
38 |
39 |
40 |
--------------------------------------------------------------------------------
/tests/MMD6Tests/LinkVariations.htmlc:
--------------------------------------------------------------------------------
1 | title: Link Variations
2 | latexconfig: article
3 |
4 | Foo Bar
5 |
6 | Link to [Foo Bar].
7 |
8 | Link to [foo bar].
9 |
10 | Link to [foobar].
11 |
12 | Link to Foo Bar .
13 |
14 | Link to .
15 |
16 | 5
17 |
18 | Link to [Foo][Foo Bar].
19 |
20 | & link
21 |
22 | '%' Link
23 |
24 | '#' link
25 |
26 | 10
27 |
28 | _ link
29 |
30 | ~ link
31 |
--------------------------------------------------------------------------------
/tests/MMD6Tests/LinkVariations.opml:
--------------------------------------------------------------------------------
1 |
2 |
3 | Link Variations
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
--------------------------------------------------------------------------------
/tests/MMD6Tests/LinkVariations.text:
--------------------------------------------------------------------------------
1 | title: Link Variations
2 | latexconfig: article
3 |
4 | ## Foo Bar ##
5 |
6 | Link to [Foo Bar].
7 |
8 | Link to [foo bar].
9 |
10 | Link to [foobar].
11 |
12 | Link to [Foo Bar](#foobar).
13 |
14 | Link to [](#foobar).
15 |
16 | 5
17 |
18 | Link to [Foo][Foo Bar].
19 |
20 | [& link](http://example.com/?bar=foo&foo=bar)
21 |
22 | ['%' Link](http://example.com/%25%20link)
23 |
24 | ['#' link](http://example.com/#foo)
25 |
26 | 10
27 |
28 | [_ link](http://example.com/_foo)
29 |
30 | [~ link](http://example.com/~foo)
--------------------------------------------------------------------------------
/tests/MMD6Tests/ListEdge.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | List Edge
6 |
7 |
8 |
9 |
10 | foo
11 | bar
12 | foo
13 |
14 |
17 |
18 |
19 |
20 |
21 |
22 |
--------------------------------------------------------------------------------
/tests/MMD6Tests/ListEdge.htmlc:
--------------------------------------------------------------------------------
1 | title: List Edge
2 | latexconfig: article
3 |
4 |
5 | foo
6 | bar
7 | foo
8 |
9 |
12 |
13 |
--------------------------------------------------------------------------------
/tests/MMD6Tests/ListEdge.opml:
--------------------------------------------------------------------------------
1 |
2 |
3 | List Edge
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
--------------------------------------------------------------------------------
/tests/MMD6Tests/ListEdge.tex:
--------------------------------------------------------------------------------
1 | \input{mmd6-article-leader}
2 | \def\mytitle{List Edge}
3 | \input{mmd6-article-begin}
4 |
5 | \begin{itemize}
6 | \item foo
7 |
8 | \item bar
9 |
10 | \item foo
11 |
12 | \begin{itemize}
13 | \item bar
14 |
15 | \end{itemize}
16 |
17 | \end{itemize}
18 |
19 | \input{mmd6-article-footer}
20 | \end{document}
21 |
--------------------------------------------------------------------------------
/tests/MMD6Tests/ListEdge.text:
--------------------------------------------------------------------------------
1 | title: List Edge
2 | latexconfig: article
3 |
4 | - foo
5 |
6 | * bar
7 | * foo
8 | * bar
--------------------------------------------------------------------------------
/tests/MMD6Tests/MMDHeaderandFooter.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | MMD Header and Footer
6 | HTML header .
7 |
8 |
9 |
10 | MultiMarkdown header .
11 |
12 | Main Body
13 |
14 | MultiMarkdown footer .
HTML footer .
15 |
16 |
17 |
18 |
19 |
20 |
--------------------------------------------------------------------------------
/tests/MMD6Tests/MMDHeaderandFooter.htmlc:
--------------------------------------------------------------------------------
1 | title: MMD Header and Footer
2 | latexconfig: article
3 | MMD Header: {{header.txt}}
4 | MMD Footer: {{footer.txt}}
5 | HTML Header: HTML header .
6 | HTML Footer: HTML footer .
7 | LaTeX Header: \LaTeX \emph{header}
8 | ODF Header: ODF header.
9 |
10 | Main Body
11 |
--------------------------------------------------------------------------------
/tests/MMD6Tests/MMDHeaderandFooter.opml:
--------------------------------------------------------------------------------
1 |
2 |
3 | MMD Header and Footer
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
--------------------------------------------------------------------------------
/tests/MMD6Tests/MMDHeaderandFooter.tex:
--------------------------------------------------------------------------------
1 | \input{mmd6-article-leader}
2 | \def\mytitle{MMD Header and Footer}
3 | \LaTeX \emph{header}
4 | \input{mmd6-article-begin}
5 |
6 | MultiMarkdown \emph{header}.
7 |
8 | Main Body
9 |
10 | MultiMarkdown \emph{footer}.
11 |
12 | \input{mmd6-article-footer}
13 | \end{document}
14 |
--------------------------------------------------------------------------------
/tests/MMD6Tests/MMDHeaderandFooter.text:
--------------------------------------------------------------------------------
1 | title: MMD Header and Footer
2 | latexconfig: article
3 | MMD Header: {{header.txt}}
4 | MMD Footer: {{footer.txt}}
5 | HTML Header: HTML header .
6 | HTML Footer: HTML footer .
7 | LaTeX Header: \LaTeX \emph{header}
8 | ODF Header: ODF header.
9 |
10 |
11 | Main Body
12 |
--------------------------------------------------------------------------------
/tests/MMD6Tests/Metadata.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | *foo* "bar"
6 |
7 |
8 |
9 |
10 |
12 |
13 |
14 |
15 | foo: bar
16 |
17 | foo
18 |
19 |
20 |
21 |
22 |
--------------------------------------------------------------------------------
/tests/MMD6Tests/Metadata.htmlc:
--------------------------------------------------------------------------------
1 | title: foo "bar"
2 | empty:
3 | css: http://foo.com/bar.css
4 | htmlheader:
7 | latexleader: mmd6-article-leader
8 | latexbegin: mmd6-article-begin
9 | latexfooter: mmd6-article-footer
10 | foo: bar
11 | foo bar
12 | foo bar
13 | foo: bar
14 | htmlheader level: 2
15 | latexheader level: 2
16 | baseheader level: 3
17 | multiline: first line
18 | second line
19 |
20 | foo: bar
21 |
22 | foo
23 |
--------------------------------------------------------------------------------
/tests/MMD6Tests/Metadata.opml:
--------------------------------------------------------------------------------
1 |
2 |
3 | *foo* "bar"
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
--------------------------------------------------------------------------------
/tests/MMD6Tests/Metadata.tex:
--------------------------------------------------------------------------------
1 | \input{mmd6-article-leader}
2 | \def\mytitle{*foo* "bar"}
3 | \def\empty{}
4 | \def\foo{bar foo bar foo bar}
5 | \def\multiline{first line\\
6 | second line}
7 | \input{mmd6-article-begin}
8 |
9 | foo: bar
10 |
11 | \chapter{foo}
12 | \label{foo}
13 |
14 | \input{mmd6-article-footer}
15 |
16 | \end{document}
17 |
--------------------------------------------------------------------------------
/tests/MMD6Tests/Metadata.text:
--------------------------------------------------------------------------------
1 | title: *foo* "bar"
2 | empty:
3 | css: http://foo.com/bar.css
4 | htmlheader:
7 | latexleader: mmd6-article-leader
8 | latexbegin: mmd6-article-begin
9 | latexfooter: mmd6-article-footer
10 | foo: bar
11 | foo bar
12 | foo bar
13 | foo: *bar*
14 | htmlheader level: 2
15 | latexheader level: 2
16 | baseheader level: 3
17 | multiline: first line\
18 | second line
19 |
20 | foo: bar
21 |
22 | # foo #
23 |
--------------------------------------------------------------------------------
/tests/MMD6Tests/MetadataYAML.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | Metadata with YAML
6 |
7 |
8 |
9 |
10 |
11 | foo
12 |
13 |
14 |
15 |
16 |
--------------------------------------------------------------------------------
/tests/MMD6Tests/MetadataYAML.htmlc:
--------------------------------------------------------------------------------
1 |
2 |
3 | title: Metadata with YAML
4 | latexconfig: article
5 |
6 |
7 |
8 | foo
9 |
--------------------------------------------------------------------------------
/tests/MMD6Tests/MetadataYAML.opml:
--------------------------------------------------------------------------------
1 |
2 |
3 | Metadata with YAML
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
--------------------------------------------------------------------------------
/tests/MMD6Tests/MetadataYAML.tex:
--------------------------------------------------------------------------------
1 | \input{mmd6-article-leader}
2 | \def\mytitle{Metadata with YAML}
3 | \input{mmd6-article-begin}
4 |
5 | \begin{center}\rule{3in}{0.4pt}\end{center}
6 |
7 | foo
8 |
9 | \input{mmd6-article-footer}
10 | \end{document}
11 |
--------------------------------------------------------------------------------
/tests/MMD6Tests/MetadataYAML.text:
--------------------------------------------------------------------------------
1 | ---
2 | title: Metadata with YAML
3 | latexconfig: article
4 | ---
5 |
6 | ---
7 |
8 | foo
9 |
--------------------------------------------------------------------------------
/tests/MMD6Tests/NestedDefinitionLists.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | Nested Definition Lists
6 |
7 |
8 |
9 |
10 | bat
11 | foo
12 |
13 | bar
14 |
15 | *foo*
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
--------------------------------------------------------------------------------
/tests/MMD6Tests/NestedDefinitionLists.htmlc:
--------------------------------------------------------------------------------
1 | title: Nested Definition Lists
2 | latexconfig: article
3 |
4 | bat
5 | : foo
6 |
7 | bar
8 |
9 | *foo*
10 |
11 |
--------------------------------------------------------------------------------
/tests/MMD6Tests/NestedDefinitionLists.opml:
--------------------------------------------------------------------------------
1 |
2 |
3 | Nested Definition Lists
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
--------------------------------------------------------------------------------
/tests/MMD6Tests/NestedDefinitionLists.tex:
--------------------------------------------------------------------------------
1 | \input{mmd6-article-leader}
2 | \def\mytitle{Nested Definition Lists}
3 | \input{mmd6-article-begin}
4 |
5 | \begin{description}
6 | \item[bat]
7 |
8 | \emph{foo}
9 |
10 | bar
11 |
12 | \begin{verbatim}
13 | *foo*
14 | \end{verbatim}
15 | \end{description}
16 |
17 | \input{mmd6-article-footer}
18 | \end{document}
19 |
--------------------------------------------------------------------------------
/tests/MMD6Tests/NestedDefinitionLists.text:
--------------------------------------------------------------------------------
1 | title: Nested Definition Lists
2 | latexconfig: article
3 |
4 | bat
5 | : *foo*
6 |
7 | bar
8 |
9 | *foo*
10 |
--------------------------------------------------------------------------------
/tests/MMD6Tests/NestedLists.opml:
--------------------------------------------------------------------------------
1 |
2 |
3 | Nested Lists
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
--------------------------------------------------------------------------------
/tests/MMD6Tests/NestedLists.text:
--------------------------------------------------------------------------------
1 | title: Nested Lists
2 | latexconfig: article
3 |
4 | * foo
5 | * bar
6 | * foo
7 | * bar
8 | * foo
9 | * bar
10 |
11 | bar
12 |
13 | * foo
14 |
15 | * bar
16 | * foo
17 |
18 | * bar
19 | * foo
20 |
21 | * bar
22 |
23 | bar
24 |
25 | * foo
26 | * bar
27 |
28 | * foo
29 | * bar
30 |
31 | * foo
32 | * bar
33 |
34 | 5
35 |
36 | * foo
37 | * bar
38 |
39 | * foo
40 | * bar
41 |
42 | * foo
43 | * bar
44 |
45 |
46 | bar
47 |
48 | * foo
49 |
50 | * bar
51 |
52 | * foo
53 |
54 | * bar
55 |
56 | * foo
57 |
58 | * bar
59 |
60 | bar
61 |
62 |
--------------------------------------------------------------------------------
/tests/MMD6Tests/RawSource.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | Raw Source
6 |
7 |
8 |
9 | *foo*
{*}
10 |
11 | *foo*
12 |
13 |
14 |
15 |
16 |
17 | *foo*
18 |
19 | 5
20 |
21 | *foo*
22 |
23 |
24 | *foo*
25 |
26 | *foo*
27 |
28 | 10
29 |
30 | *foo*
31 |
32 | *bar*
33 |
34 |
35 |
36 |
37 |
38 |
--------------------------------------------------------------------------------
/tests/MMD6Tests/RawSource.htmlc:
--------------------------------------------------------------------------------
1 | title: Raw Source
2 | latexconfig: article
3 |
4 | *foo*
{*}
5 |
6 | *foo*
{=html}
7 |
8 | *foo*
{=latex}
9 |
10 | *foo*
{=odt}
11 |
12 | *foo*
{=*}
13 |
14 | 5
15 |
16 | {*}
17 | *foo*
18 |
19 | {=html}
20 | *foo*
21 |
22 | {=latex}
23 | *foo*
24 |
25 | {=odt}
26 | *foo*
27 |
28 | {=*}
29 | *foo*
30 |
31 | 10
32 |
33 | ```{=*}
34 | foo
35 |
36 | bar
37 |
--------------------------------------------------------------------------------
/tests/MMD6Tests/RawSource.opml:
--------------------------------------------------------------------------------
1 |
2 |
3 | Raw Source
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
--------------------------------------------------------------------------------
/tests/MMD6Tests/RawSource.tex:
--------------------------------------------------------------------------------
1 | \input{mmd6-article-leader}
2 | \def\mytitle{Raw Source}
3 | \input{mmd6-article-begin}
4 |
5 | \texttt{*foo*}\{*\}
6 |
7 |
8 |
9 | *foo*
10 |
11 |
12 |
13 | *foo*
14 |
15 | 5
16 |
17 | \begin{lstlisting}[language={*}]
18 | *foo*
19 | \end{lstlisting}
20 |
21 | *foo*
22 |
23 | *foo*
24 |
25 | 10
26 |
27 | *foo*
28 |
29 | *bar*
30 |
31 |
32 | \input{mmd6-article-footer}
33 | \end{document}
34 |
--------------------------------------------------------------------------------
/tests/MMD6Tests/RawSource.text:
--------------------------------------------------------------------------------
1 | title: Raw Source
2 | latexconfig: article
3 |
4 | `*foo*`{*}
5 |
6 | `*foo*`{=html}
7 |
8 | `*foo*`{=latex}
9 |
10 | `*foo*`{=odt}
11 |
12 | `*foo*`{=*}
13 |
14 | 5
15 |
16 | ```{*}
17 | *foo*
18 | ```
19 |
20 | ```{=html}
21 | *foo*
22 | ```
23 |
24 | ```{=latex}
25 | *foo*
26 | ```
27 |
28 | ```{=odt}
29 | *foo*
30 | ```
31 |
32 | ```{=*}
33 | *foo*
34 | ```
35 |
36 | 10
37 |
38 | ```{=*}
39 | *foo*
40 |
41 | *bar*
42 |
--------------------------------------------------------------------------------
/tests/MMD6Tests/ReferenceFootnotes.htmlc:
--------------------------------------------------------------------------------
1 | title: Reference Footnotes
2 | latexconfig: article
3 |
4 | foo.^bar
5 |
6 | foo.^bar2
7 |
8 | foo.^bar3
9 |
10 | foo.^bar3
11 |
12 | *bar*
13 |
14 | * bat
15 |
16 |
--------------------------------------------------------------------------------
/tests/MMD6Tests/ReferenceFootnotes.opml:
--------------------------------------------------------------------------------
1 |
2 |
3 | Reference Footnotes
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
--------------------------------------------------------------------------------
/tests/MMD6Tests/ReferenceFootnotes.tex:
--------------------------------------------------------------------------------
1 | \input{mmd6-article-leader}
2 | \def\mytitle{Reference Footnotes}
3 | \input{mmd6-article-begin}
4 |
5 | foo.\footnote{\emph{foo}}
6 |
7 | foo.\footnote{\emph{foo
8 | bar}}
9 |
10 | foo.\footnote{foo
11 |
12 | \emph{bar}
13 |
14 | \begin{itemize}
15 | \item bat
16 |
17 | \end{itemize}}
18 |
19 | foo.\footnote{foo
20 |
21 | \emph{bar}
22 |
23 | \begin{itemize}
24 | \item bat
25 |
26 | \end{itemize}}
27 |
28 | \input{mmd6-article-footer}
29 | \end{document}
30 |
--------------------------------------------------------------------------------
/tests/MMD6Tests/ReferenceFootnotes.text:
--------------------------------------------------------------------------------
1 | title: Reference Footnotes
2 | latexconfig: article
3 |
4 | foo.[^bar]
5 |
6 | foo.[^bar2]
7 |
8 | foo.[^bar3]
9 |
10 | foo.[^bar3]
11 |
12 | [^bar]: *foo*
13 | [^bar2]: *foo
14 | bar*
15 | [^bar3]: foo
16 |
17 | *bar*
18 |
19 | * bat
20 |
--------------------------------------------------------------------------------
/tests/MMD6Tests/ReferenceImages.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | Reference Images
6 |
7 |
8 |
9 | Test .
10 |
11 | Test .
12 |
13 | Test .
14 |
15 | Test .
16 |
17 | Test .
18 |
19 | 5
20 |
21 | Test .
22 |
23 | Test .
24 |
25 | Test .
26 |
27 |
28 |
29 |
30 |
--------------------------------------------------------------------------------
/tests/MMD6Tests/ReferenceImages.htmlc:
--------------------------------------------------------------------------------
1 | title: Reference Images
2 | latexconfig: article
3 |
4 | Test .
5 |
6 | Test .
7 |
8 | Test .
9 |
10 | Test .
11 |
12 | Test .
13 |
14 | 5
15 |
16 | Test .
17 |
18 | Test .
19 |
20 | Test .
21 |
--------------------------------------------------------------------------------
/tests/MMD6Tests/ReferenceImages.opml:
--------------------------------------------------------------------------------
1 |
2 |
3 | Reference Images
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
--------------------------------------------------------------------------------
/tests/MMD6Tests/ReferenceImages.tex:
--------------------------------------------------------------------------------
1 | \input{mmd6-article-leader}
2 | \def\mytitle{Reference Images}
3 | \input{mmd6-article-begin}
4 |
5 | Test \includegraphics[keepaspectratio,width=\textwidth,height=0.75\textheight]{http://test.1/}.
6 |
7 | Test \includegraphics[keepaspectratio,width=\textwidth,height=0.75\textheight]{http://test.1/}.
8 |
9 | Test \includegraphics[keepaspectratio,width=\textwidth,height=0.75\textheight]{http://test.3/}.
10 |
11 | Test \includegraphics[keepaspectratio,width=\textwidth,height=0.75\textheight]{http://test.4/}.
12 |
13 | Test \includegraphics[keepaspectratio,width=\textwidth,height=0.75\textheight]{http://test.4/}.
14 |
15 | 5
16 |
17 | Test \includegraphics[keepaspectratio,width=\textwidth,height=0.75\textheight]{http://test.6/}.
18 |
19 | Test \includegraphics[keepaspectratio,width=\textwidth,height=0.75\textheight]{http://test.0/}.
20 |
21 | Test \includegraphics[keepaspectratio,width=\textwidth,height=0.75\textheight]{http://test.0/}.
22 |
23 | \input{mmd6-article-footer}
24 | \end{document}
25 |
--------------------------------------------------------------------------------
/tests/MMD6Tests/ReferenceImages.text:
--------------------------------------------------------------------------------
1 | title: Reference Images
2 | latexconfig: article
3 |
4 | Test ![*foo*][bar].
5 |
6 | Test ![*foo*][BAR].
7 |
8 | Test ![*foo*][foobar].
9 |
10 | Test ![*foo*][foo bar].
11 |
12 | Test ![*foo*][foo bar].
13 |
14 | 5
15 |
16 | Test ![*foo*][long].
17 |
18 | Test ![foo][].
19 |
20 | Test ![foo].
21 |
22 |
23 | [foo]: http://test.0/
24 | [bar]: http://test.1/
25 | [BAR]: http://test.2/
26 | [foobar]: http://test.3/ "title"
27 | [foo bar]: http://test.4/
28 | [foo bar]: http://test.5/ ""
29 | [long]: http://test.6/
30 | "title"
31 |
--------------------------------------------------------------------------------
/tests/MMD6Tests/ReferenceLinks.text:
--------------------------------------------------------------------------------
1 | title: Reference Links
2 | latexconfig: article
3 |
4 | [*foo*][bar].
5 |
6 | [*foo*][BAR].
7 |
8 | [*foo*][foobar].
9 |
10 | [*foo*][foo bar].
11 |
12 | [*foo*][foo bar].
13 |
14 | 5
15 |
16 | [*foo*][long].
17 |
18 | [foo][].
19 |
20 | [foo].
21 |
22 | [[foo]][bar]
23 |
24 | [[foo]][]
25 |
26 | 10
27 |
28 | [[foo][bar]][]
29 |
30 | [foo][bar]
31 |
32 | [foo] [bar]
33 |
34 | [foo]
35 | [bar]
36 |
37 | [Markdown]
38 |
39 | 15
40 |
41 | [angle1]
42 |
43 | [angle2]
44 |
45 | [angle3]
46 |
47 | [angle4]
48 |
49 | [angle5]
50 |
51 | 20
52 |
53 | [angle6]
54 |
55 |
56 | [foo]: http://test.0/
57 | [bar]: http://test.1/file.txt
58 | [BAR]: http://test.2/
59 | [foobar]: http://test.3/file.txt "title"
60 | [foo bar]: http://test.4/
61 | [foo bar]: http://test.5/ ""
62 | [long]: http://test.6/
63 | "title"
64 | [Markdown]: http://daringfireball.net/projects/markdown/ "Daring Fireball:
65 | Markdown"
66 |
67 | [angle1]:
68 | [angle2]:
69 | [angle3]:
70 | [angle4]:
71 | [angle5]:
72 | [angle6]:
73 |
--------------------------------------------------------------------------------
/tests/MMD6Tests/SetextHeaders.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | Setext Headers
6 |
7 |
8 |
9 | foo bar
10 |
11 | foo bar
12 |
13 | foo
14 | bar
15 |
16 | foo
17 | bar
18 |
19 | foo
20 |
21 | bar
22 |
23 | 5
24 |
25 | foo
26 |
27 | bar
28 |
29 | foo
30 | ====
31 |
32 |
33 |
34 |
35 |
36 |
37 |
38 |
39 |
40 |
--------------------------------------------------------------------------------
/tests/MMD6Tests/SetextHeaders.htmlc:
--------------------------------------------------------------------------------
1 | title: Setext Headers
2 | latexconfig: article
3 |
4 | foo bar
5 |
6 | foo bar
7 |
8 | foo
9 | bar
10 |
11 | foo
12 | bar
13 |
14 | foo
15 |
16 | bar
17 |
18 | 5
19 |
20 | foo
21 |
22 | bar
23 |
24 | ````
25 | foo
26 |
27 | ````
28 |
29 |
30 |
31 |
32 |
--------------------------------------------------------------------------------
/tests/MMD6Tests/SetextHeaders.opml:
--------------------------------------------------------------------------------
1 |
2 |
3 | Setext Headers
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
--------------------------------------------------------------------------------
/tests/MMD6Tests/SetextHeaders.tex:
--------------------------------------------------------------------------------
1 | \input{mmd6-article-leader}
2 | \def\mytitle{Setext Headers}
3 | \input{mmd6-article-begin}
4 |
5 | \part{foo bar}
6 | \label{foobar}
7 |
8 | \chapter{foo \emph{bar}}
9 | \label{foobar}
10 |
11 | \part{foo
12 | bar}
13 | \label{foobar}
14 |
15 | \chapter{foo
16 | bar}
17 | \label{foobar}
18 |
19 | \part{foo}
20 | \label{foo}
21 |
22 | bar
23 |
24 | 5
25 |
26 | \chapter{foo}
27 | \label{foo}
28 |
29 | bar
30 |
31 | \begin{verbatim}
32 | foo
33 | ====
34 | \end{verbatim}
35 |
36 | \begin{center}\rule{3in}{0.4pt}\end{center}
37 |
38 | \begin{center}\rule{3in}{0.4pt}\end{center}
39 |
40 | \input{mmd6-article-footer}
41 | \end{document}
42 |
--------------------------------------------------------------------------------
/tests/MMD6Tests/SetextHeaders.text:
--------------------------------------------------------------------------------
1 | title: Setext Headers
2 | latexconfig: article
3 |
4 | foo bar
5 | =======
6 |
7 | foo *bar*
8 | -------
9 |
10 | foo
11 | bar
12 | ===
13 |
14 | foo
15 | bar
16 | ---
17 |
18 | foo
19 | ===
20 | bar
21 |
22 | 5
23 |
24 | foo
25 | ---
26 | bar
27 |
28 |
29 | ````
30 | foo
31 | ====
32 | ````
33 |
34 | ====
35 |
36 | ----
37 |
--------------------------------------------------------------------------------
/tests/MMD6Tests/SmartQuotes.tex:
--------------------------------------------------------------------------------
1 | \input{mmd6-article-leader}
2 | \def\mytitle{Smart Quotes}
3 | \input{mmd6-article-begin}
4 |
5 | `foo'
6 |
7 | ``foo''
8 |
9 | ``foo'' `bar'
10 |
11 | `foo' ``bar''
12 |
13 | `.foo'
14 |
15 | 5
16 |
17 | "foo".
18 |
19 | 'foo'.
20 |
21 | `foo'
22 |
23 | ``foo''
24 |
25 | ```foo'''
26 |
27 | 10
28 |
29 | ``'' foo ``''?
30 |
31 | '' foo ''?
32 |
33 | isn't
34 |
35 | foo -- bar
36 |
37 | foo --- bar
38 |
39 | 15
40 |
41 | 1--2
42 |
43 | 1--2
44 |
45 | 1---3
46 |
47 | \texttt{-{}-}
48 |
49 | \texttt{-{}-{}-}
50 |
51 | 20
52 |
53 | {\ldots}
54 |
55 | {\ldots}
56 |
57 | \texttt{...}
58 |
59 | \texttt{. . .}
60 |
61 | l'année l'année
62 |
63 | 25
64 |
65 | l'été l'année
66 |
67 | l'été l'été
68 |
69 | l'année l'été
70 |
71 | foo's and bar's
72 |
73 | \texttt{foo}'s and \texttt{bar}'s
74 |
75 | 30
76 |
77 | foo(`bar')
78 |
79 | foo(``bar'')
80 |
81 | foo-bar
82 |
83 | \begin{itemize}
84 | \item foo-bar
85 |
86 | \item foo-bar
87 |
88 | \end{itemize}
89 |
90 | How wide a printer? 24''? 48''? 54''?
91 |
92 | \input{mmd6-article-footer}
93 | \end{document}
94 |
--------------------------------------------------------------------------------
/tests/MMD6Tests/SmartQuotes.text:
--------------------------------------------------------------------------------
1 | title: Smart Quotes
2 | latexconfig: article
3 |
4 | 'foo'
5 |
6 | "foo"
7 |
8 | "foo" 'bar'
9 |
10 | 'foo' "bar"
11 |
12 | '.foo'
13 |
14 | 5
15 |
16 | \"foo\".
17 |
18 | \'foo\'.
19 |
20 | `foo'
21 |
22 | ``foo''
23 |
24 | ```foo'''
25 |
26 | 10
27 |
28 | "" foo ""?
29 |
30 | '' foo ''?
31 |
32 | isn't
33 |
34 | foo -- bar
35 |
36 | foo --- bar
37 |
38 | 15
39 |
40 | 1-2
41 |
42 | 1--2
43 |
44 | 1---3
45 |
46 | `--`
47 |
48 | `---`
49 |
50 | 20
51 |
52 | ...
53 |
54 | . . .
55 |
56 | `...`
57 |
58 | `. . .`
59 |
60 | l'année l'année
61 |
62 | 25
63 |
64 | l'été l'année
65 |
66 | l'été l'été
67 |
68 | l'année l'été
69 |
70 | foo's and bar's
71 |
72 | `foo`'s and `bar`'s
73 |
74 | 30
75 |
76 | foo('bar')
77 |
78 | foo("bar")
79 |
80 | foo-bar
81 |
82 | * foo-bar
83 | * foo-bar
84 |
85 | How wide a printer? 24"? 48"? 54"?
86 |
--------------------------------------------------------------------------------
/tests/MMD6Tests/Spanish.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | Spanish
6 |
7 |
8 |
9 | ‘foo’
10 |
11 | «foo»
12 |
13 | foo’s
14 |
15 | foo — bar
16 |
17 | foo – bar
18 |
19 | 5
20 |
21 | foo…
22 |
23 |
24 |
25 | (1)
26 |
27 |
37 |
38 |
39 |
40 |
41 |
42 |
43 | foo ↩︎
44 |
45 |
46 |
47 |
48 |
49 |
50 |
51 |
52 |
--------------------------------------------------------------------------------
/tests/MMD6Tests/Spanish.htmlc:
--------------------------------------------------------------------------------
1 | title: Spanish
2 | latexconfig: article
3 | language: es
4 |
5 | 'foo'
6 |
7 | "foo"
8 |
9 | foo's
10 |
11 | foo --- bar
12 |
13 | foo -- bar
14 |
15 | 5
16 |
17 | foo...
18 |
19 | [^foo]
20 |
21 | #bar
22 |
--------------------------------------------------------------------------------
/tests/MMD6Tests/Spanish.opml:
--------------------------------------------------------------------------------
1 |
2 |
3 | Spanish
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
--------------------------------------------------------------------------------
/tests/MMD6Tests/Spanish.tex:
--------------------------------------------------------------------------------
1 | \input{mmd6-article-leader}
2 | \def\mytitle{Spanish}
3 | \input{mmd6-article-begin}
4 |
5 | `foo'
6 |
7 | «foo»
8 |
9 | foo's
10 |
11 | foo --- bar
12 |
13 | foo -- bar
14 |
15 | 5
16 |
17 | foo{\ldots}
18 |
19 | \footnote{foo}
20 |
21 | ~\citep{bar}
22 |
23 | \begin{thebibliography}{0}
24 |
25 | \bibitem{bar}
26 | foo
27 | \end{thebibliography}
28 |
29 | \input{mmd6-article-footer}
30 | \end{document}
31 |
--------------------------------------------------------------------------------
/tests/MMD6Tests/Spanish.text:
--------------------------------------------------------------------------------
1 | title: Spanish
2 | latexconfig: article
3 | language: es
4 |
5 | 'foo'
6 |
7 | "foo"
8 |
9 | foo's
10 |
11 | foo --- bar
12 |
13 | foo -- bar
14 |
15 | 5
16 |
17 | foo...
18 |
19 | [^foo]
20 |
21 | [#bar]
22 |
23 | [#bar]: foo
24 |
--------------------------------------------------------------------------------
/tests/MMD6Tests/SpecialCharacters.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | Special Characters
6 |
7 |
8 |
9 | {foo}
10 |
11 | [foo]
12 |
13 | {{foo}}
14 |
15 | [[foo]]
16 |
17 | (foo)
18 |
19 | 5
20 |
21 | |foo|
22 |
23 | \foo
24 |
25 |
26 |
27 | %
28 |
29 | %
30 |
31 | 10
32 |
33 | & % # _ { } ~ ^ \
34 |
35 | &
36 |
37 | %
38 |
39 | #
40 |
41 | _
42 |
43 | 15
44 |
45 | {
46 |
47 | }
48 |
49 | ~
50 |
51 | ^
52 |
53 | \\
54 |
55 |
56 |
57 |
58 |
--------------------------------------------------------------------------------
/tests/MMD6Tests/SpecialCharacters.htmlc:
--------------------------------------------------------------------------------
1 | title: Special Characters
2 | latexconfig: article
3 |
4 | {foo}
5 |
6 | [foo]
7 |
8 | {{foo}}
9 |
10 | [[foo]]
11 |
12 | (foo)
13 |
14 | 5
15 |
16 | |foo|
17 |
18 | \foo
19 |
20 |
21 |
22 | %
23 |
24 | %
25 |
26 | 10
27 |
28 | & % # _ { } ~ ^ \
29 |
30 | &
31 |
32 | %
33 |
34 | #
35 |
36 | _
37 |
38 | 15
39 |
40 | {
41 |
42 | }
43 |
44 | ~
45 |
46 | ^
47 |
48 | \\
49 |
--------------------------------------------------------------------------------
/tests/MMD6Tests/SpecialCharacters.opml:
--------------------------------------------------------------------------------
1 |
2 |
3 | Special Characters
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
--------------------------------------------------------------------------------
/tests/MMD6Tests/SpecialCharacters.tex:
--------------------------------------------------------------------------------
1 | \input{mmd6-article-leader}
2 | \def\mytitle{Special Characters}
3 | \input{mmd6-article-begin}
4 |
5 | \{foo\}
6 |
7 | {[foo]}
8 |
9 | \{\{foo\}\}
10 |
11 | {[{[foo]}]}
12 |
13 | (foo)
14 |
15 | 5
16 |
17 | \textbar{}foo\textbar{}
18 |
19 | \textbackslash{}foo
20 |
21 | \%
22 |
23 | \texttt{\%}
24 |
25 | 10
26 |
27 | \& \% \# \_ \{ \} \ensuremath{\sim} \^{} \textbackslash{}
28 |
29 | \texttt{\&}
30 |
31 | \texttt{\%}
32 |
33 | \texttt{\#}
34 |
35 | \texttt{\_}
36 |
37 | 15
38 |
39 | \texttt{\{}
40 |
41 | \texttt{\}}
42 |
43 | \texttt{\ensuremath{\sim}}
44 |
45 | \texttt{\^{}}
46 |
47 | \texttt{\textbackslash{}\textbackslash{}}
48 |
49 | \input{mmd6-article-footer}
50 | \end{document}
51 |
--------------------------------------------------------------------------------
/tests/MMD6Tests/SpecialCharacters.text:
--------------------------------------------------------------------------------
1 | title: Special Characters
2 | latexconfig: article
3 |
4 | {foo}
5 |
6 | [foo]
7 |
8 | {{foo}}
9 |
10 | [[foo]]
11 |
12 | (foo)
13 |
14 | 5
15 |
16 | |foo|
17 |
18 | \foo\
19 |
20 |
21 |
22 | %
23 |
24 | `%`
25 |
26 | 10
27 |
28 | & % # _ { } ~ ^ \\
29 |
30 | `&`
31 |
32 | `%`
33 |
34 | `#`
35 |
36 | `_`
37 |
38 | 15
39 |
40 | `{`
41 |
42 | `}`
43 |
44 | `~`
45 |
46 | `^`
47 |
48 | `\\`
49 |
--------------------------------------------------------------------------------
/tests/MMD6Tests/Superscript.htmlc:
--------------------------------------------------------------------------------
1 | title: Superscript
2 | latexconfig: article
3 |
4 | x^2.
5 |
6 | x^2xz.
7 |
8 | x^2.^
9 |
10 | x^2 3^
11 |
12 | x^2 3^2
13 |
14 | 5
15 |
16 | x~z.
17 |
18 | x~xyz.
19 |
20 | z~z.~
21 |
22 | ~/Library/MultiMarkdown
23 |
24 | ^test
25 |
26 | 10
27 |
28 | x^y
29 |
30 | x~y
31 |
32 | x~2 3~
33 |
34 | x~2 3~2
35 |
36 | H~2~O
37 |
38 | 15
39 |
40 | CH~3~CH~2~CH~2~CH~3~
41 |
42 | CH~3~CH~2~CH~2~CH~3
43 |
44 | \pi^2
45 |
46 | \pi^2^
47 |
48 | CH~4
49 |
50 | 20
51 |
52 | CH~4~
53 |
54 | ^238^U
55 |
56 | Ca^2+^
57 |
58 | ~t~p~x~
59 |
60 | ^23^Na^1+^
61 |
62 | 25
63 |
64 | Na^1+
65 |
66 | Na^1+^
67 |
68 | Na^+
69 |
70 | Na^+^
71 |
--------------------------------------------------------------------------------
/tests/MMD6Tests/Superscript.opml:
--------------------------------------------------------------------------------
1 |
2 |
3 | Superscript
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
--------------------------------------------------------------------------------
/tests/MMD6Tests/Superscript.text:
--------------------------------------------------------------------------------
1 | title: Superscript
2 | latexconfig: article
3 |
4 | x^2.
5 |
6 | x^2xz.
7 |
8 | x^2.^
9 |
10 | x^2 3^
11 |
12 | x^2 3^2
13 |
14 | 5
15 |
16 | x~z.
17 |
18 | x~xyz.
19 |
20 | z~z.~
21 |
22 | ~/Library/MultiMarkdown
23 |
24 | ^test
25 |
26 | 10
27 |
28 | x\^y
29 |
30 | x\~y
31 |
32 | x~2 3~
33 |
34 | x~2 3~2
35 |
36 | H~2~O
37 |
38 | 15
39 |
40 | CH~3~CH~2~CH~2~CH~3~
41 |
42 | CH~3~CH~2~CH~2~CH~3
43 |
44 | `\pi^2`
45 |
46 | `\pi^2^`
47 |
48 | `CH~4`
49 |
50 | 20
51 |
52 | `CH~4~`
53 |
54 | ^238^U
55 |
56 | Ca^2+^
57 |
58 | ~t~p~x~
59 |
60 | ^23^Na^1+^
61 |
62 | 25
63 |
64 | Na^1+
65 |
66 | Na^1+^
67 |
68 | Na^+
69 |
70 | Na^+^
71 |
--------------------------------------------------------------------------------
/tests/MMD6Tests/Swedish.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | Swedish
6 |
7 |
8 |
9 | ’foo’
10 |
11 | ”foo”
12 |
13 | foo’s
14 |
15 | foo — bar
16 |
17 | foo – bar
18 |
19 | 5
20 |
21 | foo…
22 |
23 |
24 |
25 | (1)
26 |
27 |
37 |
38 |
39 |
40 |
41 |
42 |
43 | foo ↩︎
44 |
45 |
46 |
47 |
48 |
49 |
50 |
51 |
52 |
--------------------------------------------------------------------------------
/tests/MMD6Tests/Swedish.htmlc:
--------------------------------------------------------------------------------
1 | title: Swedish
2 | latexconfig: article
3 | language: sv
4 |
5 | 'foo'
6 |
7 | "foo"
8 |
9 | foo's
10 |
11 | foo --- bar
12 |
13 | foo -- bar
14 |
15 | 5
16 |
17 | foo...
18 |
19 | [^foo]
20 |
21 | #bar
22 |
--------------------------------------------------------------------------------
/tests/MMD6Tests/Swedish.opml:
--------------------------------------------------------------------------------
1 |
2 |
3 | Swedish
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
--------------------------------------------------------------------------------
/tests/MMD6Tests/Swedish.tex:
--------------------------------------------------------------------------------
1 | \input{mmd6-article-leader}
2 | \def\mytitle{Swedish}
3 | \input{mmd6-article-begin}
4 |
5 | 'foo'
6 |
7 | ''foo''
8 |
9 | foo's
10 |
11 | foo --- bar
12 |
13 | foo -- bar
14 |
15 | 5
16 |
17 | foo{\ldots}
18 |
19 | \footnote{foo}
20 |
21 | ~\citep{bar}
22 |
23 | \begin{thebibliography}{0}
24 |
25 | \bibitem{bar}
26 | foo
27 | \end{thebibliography}
28 |
29 | \input{mmd6-article-footer}
30 | \end{document}
31 |
--------------------------------------------------------------------------------
/tests/MMD6Tests/Swedish.text:
--------------------------------------------------------------------------------
1 | title: Swedish
2 | latexconfig: article
3 | language: sv
4 |
5 | 'foo'
6 |
7 | "foo"
8 |
9 | foo's
10 |
11 | foo --- bar
12 |
13 | foo -- bar
14 |
15 | 5
16 |
17 | foo...
18 |
19 | [^foo]
20 |
21 | [#bar]
22 |
23 | [#bar]: foo
24 |
--------------------------------------------------------------------------------
/tests/MMD6Tests/TableofContents.htmlc:
--------------------------------------------------------------------------------
1 | title: Table of Contents
2 | latexconfig: article
3 |
4 | {{TOC}}
5 |
6 | {{TOC:2}}
7 |
8 | {{TOC:2-3}}
9 |
10 | foo {{TOC}}
11 |
12 | foo {{TOC:2}}
13 |
14 | foo {{TOC:2-3}}
15 |
16 | {{TOC}}
17 |
18 | {{TOC:2}}
19 |
20 | {{TOC:2-3}}
21 |
22 |
23 | Second Level
24 |
25 | {{TOC}}
26 |
27 | First Level
28 |
29 | Second Level b
30 |
31 | Third Level
32 |
33 | Second Level c
34 |
35 | First Level b
36 |
37 | Third Level b
38 |
39 | Second level d
40 |
41 | Third level d
42 |
43 | Fourth level d
44 |
45 | {{TOC}}
46 |
47 | First level [First Level e]
48 |
49 | Second level [Second Level e]
50 |
--------------------------------------------------------------------------------
/tests/MMD6Tests/TableofContents.text:
--------------------------------------------------------------------------------
1 | title: Table of Contents
2 | latexconfig: article
3 |
4 | {{TOC}}
5 |
6 | {{TOC:2}}
7 |
8 | {{TOC:2-3}}
9 |
10 |
11 | foo {{TOC}}
12 |
13 | foo {{TOC:2}}
14 |
15 | foo {{TOC:2-3}}
16 |
17 |
18 | {{TOC}}
19 |
20 | {{TOC:2}}
21 |
22 | {{TOC:2-3}}
23 |
24 |
25 |
26 | ## Second Level ##
27 |
28 | {{TOC}}
29 |
30 | # First Level #
31 |
32 | ## Second Level b ##
33 |
34 | ### Third Level ###
35 |
36 | ## Second Level c ##
37 |
38 | # First Level b #
39 |
40 | ### Third Level b ###
41 |
42 | ## Second level d ##
43 |
44 | ### Third level d ##
45 |
46 | #### Fourth level d ####
47 |
48 | {{TOC}}
49 |
50 | # First level [First Level e] #
51 |
52 | ## Second level [Second Level e] ##
53 |
--------------------------------------------------------------------------------
/tests/MMD6Tests/Transclusion.htmlc:
--------------------------------------------------------------------------------
1 | title: Transclusion
2 | latexconfig: article
3 | transclude base: .
4 |
5 | {{foo.txt}}
6 |
7 | {{bar.txt}}
8 |
9 | {{transclusion/bat.*}}
10 |
11 | {{transclusion/baz.txt}}
12 |
13 | {{transclusion/baz2.txt}}
14 |
--------------------------------------------------------------------------------
/tests/MMD6Tests/Transclusion.text:
--------------------------------------------------------------------------------
1 | title: Transclusion
2 | latexconfig: article
3 | transclude base: .
4 |
5 | {{foo.txt}}
6 |
7 | {{bar.txt}}
8 |
9 | {{transclusion/bat.*}}
10 |
11 | {{transclusion/baz.txt}}
12 |
13 | {{transclusion/baz2.txt}}
--------------------------------------------------------------------------------
/tests/MMD6Tests/Variables.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | Variables
6 |
7 |
8 |
9 |
10 |
11 | foo: bar
12 |
13 | bar foo bar foo bar
14 |
15 | [%bar]
16 |
17 | **foo**
18 |
19 | article
20 |
21 |
22 |
23 |
24 |
--------------------------------------------------------------------------------
/tests/MMD6Tests/Variables.htmlc:
--------------------------------------------------------------------------------
1 | title: Variables
2 | latexconfig: article
3 | foo: bar
4 | foo bar
5 | foo bar
6 | bat: foo
7 |
8 | foo: bar
9 |
10 | [%foo]
11 |
12 | [%bar]
13 |
14 | [%bat]
15 |
16 | [%latex config]
17 |
--------------------------------------------------------------------------------
/tests/MMD6Tests/Variables.opml:
--------------------------------------------------------------------------------
1 |
2 |
3 | Variables
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
--------------------------------------------------------------------------------
/tests/MMD6Tests/Variables.tex:
--------------------------------------------------------------------------------
1 | \input{mmd6-article-leader}
2 | \def\mytitle{Variables}
3 | \def\foo{bar foo bar foo bar}
4 | \def\bat{**foo**}
5 | \input{mmd6-article-begin}
6 |
7 | foo: bar
8 |
9 | bar foo bar foo bar
10 |
11 | {[%bar]}
12 |
13 | **foo**
14 |
15 | article
16 |
17 | \input{mmd6-article-footer}
18 | \end{document}
19 |
--------------------------------------------------------------------------------
/tests/MMD6Tests/Variables.text:
--------------------------------------------------------------------------------
1 | title: Variables
2 | latexconfig: article
3 | foo: bar
4 | foo bar
5 | foo bar
6 | bat: **foo**
7 |
8 | foo: bar
9 |
10 | [%foo]
11 |
12 | [%bar]
13 |
14 | [%bat]
15 |
16 | [%latex config]
17 |
--------------------------------------------------------------------------------
/tests/MMD6Tests/bar.txt:
--------------------------------------------------------------------------------
1 | Title: bar
2 | transclude base: transclusion
3 |
4 | This text is included in `bar.txt`.
5 |
6 | This can be transcluded without causing an infinite loop -- {{../foo.txt}}
7 |
8 | ```
9 | {{nometa.txt}}
10 | ```
11 |
12 | ```
13 | {{nometa-bom8.txt}}
14 | ```
15 |
--------------------------------------------------------------------------------
/tests/MMD6Tests/foo.txt:
--------------------------------------------------------------------------------
1 | Title: foo
2 |
3 | This text is included in `foo.txt`.
4 |
5 | This should not be transcluded to avoid an infinite loop -- {{foo.txt}}
6 |
--------------------------------------------------------------------------------
/tests/MMD6Tests/footer.txt:
--------------------------------------------------------------------------------
1 | MultiMarkdown *footer*.
--------------------------------------------------------------------------------
/tests/MMD6Tests/header.txt:
--------------------------------------------------------------------------------
1 | MultiMarkdown *header*.
2 |
--------------------------------------------------------------------------------
/tests/MMD6Tests/transclusion/bar.txt:
--------------------------------------------------------------------------------
1 | ---
2 | Title: bar
3 | ---
4 |
5 | This text is included in `transclusion\bar.txt`.
6 |
7 | foo can no longer be found -- {{foo.txt}}
8 |
--------------------------------------------------------------------------------
/tests/MMD6Tests/transclusion/bat.html:
--------------------------------------------------------------------------------
1 | This is HTML .
--------------------------------------------------------------------------------
/tests/MMD6Tests/transclusion/baz.txt:
--------------------------------------------------------------------------------
1 | Title: baz
2 |
3 | This text is included in `transclusion/baz.txt`.
4 |
5 | This should pull in `bar.txt`, *if* run from the parent directory, since it
6 | does *not* override the `transclude base` metadata.
7 |
8 | {{bar.txt}}
9 |
--------------------------------------------------------------------------------
/tests/MMD6Tests/transclusion/baz2.txt:
--------------------------------------------------------------------------------
1 | Title: baz
2 | transclude base: .
3 |
4 | This text is included in `transclusion/baz2.txt`.
5 |
6 | This should pull in `transclusion/bar.txt`, *even if* run from the parent
7 | directory, since it overrides the `transclude base` metadata.
8 |
9 | {{bar.txt}}
10 |
--------------------------------------------------------------------------------
/tests/MMD6Tests/transclusion/nometa-bom8.txt:
--------------------------------------------------------------------------------
1 | This is a file with no metadata.
--------------------------------------------------------------------------------
/tests/MMD6Tests/transclusion/nometa.txt:
--------------------------------------------------------------------------------
1 | This is a file with no metadata.
--------------------------------------------------------------------------------
/texmf/tex/latex/mmd6/README.md:
--------------------------------------------------------------------------------
1 | Title: LaTeX Support Files
2 | Author: Fletcher T. Penney
3 | Date: 2017-03-27
4 |
5 |
6 | ## Introduction ##
7 |
8 | This folder includes the LaTeX support files for MMD. They have been renamed
9 | for MMD v6.
10 |
11 | The files are organized into directories using a naming convention compatible
12 | with the MMD 6 `LaTeX Config` metadata key:
13 |
14 | TItle: Some Title
15 | LaTeX Config: article
16 |
17 | Each configuration would have three files, named:
18 |
19 | 1. mmd6-foo-leader.tex
20 | 2. mmd6-foo-begin.tex
21 | 3. mmd6-foo-footer.tex
22 |
23 | (where `foo` is the name of the configuration)
24 |
25 | Each of these files can reference other files, and the common configuration
26 | files used in the default setups are stored in the `shared` directory.
27 |
28 |
29 | ## Installation ##
30 |
31 | These files need to go in your `texmf` folder, wherever that may be.
32 |
33 | With MacTeX on Mac OS X:
34 |
35 | ~/Library/texmf/tex/latex/mmd
36 |
37 | On most *nix accounts, you can use:
38 |
39 | ~/texmf/tex/latex/mmd
40 |
41 | I don't remember off the top of my head where your texmf folder belongs in
42 | Windows.
43 |
--------------------------------------------------------------------------------
/texmf/tex/latex/mmd6/article/mmd6-article-begin.tex:
--------------------------------------------------------------------------------
1 | %
2 | % For setup that must follow metadata included in the document
3 | %
4 |
5 | \usepackage[
6 | plainpages=false,
7 | pdfpagelabels,
8 | pdftitle={\mytitle},
9 | pagebackref,
10 | pdfauthor={\myauthor},
11 | pdfkeywords={\mykeywords}
12 | ]{hyperref}
13 | \usepackage{memhfixc}
14 |
15 |
16 | \input{mmd6-title}
17 |
18 |
19 | \begin{document}
20 |
21 | \VerbatimFootnotes
22 |
23 | \title{\latextitle}
24 | \author{\myauthor}
25 |
26 | \ifx\mydate\undefined
27 | \else
28 | \date{\mydate}
29 | \fi
30 |
31 | \mainmatter
32 | \maketitle
33 |
34 |
35 | % Copyright
36 | \setlength{\parindent}{0pt}
37 |
38 | \ifx\mycopyright\undefined
39 | \else
40 | \textcopyright{} \mycopyright
41 | \fi
42 |
43 | \setlength{\parindent}{1em}
44 |
45 |
--------------------------------------------------------------------------------
/texmf/tex/latex/mmd6/article/mmd6-article-footer.tex:
--------------------------------------------------------------------------------
1 | %
2 | % Configure LaTeX to produce an article using the memoir class
3 | %
4 |
5 | \input{mmd6-memoir-footer}
6 |
--------------------------------------------------------------------------------
/texmf/tex/latex/mmd6/article/mmd6-article-leader.tex:
--------------------------------------------------------------------------------
1 | %
2 | % Configure LaTeX to produce an article using the memoir class
3 | %
4 |
5 | \documentclass[oneside,article]{memoir}
6 |
7 | \input{mmd6-memoir-setup}
8 |
--------------------------------------------------------------------------------
/texmf/tex/latex/mmd6/beamer/Portfolio.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/fletcher/MultiMarkdown-6/8b81672c2355c41296773ece36077558b3fe7adf/texmf/tex/latex/mmd6/beamer/Portfolio.png
--------------------------------------------------------------------------------
/texmf/tex/latex/mmd6/beamer/Vintage.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/fletcher/MultiMarkdown-6/8b81672c2355c41296773ece36077558b3fe7adf/texmf/tex/latex/mmd6/beamer/Vintage.png
--------------------------------------------------------------------------------
/texmf/tex/latex/mmd6/beamer/beamerthemekeynote-portfolio.sty:
--------------------------------------------------------------------------------
1 | % By Ed Long
2 | % http://www.ucl.ac.uk/~ucbpeal/latexposter.html
3 |
4 | \usetheme{default}
5 | \usepackage{mathpazo}
6 | \setbeamertemplate{background canvas}{\includegraphics
7 | [width=\paperwidth]{Portfolio.png}}
8 | \setbeamercolor{structure}{fg=white}
9 | \setbeamerfont{structure}{family = \rmfamily}
10 | \setbeamerfont{title}{size = \Huge}
11 | \usefonttheme{structuresmallcapsserif}
12 | \usefonttheme{serif}
13 | \setbeamercolor{normal text}{fg=white}
14 |
15 | \setbeamertemplate{navigation symbols}{} % no nav symbols
16 | \setbeamercolor{titlelike}{parent=structure,fg=white} % no box on titlepage
17 | \setbeamertemplate{footline}[page number]{} % remove bottom bars
18 | \setbeamertemplate{headline}{} % remove top bars
--------------------------------------------------------------------------------
/texmf/tex/latex/mmd6/beamer/beamerthemekeynote-vintage.sty:
--------------------------------------------------------------------------------
1 | % By Ed Long
2 | % http://www.ucl.ac.uk/~ucbpeal/latexposter.html
3 |
4 | \usetheme{default}
5 | %\usepackage{texnansi}
6 | %\usepackage{gtamacdidot}
7 |
8 | \definecolor{textcolour}{rgb}{0.37,0.34,0.27}
9 |
10 | \setbeamertemplate{background canvas}{\includegraphics
11 | [width=\paperwidth]{Vintage.png}}
12 | \setbeamercolor{structure}{fg=textcolour}
13 | \setbeamertemplate{items}[circle]
14 | \setbeamerfont{structure}{family = \rmfamily}
15 |
16 | \setbeamertemplate{frametitle}
17 | {
18 | \begin{centering}
19 | \vspace{0.3cm}
20 | \huge
21 | \insertframetitle
22 | \par
23 | \end{centering}
24 | }
25 |
26 | \setbeamerfont{title}{size = \Huge}
27 | \usefonttheme{structuresmallcapsserif}
28 | \usefonttheme{serif}
29 | \setbeamercolor{normal text}{fg=textcolour}
30 |
31 | \setbeamertemplate{navigation symbols}{} % no nav symbols
32 | \setbeamercolor{titlelike}{parent=structure,fg=textcolour} % no box on titlepage
33 | \setbeamertemplate{footline}[page number]{} % remove bottom bars
34 | \setbeamertemplate{headline}{} % remove top bars
--------------------------------------------------------------------------------
/texmf/tex/latex/mmd6/beamer/mmd6-beamer-begin.tex:
--------------------------------------------------------------------------------
1 | %
2 | % Get ready for the actual document
3 | %
4 |
5 | %
6 | % Use default MMD metadata for beamer equivalents
7 | %
8 |
9 | \ifx\subtitle\undefined
10 | \else
11 | \oldSubtitle{\subtitle}
12 | \fi
13 |
14 | \ifx\affiliation\undefined
15 | \else
16 | \institute{\affiliation}
17 | \fi
18 |
19 | \ifx\mydate\undefined
20 | \def\mydate{\today}
21 | \else
22 | \date{\mydate}
23 | \fi
24 |
25 | \ifx\event\undefined
26 | \else
27 | \date[\mydate]{\mydate~ / \event }
28 | \fi
29 |
30 |
31 | %\input{mmd6-title}
32 |
33 | % Show "current/total" slide counter in footer
34 | \title[\mytitle\hspace{2em}\insertframenumber/
35 | \inserttotalframenumber]{\mytitle}
36 |
37 |
38 | \author{\myauthor}
39 | \addtolength{\parskip}{\baselineskip}
40 |
41 | \ifx\theme\undefined
42 | \else
43 | \usetheme{\theme}
44 | \fi
45 |
46 | \begin{document}
47 | \frame{\setlength\parskip{0pt}\titlepage}
48 |
--------------------------------------------------------------------------------
/texmf/tex/latex/mmd6/beamer/mmd6-beamer-footer.tex:
--------------------------------------------------------------------------------
1 | %
2 | % MultiMarkdown beamer class footer file
3 | %
4 |
5 | % Back Matter
6 | \if@mainmatter
7 | \backmatter
8 | \fi
9 |
10 | \ifx\bibliocommand\undefined
11 | \else
12 | \part{Bibliography}
13 | \begin{frame}[allowframebreaks]
14 | \frametitle{Bibliography}
15 | \bibliographystyle{\bibliostyle}
16 | \def\newblock{}
17 | \bibliocommand
18 | \end{frame}
19 | \fi
20 |
--------------------------------------------------------------------------------
/texmf/tex/latex/mmd6/letterhead/mmd6-letterhead-footer.tex:
--------------------------------------------------------------------------------
1 | %
2 | % MultiMarkdown memoir class footer file
3 | %
4 |
5 | \signature
6 |
7 | \input{mmd6-memoir-footer}
--------------------------------------------------------------------------------
/texmf/tex/latex/mmd6/letterhead/mmd6-letterhead-leader.tex:
--------------------------------------------------------------------------------
1 | %
2 | % Configure LaTeX to produce a PDF letter using the memoir class
3 | %
4 | \documentclass[oneside,article]{memoir}
5 |
6 | % Default logo settings to avoid errors
7 | \def\logoheight{1.7in}
8 | \def\coverlogo{}
9 |
10 |
11 | \usepackage{xcolor} % Allow for color (annotations)
12 |
13 | \definecolor{accent}{HTML}{000000}
14 | \definecolor{returnaddress}{HTML}{000000}
15 | \def\usexelatex{true}
16 |
17 | \input{mmd6-memoir-setup}
18 |
--------------------------------------------------------------------------------
/texmf/tex/latex/mmd6/manuscript/mmd6-manuscript-footer.tex:
--------------------------------------------------------------------------------
1 | \input{mmd6-memoir-footer}
2 |
--------------------------------------------------------------------------------
/texmf/tex/latex/mmd6/manuscript/mmd6-manuscript-leader.tex:
--------------------------------------------------------------------------------
1 | %
2 | % Configure LaTeX to produce an article using the memoir class
3 | %
4 |
5 | \documentclass[10pt,oneside]{memoir}
6 | \usepackage{layouts}[2001/04/29]
7 | \usepackage{manuscript}
8 |
9 | % Use default packages for memoir setup
10 | \input{mmd6-manuscript-packages}
11 | \usepackage{glossaries}
12 |
13 |
14 | % Configure default metadata to avoid errors
15 | \input{mmd6-default-metadata}
16 |
17 | \def\agent{}
18 | \def\address{}
19 |
--------------------------------------------------------------------------------
/texmf/tex/latex/mmd6/memoir-book/mmd6-memoir-book-begin.tex:
--------------------------------------------------------------------------------
1 | %
2 | % Get ready for the actual document
3 | %
4 |
5 | \usepackage[
6 | plainpages=false,
7 | pdfpagelabels,
8 | pdftitle={\mytitle},
9 | pagebackref,
10 | pdfauthor={\myauthor},
11 | pdfkeywords={\mykeywords}
12 | ]{hyperref}
13 | \usepackage{memhfixc}
14 |
15 |
16 | \input{mmd6-title}
17 | \title{\mytitle}
18 | \author{\myauthor}
19 |
20 | \ifx\mydate\undefined
21 | \else
22 | \date{\mydate}
23 | \fi
24 |
25 |
26 | \ifx\theme\undefined
27 | \else
28 | \usetheme{\theme}
29 | \fi
30 |
31 | \begin{document}
32 |
33 | \VerbatimFootnotes
34 |
35 |
36 | \chapterstyle{\mychapterstyle}
37 | \pagestyle{\mypagestyle}
38 |
39 | % Frontmatter
40 | \frontmatter
41 |
42 | % Title Page
43 | \maketitle
44 | \clearpage
45 |
46 | \input{mmd6-memoir-copyright}
47 |
48 | \tableofcontents
49 | %\listoffigures
50 | %\listoftables
51 |
52 |
53 | \mainmatter
54 |
55 |
--------------------------------------------------------------------------------
/texmf/tex/latex/mmd6/memoir-book/mmd6-memoir-book-footer.tex:
--------------------------------------------------------------------------------
1 | %
2 | % MultiMarkdown default footer file
3 | %
4 |
5 |
6 | % Back Matter
7 | \if@mainmatter
8 | we're in main
9 | \backmatter
10 | \fi
11 |
12 |
13 | % Bibliography
14 |
15 | \ifx\bibliocommand\undefined
16 | \else
17 | \bibliographystyle{\bibliostyle}
18 | \bibliocommand
19 | \fi
20 |
21 |
22 |
23 | % Glossary
24 | \printglossaries
25 |
26 |
27 | % Index
28 | \printindex
29 |
30 |
--------------------------------------------------------------------------------
/texmf/tex/latex/mmd6/memoir-book/mmd6-memoir-book-leader.tex:
--------------------------------------------------------------------------------
1 | %
2 | % Configure LaTeX to produce a PDF "book" using the memoir class
3 | %
4 |
5 | \documentclass[10pt,oneside]{memoir}
6 |
7 | \input{mmd6-memoir-setup}
8 |
--------------------------------------------------------------------------------
/texmf/tex/latex/mmd6/shared/mmd6-criticmarkup.tex:
--------------------------------------------------------------------------------
1 | % CriticMarkup Support
2 | \usepackage{soul}
3 | \usepackage{xargs}
4 | \usepackage{todonotes}
5 | \newcommandx{\cmnote}[2][1=]{\linespread{1.0}\todo[linecolor=red,backgroundcolor=red!25,bordercolor=red,#1]{#2}}
6 |
7 | % Use \ul instead of \underline since we are using soul
8 | \let\underline\ul
9 |
--------------------------------------------------------------------------------
/texmf/tex/latex/mmd6/shared/mmd6-default-metadata.tex:
--------------------------------------------------------------------------------
1 | %
2 | % Configure default metadata in case it's missing to avoid errors
3 | %
4 |
5 | \def\myauthor{Author}
6 | \def\defaultemail{}
7 | \def\defaultposition{}
8 | \def\defaultdepartment{}
9 | \def\defaultaddress{}
10 | \def\defaultphone{}
11 | \def\defaultfax{}
12 | \def\defaultweb{}
13 | \def\defaultaffiliation{}
14 |
15 | \def\mytitle{Title}
16 | \def\subtitle{}
17 | \def\mykeywords{}
18 |
19 |
20 | \def\bibliostyle{plain}
21 | % \def\bibliocommand{}
22 |
23 | \def\myrecipient{}
24 |
25 | % Overwrite with your own if desired
26 | %\input{ftp-metadata}
27 |
28 |
--------------------------------------------------------------------------------
/texmf/tex/latex/mmd6/shared/mmd6-manuscript-packages.tex:
--------------------------------------------------------------------------------
1 | %
2 | % Default packages for memoir documents created by MultiMarkdown
3 | %
4 |
5 | \usepackage{fancyvrb} % Allow \verbatim et al. in footnotes
6 | \usepackage{graphicx} % To enable including graphics in pdf's
7 | \usepackage{booktabs} % Better tables
8 | \usepackage{tabulary} % Support longer table cells
9 | \usepackage{xcolor} % Allow for color (annotations)
10 | \usepackage{listings} % Allow for source code highlighting
11 | \usepackage[sort&compress]{natbib} % Better bibliography support
12 | \usepackage[normalem]{ulem} % Support strikethrough
13 |
14 | \input{mmd6-criticmarkup}
15 |
--------------------------------------------------------------------------------
/texmf/tex/latex/mmd6/shared/mmd6-memoir-copyright.tex:
--------------------------------------------------------------------------------
1 | %
2 | % Copyright Page
3 | %
4 |
5 | \vspace*{\fill}
6 | \setlength{\parindent}{0pt}
7 |
8 | \ifx\mycopyright\undefined
9 | \else
10 | \textcopyright{} \mycopyright
11 | \fi
12 |
13 | \begin{center}
14 | \framebox{ \parbox[t]{1.5in}{\centering Formatted for \LaTeX \\
15 | by MultiMarkdown 6}}
16 | \end{center}
17 |
18 | \setlength{\parindent}{1em}
19 | \clearpage
--------------------------------------------------------------------------------
/texmf/tex/latex/mmd6/shared/mmd6-memoir-footer.tex:
--------------------------------------------------------------------------------
1 | %
2 | % MultiMarkdown default footer file
3 | %
4 |
5 |
6 | % Back Matter
7 | \if@mainmatter
8 | we're in main
9 | \backmatter
10 | \fi
11 |
12 |
13 | % Bibliography
14 |
15 | \ifx\bibliocommand\undefined
16 | \else
17 | \bibliographystyle{\bibliostyle}
18 | \bibliocommand
19 | \fi
20 |
21 |
22 |
23 | % Glossary
24 | \printglossaries
25 |
26 |
27 | % Index
28 | \printindex
29 |
30 |
--------------------------------------------------------------------------------
/texmf/tex/latex/mmd6/shared/mmd6-memoir-layout-8.5x11.tex:
--------------------------------------------------------------------------------
1 | %
2 | % 8.5 x 11 layout for memoir-based documents
3 | %
4 |
5 |
6 | %%% need more space for ToC page numbers
7 | \setpnumwidth{2.55em}
8 | \setrmarg{3.55em}
9 |
10 | %%% need more space for ToC section numbers
11 | \cftsetindents{part}{0em}{3em}
12 | \cftsetindents{chapter}{0em}{3em}
13 | \cftsetindents{section}{3em}{3em}
14 | \cftsetindents{subsection}{4.5em}{3.9em}
15 | \cftsetindents{subsubsection}{8.4em}{4.8em}
16 | \cftsetindents{paragraph}{10.7em}{5.7em}
17 | \cftsetindents{subparagraph}{12.7em}{6.7em}
18 |
19 | %%% need more space for LoF numbers
20 | \cftsetindents{figure}{0em}{3.0em}
21 |
22 | %%% and do the same for the LoT
23 | \cftsetindents{table}{0em}{3.0em}
24 |
25 | %%% set up the page layout
26 | \settrimmedsize{\stockheight}{\stockwidth}{*} % Use entire page
27 | \settrims{0pt}{0pt}
28 |
29 | \setlrmarginsandblock{1.5in}{1.5in}{*}
30 | \setulmarginsandblock{1.5in}{1.5in}{*}
31 |
32 | \setmarginnotes{17pt}{51pt}{\onelineskip}
33 | \setheadfoot{\onelineskip}{2\onelineskip}
34 | \setheaderspaces{*}{2\onelineskip}{*}
35 | \checkandfixthelayout
--------------------------------------------------------------------------------
/texmf/tex/latex/mmd6/shared/mmd6-memoir-packages.tex:
--------------------------------------------------------------------------------
1 | %
2 | % Default packages for memoir documents created by MultiMarkdown
3 | %
4 |
5 | \usepackage{fancyvrb} % Allow \verbatim et al. in footnotes
6 | \usepackage{graphicx} % To enable including graphics in pdf's
7 | \usepackage{booktabs} % Better tables
8 | \usepackage{tabulary} % Support longer table cells
9 | \usepackage[T1]{fontenc} % Use T1 font encoding for accented characters
10 | \usepackage[utf8]{inputenc} % For UTF-8 support
11 | \usepackage{xcolor} % Allow for color (annotations)
12 | \usepackage{listings} % Allow for source code highlighting
13 | \usepackage[sort&compress]{natbib} % Better bibliography support
14 | \usepackage[normalem]{ulem} % Support strikethrough
15 |
16 | \input{mmd6-criticmarkup}
17 |
--------------------------------------------------------------------------------
/texmf/tex/latex/mmd6/shared/mmd6-memoir-setup.tex:
--------------------------------------------------------------------------------
1 | %
2 | % Generic Configuration for memoir-based documents
3 | %
4 |
5 | \usepackage{layouts}[2001/04/29]
6 |
7 |
8 | % In case we need a glossary, or index
9 | \usepackage[acronym]{glossaries}
10 | \glstoctrue
11 | \makeglossaries
12 | \makeindex
13 |
14 |
15 | % Basic page layout configuration
16 | \def\mychapterstyle{default}
17 | \def\mypagestyle{headings}
18 |
19 |
20 | % Use 8.5 x 11 inch page layout
21 | \input{mmd6-memoir-layout-8.5x11}
22 |
23 |
24 | % Use default packages for memoir setup
25 | \input{mmd6-memoir-packages}
26 |
27 |
28 | % Configure default metadata to avoid errors
29 | \input{mmd6-default-metadata}
30 |
31 |
32 |
--------------------------------------------------------------------------------
/texmf/tex/latex/mmd6/shared/mmd6-tufte-footer.tex:
--------------------------------------------------------------------------------
1 |
2 |
3 | % Back Matter
4 | \if@mainmatter
5 | we're in main
6 | \backmatter
7 | \else
8 | \newpage
9 | \fi
10 |
11 |
12 |
13 | % Bibliography
14 |
15 | \ifx\bibliocommand\undefined
16 | \else
17 | \bibliographystyle{\bibliostyle}
18 | \bibliocommand
19 | \fi
20 |
21 |
22 | % Glossary
23 | \renewcommand*{\acronymname}{Abbreviations}
24 | \printglossaries
25 |
26 |
--------------------------------------------------------------------------------
/texmf/tex/latex/mmd6/tufte-book/mmd6-tufte-book-begin.tex:
--------------------------------------------------------------------------------
1 | \input{mmd6-title}
2 |
3 | \title{\latextitle}
4 | \author{\myauthor}
5 |
6 | \ifx\mydate\undefined
7 | \else
8 | \date{\mydate}
9 | \fi
10 |
11 | \begin{document}
12 | \maketitle
13 |
14 | \tableofcontents
15 | %\listoffigures
16 | %\listoftables
17 |
--------------------------------------------------------------------------------
/texmf/tex/latex/mmd6/tufte-book/mmd6-tufte-book-footer.tex:
--------------------------------------------------------------------------------
1 | \input{mmd6-tufte-footer}
2 |
--------------------------------------------------------------------------------
/texmf/tex/latex/mmd6/tufte-handout/mmd6-tufte-handout-begin.tex:
--------------------------------------------------------------------------------
1 | \input{mmd6-title}
2 |
3 | \title{\latextitle}
4 | \author{\myauthor}
5 |
6 | \ifx\mydate\undefined
7 | \else
8 | \date{\mydate}
9 | \fi
10 |
11 | \begin{document}
12 | \maketitle
13 |
14 |
--------------------------------------------------------------------------------
/texmf/tex/latex/mmd6/tufte-handout/mmd6-tufte-handout-footer.tex:
--------------------------------------------------------------------------------
1 | \input{mmd6-tufte-footer}
2 |
--------------------------------------------------------------------------------
/tools/Toolchain-MinGW-w64-32bit.cmake:
--------------------------------------------------------------------------------
1 | # Settings for compiling for Windows 32-bit machines using MinGW-w64
2 |
3 | set (IS_CROSSCOMPILING "YES")
4 | set (IS_32_BIT "32-")
5 |
6 | set (CMAKE_SYSTEM_NAME Windows)
7 |
8 | set (CMAKE_C_COMPILER i686-w64-mingw32-gcc)
9 | set (CMAKE_CXX_COMPILER i686-w64-mingw32-g++)
10 | set (CMAKE_RC_COMPILER i686-w64-mingw32-windres)
11 |
12 | set (CMAKE_FIND_ROOT_PATH /usr/bin)
13 |
--------------------------------------------------------------------------------
/tools/Toolchain-MinGW-w64-64bit.cmake:
--------------------------------------------------------------------------------
1 | # Settings for compiling for Windows 64-bit machines using MinGW-w64
2 |
3 | set (IS_CROSSCOMPILING "YES")
4 |
5 | set (CMAKE_SYSTEM_NAME Windows)
6 |
7 | set (CMAKE_C_COMPILER x86_64-w64-mingw32-gcc)
8 | set (CMAKE_CXX_COMPILER x86_64-w64-mingw32-g++)
9 | set (CMAKE_RC_COMPILER x86_64-w64-mingw32-windres)
10 |
11 | set (CMAKE_FIND_ROOT_PATH /usr/bin)
12 |
--------------------------------------------------------------------------------
/tools/Toolchain-mingw32.cmake:
--------------------------------------------------------------------------------
1 | # Settings for compiling for Windows 32-bit machines
2 |
3 | set (IS_CROSSCOMPILING "YES")
4 | set (IS_32_BIT "32-")
5 |
6 | set (CMAKE_SYSTEM_NAME Windows)
7 |
8 | set (CMAKE_C_COMPILER i586-mingw32msvc-gcc)
9 | set (CMAKE_CXX_COMPILER i586-mingw32msvc-g++)
10 | set (CMAKE_RC_COMPILER i586-mingw32msvc-windres)
11 |
12 | set (CMAKE_FIND_ROOT_PATH /usr/bin)
13 |
--------------------------------------------------------------------------------
/update_git_modules:
--------------------------------------------------------------------------------
1 | #!/bin/sh
2 |
3 | # This command can be run any time to ensure that all submodules are on
4 | # the most recent commit for the configured branch, as set up
5 | # in the `link_git_modules` script.
6 |
7 | git submodule foreach git pull origin
8 |
--------------------------------------------------------------------------------