From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/88455 Path: news.gmane.org!not-for-mail From: Christoph Reller Newsgroups: gmane.comp.tex.context Subject: TEX and XML typing with trailing interline space Date: Mon, 18 Aug 2014 15:22:19 +0200 Message-ID: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0813997036==" X-Trace: ger.gmane.org 1408368183 22502 80.91.229.3 (18 Aug 2014 13:23:03 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 18 Aug 2014 13:23:03 +0000 (UTC) To: ntg-context Original-X-From: ntg-context-bounces@ntg.nl Mon Aug 18 15:22:59 2014 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([5.39.185.229]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1XJMtm-0005bq-97 for gctc-ntg-context-518@m.gmane.org; Mon, 18 Aug 2014 15:22:58 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 0634D102E7 for ; Mon, 18 Aug 2014 15:22:58 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id Y+LVf1DGPUN1 for ; Mon, 18 Aug 2014 15:22:57 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id 354A010221 for ; Mon, 18 Aug 2014 15:22:48 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 832B4101E6 for ; Mon, 18 Aug 2014 15:22:44 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id BvLspTTqyHoT for ; Mon, 18 Aug 2014 15:22:42 +0200 (CEST) Original-Received: from filter4-ams.mf.surf.net (filter4-ams.mf.surf.net [192.87.102.72]) by balder.ntg.nl (Postfix) with ESMTP id 00236101E3 for ; Mon, 18 Aug 2014 15:22:41 +0200 (CEST) Original-Received: from mail-ob0-x22a.google.com (mail-ob0-x22a.google.com [IPv6:2607:f8b0:4003:c01::22a]) by filter4-ams.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id s7IDnAMO019110 (version=TLSv1/SSLv3 cipher=RC4-SHA bits=128 verify=NOT) for ; Mon, 18 Aug 2014 15:49:11 +0200 Original-Received: by mail-ob0-f170.google.com with SMTP id wp4so3994579obc.1 for ; Mon, 18 Aug 2014 06:22:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:from:date:message-id:subject:to:content-type; bh=RXP5mGGyyh9r+7XVzCSemJHWq6BYGM7KztcR4EaN5kM=; b=qHIDXewwCVddZfX9yA/Z/7Tu3j1dwnCxjkUYTx9ifJqPJMIYLvFa8Z9SI0qL+VodgP k6xloqUsd71E/JwyB7+oJ+BrQUsPcWnbTjaf2Q/619ef+9VZ2FHH1P4jaJzRxJ85rrYU hCU7Dle8fZVQfFqTZ6BD8MQZ734IxlVfPqNMCo7wAyjl4D3xKwhz7pKHgO0bkdHhOvTu QA5TVcVjzu/NAo3bAqDEy1CL1J5jynzoeBvPj0lMM5dNx1E1KHo7ObbSy/Mw9RGkS5fQ RZRDQiPrBY4Q12nTudH4Pgr8/pcqvlOmy8udFR8WNwj7H8j9EZi+Bc36w5crn6fJysRE l88A== X-Received: by 10.182.22.201 with SMTP id g9mr2795291obf.75.1408368159692; Mon, 18 Aug 2014 06:22:39 -0700 (PDT) Original-Received: by 10.182.37.102 with HTTP; Mon, 18 Aug 2014 06:22:19 -0700 (PDT) X-Bayes-Prob: 0.0001 (Score 0, tokens from: ntg-context@ntg.nl, base:default, @@RPTN) X-CanIt-Geo: ip=2607:f8b0:4003:c01::22a; country=US X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 01MEdNbHW - 57829f942270 - 20140818 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.14 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: ntg-context-bounces@ntg.nl Original-Sender: ntg-context-bounces@ntg.nl Xref: news.gmane.org gmane.comp.tex.context:88455 Archived-At: --===============0813997036== Content-Type: multipart/alternative; boundary=001a11c2e90cdf1f220500e743c9 --001a11c2e90cdf1f220500e743c9 Content-Type: text/plain; charset=UTF-8 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 --001a11c2e90cdf1f220500e743c9 Content-Type: text/html; charset=UTF-8
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
--001a11c2e90cdf1f220500e743c9-- --===============0813997036== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ___________________________________________________________________________________ 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 ___________________________________________________________________________________ --===============0813997036==--