From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/52875 Path: news.gmane.org!not-for-mail From: Wolfgang Schuster Newsgroups: gmane.comp.tex.context Subject: \definefontfeature (was: disabling font features with xetex) Date: Sat, 12 Sep 2009 16:53:25 +0200 Message-ID: References: <4AAB9925.4030305@wxs.nl> 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 1252767238 27286 80.91.229.12 (12 Sep 2009 14:53:58 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 12 Sep 2009 14:53:58 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Sat Sep 12 16:53:51 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 1MmTz3-0007M0-2C for gctc-ntg-context-518@m.gmane.org; Sat, 12 Sep 2009 16:53:49 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 70719C9A90; Sat, 12 Sep 2009 16:53:42 +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 EiCmUK7gT9ww; Sat, 12 Sep 2009 16:53:36 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 8D537C9A92; Sat, 12 Sep 2009 16:53:35 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id CD9EEC9A92 for ; Sat, 12 Sep 2009 16:53:31 +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 zIHV1HxByNGR for ; Sat, 12 Sep 2009 16:53:28 +0200 (CEST) Original-Received: from mail-fx0-f219.google.com (mail-fx0-f219.google.com [209.85.220.219]) by balder.ntg.nl (Postfix) with ESMTP id EDF2AC9A90 for ; Sat, 12 Sep 2009 16:53:27 +0200 (CEST) Original-Received: by fxm19 with SMTP id 19so1444019fxm.2 for ; Sat, 12 Sep 2009 07:53:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:received:received:content-type:mime-version :subject:from:in-reply-to:date:content-transfer-encoding:message-id :references:to:x-mailer; bh=pWAKxk7caX5a6nj3DVysuixYNiFq1ZyeacWCv4I3+G4=; b=wUI1bF22u9jJSHCWbeXOIVVULtipEiPV367QdD3S5rzw8WRQvlWxNbQeIAWdmEJ0wk 8zyUkUrY2Fm35+1u0MxtA2+LDsk3+EiG86BLPjBzTcyxfpnLyLbI0f5AYOZQTHDenq4g Wvz7YIBx/qeR5t/SjuYgz3UnttLMUK1iVMVLg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=content-type:mime-version:subject:from:in-reply-to:date :content-transfer-encoding:message-id:references:to:x-mailer; b=d2iOuiRXnc4x6FT//WO3BGiLVF2N4+SoTBOjB4M8rku+U9Hk80pRqTzzV1wfXh0x4f eW9JtCf4wxSW111enQYWTjJSm+VumVOdenklNDn8oS3BvvOvVI2GtmU09/Ih4MDei5du p/kncvUkiH7UdF09H90lkQhbiFHESf/2QxC7A= Original-Received: by 10.86.13.7 with SMTP id 7mr3224685fgm.64.1252767207810; Sat, 12 Sep 2009 07:53:27 -0700 (PDT) Original-Received: from ?192.168.2.23? (p5495450D.dip.t-dialin.net [84.149.69.13]) by mx.google.com with ESMTPS id e11sm1606129fga.26.2009.09.12.07.53.26 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sat, 12 Sep 2009 07:53:27 -0700 (PDT) In-Reply-To: <4AAB9925.4030305@wxs.nl> 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:52875 Archived-At: Am 12.09.2009 um 14:50 schrieb Hans Hagen: > what happens if you define 'none' to disable liga explicitly the three argument version of \definefontfeature is more handy but the definition for mkii makes no sense \def\dodefinefontfeature[#1][#2][#3]% {\doifassignmentelse{#2} {\setevalue{\??fa#1}{#2}} {\let\!!stringa\empty \def\mkdodefinefontfeature##1{\edef\!!stringa{\ifx\!!stringa \empty\else\!!stringa,\fi##1}}% \processcommalist[#2]\mkdodefinefontfeature \setevalue{\??fa#1}{\ifx\!!stringa\empty\else\!!stringa,\fi#3}}} wouldn't be ... \def\mkdodefinefontfeature##1% {\edef\!!stringa{\ifx\!!stringa\empty\else\!!stringa,\fi \executeifdefined{\??fa##1}\empty}}% ... better? 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 ___________________________________________________________________________________