* html export of things that look like numbered lists
@ 2009-05-23 19:30 Bill White
2009-05-23 19:45 ` Bill White
2009-05-23 19:46 ` Carsten Dominik
0 siblings, 2 replies; 4+ messages in thread
From: Bill White @ 2009-05-23 19:30 UTC (permalink / raw)
To: emacs-orgmode
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.
Thanks -
bw
--
Bill White . billw@wolfram.com . http://members.wolfram.com/billw
"No ma'am, we're musicians."
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: html export of things that look like numbered lists
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
1 sibling, 0 replies; 4+ messages in thread
From: Bill White @ 2009-05-23 19:45 UTC (permalink / raw)
To: emacs-orgmode
On Sat May 23 2009 at 14:30, Bill White <billw@wolfram.com> 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.
Here's one solution: write the paragraph numbers as =4.=, =5.=, etc.
Cheers -
bw, who sometimes has to ask the question in order to answer it
--
Bill White . billw@wolfram.com . http://members.wolfram.com/billw
"No ma'am, we're musicians."
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: html export of things that look like numbered lists
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
1 sibling, 1 reply; 4+ messages in thread
From: Carsten Dominik @ 2009-05-23 19:46 UTC (permalink / raw)
To: Bill White; +Cc: emacs-orgmode
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 ?\))
HTH
- Carsten
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: html export of things that look like numbered lists
2009-05-23 19:46 ` Carsten Dominik
@ 2009-05-23 20:21 ` Bill White
0 siblings, 0 replies; 4+ messages in thread
From: Bill White @ 2009-05-23 20:21 UTC (permalink / raw)
To: Carsten Dominik; +Cc: emacs-orgmode
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."
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2009-05-23 20:22 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.