From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/64522 Path: news.gmane.org!not-for-mail From: "Verhaag, G.C.H.M." Newsgroups: gmane.comp.tex.context Subject: Re: Minimal ConTeXt and texfont! Date: Tue, 14 Dec 2010 14:06:16 +0100 Message-ID: <4D076BC8.5050105@ziggo.nl> References: <4D05E6F1.9080807@ziggo.nl> <4D062BDD.2040601@ziggo.nl> <4D0743A7.5000103@ziggo.nl> <30BEB349-AEB2-4B35-9E6C-E8F5B3479CC2@gmail.com> <4D074CC3.5070600@ziggo.nl> <87bp4oa5uj.fsf@universe.krase.net> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; Format="flowed" Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1292331811 24595 80.91.229.12 (14 Dec 2010 13:03:31 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 14 Dec 2010 13:03:31 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Tue Dec 14 14:03:27 2010 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([195.12.62.10]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1PSUXN-0008T5-T2 for gctc-ntg-context-518@m.gmane.org; Tue, 14 Dec 2010 14:03:25 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 53792CA8E5; Tue, 14 Dec 2010 14:03: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 m+yW-9UdNtw3; Tue, 14 Dec 2010 14:03:22 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 3A5F3CA8E0; Tue, 14 Dec 2010 14:03:22 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id ACCE8CA8E0 for ; Tue, 14 Dec 2010 14:03:21 +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 C028wAhEE2cX for ; Tue, 14 Dec 2010 14:03:09 +0100 (CET) Original-Received: from filter3-nij.mf.surf.net (filter3-nij.mf.surf.net [195.169.124.154]) by balder.ntg.nl (Postfix) with ESMTP id DA0AACA8DA for ; Tue, 14 Dec 2010 14:03:09 +0100 (CET) Original-Received: from smtpq1.tb.mail.iss.as9143.net (smtpq1.tb.mail.iss.as9143.net [212.54.42.164]) by filter3-nij.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id oBED380e021376 for ; Tue, 14 Dec 2010 14:03:09 +0100 Original-Received: from [212.54.42.134] (helo=smtp3.tb.mail.iss.as9143.net) by smtpq1.tb.mail.iss.as9143.net with esmtp (Exim 4.69) (envelope-from ) id 1PSUX5-00080G-Ul for ntg-context@ntg.nl; Tue, 14 Dec 2010 14:03:07 +0100 Original-Received: from 541c2cdc.cm-5-5a.dynamic.ziggo.nl ([84.28.44.220]) by smtp3.tb.mail.iss.as9143.net with esmtp (Exim 4.69) (envelope-from ) id 1PSUX1-0003VW-PK for ntg-context@ntg.nl; Tue, 14 Dec 2010 14:03:03 +0100 User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.8) Gecko/20050513 Debian/1.7.8-1 X-Accept-Language: en In-Reply-To: <87bp4oa5uj.fsf@universe.krase.net> X-ZiggoSMTP-MailScanner-Information: Please contact the ISP for more information X-ZiggoSMTP-MailScanner-ID: 1PSUX1-0003VW-PK X-ZiggoSMTP-MailScanner: Found to be clean X-ZiggoSMTP-MailScanner-SpamCheck: geen spam, SpamAssassin (niet cached, score=-4.322, vereist 5, autolearn=not spam, ALL_TRUSTED -1.80, BAYES_00 -2.60, TW_XM 0.08) X-ZiggoSMTP-MailScanner-From: verhaaggchm@ziggo.nl X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=212.54.42.164; country=NL; region=05; city=Maastricht; latitude=50.8500; longitude=5.6833; http://maps.google.com/maps?q=50.8500,5.6833&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 0dDH138Hw - a2943824e951 - 20101214 X-Scanned-By: CanIt (www . roaringpenguin . com) on 195.169.124.154 X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.12 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: ntg-context-bounces@ntg.nl Errors-To: ntg-context-bounces@ntg.nl Xref: news.gmane.org gmane.comp.tex.context:64522 Archived-At: Marco Pessotto wrote: >Mojca Miklavec writes: > > > >>On Tue, Dec 14, 2010 at 11:53, Verhaag, G.C.H.M. wrote: >> >> >>>Hi, >>> >>>I've put the ttf-file into the texmf-fonts/fonts/data directory, without the >>>subdirectories, right? >>> >>> >>You either have to put the font into >> texmf-fonts/fonts/truetype/anywhere >>or >> texmf-fonts/fonts/data/anywhere >> >>(You can use texmf-fonts, texmf-local, I think that also ~/texmf would work.) >> >>The first folder fonts/truetype is appropriate for TrueType fonts only >>and is a more general location inside TDS (valid for other >>distributions as well). Any font-related file may go to fonts/data. >> >>You forgot the "fonts" subfolder in your earlier message. >> >>Mojca >> >> >> > >Try this sequece: > >copy the .ttf in /tex/texmf-fonts/fonts/truetype/anywhere > >mktexlsr > >mtxrun --script fonts --reload > >context --generate > >and finally check with > >mtxrun --script font --list if it appears in the list > >In my experience (i.e., if i recall correctly) mktexlsr is needed even >if you use only mkiv. > >Bests > > > Hi, Well I've put my ttf into: texmf-fonts/fonts/data, and entered the following sequence of commands: mktexlsr mtxrun --scripts fonts --reload context --generate Then I checked using the following command: mtxrun --script fonts --list --all --pattern=*snow* which yielded the following output: plymouthrocksnowdusted plymouthrocksnowdusted PlymouthSnowDusted.ttf plymouthrocksnowdustednormal plymouthrocksnowdusted PlymouthSnowDusted.ttf So this seams to be okay! Next I used the proposed context file: \definefont[snowdust][file:snowdusted*default] \starttext \snowdust SnowDusted \stoptext This however gives the following output (only part of it!): ... bodyfont : 12pt rm is loaded language : language en is active systems : begin file test at line 2 define fonts > font with name snowdusted is not found define fonts > unknown font snowdusted, loading aborted define fonts > unable to define snowdusted as \**snowdust** pages > flushing realpage 1, userpage 1, subpage 1 systems : end file test at line 4 system : cont-err loaded ... What does the file-parameter do? I'm somehow lost now, sorry! Regards, Gerard -- Afz.: Geert C.H.M. Verhaag St. Jorisstraat 29 5954 AN Beesel NETHERLANDS Tel.: +31-(0)774742493, E-mail: verhaaggchm@ziggo.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 ___________________________________________________________________________________