emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Rasmus <rasmus@gmx.us>
To: emacs-orgmode@gnu.org
Subject: Re: org-list-allow-alphabetical LaTeX export
Date: Fri, 07 Jun 2013 00:49:08 +0200	[thread overview]
Message-ID: <87li6mzwgr.fsf@pank.eu> (raw)
In-Reply-To: 87ppvyzwws.fsf@pank.eu

Rasmus <rasmus@gmx.us> writes:

> Josiah Schwab <jschwab@gmail.com> 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	other threads:[~2013-06-06 22:49 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-06-06  8:20 org-list-allow-alphabetical LaTeX export Michael Bach
2013-06-06  8:52 ` Carsten Dominik
2013-06-06  9:11   ` Michael Bach
2013-06-06  9:17     ` Carsten Dominik
2013-06-06  9:27       ` Michael Bach
2013-06-06 17:39       ` Josiah Schwab
2013-06-06 19:45         ` Carsten Dominik
2013-06-06 21:20           ` Rasmus
2013-06-06 21:36             ` Josiah Schwab
2013-06-06 22:39               ` Rasmus
2013-06-06 22:49                 ` Rasmus [this message]
2013-06-07 11:12           ` Nicolas Goaziou
2013-06-07  5:01         ` Nick Dokos
2013-06-07  5:48           ` Josiah Schwab
2013-06-07 13:54             ` Nick Dokos
2013-06-06  9:23     ` Marcin Borkowski
2013-06-06  9:33       ` Michael Bach

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87li6mzwgr.fsf@pank.eu \
    --to=rasmus@gmx.us \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).