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

@ -66,13 +66,17 @@ x = y $$</p>
$$</p>
*** Output of Markdown.pl (parsed) ***
<div
><p>$$ x = y $$</p
><p>$$ x
= y $$</p
><p>$$
x = y $$</p
><p>$$ x = y
$$</p
></div
>
<div>
<p>
$$ x = y $$
</p>
<p>
$$ x = y $$
</p>
<p>
$$ x = y $$
</p>
<p>
$$ x = y $$
</p>
</div>

View file

@ -8,9 +8,9 @@
<p>Here are some formulas:</p>
<ul>
<li><span class='maruku-inline'><code class='maruku-mathml'>\alpha</code></span></li>
<li><code class='maruku-mathml'>\alpha</code></li>
<li><span class='maruku-inline'><code class='maruku-mathml'>x^{n}+y^{n} \neq z^{n}</code></span></li>
<li><code class='maruku-mathml'>x^{n}+y^{n} \neq z^{n}</code></li>
</ul>
<p>That&#8217;s it, nothing else is supported.</p>

View file

@ -48,10 +48,45 @@ Here are some formulas:Thats it, nothing else is supported.
OK!
Failed tests: [:to_html]
*** Output of inspect ***
md_el(:document,[
md_par(["Here are some formulas:"]),
md_el(:ul,[
md_el(:li_span,[md_el(:inline_math,[],{:math=>"\\alpha"},[])],{:want_my_paragraph=>false},[]),
md_el(:li_span,[md_el(:inline_math,[],{:math=>"x^{n}+y^{n} \\neq z^{n}"},[])],{:want_my_paragraph=>false},[])
],{},[]),
md_par(["That", md_entity("rsquo"), "s it, nothing else is supported."])
],{},[])
*** Output of to_html ***
-----| WARNING | -----
<p>Here are some formulas:</p>
<ul>
<li><code class='maruku-mathml'>\alpha</code></li>
<li><code class='maruku-mathml'>x^{n}+y^{n} \neq z^{n}</code></li>
</ul>
<p>That&#8217;s it, nothing else is supported.</p>
*** Output of to_latex ***
Here are some formulas:
\begin{itemize}%
\item $\alpha$
\item $x^{n}+y^{n} \neq z^{n}$
\end{itemize}
That'{}s it, nothing else is supported.
*** Output of to_md ***
Here are some formulas:
--
That s it, nothing else is supported.
*** Output of to_s ***
Here are some formulas:Thats it, nothing else is supported.
*** Output of Markdown.pl ***
<p>Here are some formulas:</p>
@ -63,14 +98,19 @@ Here are some formulas:Thats it, nothing else is supported.
<p>That's it, nothing else is supported.</p>
*** Output of Markdown.pl (parsed) ***
<div
><p>Here are some formulas:</p
><ul>
<li>$\alpha$</li
>
<li>$x^{n}+y^{n} \neq z^{n}$</li
>
</ul
><p>That's it, nothing else is supported.</p
></div
>
<div>
<p>
Here are some formulas:
</p>
<ul>
<li>
$\alpha$
</li>
<li>
$x^{n}+y^{n} \neq z^{n}$
</li>
</ul>
<p>
That's it, nothing else is supported.
</p>
</div>

View file

@ -107,15 +107,17 @@ md_el(:document,[
<p>\begin{equation} \gamma \end{equation}</p>
*** Output of Markdown.pl (parsed) ***
<div
><p>[
\alpha
]</p
><p>\begin{equation}
\alpha
\end{equation}</p
><p>\begin{equation} \beta
\end{equation}</p
><p>\begin{equation} \gamma \end{equation}</p
></div
>
<div>
<p>
[ \alpha ]
</p>
<p>
\begin{equation} \alpha \end{equation}
</p>
<p>
\begin{equation} \beta \end{equation}
</p>
<p>
\begin{equation} \gamma \end{equation}
</p>
</div>

View file

@ -37,8 +37,11 @@ This is not $math$.[ \alpha ]
<p>[ \alpha ]</p>
*** Output of Markdown.pl (parsed) ***
<div
><p>This is not $math$.</p
><p>[ \alpha ]</p
></div
>
<div>
<p>
This is not $math$.
</p>
<p>
[ \alpha ]
</p>
</div>

View file

@ -27,9 +27,24 @@ md_el(:document,[
OK!
Failed tests: [:to_html]
*** Output of inspect ***
md_el(:document,[
md_html("<table markdown='1'>\n\t$\\alpha$\n\t<thead>\n\t\t<td>$\\beta$</td>\n\t</thead>\n</table>")
],{},[])
*** Output of to_html ***
-----| WARNING | -----
<table><code class='maruku-mathml'>\alpha</code><thead>
<td><code class='maruku-mathml'>\beta</code></td>
</thead>
</table>
*** Output of to_latex ***
*** Output of to_md ***
*** Output of to_s ***
*** Output of Markdown.pl ***
<table markdown='1'>
@ -40,14 +55,13 @@ md_el(:document,[
</table>
*** Output of Markdown.pl (parsed) ***
<div
><table markdown='1'>
$\alpha$
<thead>
<td>$\beta$</td
>
</thead
>
</table
></div
>
<div>
<table markdown='1'>
$\alpha$
<thead>
<td>
$\beta$
</td>
</thead>
</table>
</div>

View file

@ -57,11 +57,12 @@ SymbolMeaningcomments The firstI like it. The firstI like it.
<p>{:r: scope='row'}</p>
*** Output of Markdown.pl (parsed) ***
<div
><p>Symbol | Meaning | comments
------------|---------|---------
{:r} &alpha; | The first | I like it.
{:r} &aleph; | The first | I like it.</p
><p>{:r: scope='row'}</p
></div
>
<div>
<p>
Symbol | Meaning | comments ------------|---------|--------- {:r} &alpha; |
The first | I like it. {:r} &aleph; | The first | I like it.
</p>
<p>
{:r: scope='row'}
</p>
</div>