1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58
|
<?xml version="1.0" encoding="UTF-8"?>
<?latexml class="article"?>
<?latexml RelaxNGSchema="LaTeXML"?>
<document xmlns="http://dlmf.nist.gov/LaTeXML">
<resource src="LaTeXML.css" type="text/css"/>
<resource src="ltx-article.css" type="text/css"/>
<section inlist="toc" xml:id="S1">
<tags>
<tag>1</tag>
<tag role="refnum">1</tag>
<tag role="typerefnum">§1</tag>
</tags>
<title><tag close=" ">1</tag>Testing duplication of #</title>
<para xml:id="S1.p1">
<p>detokenize: Two hashes: ##, not one; “a .</p>
</para>
<para xml:id="S1.p2">
<p>scantokens: two hashes: ##, not one; [expanded a].</p>
</para>
<para xml:id="S1.p3">
<p>Deferred tokenize: One hash: #, not two; [expanded a].</p>
</para>
</section>
<section inlist="toc" xml:id="S2">
<tags>
<tag>2</tag>
<tag role="refnum">2</tag>
<tag role="typerefnum">§2</tag>
</tags>
<title><tag close=" ">2</tag>In definitions</title>
<para xml:id="S2.p1">
<p>Also two hashes##, not one</p>
</para>
<para xml:id="S2.p2">
<p>Also two hashes##, not one</p>
</para>
</section>
<section inlist="toc" xml:id="S3">
<tags>
<tag>3</tag>
<tag role="refnum">3</tag>
<tag role="typerefnum">§3</tag>
</tags>
<title><tag close=" ">3</tag>File io</title>
<para xml:id="S3.p1">
<p>Reading file badchars.tex:<break/>
Line:“Bad chars: ^b$@##˙x ! ”<break/>
Line:“More Bad chars: ^b$@##˙x ! ”<break/>
Line:“And More Bad chars: ^b$@##˙x ! ”<break/>
Line:““par ”<break/>
Full Contents:“Bad chars: ^b$@##˙x ! More Bad chars: ^b$@##˙x ! And More Bad chars: ^b$@##˙x ! “par ”<break/></p>
</para>
</section>
</document>
|