diff --git a/t/digestion/dollar.pdf b/t/digestion/dollar.pdf index ea164f842..21a9d1eec 100644 Binary files a/t/digestion/dollar.pdf and b/t/digestion/dollar.pdf differ diff --git a/t/digestion/dollar.tex b/t/digestion/dollar.tex index 36a39cc15..fbb05a6f9 100644 --- a/t/digestion/dollar.tex +++ b/t/digestion/dollar.tex @@ -8,6 +8,18 @@ Footnote\footnote{text $math$ text} Another\footnote{text $$displayedmath$$ text} +\begin{minipage}{3in} +text $$displaymath$$ text +\end{minipage} + +\hbox{\begin{minipage}{3in} +text $$displaymath$$ text +\end{minipage}} + +\parbox{3in}{text $$displaymath$$ text} + +\hbox{\parbox{3in}{text $$displaymath$$ text}} + Note that dollar inside equation, etc.~fails. % \[ math {\rm $text$ } math \] diff --git a/t/digestion/dollar.xml b/t/digestion/dollar.xml index 90677f8d4..0a53fcc25 100644 --- a/t/digestion/dollar.xml +++ b/t/digestion/dollar.xml @@ -63,11 +63,115 @@ Another text

- -

Note that dollar inside equation, etc. fails.

+ +

text

+ + + + + + d + i + s + p + l + a + y + m + a + t + h + + + + +

text

-

text +

+ +

text

+ + + + + + d + i + s + p + l + a + y + m + a + t + h + + + + +

text

+
+

+
+ + +

text

+ + + + + + d + i + s + p + l + a + y + m + a + t + h + + + + +

text

+
+
+ +

+

text

+ + + + + + d + i + s + p + l + a + y + m + a + t + h + + + + +

text

+

+
+ +

Note that dollar inside equation, etc. fails.

+
+ +

text @@ -79,17 +183,17 @@ Another text

- +

text alsotext text

- - - + + + + a - text + text @@ -106,9 +210,9 @@ Another - - - + + + + @@ -120,14 +224,14 @@ Another - - - + + + + a - text + text @@ -144,9 +248,9 @@ Another - - - + + + + @@ -158,8 +262,8 @@ Another - -

Basetext + +

Basetext @@ -171,13 +275,13 @@ Another text

- +

Basetext alsotext text

- +

Base

text

-

+

@@ -191,7 +295,7 @@ Another

text

- +

Base

text

alsotext