diff options
Diffstat (limited to 'org/out_text.org')
-rw-r--r-- | org/out_text.org | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/org/out_text.org b/org/out_text.org index df5ccb2..7a990a1 100644 --- a/org/out_text.org +++ b/org/out_text.org @@ -455,9 +455,9 @@ template munge() { _ocn = "「" ~ obj.metainfo.ocn.to!string ~ "」"; string _txt = obj.text; _txt = _txt - .replaceFirst(rgx.inline_link, ("$1")) + .replaceAll(rgx.inline_link, ("$1")) // consider .replaceFirst(rgx.inline_superscript, ("$1")); - _txt = special_characters_and_font_face!().general(_txt); + _txt = special_characters_and_font_face!().general(_txt) ~ " ≫" ~ obj.metainfo.parent_ocn.to!string; return _txt ~ newlines; } string bookindex(O,M)(O obj, M doc_matters) { @@ -543,7 +543,6 @@ TODO WISH - underline headings? -- endnote info on calling object ≫\d+ - break para text at set width? - text wrap at text-line-width specified option @@ -561,8 +560,7 @@ DONE - verse - table - endnote section - - CAVEAT: would like to, but do not point back to object number of origin - REDO gathering of endnotes, (get/tie calling ocn) + - point back to object number of origin, use parent_ocn (used e.g. in text output: endnote info on calling object ≫\d+) - bookindex - bibliography - glossary |