From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: Feature request: lists with letters Date: Sat, 11 Feb 2017 02:20:51 +0100 Message-ID: <87mvdtr098.fsf@nicolasgoaziou.fr> References: <1622a63fda844eb1aa553fdcd19a5758@HE1PR01MB1898.eurprd01.prod.exchangelabs.com> <87d1ezwiq0.fsf@pinto.chemeng.ucl.ac.uk> <87efzfbd47.fsf@posteo.de> <874m0772pn.fsf@gmx.us> <87mvdzm6o7.fsf@posteo.de> <87y3xfn243.fsf@gmx.us> <87r336mhvy.fsf@posteo.de> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:56713) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ccMMy-00018n-AB for emacs-orgmode@gnu.org; Fri, 10 Feb 2017 20:20:57 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ccMMx-0000YU-3U for emacs-orgmode@gnu.org; Fri, 10 Feb 2017 20:20:56 -0500 Received: from relay3-d.mail.gandi.net ([2001:4b98:c:538::195]:40836) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1ccMMw-0000XV-Uj for emacs-orgmode@gnu.org; Fri, 10 Feb 2017 20:20:55 -0500 In-Reply-To: <87r336mhvy.fsf@posteo.de> (Titus von der Malsburg's message of "Fri, 10 Feb 2017 11:58:57 +0100") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" To: Titus von der Malsburg Cc: emacs-orgmode@gnu.org Hello, Titus von der Malsburg writes: > On 2017-02-09 Thu 09:29, Rasmus wrote: >> Titus von der Malsburg writes: >> >>> That=E2=80=99s a neat hack that might come in handy at some point. How= ever, it >>> changes the bullet point to letters for /all/ ordered lists in the >>> document, not just for those that use letters in the org source. >> >> Yes, I use the simplest possible example. Here's an example that changes >> it for one list at the cost of an extra package. >> >> #+latex_header: \usepackage[shortlabels]{enumitem} >> #+attr_latex: :options [a.] >> 1. one >> 2. two >> 3. three > > Again, this is nice and honestly I admire your skill and knowledge. But > this solution only works for LaTeX export and not for HTML and other > targets. When I start writing documents, I often do not even know what > the target is eventually going to be. Also, I often export org to > multiple targets, for example, my lecture notes are usually exported to > HTML and to PDF. For multiple outputs, you can stack #+attr_ lines, e.g.; #+attr_latex: :options [a.] #+attr_html: some clever code which I don't know. 1. one 2. two Again, I'm sure it is useful for some documents, but I don't think Org should provide such WYSIWYG feature. It simply is out of its scope. What would be next? Provide two different bullet types in the output when the document also uses two of them? The point, however, is that it is probably already possible to have alphabetical lists in the output, as Rasmus pointed out. You may not dismiss the hints given to you so quickly. It could solve your problem, only not the way you're expecting it to be solved. Anyway, I'm not opposed to apply tweaks to back-end if needed. What I'm opposed to, however, is to _guarantee_,even with a defcustom, that alphabetical lists in the document become alphabetical lists in the output. It is also possible to create your own extended back-ends that generate alphabetical lists. You might also want to share them here. Regards, --=20 Nicolas Goaziou