From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/82276 Path: news.gmane.org!not-for-mail From: Wolfgang Schuster Newsgroups: gmane.comp.tex.context Subject: Re: extra line after switchtobodyfont Date: Fri, 3 May 2013 09:43:45 +0200 Message-ID: <05F640D1-3776-48FA-BBD9-95BA99812649@gmail.com> References: <6E8C04A1-A021-43C9-AF3C-708F3F46A378@uva.nl> <88028BA1-030E-4283-9679-D5ACE3E50F8F@uva.nl> <1CABF059-27E5-4025-ADCE-768AFF363BC6@gmail.com> <758AC4DD-17D4-4367-8F62-881240B22536@uva.nl> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 (Mac OS X Mail 6.3 \(1503\)) Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1367567046 17950 80.91.229.3 (3 May 2013 07:44:06 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 3 May 2013 07:44:06 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Fri May 03 09:44:07 2013 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([195.12.62.10]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1UYAey-0000lT-U1 for gctc-ntg-context-518@m.gmane.org; Fri, 03 May 2013 09:44:04 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 2FB44101EA; Fri, 3 May 2013 09:44:04 +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 x54sBb9Nkaeu; Fri, 3 May 2013 09:44:02 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id BF356101E5; Fri, 3 May 2013 09:44:02 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 9E226101E5 for ; Fri, 3 May 2013 09:44:01 +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 mkAOXdVxji3s for ; Fri, 3 May 2013 09:44:00 +0200 (CEST) Original-Received: from filter4-til.mf.surf.net (filter4-til.mf.surf.net [194.171.167.220]) by balder.ntg.nl (Postfix) with ESMTP id DC894101E4 for ; Fri, 3 May 2013 09:43:50 +0200 (CEST) Original-Received: from mail-ea0-x232.google.com (mail-ea0-x232.google.com [IPv6:2a00:1450:4013:c01::232]) by filter4-til.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id r437hnNh005840 for ; Fri, 3 May 2013 09:43:50 +0200 Original-Received: by mail-ea0-f178.google.com with SMTP id m14so634291eaj.9 for ; Fri, 03 May 2013 00:43:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:content-type:mime-version:subject:from:in-reply-to:date :content-transfer-encoding:message-id:references:to:x-mailer; bh=J20bccNfPL85lvTIHAqUuyYQf0V+ug8tm5knidcaVrs=; b=08r5lde1ATlrui5T+0qhvjrGVFRETu1jAC09bRc46XqnWKoKhw2VzDEy1AWayIJ/VI 9mBU7p295Bc9d5lR062fDXvB9RGEjynj6rllq39Hv2rLUvoSitbWmpLMVqCLrFvrqkQL ZDy7P7luYN/qCedTo07Kj6q5Old5MmOJoTCthVXRArYjV8EIR2MrPLR/MmU/rNO9G9h8 FEhDHiM5HyiUtltymw3MPhiuZRwS/wn1iw+W1Qkh+oOKwkPhsCwwZqdhOQFfUkTZFlDm rGgkPpN++1aAhn1ieojCEpm+fg3JSsjet2IPw6ACAXHIbooXK5NkNIkDI0ceuWV2zauj 5Dkw== X-Received: by 10.14.111.5 with SMTP id v5mr15486715eeg.27.1367567029895; Fri, 03 May 2013 00:43:49 -0700 (PDT) Original-Received: from keima.localdomain (nrbg-4dbf8b3e.pool.mediaWays.net. [77.191.139.62]) by mx.google.com with ESMTPSA id bk42sm14173168eeb.3.2013.05.03.00.43.48 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 03 May 2013 00:43:49 -0700 (PDT) In-Reply-To: <758AC4DD-17D4-4367-8F62-881240B22536@uva.nl> X-Mailer: Apple Mail (2.1503) X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=2a00:1450:4013:c01::232; country=IE X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 0VJvjHO70 - 5e7316d0b54b - 20130503 (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:82276 Archived-At: Am 03.05.2013 um 09:34 schrieb "Meer, H. van der" : > There is more to it then a preference for \crlf, typescript loading introduces a lot of spurious white, that not always can be made to disappear. I tracked it down to a macro in type-ini.mkvi: > > \def\font_typescript_process_typescript_file_and_store > {*\expandafter\let\expandafter\t_font_typescripts\csname\??typescriptfiles\currenttypefile\endcsname > A\ifx\t_font_typescripts\relax > B\font_typescript_process_typescript_store_indeed > C\fi > D\the\t_font_typescripts} > > The ABCD*'s were added to see what happens. See the screen shot from one of my tests (
results in \crlf but does not sit between text and fontswitch \switchtobodyfont). My guess is that the token register \t_font_typescripts is the source of the spaces, but I am not further than that. I have already mailed Hans Hagen about these findings. The spaces in the output come from the line ending after the \definefontsynonym entry in the typescript and extra line in your other example from the empty lines between the typescript blocks and not from the macro above. \starttext A\crlf B\crlf \stoptext 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 ___________________________________________________________________________________