Juan Manuel Macías <maciasch...@posteo.net> writes: > Rationale for this patch: the treatment of blank lines in > `org-latex-verse-block' is inconsistent with the syntax of the `verse' > environment, both the one that includes LaTeX and the one provided by > the `verse' package as a replacement for the former. > ... > So, after this patch: > > • Any blank line before and/or after the content is removed; > > • One or more blank lines between stanzas are exported as a single blank > line, leaving the previous final verse without the linebreak mark > `\\'; > > • When verse numbering is enabled via the `:lines' attribute (for the > `verse' package), the last verses of each stanza are marked with > `\\!', according to the verse package syntax (this was not necessary > with the previous behavior).
I see nothing that would prevent merging this patch. However, I believe that removing blank lines before/after content is something we may want to do in other built-in backends as well. WDYT? -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at <https://orgmode.org/>. Support Org development at <https://liberapay.com/org-mode>, or support my work at <https://liberapay.com/yantar92>