Re: [NTG-context] Producing quotesingle glyph

2011-03-20 Thread Wolfgang Schuster
Am 19.03.2011 um 23:41 schrieb Pontus Lurcock: Thanks, Mojca and Khaled! Taking trep out of the default features works nicely, but since in this case I want quote-replacement as the default and straight quotes only occasionally, I ended up with the following solution:

Re: [NTG-context] Producing quotesingle glyph

2011-03-20 Thread Pontus Lurcock
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. Pont

Re: [NTG-context] Producing quotesingle glyph

2011-03-20 Thread 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

Re: [NTG-context] Producing quotesingle glyph

2011-03-20 Thread Wolfgang Schuster
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,

Re: [NTG-context] Producing quotesingle glyph

2011-03-20 Thread Mojca Miklavec
On Sun, Mar 20, 2011 at 12:35, Wolfgang Schuster schuster.wolfg...@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:

Re: [NTG-context] Producing quotesingle glyph

2011-03-19 Thread Mojca Miklavec
On Sat, Mar 19, 2011 at 01:29, Pontus Lurcock wrote: Hello, This may be a stupid question, but I can't work out how to produce the ' character (quotesingle, unicode 0x0027) glyph in a document. Just typing the character in the source produces a quoteright as expected. Here are my other

Re: [NTG-context] Producing quotesingle glyph

2011-03-19 Thread Mojca Miklavec
On Sat, Mar 19, 2011 at 09:05, Mojca Miklavec wrote: If you want to disable that behaviour, you need to turn trep feature off, for example with    \definefontfeature[default][liga=yes,kern=yes,tlig=yes] ... or maybe just disable the font feature temporary with \subff{trep}. In theory that

Re: [NTG-context] Producing quotesingle glyph

2011-03-19 Thread Khaled Hosny
On Sat, Mar 19, 2011 at 09:12:42AM +0100, Mojca Miklavec wrote: On Sat, Mar 19, 2011 at 09:05, Mojca Miklavec wrote: If you want to disable that behaviour, you need to turn trep feature off, for example with    \definefontfeature[default][liga=yes,kern=yes,tlig=yes] ... or maybe just

Re: [NTG-context] Producing quotesingle glyph

2011-03-19 Thread Pontus Lurcock
Thanks, Mojca and Khaled! Taking trep out of the default features works nicely, but since in this case I want quote-replacement as the default and straight quotes only occasionally, I ended up with the following solution: \definefontfeature[default][liga=yes,kern=yes,tlig=yes,trep=yes,mode=node]

Re: [NTG-context] Producing quotesingle glyph

2011-03-19 Thread Pontus Lurcock
On Sun 20 Mar 2011, Pontus Lurcock wrote: Will wikify later today in case anyone else ever needs this. Done: http://wiki.contextgarden.net/Quotesingle . At present it is only linked from http://wiki.contextgarden.net/Visuals , because I couldn't find many appropriate related pages. Pont