From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/82390 Path: news.gmane.org!not-for-mail From: Hans Hagen Newsgroups: gmane.comp.tex.context Subject: Re: extra line after switchtobodyfont Date: Tue, 07 May 2013 22:11:15 +0200 Message-ID: <51895FE3.3000603@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> 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 1367957513 11055 80.91.229.3 (7 May 2013 20:11:53 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 7 May 2013 20:11:53 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Tue May 07 22:11:54 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 1UZoEs-0005M2-Aj for gctc-ntg-context-518@m.gmane.org; Tue, 07 May 2013 22:11:54 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id BD0E7101EF; Tue, 7 May 2013 22:11:53 +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 alepPCUemtqe; Tue, 7 May 2013 22:11:51 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id CBE09101E7; Tue, 7 May 2013 22:11:51 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id C5EDF101E7 for ; Tue, 7 May 2013 22:11:50 +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 2D5f0foam+Ox for ; Tue, 7 May 2013 22:11:49 +0200 (CEST) Original-Received: from filter5-til.mf.surf.net (filter5-til.mf.surf.net [194.171.167.221]) by balder.ntg.nl (Postfix) with ESMTP id CA800101E0 for ; Tue, 7 May 2013 22:11:39 +0200 (CEST) Original-Received: from smtp.ziggozakelijk.nl (D57D1DA2.static.ziggozakelijk.nl [213.125.29.162]) by filter5-til.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id r47KBdAs015876 for ; Tue, 7 May 2013 22:11:39 +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 2500-1713362 for ; Tue, 07 May 2013 22:11:39 +0200 User-Agent: Mozilla/5.0 (Windows NT 6.2; WOW64; rv:17.0) Gecko/20130328 Thunderbird/17.0.5 In-Reply-To: <26A3A6D7-84C8-48B6-BD0F-A9999B71F4CF@gmail.com> 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: 0WJx8bDTT - 3eb0eabe6d20 - 20130507 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) on 194.171.167.221 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:82390 Archived-At: 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 ----------------------------------------------------------------- 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 ___________________________________________________________________________________