ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* TEX and XML typing with trailing interline space
@ 2014-08-18 13:22 Christoph Reller
  2014-08-18 14:08 ` Wolfgang Schuster
  0 siblings, 1 reply; 2+ messages in thread
From: Christoph Reller @ 2014-08-18 13:22 UTC (permalink / raw)
  To: ntg-context


[-- Attachment #1.1: Type: text/plain, Size: 511 bytes --]

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
<tag></tag>
\stopXML
\hrule

\medskip

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

\stoptext

Thank you for any advice!

Christoph

[-- Attachment #1.2: Type: text/html, Size: 986 bytes --]

[-- Attachment #2: Type: text/plain, Size: 485 bytes --]

___________________________________________________________________________________
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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: TEX and XML typing with trailing interline space
  2014-08-18 13:22 TEX and XML typing with trailing interline space Christoph Reller
@ 2014-08-18 14:08 ` Wolfgang Schuster
  0 siblings, 0 replies; 2+ messages in thread
From: Wolfgang Schuster @ 2014-08-18 14:08 UTC (permalink / raw)
  To: mailing list for ConTeXt users


Am 18.08.2014 um 15:22 schrieb Christoph Reller <christoph.reller@gmail.com>:

> 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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2014-08-18 14:08 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-08-18 13:22 TEX and XML typing with trailing interline space Christoph Reller
2014-08-18 14:08 ` Wolfgang Schuster

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).