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:39:31 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux)

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).

In any case, I think it's a fair feature request, but it's a "html
bug/deficit".  If we know how to do it in "hand-written" html it can
relatively easily be added to ox-html or incorporated locally via a
filter.

–Rasmus

-- 
m-mm-mmm-mmmm bacon!




reply via email to

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