Re: [Orgmode] html export of things that look like numbered lists
On Sat May 23 2009 at 14:46, Carsten Dominik 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 . bi...@wolfram.com . http://members.wolfram.com/billw "No ma'am, we're musicians." ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] html export of things that look like numbered lists
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 ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] html export of things that look like numbered lists
On Sat May 23 2009 at 14:30, 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. 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 . bi...@wolfram.com . http://members.wolfram.com/billw "No ma'am, we're musicians." ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] html export of things that look like numbered lists
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 . bi...@wolfram.com . http://members.wolfram.com/billw "No ma'am, we're musicians." ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode