Re: Interspersing output with source

2008-10-28 Thread Georg Brandl
Roger Binns schrieb: >> The label should be >> >> .. _mylabel: >> >> Perhaps this is why it did not work. > > I hand typed the email and forgot the underscore. My real doc had the > underscore. > >> Apart from that, there should be no >> difference at all between a code block and a code bloc

Re: Interspersing output with source

2008-10-28 Thread Roger Binns
> The label should be > > .. _mylabel: > > Perhaps this is why it did not work. I hand typed the email and forgot the underscore. My real doc had the underscore. > Apart from that, there should be no > difference at all between a code block and a code block in a blockquote. Perhaps HTML out

Re: Interspersing output with source

2008-10-27 Thread Georg Brandl
Roger Binns schrieb: > Georg Brandl wrote: >> Apart from that, in the linked HTML file, I had to look twice to get the >> interspersed output, > > I did need to improve the style for it. And do a lot of other things to > improve the formatting, presentation, linking, content and overall > utilit

Re: Interspersing output with source

2008-10-26 Thread Roger Binns
Georg Brandl wrote: > Apart from that, in the linked HTML file, I had to look twice to get the > interspersed output, I did need to improve the style for it. And do a lot of other things to improve the formatting, presentation, linking, content and overall utility. Guess how I ended up using Sp

Re: Interspersing output with source

2008-10-25 Thread Georg Brandl
Roger Binns schrieb: > I'm trying to do markup that shows output interspersed with source. > Unfortunately I can't find anything that will work. You can see what > I did with HTML in http://apsw.googlecode.com/files/apsw-3.6.3-r1.html > in the example section. > > As an example this is the best

Re: Interspersing output with source

2008-10-22 Thread Roger Binns
On Oct 22, 12:21 pm, Pierre GM <[EMAIL PROTECTED]> wrote: > In that case, please try to give us a more representative example. I did in my very first posting. To reiterate download http://apsw.googlecode.com/files/apsw-3.6.3-r1.html and look at the example section. > The doctest style that Ian

Re: Interspersing output with source

2008-10-22 Thread Ian Bicking
Roger Binns wrote: > On Oct 22, 11:55 am, Ian Bicking <[EMAIL PROTECTED]> wrote: >> Traditionally people just use the interactive style: > > Sadly that only works for trivial stuff like my example above. The > actual code I want to do this with has many lines of Python code > followed by a few l

Re: Interspersing output with source

2008-10-22 Thread Pierre GM
Roger, > Sadly that only works for trivial stuff like my example above. The > actual code I want to do this with has many lines of Python code > followed by a few lines of output repeated several times. If I could > tell the highlighter which sections are code and which are output, > that would

Re: Interspersing output with source

2008-10-22 Thread Roger Binns
On Oct 22, 11:55 am, Ian Bicking <[EMAIL PROTECTED]> wrote: > Traditionally people just use the interactive style: Sadly that only works for trivial stuff like my example above. The actual code I want to do this with has many lines of Python code followed by a few lines of output repeated severa

Re: Interspersing output with source

2008-10-22 Thread Ian Bicking
Roger Binns wrote: > I'm trying to do markup that shows output interspersed with source. > Unfortunately I can't find anything that will work. You can see what > I did with HTML in http://apsw.googlecode.com/files/apsw-3.6.3-r1.html > in the example section. > > As an example this is the best I

Interspersing output with source

2008-10-22 Thread Roger Binns
I'm trying to do markup that shows output interspersed with source. Unfortunately I can't find anything that will work. You can see what I did with HTML in http://apsw.googlecode.com/files/apsw-3.6.3-r1.html in the example section. As an example this is the best I have managed to get so far: ::