emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Eric S Fraga <ucecesf@ucl.ac.uk>
To: Jere McDevitt <jere.mcdevitt@gmail.com>, emacs-orgmode@gnu.org
Subject: Re: List number resetting when using anchor tag in	exported	HTML
Date: Wed, 27 Jan 2010 07:29:50 +0000	[thread overview]
Message-ID: <87wrz40zv5.wl%ucecesf@ucl.ac.uk> (raw)
In-Reply-To: <87ljfkonxo.wl%ucecesf@ucl.ac.uk>

At Tue, 26 Jan 2010 16:01:23 +0000,
Eric S Fraga wrote:

> The following works just fine (at least for HTML export, not sure about anything else):
> 
> --8<---------------cut here---------------start------------->8---
> * This is the first header line
> 
>   1. This is line number 1
>   2. This is line number 2
>   3. This is line number 3
>      <<Anchor1>>
>   1. This should be line number 4, but is reset by the anchor tag
>   2. This should be line number 5.
> --8<---------------cut here---------------end--------------->8---
> 
> Note the indentation in particular.

(responding to my own post... sorry!)

The above is a little misleading as it looks like org is confused with
respect to list numbering.  I should have said that the numbering
above was incorrect only because I hadn't given org a chance to update
the numbers.  Hitting, for instance, C-cC-c on the last line gives:

--8<---------------cut here---------------start------------->8---
* This is the first header line

  1. This is line number 1
  2. This is line number 2
  3. This is line number 3
     <<Anchor1>>
  4. This should be line number 4, but is reset by the anchor tag
  5. This should be line number 5.
--8<---------------cut here---------------end--------------->8---

Apologies for any confusion caused!

eric

  reply	other threads:[~2010-01-27  8:05 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-01-26 13:59 List number resetting when using anchor tag in exported HTML Jere McDevitt
2010-01-26 16:01 ` Eric S Fraga
2010-01-27  7:29   ` Eric S Fraga [this message]
2010-01-28 13:20     ` Jere McDevitt
2010-01-28 19:15       ` Carsten Dominik

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=87wrz40zv5.wl%ucecesf@ucl.ac.uk \
    --to=ucecesf@ucl.ac.uk \
    --cc=e.fraga@ucl.ac.uk \
    --cc=emacs-orgmode@gnu.org \
    --cc=jere.mcdevitt@gmail.com \
    /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).