emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] org-list-allow-alphabetical LaTeX export


From: Rasmus
Subject: Re: [O] org-list-allow-alphabetical LaTeX export
Date: Fri, 07 Jun 2013 00:49:08 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux)

Rasmus <address@hidden> writes:

> Josiah Schwab <address@hidden> writes:
>
>>> Why doesn't this cut it:
>>> 
>>> #+BEGIN_SRC org
>>> 1. <<1>> Do something.
>>> 2. Use your answer in part [[1]] to do something else.
>>> #+END_SRC
>>
>> That will work ok in LaTeX I think.
>> But that will export to HTML like
>>
>> <ol class="org-ol">
>> <li><a id="1" name="1"></a> Do something.
>> </li>
>> <li>Use your answer in part <a href="#1">1</a> to do something else.
>> </li>
>> </ol>
>>
>> and the link name will remain "1", even if one adds type="a" to the
>> <ol> tag to adjust the bullet appearance.
>
> If you your type you can use a more advance link [[1][a)].  But that's
> not very nice.
>
> Perhaps, css counters is the way to go:
>
>      https://developer.mozilla.org/en-US/docs/Web/Guide/CSS/Counters
>
> (I did a quick search and I'm not sure css is powerful enough).

It doesn't seem to be easy or pretty to get \ref-\label-like relations
in html.  Here's the best I could find:

http://stackoverflow.com/questions/2651739/how-to-access-css-generated-content-with-javascript

–Rasmus

-- 
When in doubt, do it!




reply via email to

[Prev in Thread] Current Thread [Next in Thread]