emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Bill White <billw@wolfram.com>
To: Carsten Dominik <carsten.dominik@gmail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: html export of things that look like numbered lists
Date: Sat, 23 May 2009 15:21:59 -0500	[thread overview]
Message-ID: <87fxevy3h4.fsf@wolfram.com> (raw)
In-Reply-To: <DC1B48F4-09AB-455A-8BB7-2747F139B6F7@gmail.com> (Carsten Dominik's message of "Sat, 23 May 2009 21:46:12 +0200")

On Sat May 23 2009 at 14:46, Carsten Dominik <carsten.dominik@gmail.com> wrote:

> On May 23, 2009, at 9:30 PM, Bill White wrote:
>
>> How would you code a .org file to produce this sort of html page,
>> which
>> contains items that look like numbered list elements?
>>
>> http://press-pubs.uchicago.edu/founders/documents/v1ch2s1.html
>>
>> In that page, a number at the beginning of a line indicates a
>> paragraph
>> in the original work, so the exported html page needs to respect those
>> numbers.
>>
>> Currently, org seems to assume that these are elements of a numbered
>> list, and renumbers the lines sequentially starting at 1.
>
> You can tell Org that only 1) and not 1. should start a list:
>
> (setq org-plain-list-ordered-item-terminator ?\))

Very nice!  You even mentioned this problem in the docstring for the
variable.

Many thanks -

bw
-- 
Bill White . billw@wolfram.com . http://members.wolfram.com/billw
"No ma'am, we're musicians."

      reply	other threads:[~2009-05-23 20:22 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-05-23 19:30 html export of things that look like numbered lists Bill White
2009-05-23 19:45 ` Bill White
2009-05-23 19:46 ` Carsten Dominik
2009-05-23 20:21   ` Bill White [this message]

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=87fxevy3h4.fsf@wolfram.com \
    --to=billw@wolfram.com \
    --cc=carsten.dominik@gmail.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).