[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 0/2] ox-texinfo: Define definition commands using description lis
From: |
Jonas Bernoulli |
Subject: |
[PATCH 0/2] ox-texinfo: Define definition commands using description lists |
Date: |
Sat, 18 Dec 2021 22:40:36 +0100 |
Hello again,
The new implementation of the proposed feature is now ready.
Unlike the old implementation it works by filtering the parse tree
(instead of doing it later by advising `org-texinfo-plain-list' and
`org-texinfo-item'), and it expects the use of description lists to
define description commands (instead of regular unordered lists).
I have already updated the manuals of borg, epkg, forge, ghub,
magit, magit-section, transient and with-editor to this new style and
it worked very well.
Executive summary: This adds a second, alternative style to write
(in Org files) Texinfo definition commands that closely resembles the
final Info/HMTL/PDF output instead of the intermediate Texinfo file.
Likewise this adds a second, alternative style to group/"combine"
an @item with one or more $itemx. (See the first commit.)
These additions are described in more detail in the manual, which I
have updated. The other styles that are used in Org's own manual are
not affected and both styles can be used in the same manual.
Cheers,
Jonas
Jonas Bernoulli (2):
ox-texinfo: Turn a description list item with "+" bullet into @itemx
ox-texinfo: Define definition commands using description lists
doc/org-manual.org | 133 ++++++++++++++++++++++++++++++++---
lisp/ox-texinfo.el | 169 +++++++++++++++++++++++++++++++++++++++++++--
2 files changed, 286 insertions(+), 16 deletions(-)
--
2.34.1