[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [patch] ox-latex.el: fix blank lines behavior in verse block
|
From: |
Ihor Radchenko |
|
Subject: |
Re: [patch] ox-latex.el: fix blank lines behavior in verse block |
|
Date: |
Mon, 07 Aug 2023 11:40:58 +0000 |
Juan Manuel Macías <maciaschain@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>
- [patch] ox-latex.el: fix blank lines behavior in verse block, Juan Manuel Macías, 2023/08/06
- Re: [patch] ox-latex.el: fix blank lines behavior in verse block,
Ihor Radchenko <=
- Re: [patch] ox-latex.el: fix blank lines behavior in verse block, Juan Manuel Macías, 2023/08/07
- Re: [patch] ox-latex.el: fix blank lines behavior in verse block, Ihor Radchenko, 2023/08/09
- Re: [patch] ox-latex.el: fix blank lines behavior in verse block, Juan Manuel Macías, 2023/08/09
- Re: [patch] ox-latex.el: fix blank lines behavior in verse block, Ihor Radchenko, 2023/08/10
- Re: [patch] ox-latex.el: fix blank lines behavior in verse block, Juan Manuel Macías, 2023/08/10
- Re: [patch] ox-latex.el: fix blank lines behavior in verse block, Ihor Radchenko, 2023/08/11
- Re: [patch] ox-latex.el: fix blank lines behavior in verse block, Juan Manuel Macías, 2023/08/11
- Re: [patch] ox-latex.el: fix blank lines behavior in verse block, Ihor Radchenko, 2023/08/12
- Re: [patch] ox-latex.el: fix blank lines behavior in verse block, Juan Manuel Macías, 2023/08/12
- Re: [patch] ox-latex.el: fix blank lines behavior in verse block, Ihor Radchenko, 2023/08/13