From mboxrd@z Thu Jan 1 00:00:00 1970 From: Titus von der Malsburg Subject: Re: Feature request: lists with letters Date: Mon, 06 Feb 2017 20:59:52 +0100 Message-ID: <87mvdzm6o7.fsf@posteo.de> References: <1622a63fda844eb1aa553fdcd19a5758@HE1PR01MB1898.eurprd01.prod.exchangelabs.com> <87d1ezwiq0.fsf@pinto.chemeng.ucl.ac.uk> <87efzfbd47.fsf@posteo.de> <874m0772pn.fsf@gmx.us> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:55135) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1capSS-0006wI-37 for emacs-orgmode@gnu.org; Mon, 06 Feb 2017 15:00:17 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1capSO-0000WC-VM for emacs-orgmode@gnu.org; Mon, 06 Feb 2017 15:00:16 -0500 Received: from mout02.posteo.de ([185.67.36.66]:55501) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1capSO-0000Rc-PZ for emacs-orgmode@gnu.org; Mon, 06 Feb 2017 15:00:12 -0500 Received: from submission (posteo.de [89.146.220.130]) by mout02.posteo.de (Postfix) with ESMTPS id AC1BE20CA8 for ; Mon, 6 Feb 2017 21:00:02 +0100 (CET) In-reply-to: <874m0772pn.fsf@gmx.us> 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: Rasmus Cc: emacs-orgmode@gnu.org --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On 2017-02-06 Mon 15:34, Rasmus wrote: > Titus von der Malsburg writes: > >> On 2017-02-03 Fri 12:40, Eric S Fraga wrote: >>> On Friday, 3 Feb 2017 at 11:37, Titus von der Malsburg wrote: >>> >> >>> [...] >>> >>>> For me and many others, this is a very common use case. I challenge y= ou >>>> to implement this with current Org such that it will export correctly = to >>>> HTML and PDF. If I=E2=80=99m not mistaken, this is non-trivial. If t= here is no >>> >>> #+begin_src org >>> Sensation, perception, and memory are of particular >>> interest to which group of contemporary psychologists? >>> >>> 1. psychoanalysts >>> 2. behaviorists >>> 3. humanistic psychologists >>> 4. <> cognitive psychologists >>> >>> The correct answer is [[answer]] because >>> #+end_src >>> >>> does the job for both LaTeX and HTML although with a number in this >>> case. I have not tried with alphabetical enumeration. >> >> This is nice, but letters are conventionally used in many contexts and I >> think making it work with letters is much harder. > > You could use this: > > #+html_head: > #+latex_header: \renewcommand{\theenumi}{\alph{enumi}} > > The answer link would render wrongly in html, though. I'm don't know if > there's an easy way to get the correct "label" for a list item with > html/js. That=E2=80=99s a neat hack that might come in handy at some point. However= , 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. I think this shows that it=E2=80=99s indeed too difficult to make lists with letters although such lists are fairly common and even standard in some areas. A small change in the exporters could solve this issue and make Org mode more useful. I don=E2=80=99t see any downsides. Titus --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQEcBAEBCAAGBQJYmNW4AAoJEK40WfPGE2id4OUH/2F+ZYGapzjNCCglUwsCMK6r lfL8M5c7VnO3/92w8rbcpSvZpmtRhHAoUXYtEA3ANgUKVzsvcTvhHo348nXRNl0W bgIIJeIaCm7HPZtokgQ7Kz4aj3q2KhBLkAMhO6W/zzaWMB8msMqx44zdH/zbHVYE UvMnZE4BSSJXrgDXrG88ANcO4YfyY0XOu3PkdBhpF9ezYH+YKkV9VVMOoebMDLiX KCqeN4ToHSNQo6yRZtzXH5UeW6MOnYu4Ih5s5vlTbXG7P3VnaajderceExh81QKh OmGGLuOo6bn+TU0ey+/NJoOReqQpGNglzGEPjEN9ouMxBCVvdgSlxMGUkenAaQY= =7uoo -----END PGP SIGNATURE----- --=-=-=--