From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id IAlDFhVWvmFGAgEAgWs5BA (envelope-from ) for ; Sat, 18 Dec 2021 22:43:49 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id eJIfEhVWvmF5OAAA1q6Kng (envelope-from ) for ; Sat, 18 Dec 2021 21:43:49 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 1FFE128B1D for ; Sat, 18 Dec 2021 22:43:49 +0100 (CET) Received: from localhost ([::1]:39688 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1myhUa-0003c7-25 for larch@yhetil.org; Sat, 18 Dec 2021 16:43:48 -0500 Received: from eggs.gnu.org ([209.51.188.92]:57826) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1myhRe-0003bn-HD for emacs-orgmode@gnu.org; Sat, 18 Dec 2021 16:40:46 -0500 Received: from mail.hostpark.net ([212.243.197.30]:58138) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1myhRc-0004Mx-LH for emacs-orgmode@gnu.org; Sat, 18 Dec 2021 16:40:46 -0500 Received: from localhost (localhost [127.0.0.1]) by mail.hostpark.net (Postfix) with ESMTP id 983E1163FC; Sat, 18 Dec 2021 22:40:40 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=bernoul.li; h= content-transfer-encoding:mime-version:references:in-reply-to :x-mailer:message-id:date:date:subject:subject:from:from :received:received; s=sel2011a; t=1639863638; bh=S0iVWNylgd3IhLP lras+jQjfpuxrAAhcPjrRslV1GVc=; b=eRe6+Ydap6kNKu6gOOJgzwRrP838E8h ApdW4f/QQz3LoVKqpTfbKDTTIMj8F9IfsRjL7036fXBB5pa8F+o2I/xDtXR8gXrt 7pU7Uwd9UNMIo/R7YFvRb8bTB2PG3m+R+jYYVrUud/6nrLZm7HSrpg6eds0ImigE j3QVZ2LQzXRA= X-Virus-Scanned: by Hostpark/NetZone Mailprotection at hostpark.net Received: from mail.hostpark.net ([127.0.0.1]) by localhost (mail1.hostpark.net [127.0.0.1]) (amavisd-new, port 10224) with ESMTP id IFZdMSGIe2AP; Sat, 18 Dec 2021 22:40:38 +0100 (CET) Received: from customer (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mail.hostpark.net (Postfix) with ESMTPSA id 67A5C164A6; Sat, 18 Dec 2021 22:40:38 +0100 (CET) From: Jonas Bernoulli To: emacs-orgmode@gnu.org Subject: [PATCH 0/2] ox-texinfo: Define definition commands using description lists Date: Sat, 18 Dec 2021 22:40:36 +0100 Message-Id: <20211218214038.9459-1-jonas@bernoul.li> X-Mailer: git-send-email 2.34.1 In-Reply-To: <87pmqhmvg1.fsf@bernoul.li> References: <87pmqhmvg1.fsf@bernoul.li> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Received-SPF: none client-ip=212.243.197.30; envelope-from=jonas@bernoul.li; helo=mail.hostpark.net X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_NONE=0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: kyle@kyleam.com, mail@nicolasgoaziou.fr Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1639863829; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=RKg1hxZWIPxzg9KaZ34e3JvHuAu/1NmjJs7GX0b+93Q=; b=Zf37xUEkWxvfDE5SeVD9HRyzv1JXlu3vYSbXAc1ZHc0JHFSpfmVvj8Dy3iU0LYjAx575mc Kmu/t/8XrkYnLAgeJfOeSkbH1b+NaFL62X79+OHSZRsNYDSOKVoSyVKpPnFQm3R5EnZtZT FddfkzdjrAEWvotZ7+CKDwbXBF+jHU9JwuJohFRrKE4soXUQf/6qTnfaCP3Rj8c4LbQ6zW 8/ATlGaBTkviaG9MPtTnDxUAr/Ri6/fd8NbCgq4ZCDhBtZvrG+2XIkh5aL88RY4bkD3cNU PPISacNsGDR5FAofjO6nTrIhoOXWL3KZWqnKfdCqtwf8Pbtt8dTZ47sHmuWzxA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1639863829; a=rsa-sha256; cv=none; b=iFSO2TKFZj3XaVPocy8VsvLqR7sAQgZLcOx+YXKgqnl1gDbx+HgThKbf332HxrfS9k+SrM Mx1tNZBwI0Ct8TEdV7jjFvLJoJVWiCwMRkX8i3NhNs+VpXZefAMlf85a1L0+thG4UC3jHW v6FQGYUzJMozFj5D7gMH4Lfqfg4+YlW6ZM4/ZcvJWfGJ4dRvc5gBhakmIKKeUKDp3KLArK o+3Ek3wElpf8/ct1z6VZ3W3hw4D/79Qp9zy/YyWx95YUXAa88hDSJFxCndpezZSkQRaxat auLBz4usrseXRm/mp4lnrreAP55pee8DoFCB2ARcm5d5SKtk5JK90yO2J6sVAg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=bernoul.li header.s=sel2011a header.b=eRe6+Yda; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -7.21 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=bernoul.li header.s=sel2011a header.b=eRe6+Yda; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 1FFE128B1D X-Spam-Score: -7.21 X-Migadu-Scanner: scn0.migadu.com X-TUID: ZO+ypnBWwYSN 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