From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/82327 Path: news.gmane.org!not-for-mail From: Wolfgang Schuster Newsgroups: gmane.comp.tex.context Subject: Re: extra line after switchtobodyfont Date: Sat, 4 May 2013 18:59:20 +0200 Message-ID: <26A3A6D7-84C8-48B6-BD0F-A9999B71F4CF@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> <05F640D1-3776-48FA-BBD9-95BA99812649@gmail.com> <78CE48A1-76CA-4C19-939C-29C70D84EC25@uva.nl> <21E2DA1C-8363-4E48-A11C-36CA3DDEC5D7@umich.edu> 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 1367686777 1088 80.91.229.3 (4 May 2013 16:59:37 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 4 May 2013 16:59:37 +0000 (UTC) Cc: Aditya Mahajan To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Sat May 04 18:59:38 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 1UYfo9-0005on-Mo for gctc-ntg-context-518@m.gmane.org; Sat, 04 May 2013 18:59:37 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 04CC9101EB; Sat, 4 May 2013 18:59:37 +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 TyTq+y-anevf; Sat, 4 May 2013 18:59:35 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id 15CF6101E5; Sat, 4 May 2013 18:59:35 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 19CA7101E5 for ; Sat, 4 May 2013 18:59:33 +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 LOffli02sw2u for ; Sat, 4 May 2013 18:59:32 +0200 (CEST) Original-Received: from filter1-utr.mf.surf.net (filter1-utr.mf.surf.net [195.169.124.152]) by balder.ntg.nl (Postfix) with ESMTP id 3FF98101E4 for ; Sat, 4 May 2013 18:59:22 +0200 (CEST) Original-Received: from mail-ea0-x22d.google.com (mail-ea0-x22d.google.com [IPv6:2a00:1450:4013:c01::22d]) by filter1-utr.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id r44GxLYY010896 for ; Sat, 4 May 2013 18:59:21 +0200 Original-Received: by mail-ea0-f173.google.com with SMTP id d10so1186179eaj.32 for ; Sat, 04 May 2013 09:59:21 -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 :cc:content-transfer-encoding:message-id:references:to:x-mailer; bh=TDB8R/An5ay+7N6ip1ZjUgNyFc4karAjyJaZdTMTk9g=; b=p5O/5GsJrWSAnPDsxlqLHvXDJc7TUffHHDfT7ARmi20Wldt/V7SAr+vU8GiJRkEPz3 DjmXNTuZ679alMyPJud0SRN6eMzsCGvkN2OQZx5dVIfZ5tcNJB1bisjhK570/wJP3/WE r47a8KnGGsltsPF2xIjbmMU3uHtaXwPyxveKRHkNVOlZo3+8T0zZTyT66Msk0T1f9Y2m g7KWpr1elXPddFhg/q8RQVIiBe1mi3XslDBk/thmcBw6wgt+kRPAeglmfAu8xCjQ+s1k myq7JbIWDuIwfrsrJMlESSSxuL2oyfhBmQemQ3oz6SIyicSzeC0bV+ly4hJpAuODyDm7 B1Nw== X-Received: by 10.14.127.5 with SMTP id c5mr25907811eei.45.1367686761184; Sat, 04 May 2013 09:59:21 -0700 (PDT) Original-Received: from keima.localdomain (nrbg-4dbfb89b.pool.mediaWays.net. [77.191.184.155]) by mx.google.com with ESMTPSA id k43sm22719777een.2.2013.05.04.09.59.20 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sat, 04 May 2013 09:59:20 -0700 (PDT) In-Reply-To: <21E2DA1C-8363-4E48-A11C-36CA3DDEC5D7@umich.edu> X-Mailer: Apple Mail (2.1503) X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=2a00:1450:4013:c01::22d; country=IE X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 07JvQXlMa - f02894a34441 - 20130504 (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:82327 Archived-At: 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 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 ___________________________________________________________________________________