From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/38457 Path: news.gmane.org!not-for-mail From: Wolfgang Schuster Newsgroups: gmane.comp.tex.context Subject: Re: symbols in luatex? Date: Sat, 5 Jan 2008 10:00:21 +0100 Message-ID: <20080105100021.771d68f7.schuster.wolfgang@googlemail.com> References: <5C1F513E-3C82-4BBB-A80A-0D2CB8D61498@uni-bonn.de> <477B78B1.8010804@wxs.nl> <0F6D6146-33BE-4AD0-8EEF-D33D6629E2BB@uni-bonn.de> <477E5B93.6080903@wxs.nl> <16693EDC-E897-4EDE-A2E7-084C7BA32B34@uni-bonn.de> <115224fb0801040939x7e64728fq85d13efb08d3b150@mail.gmail.com> <6A7946E9-7A81-4115-A0A3-E6869CCF3D0A@uni-bonn.de> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1199523704 10236 80.91.229.12 (5 Jan 2008 09:01:44 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 5 Jan 2008 09:01:44 +0000 (UTC) To: ntg-context@ntg.nl Original-X-From: ntg-context-bounces@ntg.nl Sat Jan 05 10:02:04 2008 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from ronja.vet.uu.nl ([131.211.172.88] helo=ronja.ntg.nl) by lo.gmane.org with esmtp (Exim 4.50) id 1JB4up-0003ur-Bb for gctc-ntg-context-518@m.gmane.org; Sat, 05 Jan 2008 10:02:03 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 557321FC2F; Sat, 5 Jan 2008 10:01:40 +0100 (CET) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 08883-02-3; Sat, 5 Jan 2008 10:01:02 +0100 (CET) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 072171FBC6; Sat, 5 Jan 2008 10:01:02 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 3C5721FBFE for ; Sat, 5 Jan 2008 10:01:00 +0100 (CET) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 08593-02-2 for ; Sat, 5 Jan 2008 10:00:26 +0100 (CET) Original-Received: from fg-out-1718.google.com (fg-out-1718.google.com [72.14.220.156]) by ronja.ntg.nl (Postfix) with ESMTP id 815F31FB87 for ; Sat, 5 Jan 2008 10:00:26 +0100 (CET) Original-Received: by fg-out-1718.google.com with SMTP id e12so3955644fga.8 for ; Sat, 05 Jan 2008 01:00:26 -0800 (PST) Original-Received: by 10.86.100.7 with SMTP id x7mr17696823fgb.78.1199523625586; Sat, 05 Jan 2008 01:00:25 -0800 (PST) Original-Received: from rover ( [84.149.111.41]) by mx.google.com with ESMTPS id 3sm19797599fge.7.2008.01.05.01.00.24 (version=SSLv3 cipher=OTHER); Sat, 05 Jan 2008 01:00:24 -0800 (PST) In-Reply-To: <6A7946E9-7A81-4115-A0A3-E6869CCF3D0A@uni-bonn.de> X-Mailer: Sylpheed 2.4.8 (GTK+ 2.10.14; i686-pc-mingw32) X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.9 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 X-Virus-Scanned: amavisd-new at ntg.nl Xref: news.gmane.org gmane.comp.tex.context:38457 Archived-At: On Fri, 4 Jan 2008 21:30:09 +0100 "Thomas A. Schmitz" wrote: > > On Jan 4, 2008, at 6:39 PM, Wolfgang Schuster wrote: > > > The following should work. > > > > % engine=luatex > > > > \definecharacter anglebracketleft \char"2329 > > \definecharacter anglebracketright \char"232A > > > > \starttext > > > > text \anglebracketleft text\anglebracketright\ text > > > > \stoptext > > > > Wolfgang > > On Jan 4, 2008, at 7:42 PM, Hans Hagen wrote: > > > > \definedfont[name:TeXGyreHeros-Regular] \otfchar{uni0323} % 803 ? > > Hans, Wolfgang, > > thanks a lot! Wolfgang's approach works immediately. \otfchar doesn't > seem to work, but I could combine your suggestion with Wolfgang's and > now have > > {\bgroup\definedfont[name:TeXGyreHeros-Regular]\char"2329\egroup} > > Cool! Without fiddling with map files and encodings, I can take glyphs > from whatever OTF font I want. There is a better font if you need only symbols, choose the "Unicode Symbols" link on the following page. http://users.teilar.gr/~g1951d/ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________