summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Williamson <mike@zwobble.org>2015-01-25 16:35:16 +0000
committerMichael Williamson <mike@zwobble.org>2015-01-25 16:35:16 +0000
commit98fdfaa864ddfeadf3cade0e936af38e387d49c2 (patch)
treea6406f2e1a0ee3fc8856aa640a01e4730932187b
parentde40496fbf389418efceacaebb18bc87cd7b53cd (diff)
Add style mappings for LibreOffice footnotes and endnotes
-rw-r--r--lib/options-reader.js6
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/options-reader.js b/lib/options-reader.js
index 8b099d4..417906d 100644
--- a/lib/options-reader.js
+++ b/lib/options-reader.js
@@ -25,6 +25,12 @@ var standardOptions = exports._standardOptions = {
"p[style-name='footnote text'] => p",
"r[style-name='footnote reference'] =>",
+ // LibreOffice
+ "p[style-name='Footnote'] => p",
+ "r[style-name='Footnote anchor'] =>",
+ "p[style-name='Endnote'] => p",
+ "r[style-name='Endnote anchor'] =>",
+
"p:unordered-list(1) => ul > li:fresh",
"p:unordered-list(2) => ul|ol > li > ul > li:fresh",
"p:unordered-list(3) => ul|ol > li > ul|ol > li > ul > li:fresh",