emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Carsten Dominik <carsten.dominik@gmail.com>
To: Uriel Avalos <amscopub-mail@yahoo.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: Renumber HTML ordered lists from org-mode?
Date: Mon, 26 Apr 2010 16:36:52 +0200	[thread overview]
Message-ID: <8BD3FCFE-364D-4774-A20C-9502FD313C86@gmail.com> (raw)
In-Reply-To: <20100210181430.00000bdb@unknown>


On Feb 11, 2010, at 12:14 AM, Uriel Avalos wrote:

> In HTML, one way of renumbering OL lists is to use "start". (Ex: <ol
> start=13>...</ol> restarts the numbering at 13.)
>
> Is there anyway to do that from within org-mode without hacking the
> exported HTML file?
>
> Is there a +ATTR_HTML:  planned for OL and UL lists?

This has taken a long time.  I have not done an ATTR_, but you
can now write

    1. [@start:20] item number 20

to have a list start at 20.

Currently this works in Org-mode itself to change the list with
a different counter, and for the HTML, LaTeX, and ASCII
exporters.  I hope that it can also be translated for the docbook
exporter.

- Carsten

  parent reply	other threads:[~2010-04-26 14:36 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-02-10 23:14 Renumber HTML ordered lists from org-mode? Uriel Avalos
2010-02-23  6:14 ` Carsten Dominik
2010-04-26 14:36 ` Carsten Dominik [this message]
2010-04-26 21:39   ` Baoqiu Cui

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=8BD3FCFE-364D-4774-A20C-9502FD313C86@gmail.com \
    --to=carsten.dominik@gmail.com \
    --cc=amscopub-mail@yahoo.com \
    --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).