Re: [Orgmode] why not auto-renumbering list ?
On 9/8/10 14:35 , "Nicolas Goaziou" wrote: [...] > Thinking about it, we could even lighten [...@start:xx] syntax by making > it [...@num]. It would also make more sense since it can be used > repeatedly in a list. Thus: > > 6. [...@6] I like > 28. [...@28] perfect numbered > 496. [...@496] lists This is the nicest syntax so far. I have a related but slightly off topic question that arose when setting up org versions of Danish course homepages. How do I get something like 2. kvartal (meaning 2nd quarter) on a line on its own that is *not* treated as a list (and thus renumbered on publication) ? Thanks for any help Andrew -- Andrew Swann sw...@imada.sdu.dk http://www.imada.sdu.dk/~swann Department of Mathematics and Computer Science, Tel +45 6550 2354 and CP3-Origins, University of Southern Denmark,Dept +45 6550 2387 Campusvej 55, DK-5230 Odense M, Denmark Fax +45 6550 2325 ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] why not auto-renumbering list ?
On 10/8/10 11:46 , "Nicolas Goaziou" wrote: > Hello, > >>>>>> Andrew Swann writes: > >> I have a related but slightly off topic question that arose when setting up >> org versions of Danish course homepages. How do I get something like > >> 2. kvartal > >> (meaning 2nd quarter) on a line on its own that is *not* treated as a list >> (and thus renumbered on publication) ? > > You can set `org-plain-list-ordered-item-terminator' to ?). Thus, only > ordered lists with a parenthesis are allowed, and your line will not > be treated as a list item anymore. Many thanks for this suggestion. It is certainly useful. Is there a local solution that could be used just around this line? It would be nice if one could escape the period. Andrew -- Andrew Swann sw...@imada.sdu.dk http://www.imada.sdu.dk/~swann Department of Mathematics and Computer Science, Tel +45 6550 2354 and CP3-Origins, University of Southern Denmark,Dept +45 6550 2387 Campusvej 55, DK-5230 Odense M, Denmark Fax +45 6550 2325 ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] why not auto-renumbering list ?
On 10/8/10 14:32 , "Nicolas Goaziou" wrote: >>>>>> Andrew Swann writes: > >> Many thanks for this suggestion. It is certainly useful. Is there a local >> solution that could be used just around this line? It would be nice if one >> could escape the period. > > Enforce numbering to 2 with [...@start:2]. It will still be treated as a > list, but it won't be renumbered. > > Otherwise, if this isn't at column 0, you can insert a non-breaking > space (C-q 240) somewhere in front of your item. Org will not > recognize a list, and it will be invisible when exporting. Aha! The C-q 240 non-breaking space is the key. With the 2. at column 0, I can put this immediately after the period and the text is treated as text rather than list item. Excellent. Many thanks Andrew -- Andrew Swann sw...@imada.sdu.dk http://www.imada.sdu.dk/~swann Department of Mathematics and Computer Science, Tel +45 6550 2354 and CP3-Origins, University of Southern Denmark,Dept +45 6550 2387 Campusvej 55, DK-5230 Odense M, Denmark Fax +45 6550 2325 ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode