ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: "Jan Pohanka" <xhpohanka@gmail.com>
To: ntg-context@ntg.nl
Subject: Re: how to write two or three single hyphens?
Date: Thu, 31 May 2012 12:32:49 +0200	[thread overview]
Message-ID: <op.we54wztgyxxkfz@pohanka-pc> (raw)
In-Reply-To: <66DB1733-5E0A-4C6B-912B-E476E4564A1F@googlemail.com>

Thank you for the detailed explanation.

best regards
Jan

Dne Thu, 31 May 2012 12:19:38 +0200 Wolfgang Schuster  
<schuster.wolfgang@googlemail.com> napsal(a):

>
> Am 31.05.2012 um 11:46 schrieb Jan Pohanka:
>
<výřez>
>>
>> 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=yes,kern=yes]
>
>    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=myfeatures]
>
>
> Sometimes it is necessary to add additional features or to switch a  
> different feature list *in* the document. To do this context provides  
> the commands \addfontfeature and \setfontfeature which can be also  
> called in the two shorter commands \addff and \setff. In the  
> \definehighlight command I enabled the predefined “none” list where  
> ligatures and kerning is disabled to prevent that -- results in –.
>
> 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  : http://foundry.supelec.fr/projects/contextrev/
> wiki     : http://contextgarden.net
> ___________________________________________________________________________________


___________________________________________________________________________________
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  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

  reply	other threads:[~2012-05-31 10:32 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-05-31  9:16 Jan Pohanka
2012-05-31  9:28 ` Andy Thomas
2012-05-31  9:31 ` Wolfgang Schuster
2012-05-31  9:46   ` Jan Pohanka
2012-05-31 10:04     ` Hans Hagen
2012-05-31 10:19     ` Wolfgang Schuster
2012-05-31 10:32       ` Jan Pohanka [this message]
2012-05-31 12:59     ` Khaled Hosny

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=op.we54wztgyxxkfz@pohanka-pc \
    --to=xhpohanka@gmail.com \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).