From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id wKHoD+UdQmBUXgAA0tVLHw (envelope-from ) for ; Fri, 05 Mar 2021 12:02:45 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id 6HWlC+UdQmDzaQAAB5/wlQ (envelope-from ) for ; Fri, 05 Mar 2021 12:02:45 +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 7D1BA25BBF for ; Fri, 5 Mar 2021 13:02:44 +0100 (CET) Received: from localhost ([::1]:48642 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lI9AJ-00020i-F3 for larch@yhetil.org; Fri, 05 Mar 2021 07:02:43 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:38726) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lI99C-0001yg-LU for emacs-orgmode@gnu.org; Fri, 05 Mar 2021 07:01:36 -0500 Received: from mout02.posteo.de ([185.67.36.66]:41129) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lI999-0005kv-6j for emacs-orgmode@gnu.org; Fri, 05 Mar 2021 07:01:34 -0500 Received: from submission (posteo.de [89.146.220.130]) by mout02.posteo.de (Postfix) with ESMTPS id D821C2400FD for ; Fri, 5 Mar 2021 13:01:17 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1614945677; bh=0rGpj5n7wyDGZ3/bGsuBcJDpYKGPXH6xtOfAhOjBKHE=; h=From:To:Cc:Subject:Date:From; b=laQD+qf0gFwHYI4vGJkQ2UV+ginXZM9r/AeoK8vGdzURCeEB8OLQHlR60QkeJN1ga wweGykm1BtHeghb2DjNewGJAZntjkj2JNQXZ27WKeOJpUiPqxGyEjnVrzyZlhDMzPL mphggZURjkXypafmd9dAwBXchKTRMZZgDIE0KXmPiz4Q8/XBGpfxichKG/i+ppmmJD ZHQrbYv6WEbzm7ayzIRijzlTXb31N2aFlgUTe8PID5VGskYBJGAwZh0tVmuUFI5DmT /wia2juw2QZLnBJKvDFRCJH+Ieldc50aO1FOQAD9K6FXV6kdl9OWYL5MSgG3fTcYrs qbg6jml0Bhjvg== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4DsRCc6BSFz9rxH; Fri, 5 Mar 2021 13:01:16 +0100 (CET) From: =?utf-8?Q?Juan_Manuel_Mac=C3=ADas?= To: Qqwy/Wiebe-Marten Subject: Re: Bug: alphabetical lists will not show up as such in LaTeX export [9.3.6 (9.3.6-71-g7684b5-elpaplus @ /home/qqwy/.emacs.d/elpa/org-plus-contrib-20200518/)] References: <44d3ced9-e96e-6fe0-7635-706addb62e49@gmx.com> Date: Fri, 05 Mar 2021 13:01:15 +0100 In-Reply-To: <44d3ced9-e96e-6fe0-7635-706addb62e49@gmx.com> (qqwy@gmx.com's message of "Thu, 4 Mar 2021 16:38:09 +0100") Message-ID: <87mtvhvmgk.fsf@posteo.net> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=185.67.36.66; envelope-from=maciaschain@posteo.net; helo=mout02.posteo.de X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 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_MED=-2.3, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: orgmode Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: -3.06 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=laQD+qf0; dmarc=pass (policy=none) header.from=posteo.net; spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Migadu-Queue-Id: 7D1BA25BBF X-Spam-Score: -3.06 X-Migadu-Scanner: scn1.migadu.com X-TUID: E6Q8ObUrJE6F Hi, Qqwy/Wiebe-Marten writes: > However, the LaTeX that is exported will still create normal `enumerize` > lists that do /not/ show up as alphabetical but rather still use `1.`, > `2.`, `3.` for numbering. > > I think this current behaviour is at the very least surprising, and > possibly unintended. I use the enumitem package (http://mirrors.ctan.org/macros/latex/contrib/enumitem/enumitem.pdf) for lists in LaTeX. For an alphabetical list, for example: #+begin_src org ,#+LaTeX_Header: \usepackage{enumitem} ,#+ATTR_LaTeX: :options [label=\alph*.,widest=a] a. Lorem b. ipsum c. dolor #+end_src And to export to LaTeX and HTML, you can define a macro like this: #+begin_src org ,#+MACRO: alphalist (eval (if (org-export-derived-backend-p org-export-current-backend 'latex) "#+ATTR_LaTeX: :options [label=\\alph*.,widest=a]" "#+ATTR_HTML: :type a")) {{{alphalist}}} a. Lorem b. ipsum c. dolor' #+end_src Best regards, Juan Manuel