typing buffers doesn't obey spaces
This is related to Hans' suggestion for typing code next to text in tabulate environment. The following fragment has a slight problem: \definebuffer[CodeSnippet] \startCodeSnippet \starttyping first line second line \stoptyping \stopCodeSnippet When I do a \getbuffer[CodeSnippet] inside tabulate, the empty line is suppressed :( How to fix it (empty lines really do improve readability of the source)? BTW, why it is not possible to have \starttyping/\stoptyping inside 'p' column in tabulate?
At 07:55 02/04/2003 +0200, you wrote:
This is related to Hans' suggestion for typing code next to text in tabulate environment. The following fragment has a slight problem:
\definebuffer[CodeSnippet] \startCodeSnippet \starttyping first line
second line \stoptyping \stopCodeSnippet
When I do a \getbuffer[CodeSnippet] inside tabulate, the empty line is suppressed :( How to fix it (empty lines really do improve readability of the source)?
dunno, just remove \start-stoptyping and use \typebuffer[CodeSnippet] instead Hans ------------------------------------------------------------------------- Hans Hagen | PRAGMA ADE | pragma@wxs.nl Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com ------------------------------------------------------------------------- information: http://www.pragma-ade.com/roadmap.pdf documentation: http://www.pragma-ade.com/showcase.pdf -------------------------------------------------------------------------
Hans Hagen
This is related to Hans' suggestion for typing code next to text in tabulate environment. The following fragment has a slight problem:
[...]
When I do a \getbuffer[CodeSnippet] inside tabulate, the empty line is suppressed :( How to fix it (empty lines really do improve readability of the source)?
dunno, just remove \start-stoptyping and use \typebuffer[CodeSnippet] instead
does not work here, the empty line is ignored: \definebuffer[CodeSnippet] \startCodeSnippet first line second line \stopCodeSnippet \starttext \starttabulate[|p|r|] \NC \typebuffer[CodeSnippet] \NC none \NC\NR \NC hello \NC hello \NC\NR \stoptabulate \stoptext Patrick
participants (3)
-
Hans Hagen
-
Patrick Gundlach
-
Zeljko Vrba