case BLOCK_DEFINITION:
print_const(" text:style-name=\"Quotations\">");
break;
+ case PAIR_BRACKET_ABBREVIATION:
case PAIR_BRACKET_CITATION:
case PAIR_BRACKET_FOOTNOTE:
case PAIR_BRACKET_GLOSSARY:
size_t extract_abbreviation_from_stack(scratch_pad * scratch, const char * target) {
- char * key = clean_string(target, true);
+ char * key = clean_string(target, false);
fn_holder * h;
size_t extract_glossary_from_stack(scratch_pad * scratch, const char * target) {
- char * key = clean_string(target, true);
+ char * key = clean_string(target, false);
fn_holder * h;
Title: Abbreviations
latex config: article
-foo
+[>foo]
-bar
+[>bar]
-foo bar
+[>foo] [>bar]
-foobar
+[>foobar]
-foo
-bar
+[>foo]
+[>bar]
5
-*[foo]: FOO
-*[bar]: BAR
-*[foobar]: FOOBAR
-*[foo bar]: FOO BAR
+[>foo]: FOO
+[>bar]: BAR
+[>foobar]: FOOBAR
+[>foo bar]: FOO BAR
<text:h text:outline-level="1"><text:bookmark text:name="horizontalrules"/>Horizontal Rules <text:bookmark-end text:name="horizontalrules"/></text:h>
<text:p text:style-name="Horizontal_20_Line"/>
+
+<text:h text:outline-level="1"><text:bookmark text:name="glossary"/>Glossary <text:bookmark-end text:name="glossary"/></text:h>
+
+<text:p text:style-name="Standard">term<text:note text:id="gn1" text:note-class="glossary"><text:note-body><text:p text:style-name="Footnote">A term to be defined.</text:p></text:note-body></text:note></text:p>
+
+<text:h text:outline-level="1"><text:bookmark text:name="abbreviations"/>Abbreviations<text:bookmark-end text:name="abbreviations"/></text:h>
+
+<text:p text:style-name="Standard">MMD<text:note text:id="gn1" text:note-class="glossary"><text:note-body><text:p text:style-name="Footnote">MultiMarkdown</text:p></text:note-body></text:note></text:p>
</office:text>
</office:body>
</office:document>
<hr />
+<h1 id="glossary">Glossary </h1>
+
+<p><a href="#gn:1" id="gnref:1" title="see glossary" class="glossary">term</a></p>
+
+<h1 id="abbreviations">Abbreviations</h1>
+
+<p><abbr title="MultiMarkdown">MMD</abbr></p>
+
<div class="footnotes">
<hr />
<ol>
</ol>
</div>
+<div class="glossary">
+<hr />
+<ol>
+
+<li id="gn:1">
+term: <p>A term to be defined. <a href="#gnref:1" title="return to body" class="reverseglossary"> ↩</a></p>
+</li>
+
+</ol>
+</div>
+
<div class="citations">
<hr />
<ol>
<h1>Horizontal Rules </h1>
<hr />
+
+<h1>Glossary </h1>
+
+<p>[?term]</p>
+
+<p>[?term]: A term to be defined.</p>
+
+<h1>Abbreviations</h1>
+
+<p><a href="MultiMarkdown">>MMD</a></p>
----
+
+# Glossary #
+
+[?term]
+
+[?term]: A term to be defined.
+
+# Abbreviations
+
+[>MMD]
+
+[>MMD]: MultiMarkdown
+