From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/82393 Path: news.gmane.org!not-for-mail From: Hans Hagen Newsgroups: gmane.comp.tex.context Subject: Re: extra line after switchtobodyfont Date: Wed, 08 May 2013 01:29:19 +0200 Message-ID: <51898E4F.9060703@wxs.nl> 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> <05F640D1-3776-48FA-BBD9-95BA99812649@gmail.com> <78CE48A1-76CA-4C19-939C-29C70D84EC25@uva.nl> <21E2DA1C-8363-4E48-A11C-36CA3DDEC5D7@umich.edu> <26A3A6D7-84C8-48B6-BD0F-A9999B71F4CF@gmail.com> <51895FE3.3000603@wxs.nl> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; Format="flowed" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1367969401 31683 80.91.229.3 (7 May 2013 23:30:01 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 7 May 2013 23:30:01 +0000 (UTC) To: ntg-context@ntg.nl Original-X-From: ntg-context-bounces@ntg.nl Wed May 08 01:30:02 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 1UZrKb-0004yF-D0 for gctc-ntg-context-518@m.gmane.org; Wed, 08 May 2013 01:30:01 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 6ACA2101F1; Wed, 8 May 2013 01:30:00 +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 cK7DQjv5KCas; Wed, 8 May 2013 01:29:58 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id 0A710101E7; Wed, 8 May 2013 01:29:58 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id C6497101E7 for ; Wed, 8 May 2013 01:29:56 +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 YdYDEz8QtUKK for ; Wed, 8 May 2013 01:29:55 +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 F0077101E0 for ; Wed, 8 May 2013 01:29:44 +0200 (CEST) Original-Received: from smtp.ziggozakelijk.nl (D57D1DA2.static.ziggozakelijk.nl [213.125.29.162]) by filter4-ams.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id r47Nr3RG022197 for ; Wed, 8 May 2013 01:53:03 +0200 X-Default-Received-SPF: pass (skip=loggedin (res=PASS)) x-ip-name=10.100.1.104; Original-Received: from [10.100.1.104] (unverified [10.100.1.104]) by pragma-net.nl (SurgeMail 6.3c2) with ESMTP id 2516-1713362 for ; Wed, 08 May 2013 01:29:44 +0200 User-Agent: Mozilla/5.0 (Windows NT 6.2; WOW64; rv:17.0) Gecko/20130328 Thunderbird/17.0.5 In-Reply-To: <51895FE3.3000603@wxs.nl> X-Authenticated-User: hagen@controller-9 X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=213.125.29.162; country=NL; region=15; city=Zwolle; latitude=52.5058; longitude=6.0858; http://maps.google.com/maps?q=52.5058,6.0858&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 01JxbR3cP - cffb8bf37cf7 - 20130508 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) on 192.87.102.72 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:82393 Archived-At: On 5/7/2013 10:11 PM, Hans Hagen wrote: > On 5/4/2013 6:59 PM, Wolfgang Schuster wrote: >> >> Am 04.05.2013 um 09:21 schrieb Aditya Mahajan : >> >>> On 2013-05-03, at 7:36 PM, "Meer, H. van der" >>> wrote: >>> >>>> Seems finally solved (sigh). I cleaned out all files loading >>>> typescripts on the fly. >>>> - typescript macros ending in ] at the end of a line have now ]% at >>>> the end of the line >>>> - empty lines have been removed for clarity >>>> - all files now have \endinput at the end. >>>> >>>> The files changed fit in a 54KB zip and I can send them if >>>> Hans/Wolfgang/.. wants to incorporate them in the next beta. >>> >>> I haven't followed this thread in detail, but an alternative is to >>> redefine \starttypescript etc. to use a different catcode regime so >>> that new lines and spaces are ignores (similar to >>> \starttexdefinition, etc) >> >> >> A better method is to ignore the endlinechar when typescript files are >> loaded. >> >> \newcount\savedendlinechar >> >> \starttext >> >> Line 1\crlf >> \savedendlinechar\endlinechar \endlinechar\minusone >> \switchtobodyfont[pagella] >> \endlinechar\savedendlinechar >> Line 2 >> >> \stoptext > > in fact, that should happen automatically but maybe i messed up something (1) i adapted \loadfoundtypescriptfile (order of things, more robust) (2) i adapted type-imp-pagella (had series of two defs per line which introduced the spaces) ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com | www.pragma-pod.nl ----------------------------------------------------------------- ___________________________________________________________________________________ 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 ___________________________________________________________________________________