Re: [PATCH v3 3/3] ox-texinfo: Define definition commands using description lists

2022-01-23 Thread Jonas Bernoulli
Nicolas Goaziou writes: >> +(defun org-texinfo--massage-key-item (plain-list item args) >> + "In PLAIN-LIST modify ITEM based on ARGS. >> +Reformat ITEM's tag property and add findex and kindex entries to >> +its content. If the bullet is \"+\" then use \"@itemx\" and deal with >> +data from pr

Re: [PATCH v3 3/3] ox-texinfo: Define definition commands using description lists

2022-01-22 Thread Jonas Bernoulli
Nicolas Goaziou writes: >> + (t >> +(org-element-set-contents >> + item (nconc >> + (mapcar (lambda (key) `(keyword (:key "KINDEX" :value ,key))) >> kindex) >> + (mapcar (lambda (cmd) `(keyword (:key "FINDEX" :value ,cmd))) >> findex) >> + (org-elemen

Re: [PATCH v3 3/3] ox-texinfo: Define definition commands using description lists

2022-01-22 Thread Nicolas Goaziou
Hello, Jonas Bernoulli writes: > +The Texinfo export back-end supports two approaches to writing Texinfo > +definition commands. One of them is describe here, the other in > +[[*Plain lists in Texinfo export]]. Typo: one of them is described here > +(defvar org-texinfo--quoted-keys-regexp > +

[PATCH v3 3/3] ox-texinfo: Define definition commands using description lists

2022-01-18 Thread Jonas Bernoulli
* doc/org-manual.org (Plain lists in Texinfo export): Document use of definition command prefixes in description lists. * lisp/ox-texinfo.el: Add org-texinfo--separate-definitions to the list of :filter-parse-tree functions of the texinfo backend. * lisp/ox-texinfo.el (org-texinfo--quoted-keys-rege