From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/76573 Path: news.gmane.org!not-for-mail From: Wolfgang Schuster Newsgroups: gmane.comp.tex.context Subject: Re: how to write two or three single hyphens? Date: Thu, 31 May 2012 12:19:38 +0200 Message-ID: <66DB1733-5E0A-4C6B-912B-E476E4564A1F@googlemail.com> References: <21DD9B5C-5E17-449F-A64D-E1D63ACF1E65@googlemail.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 (Apple Message framework v1278) Content-Type: text/plain; charset="windows-1252" Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1338459595 11966 80.91.229.3 (31 May 2012 10:19:55 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 31 May 2012 10:19:55 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Thu May 31 12:19:54 2012 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([195.12.62.10]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Sa2Tv-0002sq-Gi for gctc-ntg-context-518@m.gmane.org; Thu, 31 May 2012 12:19:51 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id C1295101E8; Thu, 31 May 2012 12:19:50 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (localhost [127.0.0.1]) (amavisd-new, port 10024) with LMTP id ylorX-4s9YKf; Thu, 31 May 2012 12:19:49 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 1A76C101E0; Thu, 31 May 2012 12:19:49 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id CE5C0101E0 for ; Thu, 31 May 2012 12:19:47 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (localhost [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 6x9ky8vLV4CI for ; Thu, 31 May 2012 12:19:43 +0200 (CEST) Original-Received: from filter2-til.mf.surf.net (filter2-til.mf.surf.net [194.171.167.218]) by balder.ntg.nl (Postfix) with ESMTP id 3BF15101DD for ; Thu, 31 May 2012 12:19:43 +0200 (CEST) Original-Received: from mail-bk0-f41.google.com (mail-bk0-f41.google.com [209.85.214.41]) by filter2-til.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id q4VAJgaJ022187 for ; Thu, 31 May 2012 12:19:42 +0200 Original-Received: by bkcjm19 with SMTP id jm19so901915bkc.14 for ; Thu, 31 May 2012 03:19:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20120113; h=content-type:mime-version:subject:from:in-reply-to:date :content-transfer-encoding:message-id:references:to:x-mailer; bh=VH3IiFxKLr07hGOUkt2Lq1tdtQxg2x1VO+dzzJG1ISE=; b=U0DXmGGFnx8hDEnl/XZSkDVYy7XpzN4n1pjY8Cm3dcJNfqvEGwjdr25L5n4FxEAcpg m182VI0r3hBYe1RRTZ/B8pGiLV7ZDFnV6hXa0kb7vCfbH9ezJo1pzkBxM80bWZke/LQD T4xyadh0Ut8yskAMvaYmlcYnWJ8lXkHXixqqaTuDLaRsETUTAQScvPC/NUbj/0llI4WC t6vfmTqR67oYKVbz2Ixg45QzB8v0Tg8p09X+xVprCEdbAjWrErumYLEwItzDcMVS5liu nKbRZQkpGfB2XAxbtToU9v/uSCEXEfqqi/jtMRmWZdp55OP/9+TyU7YQVafcZY2b8Vs2 cGIQ== Original-Received: by 10.204.128.200 with SMTP id l8mr11541377bks.94.1338459581862; Thu, 31 May 2012 03:19:41 -0700 (PDT) Original-Received: from [192.168.2.36] (p57AFBDA1.dip.t-dialin.net. [87.175.189.161]) by mx.google.com with ESMTPS id o4sm2605552bkv.15.2012.05.31.03.19.40 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 31 May 2012 03:19:41 -0700 (PDT) In-Reply-To: X-Mailer: Apple Mail (2.1278) X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=209.85.214.41; country=US; region=CA; city=Mountain View; postalcode=94043; latitude=37.4192; longitude=-122.0574; metrocode=807; areacode=650; http://maps.google.com/maps?q=37.4192,-122.0574&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 0THgyjGKC - 510793818cd2 - 20120531 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) on 194.171.167.218 X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.13 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:76573 Archived-At: Am 31.05.2012 um 11:46 schrieb Jan Pohanka: >> \definehighlight[filepermission][style=3D\setff{none}] > = > Great, thank you. Anyway what is the purpose of the \setff macro? In MkIV you have tell which features of a font (e.g. ligatures or kerning) = have to enabled, this is done in two steps. 1. You define a list with the features you want, e.g. \definefontfeature[myfeatures][liga=3Dyes,kern=3Dyes] which activates ligatures and kerning. 2. You apply this list to a font, normally this is done in the typescripts,= e.g. \definetypeface[mainface][rm][serif][palatino][default][features=3Dmyf= eatures] Sometimes it is necessary to add additional features or to switch a differe= nt feature list *in* the document. To do this context provides the commands= \addfontfeature and \setfontfeature which can be also called in the two sh= orter commands \addff and \setff. In the \definehighlight command I enabled= the predefined =93none=94 list where ligatures and kerning is disabled to = prevent that -- results in =96. Wolfgang ___________________________________________________________________________= ________ If your question is of interest to others as well, please add an entry to t= he Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-cont= ext webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________= ________