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:39:31 +0200	[thread overview]
Message-ID: <87ppvyzwws.fsf@pank.eu> (raw)
In-Reply-To: 7C0B6E30-512B-447D-A45B-42D90936C750@gmail.com

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

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	other threads:[~2013-06-06 22:39 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 [this message]
2013-06-06 22:49                 ` Rasmus
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=87ppvyzwws.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).