[NTG-context] starttyping
Hans Hagen
pragma at wxs.nl
Mon Feb 6 12:34:43 CET 2006
Hans van der Meer wrote:
> Found something annoying with \starttyping...\stoptyping.
>
> I wanted side by side two framed texts in verbatim, one of them one
> line longer than the other.
> Of course they should align there lines.
>
> To accomplish this I put a blank line at the end of the shortest text.
> Alas, \starttyping does not honor a blank line at the end, although
> it does honors blank lines inbetween.
> I am inclined to call this a bug.
>
no, it's on purpose and therefore a feature
> Below a minimal example showing the blank line in between but not the
> one at the end.
> The ContextWiki site gives the same result.
>
> \starttext
> \startframedtext[strut=no,offset=0pt]
> \starttyping
> before blank line
>
> after blank line
> blank line follows
>
> \stoptyping
> \stopframedtext
> \stoptext
>
just add a \blank or \crlf after the typing
Hans
-----------------------------------------------------------------
Hans Hagen | PRAGMA ADE
Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
| www.pragma-pod.nl
-----------------------------------------------------------------
More information about the ntg-context
mailing list