From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/38451 Path: news.gmane.org!not-for-mail From: "Thomas A. Schmitz" Newsgroups: gmane.comp.tex.context Subject: Re: symbols in luatex? Date: Fri, 4 Jan 2008 21:30:09 +0100 Message-ID: <6A7946E9-7A81-4115-A0A3-E6869CCF3D0A@uni-bonn.de> 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> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (Apple Message framework v915) Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1199478731 3346 80.91.229.12 (4 Jan 2008 20:32:11 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 4 Jan 2008 20:32:11 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Fri Jan 04 21:32:30 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 1JAtDR-0000i3-8h for gctc-ntg-context-518@m.gmane.org; Fri, 04 Jan 2008 21:32:29 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id AC93E1FB60; Fri, 4 Jan 2008 21:32:03 +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 12955-03-17; Fri, 4 Jan 2008 21:31:26 +0100 (CET) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 8D0AD1FB1D; Fri, 4 Jan 2008 21:31:26 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 8496C1FB1D for ; Fri, 4 Jan 2008 21:31:24 +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 12955-03-16 for ; Fri, 4 Jan 2008 21:30:51 +0100 (CET) Original-Received: from mailout10.sul.t-online.com (mailout10.sul.t-online.de [194.25.134.21]) by ronja.ntg.nl (Postfix) with ESMTP id 53CE01FAE5 for ; Fri, 4 Jan 2008 21:30:48 +0100 (CET) Original-Received: from fwd28.aul.t-online.de by mailout10.sul.t-online.com with smtp id 1JAtBm-0006fM-02; Fri, 04 Jan 2008 21:30:46 +0100 Original-Received: from mini (ZGWer4ZJQhosXD2eG5cCIWwW3nkWzA2lDgxD2p1rLsvCULvSTVw75uSgAFDfS5CgCT@[87.178.91.8]) by fwd28.aul.t-online.de with esmtp id 1JAtBC-0waF160; Fri, 4 Jan 2008 21:30:10 +0100 In-Reply-To: <115224fb0801040939x7e64728fq85d13efb08d3b150@mail.gmail.com> X-Mailer: Apple Mail (2.915) X-ID: ZGWer4ZJQhosXD2eG5cCIWwW3nkWzA2lDgxD2p1rLsvCULvSTVw75uSgAFDfS5CgCT@t-dialin.net X-TOI-MSGID: 1c972f13-7b5a-4f68-8f65-ca3397e34249 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:38451 Archived-At: 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. Thanks so much! Thomas ___________________________________________________________________________________ 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 ___________________________________________________________________________________