[Orgmode] Re: [BUG] HTML exporting numbered literal examples

2009-07-23 Thread Ulf Stegemann
Hi Bastien, Bastien wrote: > I've finally pushed a change that allows whitespaces in labels and allow > the "-r" switch to be used even if "-n" is not there. Please test it and > let me know if it works as expected. great! I've tested this with some examples and it seems to work fine. Thanks fo

Re: [Orgmode] Re: [BUG] HTML exporting numbered literal examples

2009-07-23 Thread Bastien
Hi Ulf, I've finally pushed a change that allows whitespaces in labels and allow the "-r" switch to be used even if "-n" is not there. Please test it and let me know if it works as expected. Thanks, Ulf Stegemann writes: >>> conclusion. I don't think that this is a problem. From the author's

[Orgmode] Re: [BUG] HTML exporting numbered literal examples

2009-07-20 Thread Ulf Stegemann
Bastien wrote: > Ulf Stegemann writes: > >> Right, I agree with your observation but I think I wouldn't with your >> conclusion. I don't think that this is a problem. From the author's >> point of view I think he/she knows what's going on since this is not the >> default behaviour and the `-r'

Re: [Orgmode] Re: [BUG] HTML exporting numbered literal examples

2009-07-18 Thread Bastien
Ulf Stegemann writes: > Right, I agree with your observation but I think I wouldn't with your > conclusion. I don't think that this is a problem. From the author's > point of view I think he/she knows what's going on since this is not the > default behaviour and the `-r' switch actually has to

[Orgmode] Re: [BUG] HTML exporting numbered literal examples

2009-07-17 Thread Ulf Stegemann
Bastien wrote: > Ulf Stegemann writes: > >> I had a quick look at `org-export-number-lines' and the following seems >> to work smoothly ... > > Thanks for the patch. One problem though: now the first link (from the > manuals example) looks like "sc" but there is no "sc" left in the source > cod

Re: [Orgmode] Re: [BUG] HTML exporting numbered literal examples

2009-07-17 Thread Bastien
Ulf Stegemann writes: > I think, those examples are easy to make up. Line numbers are great for > file contents and maybe input /or/ output. But as soon as in- and output > are mixed up I find them rather disturbing (imagine e.g. a shell > session). On the other hand removing labels and having

[Orgmode] Re: [BUG] HTML exporting numbered literal examples

2009-07-17 Thread Ulf Stegemann
Hi, Bastien wrote: > Ulf Stegemann writes: > >> With latest CVS Emacs and Git Org mode exporting literal examples >> (example/src) with the `-n' switch results in numbering starting on line >> *2* of the example in the resulting HTML file (LaTeX seems to be okay). >> >> The example in the manua