aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorfiddlosopher <fiddlosopher@788f1e2b-df1e-0410-8736-df70ead52e1b>2007-12-02 08:35:24 +0000
committerfiddlosopher <fiddlosopher@788f1e2b-df1e-0410-8736-df70ead52e1b>2007-12-02 08:35:24 +0000
commitf8a257589b637bcd5df07fe291b48f12826cfb88 (patch)
tree238e6f17f04c1440a4eb66ef365232786036ce97 /tests
parentdefe18242b82112d9d3914cf975b908cef03dd6e (diff)
downloadpandoc-f8a257589b637bcd5df07fe291b48f12826cfb88.tar.gz
Updated test suite -- no italics for digits.
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1133 788f1e2b-df1e-0410-8736-df70ead52e1b
Diffstat (limited to 'tests')
-rw-r--r--tests/s5.basic.html4
-rw-r--r--tests/s5.fragment.html4
-rw-r--r--tests/s5.inserts.html4
-rw-r--r--tests/writer.docbook6
-rw-r--r--tests/writer.html16
-rw-r--r--tests/writer.rtf6
6 files changed, 12 insertions, 28 deletions
diff --git a/tests/s5.basic.html b/tests/s5.basic.html
index a15bb9ca9..3d289dd5e 100644
--- a/tests/s5.basic.html
+++ b/tests/s5.basic.html
@@ -792,9 +792,7 @@ window.onresize = function(){setTimeout('fontScale()', 50);}</script>
>)=\lim<sub
><em
>h</em
- >&#8201;&#8594;&#8201;<em
- >0</em
- ></sub
+ >&#8201;&#8594;&#8201;0</sub
>\frac{<em
>f</em
>(<em
diff --git a/tests/s5.fragment.html b/tests/s5.fragment.html
index c79dbcbcf..0cacb4738 100644
--- a/tests/s5.fragment.html
+++ b/tests/s5.fragment.html
@@ -22,9 +22,7 @@
>)=\lim<sub
><em
>h</em
- >&#8201;&#8594;&#8201;<em
- >0</em
- ></sub
+ >&#8201;&#8594;&#8201;0</sub
>\frac{<em
>f</em
>(<em
diff --git a/tests/s5.inserts.html b/tests/s5.inserts.html
index 9290e8e23..fc27da035 100644
--- a/tests/s5.inserts.html
+++ b/tests/s5.inserts.html
@@ -39,9 +39,7 @@ STUFF INSERTED
>)=\lim<sub
><em
>h</em
- >&#8201;&#8594;&#8201;<em
- >0</em
- ></sub
+ >&#8201;&#8594;&#8201;0</sub
>\frac{<em
>f</em
>(<em
diff --git a/tests/writer.docbook b/tests/writer.docbook
index 870898e50..16486925f 100644
--- a/tests/writer.docbook
+++ b/tests/writer.docbook
@@ -891,7 +891,7 @@ These should not be escaped: \$ \\ \&gt; \[ \{
</listitem>
<listitem>
<para>
- <emphasis>2</emphasis>+<emphasis>2</emphasis>=<emphasis>4</emphasis>
+ 2+2=4
</para>
</listitem>
<listitem>
@@ -906,7 +906,7 @@ These should not be escaped: \$ \\ \&gt; \[ \{
</listitem>
<listitem>
<para>
- <emphasis>223</emphasis>
+ 223
</para>
</listitem>
<listitem>
@@ -916,7 +916,7 @@ These should not be escaped: \$ \\ \&gt; \[ \{
</listitem>
<listitem>
<para>
- \frac{<emphasis>d</emphasis>}{<emphasis>dx</emphasis>}<emphasis>f</emphasis>(<emphasis>x</emphasis>)=\lim<subscript><emphasis>h</emphasis> → <emphasis>0</emphasis></subscript>\frac{<emphasis>f</emphasis>(<emphasis>x</emphasis>+<emphasis>h</emphasis>)-<emphasis>f</emphasis>(<emphasis>x</emphasis>)}{<emphasis>h</emphasis>}
+ \frac{<emphasis>d</emphasis>}{<emphasis>dx</emphasis>}<emphasis>f</emphasis>(<emphasis>x</emphasis>)=\lim<subscript><emphasis>h</emphasis> → 0</subscript>\frac{<emphasis>f</emphasis>(<emphasis>x</emphasis>+<emphasis>h</emphasis>)-<emphasis>f</emphasis>(<emphasis>x</emphasis>)}{<emphasis>h</emphasis>}
</para>
</listitem>
<listitem>
diff --git a/tests/writer.html b/tests/writer.html
index a27a56a2a..44a4b3335 100644
--- a/tests/writer.html
+++ b/tests/writer.html
@@ -763,13 +763,7 @@ Blah
></li
><li
><span class="math"
- ><em
- >2</em
- >+<em
- >2</em
- >=<em
- >4</em
- ></span
+ >2+2=4</span
></li
><li
><span class="math"
@@ -785,9 +779,7 @@ Blah
></li
><li
><span class="math"
- ><em
- >223</em
- ></span
+ >223</span
></li
><li
><span class="math"
@@ -808,9 +800,7 @@ Blah
>)=\lim<sub
><em
>h</em
- >&#8201;&#8594;&#8201;<em
- >0</em
- ></sub
+ >&#8201;&#8594;&#8201;0</sub
>\frac{<em
>f</em
>(<em
diff --git a/tests/writer.rtf b/tests/writer.rtf
index 895902e8d..f6c11b355 100644
--- a/tests/writer.rtf
+++ b/tests/writer.rtf
@@ -252,12 +252,12 @@ quoted link
{\pard \ql \f0 \sa180 \li0 \fi0 \b \fs36 LaTeX\par}
{\pard \ql \f0 \sa0 \li360 \fi-360 \bullet \tx360\tab \par}
{\pard \ql \f0 \sa0 \li360 \fi-360 \bullet \tx360\tab \par}
-{\pard \ql \f0 \sa0 \li360 \fi-360 \bullet \tx360\tab {\i 2} +{\i 2} ={\i 4} \par}
+{\pard \ql \f0 \sa0 \li360 \fi-360 \bullet \tx360\tab 2+2=4\par}
{\pard \ql \f0 \sa0 \li360 \fi-360 \bullet \tx360\tab {\i x} \u8201?\u8712?\u8201?{\i y} \par}
{\pard \ql \f0 \sa0 \li360 \fi-360 \bullet \tx360\tab \u945?\u8201?\u8743?\u8201?\u969?\par}
-{\pard \ql \f0 \sa0 \li360 \fi-360 \bullet \tx360\tab {\i 223} \par}
+{\pard \ql \f0 \sa0 \li360 \fi-360 \bullet \tx360\tab 223\par}
{\pard \ql \f0 \sa0 \li360 \fi-360 \bullet \tx360\tab {\i p} -Tree\par}
-{\pard \ql \f0 \sa0 \li360 \fi-360 \bullet \tx360\tab \\frac\{{\i d} \}\{{\i dx} \}{\i f} ({\i x} )=\\lim{\sub {\i h} \u8201?\u8594?\u8201?{\i 0} } \\frac\{{\i f} ({\i x} +{\i h} )-{\i f} ({\i x} )\}\{{\i h} \}\par}
+{\pard \ql \f0 \sa0 \li360 \fi-360 \bullet \tx360\tab \\frac\{{\i d} \}\{{\i dx} \}{\i f} ({\i x} )=\\lim{\sub {\i h} \u8201?\u8594?\u8201?0} \\frac\{{\i f} ({\i x} +{\i h} )-{\i f} ({\i x} )\}\{{\i h} \}\par}
{\pard \ql \f0 \sa0 \li360 \fi-360 \bullet \tx360\tab Here\u8217's one that has a line break in it: \u945?+\u969?\u8201?\u215?\u8201?{\i x} {\super 2} .\sa180\par}
{\pard \ql \f0 \sa180 \li0 \fi0 These shouldn\u8217't be math:\par}
{\pard \ql \f0 \sa0 \li360 \fi-360 \bullet \tx360\tab To get the famous equation, write {\f1 $e = mc^2$} .\par}