[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: |
Thu, 10 Aug 2023 09:27:25 +0000 |
Juan Manuel Macías <maciaschain@posteo.net> writes:
>> Do you mean that people use extra leading/trailing spaces just to get
>> extra vertical space before/after the verse block in _latex_ export?
>
> No, I don't think people use it for that purpose. I meant that if
> someone puts a space before or after the content (which can be usual,
> for clarity):
>
> #+begin_verse
>
> blah...
>
> #+end_verse
>
> that vertical space appears in the export, which shouldn't.
Well. Technically, we already warn users that the blank lines are
preserved in the verse blocks:
12.1 Paragraphs
===============
Paragraphs are separated by at least one empty line. If you need to
enforce a line break within a paragraph, use ‘\\’ at the end of a line.
To preserve the line breaks, indentation and blank lines in a region,
but otherwise use normal formatting, you can use this construct, which
can also be used to format poetry.
#+BEGIN_VERSE
Great clouds overhead
Tiny black birds rise and fall
Snow covers Emacs
---AlexSchroeder
#+END_VERSE
So, I now think that while extra cleanups might be OK for ox-latex, we
may not want to ignore empty lines universally in all the verse blocks.
--
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, 2023/08/07
- 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 <=
- 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
- Re: [patch] ox-latex.el: fix blank lines behavior in verse block, Juan Manuel Macías, 2023/08/14
- Re: [patch] ox-latex.el: fix blank lines behavior in verse block, Ihor Radchenko, 2023/08/15
- Re: [patch] ox-latex.el: fix blank lines behavior in verse block, Juan Manuel Macías, 2023/08/15
- Re: [patch] ox-latex.el: fix blank lines behavior in verse block, Ihor Radchenko, 2023/08/15