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
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
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
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
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
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
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
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:
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
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).
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:
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
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:
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:
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
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
16 matches
Mail list logo