pad(out, 2, scratch);
print("</ol>\n</div>");
scratch->padded = 0;
+ scratch->footnote_being_printed = 0;
}
}
pad(out, 2, scratch);
print("</ol>\n</div>");
scratch->padded = 0;
+ scratch->citation_being_printed = 0;
}
}
<ol>
<li id="cn:1">
-<p>bar <a href="#fnref:1" title="return to body" class="reversefootnote"> ↩</a></p>
+<p>bar <a href="#cnref:1" title="return to body" class="reversecitation"> ↩</a></p>
</li>
</ol>
<ol>
<li id="cn:1">
-<p>bar <a href="#fnref:1" title="return to body" class="reversefootnote"> ↩</a></p>
+<p>bar <a href="#cnref:1" title="return to body" class="reversecitation"> ↩</a></p>
</li>
</ol>
<ol>
<li id="cn:1">
-<p>bar <a href="#fnref:1" title="return to body" class="reversefootnote"> ↩</a></p>
+<p>bar <a href="#cnref:1" title="return to body" class="reversecitation"> ↩</a></p>
</li>
</ol>
<ol>
<li id="cn:1">
-<p>bar <a href="#fnref:1" title="zum Haupttext" class="reversefootnote"> ↩</a></p>
+<p>bar <a href="#cnref:1" title="zum Haupttext" class="reversecitation"> ↩</a></p>
</li>
</ol>
<ol>
<li id="cn:1">
-<p>bar <a href="#fnref:1" title="zum Haupttext" class="reversefootnote"> ↩</a></p>
+<p>bar <a href="#cnref:1" title="zum Haupttext" class="reversecitation"> ↩</a></p>
</li>
</ol>
<li><p>[</p></li>
</ol>
+<h1 id="footnotes">Footnotes </h1>
+
<p>Foo.<a href="#fn:1" id="fnref:1" title="see footnote" class="footnote">[1]</a></p>
<p>Bar.<a href="#fn:2" id="fnref:2" title="see footnote" class="footnote">[2]</a></p>
+<p>Cite.<a href="#cn:1" id="cnref:1" title="see citation" class="citation">[1]</a></p>
+
+<h1 id="linksandimages">Links and Images </h1>
+
<p><a href="http://foo.net/">link</a> and <a href="http://bar.net" title="title" class="custom">link</a></p>
+<figure>
+<img src="http://foo.bar/" alt="test" title="title" width="40px" height="400px" />
+<figcaption>test</figcaption>
+</figure>
+
+<h1 id="math">Math </h1>
+
<p>math <span class="math">\({e}^{i\pi }+1=0\)</span></p>
<h1 id="smartquotes">Smart Quotes </h1>
<dd>baz bat*</dd>
</dl>
+<h1 id="horizontalrules">Horizontal Rules </h1>
+
+<hr />
+
<div class="footnotes">
<hr />
<ol>
</ol>
</div>
+
+<div class="citations">
+<hr />
+<ol>
+
+<li id="cn:1">
+<p>Inline Citation <a href="#cnref:1" title="return to body" class="reversecitation"> ↩</a></p>
+</li>
+
+</ol>
+</div>
<li><p>[</p></li>
</ol>
+<h1>Footnotes </h1>
+
<p>Foo.[^This is an inline footnote]</p>
<p>Bar.[^foot]</p>
<p>[^foot]: And a reference footnote.</p>
+<p>Cite.[#Inline Citation]</p>
+
+<h1>Links and Images </h1>
+
<p><a href="http://foo.net/">link</a> and [link]</p>
<p>[link]: http://bar.net "title" class="custom"</p>
+<p>![test](http://foo.bar/ "title" width="40px" height=400px)</p>
+
+<h1>Math </h1>
+
<p>math ${e}^{i\pi }+1=0$</p>
<h1>Smart Quotes </h1>
bar
: <em>foo bar
: baz bat</em></p>
+
+<h1>Horizontal Rules </h1>
+
+<hr />
\end{enumerate}
+\part{Footnotes }
+\label{footnotes}
+
Foo.\footnote{This is an inline footnote}
Bar.\footnote{And a reference footnote.}
+Cite.\citesyntax TBD
+
+\part{Links and Images }
+\label{linksandimages}
+
\href{http://foo.net/}{link}\footnote{\href{http://foo.net/}{http:/\slash foo.net\slash }} and \href{http://bar.net}{link}\footnote{\href{http://bar.net}{http:/\slash bar.net}}
+
+\part{Math }
+\label{math}
+
math ${e}^{i\pi }+1=0$
\part{Smart Quotes }
\begin{description}
\item[foo]
+
\item[bar]
+
*foo bar
baz bat*
\end{description}
+
+\part{Horizontal Rules }
+\label{horizontalrules}
+
+\begin{center}\rule{3in}{0.4pt}\end{center}
3. \[
+
+# Footnotes #
+
Foo.[^This is an inline footnote]
Bar.[^foot]
[^foot]: And a reference footnote.
+Cite.[#Inline Citation]
+
+
+# Links and Images #
+
[link](http://foo.net/) and [link]
[link]: http://bar.net "title" class="custom"
+![test](http://foo.bar/ "title" width="40px" height=400px)
+
+
+# Math #
+
math ${e}^{i\pi }+1=0$
+
# Smart Quotes #
"foo" and 'bar' -- with --- dashes...
+
# CriticMarkup #
{++foo++}
{==bar==}
+
# Definition Lists #
foo
bar
: *foo bar
: baz bat*
+
+
+# Horizontal Rules #
+
+----
+
<ol>
<li id="cn:1">
-<p>bar <a href="#fnref:1" title="return to body" class="reversefootnote"> ↩</a></p>
+<p>bar <a href="#cnref:1" title="return to body" class="reversecitation"> ↩</a></p>
</li>
</ol>