[NTG-context] Producing quotesingle glyph

Mojca Miklavec mojca.miklavec.lists at gmail.com
Sun Mar 20 13:02:55 CET 2011


On Sun, Mar 20, 2011 at 12:35, Wolfgang Schuster
<schuster.wolfgang at googlemail.com> wrote:
>
> Am 20.03.2011 um 11:04 schrieb Mojca Miklavec:
>
>> On Sun, Mar 20, 2011 at 08:34, Pontus Lurcock wrote:
>>> On Sun 20 Mar 2011, Wolfgang Schuster wrote:
>>>
>>>> Another option is to disable only a single feature:
>>>>
>>>> \definefontfeature[notrep][trep=no]
>>>> \def\realquotesingle{{\addfs{notrep}'}}
>>>
>>> Thanks, that's more elegant. I've updated the wiki page to include it.
>>
>> Just a question for Hans or Taco: would it be possible to create a
>> command sequence that would avoid doing the auto-replacement even when
>> trep is on? Say, \textapostrophe, \asciiapostrophe, \textquote,
>> \asciiquote or some similar name.
>
> ' : \lettersinglequote, \quotesingle

This is the right one, but if autoreplacement 0x27->0x2019 is on, it
doesn't help - this will still generate the curly 0x2019.

Mojca


More information about the ntg-context mailing list