Re: [patch] ox-html.el: add html attribute (verse numbers) to verse blocks

2022-07-04 Thread Ihor Radchenko
Juan Manuel Macías writes: > Nota bene: I understand that all these functionalities for verses are, > at the moment, a minority in Org, since Org has a small number of > Humanities users (here in Spain I try to gain followers among my > colleagues, but it is an arduous task). In any case, I

Re: [patch] ox-html.el: add html attribute (verse numbers) to verse blocks

2022-05-31 Thread Juan Manuel Macías
Ihor Radchenko writes: > The default switches syntax was originally designed for code block and > it generally supports continuous numbering across several subsequent > code blocks or starting the numbering from certain line. Will such > features be useful for verses? > [...] > Do you know if

Re: [patch] ox-html.el: add html attribute (verse numbers) to verse blocks

2022-05-30 Thread Ihor Radchenko
Juan Manuel Macías writes: > Ihor Radchenko writes: > >> Sounds reasonable. However, a more consistent way to handle line numbers >> would be using switches, like what we do in EXAMPLE blocks. See >> org-element-example-block-parser and 12.6 Literal Examples section of >> the manual. > > (I

Re: [patch] ox-html.el: add html attribute (verse numbers) to verse blocks

2022-05-30 Thread Juan Manuel Macías
Ihor Radchenko writes: > Sounds reasonable. However, a more consistent way to handle line numbers > would be using switches, like what we do in EXAMPLE blocks. See > org-element-example-block-parser and 12.6 Literal Examples section of > the manual. (I didn't remember that I had sent this

Re: [patch] ox-html.el: add html attribute (verse numbers) to verse blocks

2022-05-29 Thread Ihor Radchenko
Juan Manuel Macías writes: > I believe that an html attribute to display marginal verse numbers in > sequence could be useful for certain content, as philological texts > (like here: > https://en.wikisource.org/wiki/The_Iliad_and_Odyssey_of_Homer_(Cowper)/Volume_2/The_Odyssey/Book_I) > > The

[patch] ox-html.el: add html attribute (verse numbers) to verse blocks

2021-10-04 Thread Juan Manuel Macías
ox-html.el: add verse numbers html attribute to verse blocks * lisp/ox-html.el (org-html-verse-block): add `lines' html attribute --- lisp/ox-html.el | 45 +++-- 1 file changed, 31 insertions(+), 14 deletions(-) diff --git a/lisp/ox-html.el b/lisp/ox-html