Re: [NTG-context] TEX and XML typing with trailing interline space

2014-08-18 Thread Wolfgang Schuster

Am 18.08.2014 um 15:22 schrieb Christoph Reller :

> Hi,
> 
> How do I get rid of the additional line inserted at the end of a TEX or XML 
> environment?

\setupstartstop
  [DefaultSnippet]
  [before=,
   after=]

Wolfgang

___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


[NTG-context] TEX and XML typing with trailing interline space

2014-08-18 Thread Christoph Reller
Hi,

How do I get rid of the additional line inserted at the end of a TEX or XML
environment?

Minimal working example:

\starttext

\setuptyping[TEX][before=,after=] % <- trailing interline space
\hrule
\startTEX
\TeX
\stopTEX
\hrule

\medskip

\setuptyping[XML][before=,after=] % <- trailing interline space
\hrule
\startXML

\stopXML
\hrule

\medskip

\setuptyping[before=,after=] % <- works as expected
\hrule
\starttyping
\TeX
\stoptyping
\hrule

\stoptext

Thank you for any advice!

Christoph
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___