Sha256: ea059a32b966cbee4e24a3bac23311c2d93e8684a12a7442d02489c67a4169fd
Contents?: true
Size: 1.88 KB
Versions: 7
Compression:
Stored size: 1.88 KB
Contents
<?xml version="1.0" encoding="UTF-8" ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta name="latexinput" content="mmd-article-header"/> <title>MultiMarkdown Glossary Test</title> <link type="text/css" rel="stylesheet" href="http://fletcherpenney.net/css/document.css"/> <meta name="latexmode" content="memoir"/> <meta name="latexinput" content="mmd-article-begin-doc"/> <meta name="latexfooter" content="mmd-memoir-footer"/> </head> <body> <p>MultiMarkdown has a special format for footnotes that should represent glossary terms. This doesn’t make much difference in XHTML (because there is no such thing as a glossary in XHTML), but can be used to generate a glossary within LaTeX documents.</p> <p>For example, let’s have an entry for <code>glossary</code>.<a href="#fn:1" id="fnref:1" title="see footnote" class="footnote glossary">[1]</a> And what about ampersands?<a href="#fn:2" id="fnref:2" title="see footnote" class="footnote glossary">[2]</a></p> <p>Since we want the ampersand entry to be sorted with the a’s, and not with symbols, we put in the optional sort key <code>ampersand</code> to control sorting.</p> <pre><code>[^glossary]: glossary: Glossary A section at the end ... [^amp]: glossary: & (ampersand) A punctuation mark ... </code></pre> <div class="footnotes"> <hr /> <ol> <li id="fn:1"> <span class="glossary name">Glossary </span>: <p>A section at the end …</p> <a href="#fnref:1" title="return to article" class="reversefootnote"> ↩</a> </li> <li id="fn:2"> <span class="glossary name">& </span><span class="glossary sort" style="display:none">ampersand</span>: <p>A punctuation mark …</p> <a href="#fnref:2" title="return to article" class="reversefootnote"> ↩</a> </li> </ol> </div> </body> </html>
Version data entries
7 entries across 7 versions & 2 rubygems