From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/82184 Path: news.gmane.org!not-for-mail From: Hans Hagen Newsgroups: gmane.comp.tex.context Subject: Re: Offset MP text with font change Date: Mon, 29 Apr 2013 01:00:10 +0200 Message-ID: <517DA9FA.5030007@wxs.nl> References: <20130428175619.GE3895@homerow> <92448D4A-0F74-442A-8F2F-96BF0175C9E9@web.de> <20130428200347.GG3895@homerow> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="windows-1252"; Format="flowed" Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1367190040 8554 80.91.229.3 (28 Apr 2013 23:00:40 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 28 Apr 2013 23:00:40 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Mon Apr 29 01:00:44 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 1UWaaK-0004bZ-2l for gctc-ntg-context-518@m.gmane.org; Mon, 29 Apr 2013 01:00:44 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 56757101E7; Mon, 29 Apr 2013 01:00:43 +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 wM+TgjerHkpS; Mon, 29 Apr 2013 01:00:41 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id 35617101E4; Mon, 29 Apr 2013 01:00:41 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 93B32101E4 for ; Mon, 29 Apr 2013 01:00:39 +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 8gtoESGcTYbU for ; Mon, 29 Apr 2013 01:00:38 +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 16734101E0 for ; Mon, 29 Apr 2013 01:00:37 +0200 (CEST) Original-Received: from smtp.ziggozakelijk.nl (D57D1DA2.static.ziggozakelijk.nl [213.125.29.162]) by filter1-utr.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id r3SN0acu003143 for ; Mon, 29 Apr 2013 01:00:37 +0200 X-Default-Received-SPF: pass (skip=loggedin (res=PASS)) x-ip-name=10.100.1.103; Original-Received: from [10.100.1.103] (unverified [10.100.1.103]) by pragma-net.nl (SurgeMail 6.3c2) with ESMTP (TLS) id 1045-1713362 for multiple; Mon, 29 Apr 2013 01:00:35 +0200 User-Agent: Mozilla/5.0 (Windows NT 6.2; rv:17.0) Gecko/20130328 Thunderbird/17.0.5 In-Reply-To: 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: 07Jtz0A97 - 6b7fee77f25a - 20130429 (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:82184 Archived-At: On 4/29/2013 12:42 AM, Keith J. Schultz wrote: > Hi Marco, All, > > agreed you can avoid the spaces by putting the usetypescript in the "prea= mble", > but should not the loading of a typescript not bleed any spaces! it's not the typescript that has the space but the file ... a typescript = file can have more than typescripts like definitions, documentation, etc. In the past, one *always* had to load a typescript file explicitly but = at some point - out of convenience - the \setupbodyfont mechanism has = been extended to automatically load a typescriptfile with the same name = as the requested bodyfont. So, it's the price paid for convenience. And, = in most cases a bodyfont is not initialized in a \hbox. > regards > Keith. > > Am 28.04.2013 um 22:03 schrieb Marco Patzer : > >> On 2013=9604=9628 Keith J. Schultz wrote: >> >>> can someone explain to me why loading a file/typescript is >>> producing spaces???? >> >> The typescripts themselves are full of spaces and new lines. And you >> really want those spaces for readability. TeX usually squashes >> multiple spaces into one, but spaces still matter in many >> circumstances, e.g. within an \hbox. >> >>> If the code that does load the file/s produced spaces for >>> debugging purposes that is fine, but should not they actually >>> going somewhere else? >> >> There's no code that produces spaces. The spaces are in the >> typescript file. >> >>> Personally, I find it a bug if loading fonts or other files >>> produces extraneous characters! >> >> This is usually not a problem, since typescripts are loaded in the >> setup area. Even when loaded within the text area the spaces don't >> cause problems. Loading an entire file within a box, like I did in >> the example, is an unusual edge-case and there's a simple >> workaround, see Wolfgangs answer. >> >> Except if there's an easy fix for that, I'm personally fine knowing >> where the spaces are coming from and how to prevent them, which I do >> now. >> > _________________________________________________________________________= __________ > 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-co= ntext > webpage : http://www.pragma-ade.nl / http://tex.aanhet.net > archive : http://foundry.supelec.fr/projects/contextrev/ > wiki : http://contextgarden.net > _________________________________________________________________________= __________ > -- = ----------------------------------------------------------------- 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 t= he Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-cont= ext webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________= ________