From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/79091 Path: news.gmane.org!not-for-mail From: Wolfgang Schuster Newsgroups: gmane.comp.tex.context Subject: Re: [***SPAM***] Fonts problems with ConTeXt MKIV (LuaTeX) Date: Fri, 9 Nov 2012 09:17:12 +0100 Message-ID: <66CC6655-7D98-4698-89E5-35D853DC3070@gmail.com> References: <509BDBA1.7060005@yahoo.fr> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 (Mac OS X Mail 6.2 \(1499\)) Content-Type: text/plain; charset="windows-1252" Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1352449059 2968 80.91.229.3 (9 Nov 2012 08:17:39 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 9 Nov 2012 08:17:39 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Fri Nov 09 09:17:49 2012 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 1TWjmb-0000m8-FW for gctc-ntg-context-518@m.gmane.org; Fri, 09 Nov 2012 09:17:45 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 21B8B10293; Fri, 9 Nov 2012 09:17:34 +0100 (CET) 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 PSf31mQTrje3; Fri, 9 Nov 2012 09:17:26 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id B2008101FA; Fri, 9 Nov 2012 09:17:26 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id C4CBE101FA for ; Fri, 9 Nov 2012 09:17:25 +0100 (CET) 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 c+Uy6P28OZLK for ; Fri, 9 Nov 2012 09:17:16 +0100 (CET) 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 0269C101F7 for ; Fri, 9 Nov 2012 09:17:15 +0100 (CET) Original-Received: from mail-bk0-f41.google.com (mail-bk0-f41.google.com [209.85.214.41]) by filter1-utr.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id qA98HEuh028129 for ; Fri, 9 Nov 2012 09:17:15 +0100 Original-Received: by mail-bk0-f41.google.com with SMTP id jm1so1775472bkc.14 for ; Fri, 09 Nov 2012 00:17:14 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=content-type:mime-version:subject:from:in-reply-to:date :content-transfer-encoding:message-id:references:to:x-mailer; bh=TvTD73Nk7FMtzW9a+kiYsHL/5fSTeOS7bguq+v2PLes=; b=f3xANxUhwKRR0n8/dPgWQk6Dcnb8p9GPPClo25SWoDFV60D+oBeunVVXBpj54j3P/o 8s1k8h0PBKJYTAxkdRPD59Dw2BnOwmD2i8TRAp8mRV7KqK33NPJSPm3sW6atTISm0Z2t /oawrmxB0D4CFfOu7CjjmJCV0/TIgIZKc/wFSKCQTG7f+Wv8TOpgRL371URWYcq2Ex4L L7W4vQG76P2U15Hg+nHT9JR5LhpripH5mt01htELgTbSYTaZXoend0dl2VZCDV1DYeS2 BvJ5dcChlmfOuwGSfUjW0cuB32g7AijduTgWGyp/cYOesCU4S02DLthuz5UxjadgDdO4 3HdA== Original-Received: by 10.204.149.10 with SMTP id r10mr3241343bkv.61.1352449034350; Fri, 09 Nov 2012 00:17:14 -0800 (PST) Original-Received: from keima.localdomain (nrbg-4dbfb5bb.pool.mediaWays.net. [77.191.181.187]) by mx.google.com with ESMTPS id 9sm18345780bkq.13.2012.11.09.00.17.12 (version=TLSv1/SSLv3 cipher=OTHER); Fri, 09 Nov 2012 00:17:13 -0800 (PST) In-Reply-To: <509BDBA1.7060005@yahoo.fr> X-Mailer: Apple Mail (2.1499) X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=209.85.214.41; country=US; region=CA; city=Mountain View; postalcode=94043; latitude=37.4192; longitude=-122.0574; metrocode=807; areacode=650; http://maps.google.com/maps?q=37.4192,-122.0574&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 07IlkhePq - 5444b86826ac - 20121109 (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:79091 Archived-At: Am 08.11.2012 um 17:19 schrieb Patrick : > Dear all, > = > I have to use a special font (DIN) for my document. This font have a real= ly limited number of caracters. > = > Previously I was using ConTeXt MKII with no problems. After migrating to = ConTeXt MKiV the math formula and list doesn=92t work due to the font. It's= like the charset used for the formula and the list bullet are not availabl= e. I have not this issue with the same font with ConTeXt MKII. > = > The code used to load the font is not the same for the two version. With = MKIV I use the simplefonts module, with MKII I use typescript. Both code ar= e available below. > = > Do you have any idea how could I use DIN font with MKIV without breaking = math formula ? > = > Thanks in advance for any hint > = > Patrick > = > = > = > This is the code I use with MKIV: > = > \usemodule[simplefonts] > \definefontfeature[fakeitalic][default][slant=3D.25] > \setsansfont[din] Can you test the font with a complete minimal example like this (you can re= place the Ubuntu font with DIN). \usemodule[simplefonts] \setsansfont[Ubuntu] \setupbodyfont[ss] \starttext \input ward \startformula c^2 =3D a^2 + b^2 \stopformula \startitemize \startitem Item 1 \stopitem \startitem Item 2 \stopitem \startitem Item 3 \stopitem \stopitemize \stoptext > This is the code I use with MKII: > = > = > % Load the DIN font and set the typescript > \loadmapfile [texnansi-s-din.map] > = > \starttypescript [map] [gentium] [ec,texnansi,8r,t5,t2a,t2b,qx] > \loadmapfile [\typescriptthree-s-din.map] > \stoptypescript > = > \starttypescript [serif] [DIN] [texnansi] > = > \definefontsynonym[DIN-Black][texnansi-DIN-Black0][encoding=3Dtexnansi] > \definefontsynonym[DIN-Bold][texnansi-DIN-Bold0][encoding=3Dtexnansi] > \definefontsynonym[DIN-Light][texnansi-DIN-Light0][encoding=3Dtexnansi] > \definefontsynonym[DIN-Medium][texnansi-DIN-Medium0][encoding=3Dtexnansi] > \definefontsynonym[DIN-Regular][texnansi-DIN-Regular0][encoding=3Dtexnan= si] > \stoptypescript Are =93DIN-Black0=94, =93DIN-Bold0=94 etc. the file names for the font, in = this case simplefonts isn=92t able to find them because the search pattern don=92t look for such = names. Wolfgang ___________________________________________________________________________= ________ 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 ___________________________________________________________________________= ________