From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/53210 Path: news.gmane.org!not-for-mail From: "Thomas A. Schmitz" Newsgroups: gmane.comp.tex.context Subject: Re: virtual fonts in luatex? Date: Thu, 1 Oct 2009 10:22:05 +0200 Message-ID: <83B4C3B9-9B22-4F21-A158-801A620B577D@uni-bonn.de> References: <4AC45EBA.5070103@elvenkind.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (Apple Message framework v1076) Content-Type: text/plain; charset="us-ascii"; Format="flowed"; DelSp="yes" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1254385362 5018 80.91.229.12 (1 Oct 2009 08:22:42 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 1 Oct 2009 08:22:42 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Thu Oct 01 10:22:35 2009 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.50) id 1MtGvr-0001B0-Ao for gctc-ntg-context-518@m.gmane.org; Thu, 01 Oct 2009 10:22:35 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id B99EEC9B9E; Thu, 1 Oct 2009 10:22:33 +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 TPVTEF-i4n7p; Thu, 1 Oct 2009 10:22:33 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id A8208C9B1A; Thu, 1 Oct 2009 10:22:29 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 7C74CC9B1A for ; Thu, 1 Oct 2009 10:22:27 +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 h+WWNFw9Ni2U for ; Thu, 1 Oct 2009 10:22:23 +0200 (CEST) Original-Received: from uni-bonn.de (mail.uni-bonn.de [131.220.15.113]) by balder.ntg.nl (Postfix) with ESMTP id B0B4DC9A92 for ; Thu, 1 Oct 2009 10:22:22 +0200 (CEST) Original-Received: from [87.178.75.4] (account tschmit1@uni-bonn.de HELO [192.168.0.2]) by fe2.uni-bonn.de (CommuniGate Pro SMTP 5.2.12) with ESMTPA id 24436619 for ntg-context@ntg.nl; Thu, 01 Oct 2009 10:22:22 +0200 In-Reply-To: <4AC45EBA.5070103@elvenkind.com> X-Mailer: Apple Mail (2.1076) 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:53210 Archived-At: Taco, thanks for your thoughts on that! On Oct 1, 2009, at 9:48 AM, Taco Hoekwater wrote: >> >> Now I would like to remap the exclam character to this dotbelowcom. > > If it was me, I would go for an active character, as that seems the > most > straightforward solution. > Here's what Hans wrote about a year ago :-) > no, active chars are a pain ... because they need to adapt to all kind > of situations then, i'm glad that i got rid of the active : cum suis > > of course we can add a new core-spa feature that remaps chars (kind of > like french spacing) My problem would be that I need the ! active only inside the macro assignment, so that would demand something along the \scantokens macro, and I have never quite understood how that works... >> Again, no problem: with a fea file, I can write a sub rule >> >> sub exclam by dotbelowcomb > > It is better to forget about fea files alltogether. Even when they > actually work, the interface is ugly. > I agree, but I found them quite useful for some of the crazy stuff that I'm doing with fonts... Maybe I'll write a simple lua gsub function and pass all text through that. > Mkiv has an interface for virtual math, but I am not sure whether that > also works for text fonts (not do I know how, if so). If it does not > yet but could be made to do so, then that would be a very useful > extension to the font fallbacks... > I agree :-) Thanks 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 ___________________________________________________________________________________