From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/58454 Path: news.gmane.org!not-for-mail From: Vyatcheslav Yatskovsky Newsgroups: gmane.comp.tex.context Subject: Re: How to use musical symbols from a font Date: Thu, 29 Apr 2010 22:53:22 +0300 Message-ID: <4BD9E3B2.3070306@gmail.com> References: 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 1272570821 30558 80.91.229.12 (29 Apr 2010 19:53:41 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 29 Apr 2010 19:53:41 +0000 (UTC) To: ntg-context@ntg.nl Original-X-From: ntg-context-bounces@ntg.nl Thu Apr 29 21:53:40 2010 connect(): No such file or directory 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 1O7Zno-0002TX-4t for gctc-ntg-context-518@m.gmane.org; Thu, 29 Apr 2010 21:53:40 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 53063C9B91; Thu, 29 Apr 2010 21:53: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 c4YqDHqBpFDe; Thu, 29 Apr 2010 21:53:36 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id BD5A6C9B59; Thu, 29 Apr 2010 21:53:36 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id B058BC9B59 for ; Thu, 29 Apr 2010 21:53:35 +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 xC+-yhKi+aIu for ; Thu, 29 Apr 2010 21:53:33 +0200 (CEST) Original-Received: from mail-bw0-f228.google.com (mail-bw0-f228.google.com [209.85.218.228]) by balder.ntg.nl (Postfix) with ESMTP id A7F8BC9B21 for ; Thu, 29 Apr 2010 21:53:33 +0200 (CEST) Original-Received: by bwz28 with SMTP id 28so15128338bwz.34 for ; Thu, 29 Apr 2010 12:53:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :user-agent:mime-version:to:subject:references:in-reply-to :content-type:content-transfer-encoding; bh=P8qaSGecQ7CjmMGyGnZskqQlXDYSwsrEifOJYSXak3I=; b=gfJmwVCaVpPuEd04D2Yz6XJWk+wGOcr1aSawgwsEjrozDqU7uHqjPtUNqPut2t2kmx NeqvtWcBsGDHTacz6Hnxp1dDSF9aSDVrIh4gYPKKo6rY/9/zVqJSI9Tl+kT9+B8PA5I+ j83XEEQJlytWRlo/upRdvzHl0+wXPmQ9UG72w= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; b=r3OAOne5TqsVY19aqmflsN5wzI/l45S29YHrDgXfA253j+haCPVA6cW8zwX8oWWf0D OMN9rlBghNoVAxftQLLKno+xWvKH1X/EOjQYIVSg06MR7WRQkpRkja4iCvCAYYEwXVOv dwnIeirEDrkT4+Jxm7tl+XleZVh1yhgtWO/Nw= Original-Received: by 10.204.5.140 with SMTP id 12mr6431598bkv.34.1272570813122; Thu, 29 Apr 2010 12:53:33 -0700 (PDT) Original-Received: from [10.0.22.59] ([194.242.119.74]) by mx.google.com with ESMTPS id 13sm451037bwz.7.2010.04.29.12.53.30 (version=TLSv1/SSLv3 cipher=RC4-MD5); Thu, 29 Apr 2010 12:53:31 -0700 (PDT) User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.9) Gecko/20100317 Thunderbird/3.0.4 In-Reply-To: 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:58454 Archived-At: Hi, Thanks, Willi, for the idea, but I cannot get it to work. My version of the script \starttext \definefontsynonym[Wingdings][Wingdings.ttf] \definesymbol[box][\getglyph{Wingdings}{\char113}] %\def\Check% % {{\tfa\symbol[box]}} \symbol[box] \stoptext gives the following error (I have Wingdings.ttf in my Windows/Fonts folder): !define font : forced type ttf of Wingdings not found !define font : font with name Wingdings is not found !define font : unknown font Wingdings, loading aborted ! Font \thedefinedfont=Wingdings.ttf at 12pt not loadable: metric data not found or bad. \relax \symbolicsizedfont ...cale \scaledfontsize \relax \thedefinedfont \getglyph #1#2->{\symbolicfont {#1} \doifnumberelse {#2}\char \donothing #2} \dodosymbol ...bol \csname \??ss :#1:#2\endcsname \relax }\relax \donormalsymbol ...bol \redosymbol \currentsymbol \fi \fi \stoptext l.8 \stoptext ? > > The approach to using symbols could be done along the following line: > > > \definefontsynonym[Dingbats][uzdr] > \definesymbol[box][\getglyph{Dingbats}{\char113}] > \def\Check% > {{\tfa\symbol[box]}} -- Best Regards, Vyatcheslav Yatskovsky ___________________________________________________________________________________ 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 ___________________________________________________________________________________