From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/56080 Path: news.gmane.org!not-for-mail From: "Thomas A. Schmitz" Newsgroups: gmane.comp.tex.context Subject: Re: xml entities and trailing space Date: Tue, 9 Feb 2010 19:04:27 +0100 Message-ID: References: <4B71A05F.7000303@wxs.nl> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (Apple Message framework v1077) Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1265738694 7892 80.91.229.12 (9 Feb 2010 18:04:54 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 9 Feb 2010 18:04:54 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Tue Feb 09 19:04:51 2010 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([195.12.62.10]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1NeuSA-0002bS-Gy for gctc-ntg-context-518@m.gmane.org; Tue, 09 Feb 2010 19:04:50 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 1FCEDC9DB7; Tue, 9 Feb 2010 19:06:30 +0100 (CET) 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 MDyXwwrCxc0N; Tue, 9 Feb 2010 19:06:27 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 9A4CBC9DB9; Tue, 9 Feb 2010 19:06:27 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id C65FDC9DB9 for ; Tue, 9 Feb 2010 19:06:25 +0100 (CET) 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 99GNfysNFpqz for ; Tue, 9 Feb 2010 19:06:23 +0100 (CET) Original-Received: from uni-bonn.de (mail.uni-bonn.de [131.220.15.113]) by balder.ntg.nl (Postfix) with ESMTP id 8C1EFC9DB7 for ; Tue, 9 Feb 2010 19:06:23 +0100 (CET) Original-Received: from [87.178.69.170] (account tschmit1@uni-bonn.de HELO [192.168.0.2]) by fe2.uni-bonn.de (CommuniGate Pro SMTP 5.2.12) with ESMTPA id 32413699 for ntg-context@ntg.nl; Tue, 09 Feb 2010 19:04:42 +0100 In-Reply-To: <4B71A05F.7000303@wxs.nl> X-Mailer: Apple Mail (2.1077) X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.12 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: ntg-context-bounces@ntg.nl Errors-To: ntg-context-bounces@ntg.nl Xref: news.gmane.org gmane.comp.tex.context:56080 Archived-At: On Feb 9, 2010, at 6:50 PM, Hans Hagen wrote: > this is not that easy as effectively > > A&textbar; B > > becomes > > A\textbar B > > and tex will normally gobble that space as part of parsing the input and changing that aspect will not happen > > chicken or egg so use: > > \xmlsetentity{textbar}{\textbar{}} > > > Hans OK, will do that - I was just curious because the behavior changed a while ago. I have older pdfs where the space after such entities was preserved. But you're right, it's no big deal. Thomas ___________________________________________________________________________________ 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 ___________________________________________________________________________________