mmd_print_char_latex(out, source[t->start + 1]);
break;
+ case HASH1:
+ case HASH2:
+ case HASH3:
+ case HASH4:
+ case HASH5:
+ case HASH6:
+ case TEXT_HASH:
+ print_const("\\");
+ print_token(t);
+ break;
+
case HTML_ENTITY:
if (source[t->start + 1] == '#') {
print_const("\\&\\#");
t->next->type = TEXT_EMPTY;
}
+ case MATH_DOLLAR_SINGLE:
+ print_const("\\$");
+ break;
+
+ case MATH_DOLLAR_DOUBLE:
+ print_const("\\$\\$");
+ break;
+
case MATH_BRACKET_OPEN:
case MATH_BRACKET_CLOSE:
case MATH_PAREN_OPEN:
<text:p text:style-name="Standard">&#169; <text:span text:style-name="Source_20_Text">&#169;</text:span></text:p>
<text:p text:style-name="Standard">&#xA9; <text:span text:style-name="Source_20_Text">&#xA9;</text:span></text:p>
+
+<text:p text:style-name="Standard">15</text:p>
+
+<text:p text:style-name="Standard"><text:span text:style-name="Source_20_Text">& and &amp; and < and > in code span.</text:span></text:p>
</office:text>
</office:body>
</office:document>
<p>© <code>&#xA9;</code></p>
+<p>15</p>
+
+<p><code>& and &amp; and < and > in code span.</code></p>
+
</body>
</html>
<p>© <code>&#169;</code></p>
<p>© <code>&#xA9;</code></p>
+
+<p>15</p>
+
+<p><code>& and &amp; and < and > in code span.</code></p>
\&\#xA9; \texttt{\&\#xA9;}
+15
+
+\texttt{\& and \& and < and > in code span.}
+
\input{mmd6-article-footer}
\end{document}
© `©`
© `©`
+
+15
+
+`& and & and < and > in code span.`
<text:p text:style-name="Standard"><text:span text:style-name="Source_20_Text">-<>--&\&---...</text:span></text:p>
<text:p text:style-name="Standard"><text:span text:style-name="Source_20_Text">`foo`</text:span></text:p>
+
+<text:p text:style-name="Standard">15</text:p>
+
+<text:p text:style-name="Standard"><text:span text:style-name="Source_20_Text">$foo << $bar</text:span></text:p>
+
+<text:p text:style-name="Standard"><text:span text:style-name="Source_20_Text">#foo</text:span></text:p>
</office:text>
</office:body>
</office:document>
<p><code>`foo`</code></p>
+<p>15</p>
+
+<p><code>$foo << $bar</code></p>
+
+<p><code>#foo</code></p>
+
</body>
</html>
<p><code>-<>--&\&---...</code></p>
<p><code>`foo`</code></p>
+
+<p>15</p>
+
+<p><code>$foo << $bar</code></p>
+
+<p><code>#foo</code></p>
\texttt{`foo`}
+15
+
+\texttt{\$foo << \$bar}
+
+\texttt{\#foo}
+
\input{mmd6-article-footer}
\end{document}
`-<>--&\&---...`
`` `foo` ``
+
+15
+
+`$foo << $bar`
+
+`#foo`