Latest Maruku and Tweak for itex2MML 1.3.4

Instiki's LaTeX output also supports \Perp.
This commit is contained in:
Jacques Distler 2008-02-29 01:30:46 -06:00
parent 5dd0507acc
commit 9b7b6fb805
94 changed files with 2126 additions and 1171 deletions

View file

@ -0,0 +1,204 @@
Write a comment here
*** Parameters: ***
require 'maruku/ext/div'; {} # params
*** Markdown input: ***
+---------
| text
+----------
+---------
|text
+--
text
=--
+---------
| text
+----------
+---------
|text
+--
text
=--
+---------
| text
+----------
+---------
|text
+--
text
=--
+---------
| text
+----------
+---------
|text
+--
text
=--
*** Output of inspect ***
md_el(:document,[
md_el(:div,[md_par(["text"])],{},[]),
md_el(:div,[md_par(["text"])],{},[]),
md_el(:div,[md_par(["text"])],{},[]),
md_el(:div,[md_par(["text"])],{},[]),
md_el(:div,[md_par(["text"])],{},[]),
md_el(:div,[md_par(["text"])],{},[]),
md_el(:div,[md_par(["text"])],{},[]),
md_el(:div,[md_par(["text"])],{},[]),
md_el(:div,[md_par(["text"])],{},[]),
md_el(:div,[md_par(["text"])],{},[]),
md_el(:div,[md_par(["text"])],{},[]),
md_el(:div,[md_par(["text"])],{},[])
],{},[])
*** Output of to_html ***
<div>
<p>text</p>
</div>
<div>
<p>text</p>
</div>
<div>
<p>text</p>
</div>
<div>
<p>text</p>
</div>
<div>
<p>text</p>
</div>
<div>
<p>text</p>
</div>
<div>
<p>text</p>
</div>
<div>
<p>text</p>
</div>
<div>
<p>text</p>
</div>
<div>
<p>text</p>
</div>
<div>
<p>text</p>
</div>
<div>
<p>text</p>
</div>
*** Output of to_latex ***
*** Output of to_md ***
text
text
text
text
text
text
text
text
text
text
text
text
*** Output of to_s ***
texttexttexttexttexttexttexttexttexttexttexttext
*** EOF ***
OK!
*** Output of Markdown.pl ***
<p>+---------
| text
+----------</p>
<p>+---------
|text</p>
<p>+--
text</p>
<p>=--</p>
<p>+---------
| text
+----------</p>
<p>+---------
|text</p>
<p>+--
text</p>
<p>=--</p>
<p>+---------
| text
+----------</p>
<p>+---------
|text</p>
<p>+--
text</p>
<p>=--</p>
<p>+---------
| text
+----------</p>
<p>+---------
|text</p>
<p>+--
text</p>
<p>=--</p>
*** Output of Markdown.pl (parsed) ***
Error: #<NoMethodError: private method `write_children' called for <div> ... </>:REXML::Element>

View file

@ -0,0 +1,34 @@
Write a comment here
*** Parameters: ***
require 'maruku/ext/div'; {} # params
*** Markdown input: ***
+--
ciao
=--
*** Output of inspect ***
md_el(:document,[md_el(:div,[md_par(["ciao"])],{},[])],{},[])
*** Output of to_html ***
<div>
<p>ciao</p>
</div>
*** Output of to_latex ***
*** Output of to_md ***
ciao
*** Output of to_s ***
ciao
*** EOF ***
OK!
*** Output of Markdown.pl ***
<p>+--
ciao
=--</p>
*** Output of Markdown.pl (parsed) ***
Error: #<NoMethodError: private method `write_children' called for <div> ... </>:REXML::Element>

View file

@ -0,0 +1,62 @@
Write a comment here
*** Parameters: ***
require 'maruku/ext/div'; {} # params
*** Markdown input: ***
+-----------------------------------{.warning}------
| this is the last warning!
|
| please, go away!
|
| +------------------------------------- {.menace} --
| | or else terrible things will happen
| +--------------------------------------------------
+---------------------------------------------------
*** Output of inspect ***
md_el(:document,[
md_el(:div,[
md_par(["this is the last warning!"]),
md_par(["please, go away!"]),
md_el(:div,[md_par(["or else terrible things will happen"])],{},[[:class, "menace"]])
],{},[[:class, "warning"]])
],{},[])
*** Output of to_html ***
<div class='warning'>
<p>this is the last warning!</p>
<p>please, go away!</p>
<div class='menace'>
<p>or else terrible things will happen</p>
</div>
</div>
*** Output of to_latex ***
*** Output of to_md ***
this is the last warning!
please, go away!
or else terrible things will happen
*** Output of to_s ***
this is the last warning!please, go away!or else terrible things will happen
*** EOF ***
OK!
*** Output of Markdown.pl ***
<p>+-----------------------------------{.warning}------
| this is the last warning!
|
| please, go away!
|
| +------------------------------------- {.menace} --
| | or else terrible things will happen
| +--------------------------------------------------
+---------------------------------------------------</p>
*** Output of Markdown.pl (parsed) ***
Error: #<NoMethodError: private method `write_children' called for <div> ... </>:REXML::Element>