rpeg-multimarkdown 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- data/LICENSE +94 -0
- data/README.markdown +58 -0
- data/Rakefile +171 -0
- data/bin/rpeg-multimarkdown +128 -0
- data/ext/extconf.h +3 -0
- data/ext/extconf.rb +15 -0
- data/ext/markdown.c +88 -0
- data/ext/markdown_lib.c +211 -0
- data/ext/markdown_lib.h +28 -0
- data/ext/markdown_output.c +2704 -0
- data/ext/markdown_parser.c +8275 -0
- data/ext/markdown_peg.h +142 -0
- data/ext/odf.c +179 -0
- data/ext/odf.h +3 -0
- data/ext/parsing_functions.c +182 -0
- data/ext/utility_functions.c +535 -0
- data/lib/multimarkdown.rb +1 -0
- data/lib/peg_multimarkdown.rb +74 -0
- data/test/MultiMarkdownTest/BeamerTests/Beamer-Tables.html +76 -0
- data/test/MultiMarkdownTest/BeamerTests/Beamer-Tables.tex +64 -0
- data/test/MultiMarkdownTest/BeamerTests/Beamer-Tables.text +38 -0
- data/test/MultiMarkdownTest/MarkdownTest.pl +182 -0
- data/test/MultiMarkdownTest/MemoirTests/Automatic Labels.html +42 -0
- data/test/MultiMarkdownTest/MemoirTests/Automatic Labels.tex +47 -0
- data/test/MultiMarkdownTest/MemoirTests/Automatic Labels.text +46 -0
- data/test/MultiMarkdownTest/MemoirTests/Base Header Level.html +20 -0
- data/test/MultiMarkdownTest/MemoirTests/Base Header Level.tex +19 -0
- data/test/MultiMarkdownTest/MemoirTests/Base Header Level.text +16 -0
- data/test/MultiMarkdownTest/MemoirTests/BibTeX.html +17 -0
- data/test/MultiMarkdownTest/MemoirTests/BibTeX.tex +12 -0
- data/test/MultiMarkdownTest/MemoirTests/BibTeX.text +11 -0
- data/test/MultiMarkdownTest/MemoirTests/Citations.html +63 -0
- data/test/MultiMarkdownTest/MemoirTests/Citations.tex +48 -0
- data/test/MultiMarkdownTest/MemoirTests/Citations.text +43 -0
- data/test/MultiMarkdownTest/MemoirTests/Definition Lists.html +61 -0
- data/test/MultiMarkdownTest/MemoirTests/Definition Lists.tex +63 -0
- data/test/MultiMarkdownTest/MemoirTests/Definition Lists.text +40 -0
- data/test/MultiMarkdownTest/MemoirTests/Dutch.html +23 -0
- data/test/MultiMarkdownTest/MemoirTests/Dutch.tex +18 -0
- data/test/MultiMarkdownTest/MemoirTests/Dutch.text +17 -0
- data/test/MultiMarkdownTest/MemoirTests/Email.html +48 -0
- data/test/MultiMarkdownTest/MemoirTests/Email.tex +61 -0
- data/test/MultiMarkdownTest/MemoirTests/Email.text +32 -0
- data/test/MultiMarkdownTest/MemoirTests/English.html +23 -0
- data/test/MultiMarkdownTest/MemoirTests/English.tex +18 -0
- data/test/MultiMarkdownTest/MemoirTests/English.text +17 -0
- data/test/MultiMarkdownTest/MemoirTests/Footnotes.html +47 -0
- data/test/MultiMarkdownTest/MemoirTests/Footnotes.tex +28 -0
- data/test/MultiMarkdownTest/MemoirTests/Footnotes.text +26 -0
- data/test/MultiMarkdownTest/MemoirTests/French.html +23 -0
- data/test/MultiMarkdownTest/MemoirTests/French.tex +18 -0
- data/test/MultiMarkdownTest/MemoirTests/French.text +17 -0
- data/test/MultiMarkdownTest/MemoirTests/German.html +23 -0
- data/test/MultiMarkdownTest/MemoirTests/German.tex +18 -0
- data/test/MultiMarkdownTest/MemoirTests/German.text +17 -0
- data/test/MultiMarkdownTest/MemoirTests/GermanGuillemets.html +23 -0
- data/test/MultiMarkdownTest/MemoirTests/GermanGuillemets.tex +18 -0
- data/test/MultiMarkdownTest/MemoirTests/GermanGuillemets.text +17 -0
- data/test/MultiMarkdownTest/MemoirTests/Glossary.html +47 -0
- data/test/MultiMarkdownTest/MemoirTests/Glossary.tex +30 -0
- data/test/MultiMarkdownTest/MemoirTests/Glossary.text +29 -0
- data/test/MultiMarkdownTest/MemoirTests/Line Breaks.html +21 -0
- data/test/MultiMarkdownTest/MemoirTests/Line Breaks.tex +16 -0
- data/test/MultiMarkdownTest/MemoirTests/Line Breaks.text +16 -0
- data/test/MultiMarkdownTest/MemoirTests/Link Attributes.html +40 -0
- data/test/MultiMarkdownTest/MemoirTests/Link Attributes.tex +61 -0
- data/test/MultiMarkdownTest/MemoirTests/Link Attributes.text +51 -0
- data/test/MultiMarkdownTest/MemoirTests/Math.html +22 -0
- data/test/MultiMarkdownTest/MemoirTests/Math.tex +16 -0
- data/test/MultiMarkdownTest/MemoirTests/Math.text +16 -0
- data/test/MultiMarkdownTest/MemoirTests/Memoir Mode.html +24 -0
- data/test/MultiMarkdownTest/MemoirTests/Memoir Mode.tex +23 -0
- data/test/MultiMarkdownTest/MemoirTests/Memoir Mode.text +20 -0
- data/test/MultiMarkdownTest/MemoirTests/MetaData.html +22 -0
- data/test/MultiMarkdownTest/MemoirTests/MetaData.tex +14 -0
- data/test/MultiMarkdownTest/MemoirTests/MetaData.text +15 -0
- data/test/MultiMarkdownTest/MemoirTests/Sanity.html +100 -0
- data/test/MultiMarkdownTest/MemoirTests/Sanity.tex +101 -0
- data/test/MultiMarkdownTest/MemoirTests/Sanity.text +78 -0
- data/test/MultiMarkdownTest/MemoirTests/SmartQuotes.html +26 -0
- data/test/MultiMarkdownTest/MemoirTests/SmartQuotes.tex +21 -0
- data/test/MultiMarkdownTest/MemoirTests/SmartQuotes.text +19 -0
- data/test/MultiMarkdownTest/MemoirTests/Swedish.html +23 -0
- data/test/MultiMarkdownTest/MemoirTests/Swedish.tex +18 -0
- data/test/MultiMarkdownTest/MemoirTests/Swedish.text +17 -0
- data/test/MultiMarkdownTest/MemoirTests/Tables.html +221 -0
- data/test/MultiMarkdownTest/MemoirTests/Tables.tex +134 -0
- data/test/MultiMarkdownTest/MemoirTests/Tables.text +64 -0
- data/test/MultiMarkdownTest/MultiMarkdownTests/Automatic Labels.html +41 -0
- data/test/MultiMarkdownTest/MultiMarkdownTests/Automatic Labels.tex +46 -0
- data/test/MultiMarkdownTest/MultiMarkdownTests/Automatic Labels.text +45 -0
- data/test/MultiMarkdownTest/MultiMarkdownTests/Base Header Level.html +20 -0
- data/test/MultiMarkdownTest/MultiMarkdownTests/Base Header Level.tex +19 -0
- data/test/MultiMarkdownTest/MultiMarkdownTests/Base Header Level.text +16 -0
- data/test/MultiMarkdownTest/MultiMarkdownTests/BibTeX.html +16 -0
- data/test/MultiMarkdownTest/MultiMarkdownTests/BibTeX.tex +11 -0
- data/test/MultiMarkdownTest/MultiMarkdownTests/BibTex.text +10 -0
- data/test/MultiMarkdownTest/MultiMarkdownTests/Citations.html +62 -0
- data/test/MultiMarkdownTest/MultiMarkdownTests/Citations.tex +47 -0
- data/test/MultiMarkdownTest/MultiMarkdownTests/Citations.text +42 -0
- data/test/MultiMarkdownTest/MultiMarkdownTests/Definition Lists.html +60 -0
- data/test/MultiMarkdownTest/MultiMarkdownTests/Definition Lists.tex +62 -0
- data/test/MultiMarkdownTest/MultiMarkdownTests/Definition Lists.text +39 -0
- data/test/MultiMarkdownTest/MultiMarkdownTests/Dutch.html +23 -0
- data/test/MultiMarkdownTest/MultiMarkdownTests/Dutch.tex +18 -0
- data/test/MultiMarkdownTest/MultiMarkdownTests/Dutch.text +17 -0
- data/test/MultiMarkdownTest/MultiMarkdownTests/Email.html +47 -0
- data/test/MultiMarkdownTest/MultiMarkdownTests/Email.tex +54 -0
- data/test/MultiMarkdownTest/MultiMarkdownTests/Email.text +31 -0
- data/test/MultiMarkdownTest/MultiMarkdownTests/English.html +23 -0
- data/test/MultiMarkdownTest/MultiMarkdownTests/English.tex +18 -0
- data/test/MultiMarkdownTest/MultiMarkdownTests/English.text +17 -0
- data/test/MultiMarkdownTest/MultiMarkdownTests/Errors.html +16 -0
- data/test/MultiMarkdownTest/MultiMarkdownTests/Errors.tex +11 -0
- data/test/MultiMarkdownTest/MultiMarkdownTests/Errors.text +11 -0
- data/test/MultiMarkdownTest/MultiMarkdownTests/Footnotes.html +46 -0
- data/test/MultiMarkdownTest/MultiMarkdownTests/Footnotes.tex +24 -0
- data/test/MultiMarkdownTest/MultiMarkdownTests/Footnotes.text +25 -0
- data/test/MultiMarkdownTest/MultiMarkdownTests/French.html +23 -0
- data/test/MultiMarkdownTest/MultiMarkdownTests/French.tex +18 -0
- data/test/MultiMarkdownTest/MultiMarkdownTests/French.text +17 -0
- data/test/MultiMarkdownTest/MultiMarkdownTests/German.html +23 -0
- data/test/MultiMarkdownTest/MultiMarkdownTests/German.tex +18 -0
- data/test/MultiMarkdownTest/MultiMarkdownTests/German.text +17 -0
- data/test/MultiMarkdownTest/MultiMarkdownTests/GermanGuillemets.html +23 -0
- data/test/MultiMarkdownTest/MultiMarkdownTests/GermanGuillemets.tex +18 -0
- data/test/MultiMarkdownTest/MultiMarkdownTests/GermanGuillemets.text +17 -0
- data/test/MultiMarkdownTest/MultiMarkdownTests/Glossary.html +46 -0
- data/test/MultiMarkdownTest/MultiMarkdownTests/Glossary.tex +26 -0
- data/test/MultiMarkdownTest/MultiMarkdownTests/Glossary.text +28 -0
- data/test/MultiMarkdownTest/MultiMarkdownTests/Headers.html +46 -0
- data/test/MultiMarkdownTest/MultiMarkdownTests/Headers.tex +52 -0
- data/test/MultiMarkdownTest/MultiMarkdownTests/Headers.text +49 -0
- data/test/MultiMarkdownTest/MultiMarkdownTests/Line Breaks.html +20 -0
- data/test/MultiMarkdownTest/MultiMarkdownTests/Line Breaks.tex +15 -0
- data/test/MultiMarkdownTest/MultiMarkdownTests/Line Breaks.text +15 -0
- data/test/MultiMarkdownTest/MultiMarkdownTests/Link Attributes.html +54 -0
- data/test/MultiMarkdownTest/MultiMarkdownTests/Link Attributes.tex +60 -0
- data/test/MultiMarkdownTest/MultiMarkdownTests/Link Attributes.text +50 -0
- data/test/MultiMarkdownTest/MultiMarkdownTests/List Parsing.html +20 -0
- data/test/MultiMarkdownTest/MultiMarkdownTests/List Parsing.tex +17 -0
- data/test/MultiMarkdownTest/MultiMarkdownTests/List Parsing.text +11 -0
- data/test/MultiMarkdownTest/MultiMarkdownTests/MarkdownInHTML.html +19 -0
- data/test/MultiMarkdownTest/MultiMarkdownTests/MarkdownInHTML.tex +13 -0
- data/test/MultiMarkdownTest/MultiMarkdownTests/MarkdownInHTML.text +19 -0
- data/test/MultiMarkdownTest/MultiMarkdownTests/Math.html +21 -0
- data/test/MultiMarkdownTest/MultiMarkdownTests/Math.tex +15 -0
- data/test/MultiMarkdownTest/MultiMarkdownTests/Math.text +15 -0
- data/test/MultiMarkdownTest/MultiMarkdownTests/MetaData.html +21 -0
- data/test/MultiMarkdownTest/MultiMarkdownTests/MetaData.tex +13 -0
- data/test/MultiMarkdownTest/MultiMarkdownTests/MetaData.text +14 -0
- data/test/MultiMarkdownTest/MultiMarkdownTests/Sanity.html +104 -0
- data/test/MultiMarkdownTest/MultiMarkdownTests/Sanity.tex +100 -0
- data/test/MultiMarkdownTest/MultiMarkdownTests/Sanity.text +77 -0
- data/test/MultiMarkdownTest/MultiMarkdownTests/SmartQuotes.html +29 -0
- data/test/MultiMarkdownTest/MultiMarkdownTests/SmartQuotes.tex +24 -0
- data/test/MultiMarkdownTest/MultiMarkdownTests/SmartQuotes.text +22 -0
- data/test/MultiMarkdownTest/MultiMarkdownTests/Swedish.html +23 -0
- data/test/MultiMarkdownTest/MultiMarkdownTests/Swedish.tex +18 -0
- data/test/MultiMarkdownTest/MultiMarkdownTests/Swedish.text +17 -0
- data/test/MultiMarkdownTest/MultiMarkdownTests/Tables.html +230 -0
- data/test/MultiMarkdownTest/MultiMarkdownTests/Tables.tex +133 -0
- data/test/MultiMarkdownTest/MultiMarkdownTests/Tables.text +63 -0
- data/test/MultiMarkdownTest/MultiMarkdownTests/bibtex.bib +119 -0
- data/test/MultiMarkdownTest/README.md +58 -0
- data/test/MultiMarkdownTest/Tests/Amps and angle encoding.html +17 -0
- data/test/MultiMarkdownTest/Tests/Amps and angle encoding.text +21 -0
- data/test/MultiMarkdownTest/Tests/Auto links.html +18 -0
- data/test/MultiMarkdownTest/Tests/Auto links.text +13 -0
- data/test/MultiMarkdownTest/Tests/Backslash escapes.html +118 -0
- data/test/MultiMarkdownTest/Tests/Backslash escapes.text +120 -0
- data/test/MultiMarkdownTest/Tests/Blockquotes with code blocks.html +15 -0
- data/test/MultiMarkdownTest/Tests/Blockquotes with code blocks.text +11 -0
- data/test/MultiMarkdownTest/Tests/Code Blocks.html +18 -0
- data/test/MultiMarkdownTest/Tests/Code Blocks.text +14 -0
- data/test/MultiMarkdownTest/Tests/Code Spans.html +6 -0
- data/test/MultiMarkdownTest/Tests/Code Spans.text +6 -0
- data/test/MultiMarkdownTest/Tests/Compatibility.html +5 -0
- data/test/MultiMarkdownTest/Tests/Compatibility.text +9 -0
- data/test/MultiMarkdownTest/Tests/Hard-wrapped paragraphs with list-like lines.html +8 -0
- data/test/MultiMarkdownTest/Tests/Hard-wrapped paragraphs with list-like lines.text +8 -0
- data/test/MultiMarkdownTest/Tests/Horizontal rules.html +71 -0
- data/test/MultiMarkdownTest/Tests/Horizontal rules.text +67 -0
- data/test/MultiMarkdownTest/Tests/Inline HTML (Advanced).html +15 -0
- data/test/MultiMarkdownTest/Tests/Inline HTML (Advanced).text +15 -0
- data/test/MultiMarkdownTest/Tests/Inline HTML (Simple).html +72 -0
- data/test/MultiMarkdownTest/Tests/Inline HTML (Simple).text +69 -0
- data/test/MultiMarkdownTest/Tests/Inline HTML comments.html +13 -0
- data/test/MultiMarkdownTest/Tests/Inline HTML comments.text +13 -0
- data/test/MultiMarkdownTest/Tests/Links, inline style.html +11 -0
- data/test/MultiMarkdownTest/Tests/Links, inline style.text +12 -0
- data/test/MultiMarkdownTest/Tests/Links, reference style.html +52 -0
- data/test/MultiMarkdownTest/Tests/Links, reference style.text +71 -0
- data/test/MultiMarkdownTest/Tests/Links, shortcut references.html +9 -0
- data/test/MultiMarkdownTest/Tests/Links, shortcut references.text +20 -0
- data/test/MultiMarkdownTest/Tests/Literal quotes in titles.html +3 -0
- data/test/MultiMarkdownTest/Tests/Literal quotes in titles.text +7 -0
- data/test/MultiMarkdownTest/Tests/Markdown Documentation - Basics.html +314 -0
- data/test/MultiMarkdownTest/Tests/Markdown Documentation - Basics.text +306 -0
- data/test/MultiMarkdownTest/Tests/Markdown Documentation - Syntax.html +942 -0
- data/test/MultiMarkdownTest/Tests/Markdown Documentation - Syntax.text +888 -0
- data/test/MultiMarkdownTest/Tests/Nested blockquotes.html +9 -0
- data/test/MultiMarkdownTest/Tests/Nested blockquotes.text +5 -0
- data/test/MultiMarkdownTest/Tests/Ordered and unordered lists.html +148 -0
- data/test/MultiMarkdownTest/Tests/Ordered and unordered lists.text +131 -0
- data/test/MultiMarkdownTest/Tests/Strong and em together.html +7 -0
- data/test/MultiMarkdownTest/Tests/Strong and em together.text +7 -0
- data/test/MultiMarkdownTest/Tests/Tabs.html +25 -0
- data/test/MultiMarkdownTest/Tests/Tabs.text +21 -0
- data/test/MultiMarkdownTest/Tests/Tidyness.html +8 -0
- data/test/MultiMarkdownTest/Tests/Tidyness.text +5 -0
- data/test/benchmark.rb +49 -0
- data/test/multimarkdown_test.rb +89 -0
- metadata +280 -0
@@ -0,0 +1,119 @@
|
|
1
|
+
%% This BibTeX bibliography file was created using BibDesk.
|
2
|
+
%% http://bibdesk.sourceforge.net/
|
3
|
+
|
4
|
+
|
5
|
+
%% Created for Fletcher T. Penney at 2011-01-22 19:03:16 -0500
|
6
|
+
|
7
|
+
|
8
|
+
%% Saved with string encoding Unicode (UTF-8)
|
9
|
+
|
10
|
+
|
11
|
+
|
12
|
+
@book{Knuth:1981,
|
13
|
+
Address = {Reading, Mass.},
|
14
|
+
Annote = {LDR 00912cam 2200253 4500
|
15
|
+
001 3613158
|
16
|
+
005 19990107112758.5
|
17
|
+
008 740603m19731981maua b 001 0 eng
|
18
|
+
035 $9(DLC) 73001830
|
19
|
+
906 $a7$bcbc$corignew$d2$eocip$f19$gy-gencatlg
|
20
|
+
010 $a 73001830
|
21
|
+
020 $a0201038099 (v. 1)
|
22
|
+
040 $aDLC$cDLC$dDLC
|
23
|
+
050 00 $aQA76.6$b.K64
|
24
|
+
082 00 $a001.6/42
|
25
|
+
100 1 $aKnuth, Donald Ervin,$d1938-
|
26
|
+
245 14 $aThe art of computer programming /$cDonald E. Knuth.
|
27
|
+
260 $aReading, Mass. :$bAddison-Wesley Pub. Co.,$cc1973-c1981.
|
28
|
+
300 $a2 v. :$bill. ;$c25 cm.
|
29
|
+
440 0 $aAddison-Wesley series in computer science and information processing
|
30
|
+
504 $aIncludes bibliographical references and indexes.
|
31
|
+
505 0 $av. 1. Fundamental algorithms -- v. 2. Seminumerical algorithms.
|
32
|
+
650 0 $aComputer programming.
|
33
|
+
991 $bc-GenColl$hQA76.6$i.K64$tCopy 1$wBOOKS
|
34
|
+
},
|
35
|
+
Author = {Knuth, Donald Ervin},
|
36
|
+
Call-Number = {QA76.6},
|
37
|
+
Date-Added = {2011-01-22 19:03:04 -0500},
|
38
|
+
Date-Modified = {2011-01-22 19:03:04 -0500},
|
39
|
+
Dewey-Call-Number = {001.6/42},
|
40
|
+
Genre = {Computer programming},
|
41
|
+
Isbn = {0201038099 (v. 1)},
|
42
|
+
Library-Id = {73001830},
|
43
|
+
Publisher = {Addison-Wesley Pub. Co.},
|
44
|
+
Title = {The art of computer programming},
|
45
|
+
Year = {1981}}
|
46
|
+
|
47
|
+
@book{Knuth:1968,
|
48
|
+
Address = {Reading, Mass.},
|
49
|
+
Annote = {LDR 00894cam 22002411 4500
|
50
|
+
001 3590275
|
51
|
+
005 19990107112747.0
|
52
|
+
008 740605m19689999maua b 001 0 eng
|
53
|
+
035 $9(DLC) 67026020
|
54
|
+
906 $a7$bcbc$corignew$du$eocip$f19$gy-gencatlg
|
55
|
+
010 $a 67026020
|
56
|
+
040 $aDLC$cDLC$dDLC
|
57
|
+
050 00 $aQA76.5$b.K57
|
58
|
+
082 00 $a651.8
|
59
|
+
100 1 $aKnuth, Donald Ervin,$d1938-
|
60
|
+
245 14 $aThe art of computer programming$c[by] Donald E. Knuth.
|
61
|
+
260 $aReading, Mass.,$bAddison-Wesley Pub. Co.$c1968-
|
62
|
+
300 $a v.$billus.$c25 cm.
|
63
|
+
490 0 $aAddison-Wesley series in computer science and information processing
|
64
|
+
504 $aIncludes bibliographical references and index.
|
65
|
+
505 1 $av. 1. Fundamental algorithms.--v. 2. Semi-numerical algorithms.--v. 3. Sorting and searching.
|
66
|
+
650 0 $aComputer programming.
|
67
|
+
991 $bc-GenColl$hQA76.5$i.K57$tCopy 1$wBOOKS
|
68
|
+
},
|
69
|
+
Author = {Knuth, Donald Ervin},
|
70
|
+
Call-Number = {QA76.5},
|
71
|
+
Date-Added = {2011-01-22 18:55:04 -0500},
|
72
|
+
Date-Modified = {2011-01-22 18:57:09 -0500},
|
73
|
+
Dewey-Call-Number = {651.8},
|
74
|
+
Genre = {Computer programming},
|
75
|
+
Library-Id = {67026020},
|
76
|
+
Publisher = {Addison-Wesley Pub. Co},
|
77
|
+
Series = {Addison-Wesley series in computer science and information processing},
|
78
|
+
Title = {The art of computer programming},
|
79
|
+
Year = {1968}}
|
80
|
+
|
81
|
+
@book{Knuth:1986,
|
82
|
+
Address = {Reading, Mass.},
|
83
|
+
Annote = {LDR 01003cam 2200289 a 4500
|
84
|
+
001 971492
|
85
|
+
005 19930513170818.4
|
86
|
+
008 851209s1986 maua 001 0 eng
|
87
|
+
035 $9(DLC) 85030845
|
88
|
+
906 $a7$bcbc$corignew$d1$eocip$f19$gy-gencatlg
|
89
|
+
010 $a 85030845
|
90
|
+
020 $a0201134470 :$c$32.95
|
91
|
+
020 $a0201134489 (pbk)
|
92
|
+
040 $aDLC$cDLC$dDLC
|
93
|
+
050 00 $aZ253.4.T47$bK58 1986
|
94
|
+
082 00 $a686.2/2544$219
|
95
|
+
100 1 $aKnuth, Donald Ervin,$d1938-
|
96
|
+
245 14 $aThe TeXbook /$cDonald E. Knuth ; illustrations by Duane Bibby.
|
97
|
+
260 $aReading, Mass. :$bAddison-Wesley,$cc1986.
|
98
|
+
300 $aix, 483 p. :$bill. ;$c24 cm.
|
99
|
+
490 1 $aComputers & typesetting ;$vA
|
100
|
+
500 $aIncludes index.
|
101
|
+
630 00 $aTeX (Computer file)
|
102
|
+
650 0 $aComputerized typesetting.
|
103
|
+
650 0 $aMathematics printing$xComputer programs.
|
104
|
+
800 1 $aKnuth, Donald Ervin,$d1938-$tComputers & typesetting ;$vA.
|
105
|
+
991 $bc-GenColl$hZ253.4.T47$iK58 1986$p00000665666$tCopy 1$wBOOKS
|
106
|
+
},
|
107
|
+
Author = {Knuth, Donald Ervin},
|
108
|
+
Call-Number = {Z253.4.T47},
|
109
|
+
Date-Added = {2011-01-22 18:54:36 -0500},
|
110
|
+
Date-Modified = {2011-01-22 18:57:09 -0500},
|
111
|
+
Dewey-Call-Number = {686.2/2544},
|
112
|
+
Genre = {Computerized typesetting},
|
113
|
+
Isbn = {0201134470},
|
114
|
+
Library-Id = {85030845},
|
115
|
+
Publisher = {Addison-Wesley},
|
116
|
+
Series = {Computers & typesetting},
|
117
|
+
Title = {The TeXbook},
|
118
|
+
Volume = {A},
|
119
|
+
Year = {1986}}
|
@@ -0,0 +1,58 @@
|
|
1
|
+
Title: MultiMarkdownTestSuite ReadMe
|
2
|
+
Author: Fletcher T. Penney
|
3
|
+
|
4
|
+
# Introduction #
|
5
|
+
|
6
|
+
John Gruber created a test suite for Markdown. I have used that suite to look
|
7
|
+
for bugs in MultiMarkdown, and have found and corrected a few.
|
8
|
+
|
9
|
+
Additionally, I have added some further tests that are specific to features
|
10
|
+
found in MultiMarkdown.
|
11
|
+
|
12
|
+
The files in `Tests` are the original test suite. They require MultiMarkdown
|
13
|
+
to be run in compatibility mode (`multimarkdown -c`) and verify that it can
|
14
|
+
match the original Markdown output.
|
15
|
+
|
16
|
+
The files in `MultiMarkdownTests` are designed to test XHTML and LaTeX output
|
17
|
+
from MultiMarkdown.
|
18
|
+
|
19
|
+
The files in `BeamerTests` specifically test a few features related to the
|
20
|
+
`beamer` output mode.
|
21
|
+
|
22
|
+
The files in `MemoirTests` specifically test a few features related to the
|
23
|
+
`memoir` output mode.
|
24
|
+
|
25
|
+
|
26
|
+
|
27
|
+
# Where can you get it? #
|
28
|
+
|
29
|
+
Download the current version of the MMD Test Suite from github:
|
30
|
+
|
31
|
+
* <http://github.com/fletcher/MMD-Test-Suite/>
|
32
|
+
|
33
|
+
|
34
|
+
It's also linked to from within the source repository for MMD 3.0.
|
35
|
+
|
36
|
+
|
37
|
+
# How To Use #
|
38
|
+
|
39
|
+
To use this software, simply run (for example):
|
40
|
+
|
41
|
+
./MarkdownTest.pl --script=~/path/to/MultiMarkdown.pl --tidy
|
42
|
+
--testdir=MultiMarkdownTests --ext=".tex" --Flags="-t latex"
|
43
|
+
|
44
|
+
|
45
|
+
I have modified the script to allow a `--Flags` extension that passes the
|
46
|
+
flags to the script that is called. This can be used to pass flags to the
|
47
|
+
script to enable compatibility mode, or LaTeX output, or whatever.
|
48
|
+
|
49
|
+
Also, see the MMD 3.0 (aka peg-multimarkdown) Makefile to see examples of how
|
50
|
+
I use this.
|
51
|
+
|
52
|
+
# For More Information #
|
53
|
+
|
54
|
+
Check out:
|
55
|
+
|
56
|
+
* John Gruber's [Markdown](http://daringfireball.net/projects/markdown) page
|
57
|
+
|
58
|
+
* My [MultiMarkdown](http://fletcherpenney.net/multimarkdown) page
|
@@ -0,0 +1,17 @@
|
|
1
|
+
<p>AT&T has an ampersand in their name.</p>
|
2
|
+
|
3
|
+
<p>AT&T is another way to write it.</p>
|
4
|
+
|
5
|
+
<p>This & that.</p>
|
6
|
+
|
7
|
+
<p>4 < 5.</p>
|
8
|
+
|
9
|
+
<p>6 > 5.</p>
|
10
|
+
|
11
|
+
<p>Here's a <a href="http://example.com/?foo=1&bar=2">link</a> with an ampersand in the URL.</p>
|
12
|
+
|
13
|
+
<p>Here's a link with an amersand in the link text: <a href="http://att.com/" title="AT&T">AT&T</a>.</p>
|
14
|
+
|
15
|
+
<p>Here's an inline <a href="/script?foo=1&bar=2">link</a>.</p>
|
16
|
+
|
17
|
+
<p>Here's an inline <a href="/script?foo=1&bar=2">link</a>.</p>
|
@@ -0,0 +1,21 @@
|
|
1
|
+
AT&T has an ampersand in their name.
|
2
|
+
|
3
|
+
AT&T is another way to write it.
|
4
|
+
|
5
|
+
This & that.
|
6
|
+
|
7
|
+
4 < 5.
|
8
|
+
|
9
|
+
6 > 5.
|
10
|
+
|
11
|
+
Here's a [link] [1] with an ampersand in the URL.
|
12
|
+
|
13
|
+
Here's a link with an amersand in the link text: [AT&T] [2].
|
14
|
+
|
15
|
+
Here's an inline [link](/script?foo=1&bar=2).
|
16
|
+
|
17
|
+
Here's an inline [link](</script?foo=1&bar=2>).
|
18
|
+
|
19
|
+
|
20
|
+
[1]: http://example.com/?foo=1&bar=2
|
21
|
+
[2]: http://att.com/ "AT&T"
|
@@ -0,0 +1,18 @@
|
|
1
|
+
<p>Link: <a href="http://example.com/">http://example.com/</a>.</p>
|
2
|
+
|
3
|
+
<p>With an ampersand: <a href="http://example.com/?foo=1&bar=2">http://example.com/?foo=1&bar=2</a></p>
|
4
|
+
|
5
|
+
<ul>
|
6
|
+
<li>In a list?</li>
|
7
|
+
<li><a href="http://example.com/">http://example.com/</a></li>
|
8
|
+
<li>It should.</li>
|
9
|
+
</ul>
|
10
|
+
|
11
|
+
<blockquote>
|
12
|
+
<p>Blockquoted: <a href="http://example.com/">http://example.com/</a></p>
|
13
|
+
</blockquote>
|
14
|
+
|
15
|
+
<p>Auto-links should not occur here: <code><http://example.com/></code></p>
|
16
|
+
|
17
|
+
<pre><code>or here: <http://example.com/>
|
18
|
+
</code></pre>
|
@@ -0,0 +1,13 @@
|
|
1
|
+
Link: <http://example.com/>.
|
2
|
+
|
3
|
+
With an ampersand: <http://example.com/?foo=1&bar=2>
|
4
|
+
|
5
|
+
* In a list?
|
6
|
+
* <http://example.com/>
|
7
|
+
* It should.
|
8
|
+
|
9
|
+
> Blockquoted: <http://example.com/>
|
10
|
+
|
11
|
+
Auto-links should not occur here: `<http://example.com/>`
|
12
|
+
|
13
|
+
or here: <http://example.com/>
|
@@ -0,0 +1,118 @@
|
|
1
|
+
<p>These should all get escaped:</p>
|
2
|
+
|
3
|
+
<p>Backslash: \</p>
|
4
|
+
|
5
|
+
<p>Backtick: `</p>
|
6
|
+
|
7
|
+
<p>Asterisk: *</p>
|
8
|
+
|
9
|
+
<p>Underscore: _</p>
|
10
|
+
|
11
|
+
<p>Left brace: {</p>
|
12
|
+
|
13
|
+
<p>Right brace: }</p>
|
14
|
+
|
15
|
+
<p>Left bracket: [</p>
|
16
|
+
|
17
|
+
<p>Right bracket: ]</p>
|
18
|
+
|
19
|
+
<p>Left paren: (</p>
|
20
|
+
|
21
|
+
<p>Right paren: )</p>
|
22
|
+
|
23
|
+
<p>Greater-than: ></p>
|
24
|
+
|
25
|
+
<p>Hash: #</p>
|
26
|
+
|
27
|
+
<p>Period: .</p>
|
28
|
+
|
29
|
+
<p>Bang: !</p>
|
30
|
+
|
31
|
+
<p>Plus: +</p>
|
32
|
+
|
33
|
+
<p>Minus: -</p>
|
34
|
+
|
35
|
+
<p>These should not, because they occur within a code block:</p>
|
36
|
+
|
37
|
+
<pre><code>Backslash: \\
|
38
|
+
|
39
|
+
Backtick: \`
|
40
|
+
|
41
|
+
Asterisk: \*
|
42
|
+
|
43
|
+
Underscore: \_
|
44
|
+
|
45
|
+
Left brace: \{
|
46
|
+
|
47
|
+
Right brace: \}
|
48
|
+
|
49
|
+
Left bracket: \[
|
50
|
+
|
51
|
+
Right bracket: \]
|
52
|
+
|
53
|
+
Left paren: \(
|
54
|
+
|
55
|
+
Right paren: \)
|
56
|
+
|
57
|
+
Greater-than: \>
|
58
|
+
|
59
|
+
Hash: \#
|
60
|
+
|
61
|
+
Period: \.
|
62
|
+
|
63
|
+
Bang: \!
|
64
|
+
|
65
|
+
Plus: \+
|
66
|
+
|
67
|
+
Minus: \-
|
68
|
+
</code></pre>
|
69
|
+
|
70
|
+
<p>Nor should these, which occur in code spans:</p>
|
71
|
+
|
72
|
+
<p>Backslash: <code>\\</code></p>
|
73
|
+
|
74
|
+
<p>Backtick: <code>\`</code></p>
|
75
|
+
|
76
|
+
<p>Asterisk: <code>\*</code></p>
|
77
|
+
|
78
|
+
<p>Underscore: <code>\_</code></p>
|
79
|
+
|
80
|
+
<p>Left brace: <code>\{</code></p>
|
81
|
+
|
82
|
+
<p>Right brace: <code>\}</code></p>
|
83
|
+
|
84
|
+
<p>Left bracket: <code>\[</code></p>
|
85
|
+
|
86
|
+
<p>Right bracket: <code>\]</code></p>
|
87
|
+
|
88
|
+
<p>Left paren: <code>\(</code></p>
|
89
|
+
|
90
|
+
<p>Right paren: <code>\)</code></p>
|
91
|
+
|
92
|
+
<p>Greater-than: <code>\></code></p>
|
93
|
+
|
94
|
+
<p>Hash: <code>\#</code></p>
|
95
|
+
|
96
|
+
<p>Period: <code>\.</code></p>
|
97
|
+
|
98
|
+
<p>Bang: <code>\!</code></p>
|
99
|
+
|
100
|
+
<p>Plus: <code>\+</code></p>
|
101
|
+
|
102
|
+
<p>Minus: <code>\-</code></p>
|
103
|
+
|
104
|
+
|
105
|
+
<p>These should get escaped, even though they're matching pairs for
|
106
|
+
other Markdown constructs:</p>
|
107
|
+
|
108
|
+
<p>*asterisks*</p>
|
109
|
+
|
110
|
+
<p>_underscores_</p>
|
111
|
+
|
112
|
+
<p>`backticks`</p>
|
113
|
+
|
114
|
+
<p>This is a code span with a literal backslash-backtick sequence: <code>\`</code></p>
|
115
|
+
|
116
|
+
<p>This is a tag with unescaped backticks <span attr='`ticks`'>bar</span>.</p>
|
117
|
+
|
118
|
+
<p>This is a tag with backslashes <span attr='\\backslashes\\'>bar</span>.</p>
|
@@ -0,0 +1,120 @@
|
|
1
|
+
These should all get escaped:
|
2
|
+
|
3
|
+
Backslash: \\
|
4
|
+
|
5
|
+
Backtick: \`
|
6
|
+
|
7
|
+
Asterisk: \*
|
8
|
+
|
9
|
+
Underscore: \_
|
10
|
+
|
11
|
+
Left brace: \{
|
12
|
+
|
13
|
+
Right brace: \}
|
14
|
+
|
15
|
+
Left bracket: \[
|
16
|
+
|
17
|
+
Right bracket: \]
|
18
|
+
|
19
|
+
Left paren: \(
|
20
|
+
|
21
|
+
Right paren: \)
|
22
|
+
|
23
|
+
Greater-than: \>
|
24
|
+
|
25
|
+
Hash: \#
|
26
|
+
|
27
|
+
Period: \.
|
28
|
+
|
29
|
+
Bang: \!
|
30
|
+
|
31
|
+
Plus: \+
|
32
|
+
|
33
|
+
Minus: \-
|
34
|
+
|
35
|
+
|
36
|
+
|
37
|
+
These should not, because they occur within a code block:
|
38
|
+
|
39
|
+
Backslash: \\
|
40
|
+
|
41
|
+
Backtick: \`
|
42
|
+
|
43
|
+
Asterisk: \*
|
44
|
+
|
45
|
+
Underscore: \_
|
46
|
+
|
47
|
+
Left brace: \{
|
48
|
+
|
49
|
+
Right brace: \}
|
50
|
+
|
51
|
+
Left bracket: \[
|
52
|
+
|
53
|
+
Right bracket: \]
|
54
|
+
|
55
|
+
Left paren: \(
|
56
|
+
|
57
|
+
Right paren: \)
|
58
|
+
|
59
|
+
Greater-than: \>
|
60
|
+
|
61
|
+
Hash: \#
|
62
|
+
|
63
|
+
Period: \.
|
64
|
+
|
65
|
+
Bang: \!
|
66
|
+
|
67
|
+
Plus: \+
|
68
|
+
|
69
|
+
Minus: \-
|
70
|
+
|
71
|
+
|
72
|
+
Nor should these, which occur in code spans:
|
73
|
+
|
74
|
+
Backslash: `\\`
|
75
|
+
|
76
|
+
Backtick: `` \` ``
|
77
|
+
|
78
|
+
Asterisk: `\*`
|
79
|
+
|
80
|
+
Underscore: `\_`
|
81
|
+
|
82
|
+
Left brace: `\{`
|
83
|
+
|
84
|
+
Right brace: `\}`
|
85
|
+
|
86
|
+
Left bracket: `\[`
|
87
|
+
|
88
|
+
Right bracket: `\]`
|
89
|
+
|
90
|
+
Left paren: `\(`
|
91
|
+
|
92
|
+
Right paren: `\)`
|
93
|
+
|
94
|
+
Greater-than: `\>`
|
95
|
+
|
96
|
+
Hash: `\#`
|
97
|
+
|
98
|
+
Period: `\.`
|
99
|
+
|
100
|
+
Bang: `\!`
|
101
|
+
|
102
|
+
Plus: `\+`
|
103
|
+
|
104
|
+
Minus: `\-`
|
105
|
+
|
106
|
+
|
107
|
+
These should get escaped, even though they're matching pairs for
|
108
|
+
other Markdown constructs:
|
109
|
+
|
110
|
+
\*asterisks\*
|
111
|
+
|
112
|
+
\_underscores\_
|
113
|
+
|
114
|
+
\`backticks\`
|
115
|
+
|
116
|
+
This is a code span with a literal backslash-backtick sequence: `` \` ``
|
117
|
+
|
118
|
+
This is a tag with unescaped backticks <span attr='`ticks`'>bar</span>.
|
119
|
+
|
120
|
+
This is a tag with backslashes <span attr='\\backslashes\\'>bar</span>.
|