Josiah Schwab <[email protected]> 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!