[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] Feature request: lists with letters
From: |
Rasmus |
Subject: |
Re: [O] Feature request: lists with letters |
Date: |
Mon, 06 Feb 2017 16:34:28 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux) |
Titus von der Malsburg <address@hidden> 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 you
>>> to implement this with current Org such that it will export correctly to
>>> HTML and PDF. If I’m not mistaken, this is non-trivial. If there 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. <<answer>> 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: <style>ol {list-style-type: lower-latin;}</style>
#+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.
Rasmus
--
Slaa Patienten ihjel, saa siger Feberen Pas
Re: [O] Feature request: lists with letters, Titus von der Malsburg, 2017/02/03
Re: [O] Feature request: lists with letters, Eric S Fraga, 2017/02/03
- Re: [O] Feature request: lists with letters, Titus von der Malsburg, 2017/02/03
- Re: [O] Feature request: lists with letters,
Rasmus <=
- Re: [O] Feature request: lists with letters, Titus von der Malsburg, 2017/02/06
- Re: [O] Feature request: lists with letters, Rasmus, 2017/02/09
- Re: [O] Feature request: lists with letters, Titus von der Malsburg, 2017/02/10
- Re: [O] Feature request: lists with letters, Nicolas Goaziou, 2017/02/10
- Re: [O] Feature request: lists with letters, Rasmus, 2017/02/13
- Re: [O] Feature request: lists with letters, Nicolas Goaziou, 2017/02/13
- Re: [O] Feature request: lists with letters, Rasmus, 2017/02/13
- Re: [O] Feature request: lists with letters, Nicolas Goaziou, 2017/02/13
- Re: [O] Feature request: lists with letters, Rasmus, 2017/02/14
- Re: [O] Feature request: lists with letters, Nicolas Goaziou, 2017/02/14