From e0d888ba5427f33705d8401ae10c95e740ef0bba Mon Sep 17 00:00:00 2001 From: Charlotte Koch Date: Sun, 9 Jun 2024 11:39:44 -0700 Subject: Try to clean up blocks of verse in ODT output --- script/docx_fixup.sed | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/script/docx_fixup.sed b/script/docx_fixup.sed index 566a76e..ad22078 100644 --- a/script/docx_fixup.sed +++ b/script/docx_fixup.sed @@ -1,6 +1,13 @@ # Render a thematic break as 3 hash symbols. +# +# XXX need to replace the surrounding with whatever it takes to +# get a horizontal-rule to show up in LibreOffice s,<\?asciidoc-hr\?>,\&\#35; \&\#35; \&\#35;, # Asciidoctor puts a zero-width space after ellipses for some reason -- get # rid of it. s,\&\#8203;,,g + +# End every preformatted/blockquote with an explicit newlines. It shows up +# better in LibreOffice. +s,,\n, -- cgit v1.2.3