Re: [NTG-context] When I don't want quotes

2008-09-01 Thread Mojca Miklavec
On Wed, Aug 13, 2008 at 2:21 PM, Maurí­cio wrote: I need to write ' in a text. However, (...) I really need it to be 5 times U0027, not ' (U201C and U2018). (...) (...) Both also didn't work. (...) Indeed, I am using mkiv... But you should be able to use \char etc. to get the

Re: [NTG-context] When I don't want quotes

2008-08-13 Thread Peter Münster
On Tue, Aug 12 2008, Hans Hagen wrote: two solutions: (1) use tt (since there trep is off) {\tt '} (2) reload the bodyfont \definefontfeature [default] [default] [trep=no] \setupbodyfont[reset] This works only for MKIV. The OP uses MKII, and his problem is, that

Re: [NTG-context] When I don't want quotes

2008-08-13 Thread Taco Hoekwater
Peter Münster wrote: On Tue, Aug 12 2008, Hans Hagen wrote: two solutions: (1) use tt (since there trep is off) {\tt '} The OP uses MKII, and his problem is, that MKII translates the ascii character ' (0x27) to ’ (0xE2 0x80 0x99). That leaves just \tt as option, really. None of

Re: [NTG-context] When I don't want quotes

2008-08-13 Thread Hans Hagen
Peter Münster wrote: On Tue, Aug 12 2008, Hans Hagen wrote: two solutions: (1) use tt (since there trep is off) {\tt '} (2) reload the bodyfont \definefontfeature [default] [default] [trep=no] \setupbodyfont[reset] This works only for MKIV. The OP uses MKII, and

Re: [NTG-context] When I don't want quotes

2008-08-13 Thread Thomas A. Schmitz
On Aug 13, 2008, at 9:29 AM, Taco Hoekwater wrote: That leaves just \tt as option, really. None of the 'normal' encodings in mkii have a straight quote. texnansi does: grep quotesingle /usr/local/texlive/texmf-local/tex/context/base/enco- ans.tex \definecharacter quotesingle 129

Re: [NTG-context] When I don't want quotes

2008-08-13 Thread Taco Hoekwater
Thomas A. Schmitz wrote: On Aug 13, 2008, at 9:29 AM, Taco Hoekwater wrote: That leaves just \tt as option, really. None of the 'normal' encodings in mkii have a straight quote. texnansi does: grep quotesingle /usr/local/texlive/texmf-local/tex/context/base/enco- ans.tex

Re: [NTG-context] When I don't want quotes

2008-08-13 Thread Maurí­cio
I need to write ' in a text. However, (...) I really need it to be 5 times U0027, not ””’ (U201C and U2018). (...) (...) Both also didn't work. (...) Indeed, I am using mkiv... But you should be able to use \char etc. to get the same effect. pdftex is not working at the

Re: [NTG-context] When I don't want quotes

2008-08-12 Thread Peter Münster
On Tue, Aug 12 2008, Maurí­cio wrote: I need to write ' in a text. However, since it's a special tag in wiki language, I really need it to be 5 times U0027, not ””’ (U201C and U2018). How can I do that? \starttext With 0-kern: '\kern0pt'\kern0pt'\kern0pt'\kern0pt' The easy way:

Re: [NTG-context] When I don't want quotes

2008-08-12 Thread Maurí­cio
I need to write ' in a text. However, since it's a special tag in wiki language, I really need it to be 5 times U0027, not ””’ (U201C and U2018). How can I do that? \starttext With 0-kern: '\kern0pt'\kern0pt'\kern0pt'\kern0pt' The easy way: \dorecurse5' \stoptext Cheers, Peter

Re: [NTG-context] When I don't want quotes

2008-08-12 Thread Idris Samawi Hamid ادريس سماوي ح امد
Hi Maurí­cio, On Tue, 12 Aug 2008 12:50:07 -0600, Maurí­cio [EMAIL PROTECTED] wrote: \starttext With 0-kern: '\kern0pt'\kern0pt'\kern0pt'\kern0pt' The easy way: \dorecurse5' \stoptext Cheers, Peter Neither of them work. ' (Unicode 0027) is still converted to ’ (Unicode 2018).

Re: [NTG-context] When I don't want quotes

2008-08-12 Thread Idris Samawi Hamid ادريس سماوي ح امد
On Tue, 12 Aug 2008 12:50:07 -0600, Maurí­cio [EMAIL PROTECTED] wrote: I need to write ' in a text. However, since it's a special tag in wiki language, I really need it to be 5 times U0027, not ””’ (U201C and U2018). How can I do that? \starttext With 0-kern:

Re: [NTG-context] When I don't want quotes

2008-08-12 Thread Maurí­cio
I need to write ' in a text. However, (...) I really need it to be 5 times U0027, not ””’ (U201C and U2018). (...) \starttext \dorecurse5'{} % or \dorecurse{5}{'{}} \stoptext Even better: \starttext \defineactivecharacter ' {\otfchar{quoteright}} ' \stoptext

Re: [NTG-context] When I don't want quotes

2008-08-12 Thread Thomas A. Schmitz
On Aug 12, 2008, at 9:47 PM, Idris Samawi Hamid ادريس سماوي حامد wrote: \starttext \dorecurse5'{} % or \dorecurse{5}{'{}} \stoptext works here. I copied the text from the pdf into a unicode editor and it gives 0027. It doesn't work here either. What does work is:

Re: [NTG-context] When I don't want quotes

2008-08-12 Thread Idris Samawi Hamid ادريس سماوي ح امد
On Tue, 12 Aug 2008 14:12:04 -0600, Maurí­cio [EMAIL PROTECTED] wrote: I need to write ' in a text. However, (...) I really need it to be 5 times U0027, not ””’ (U201C and U2018). (...) \starttext \dorecurse5'{} % or \dorecurse{5}{'{}} \stoptext Even better:

Re: [NTG-context] When I don't want quotes

2008-08-12 Thread Hans Hagen
Maurí­cio wrote: Hi, I need to write ' in a text. However, since it's a special tag in wiki language, I really need it to be 5 times U0027, not ””’ (U201C and U2018). How can I do that? this is the result from the trep feature; ok, i can provide a switch to turn it off (i might do

Re: [NTG-context] When I don't want quotes

2008-08-12 Thread Peter Münster
On Tue, Aug 12 2008, Maurí­cio wrote: Both also didn't work. Are you using Mark IV? I'm using regular Context (the one that comes with Ubuntu), maybe that's the difference. Indeed! I just tried MKII, and this is the result: pdftotext test.pdf - | hexdump -C 31 0a 0a 57 69 74 68 20