[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: |
Juan Manuel Macías |
Subject: |
Re: [patch] ox-latex.el: fix blank lines behavior in verse block |
Date: |
Thu, 17 Aug 2023 20:17:32 +0000 |
Ihor Radchenko writes:
> Thanks!
>
>> * (org-latex-verse-block): now the treatment of blank lines is
>> consistent with the syntax of the LaTeX `verse' environment, and the
>> one provided by the `verse' package. If the `:literal' attribute is
>> used, all blank lines are preserved and exported as
>
> Please use double space between sentences and start sentences with
> capital letter.
>
>> +- =:literal= :: With value t, all blank lines are preserved and
>> + exported as =\vspace*{\baselineskip}=, including the blank lines
>> + before or after contents. Note that without the =:literal=
>> + attribute, one or more blank lines between stanzas are exported as a
>> + single blank line, and any blank lines before or after the content
>> + are removed, which is more consistent with the syntax of the LaTeX
>> + `verse' environment, and the one provided by the `verse' package.
>> + If the =verse= package is loaded, the vertical spacing between all
>> + stanzas can be controlled by the global length =\stanzaskip= (see
>> + https://www.ctan.org/pkg/verse).
>
> s/`verse'/=verse=/
>
> And you need to update `test-ox-latex/verse' test - it is currently failing.
Sorry for the typos... Here goes the corrected patch again, with the
updated test.
--
Juan Manuel Macías
https://juanmanuelmacias.com
https://lunotipia.juanmanuelmacias.com
https://gnutas.juanmanuelmacias.com
0001-lisp-ox-latex.el-Add-the-literal-attribute-to-verse-.patch
Description: Text Data
- Re: [patch] ox-latex.el: fix blank lines behavior in verse block, (continued)
- 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
- 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/16
- Re: [patch] ox-latex.el: fix blank lines behavior in verse block, Juan Manuel Macías, 2023/08/16
- Re: [patch] ox-latex.el: fix blank lines behavior in verse block, Ihor Radchenko, 2023/08/17
- Re: [patch] ox-latex.el: fix blank lines behavior in verse block,
Juan Manuel Macías <=
- Re: [patch] ox-latex.el: fix blank lines behavior in verse block, Ihor Radchenko, 2023/08/18