* When I don't want quotes
@ 2008-08-12 15:12 Maurício
2008-08-12 18:25 ` Peter Münster
2008-08-12 21:54 ` Hans Hagen
0 siblings, 2 replies; 17+ messages in thread
From: Maurício @ 2008-08-12 15:12 UTC (permalink / raw)
To: ntg-context
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?
Thanks,
Maurício
___________________________________________________________________________________
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 : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: When I don't want quotes
2008-08-12 15:12 When I don't want quotes Maurício
@ 2008-08-12 18:25 ` Peter Münster
2008-08-12 18:50 ` Maurício
2008-08-12 21:54 ` Hans Hagen
1 sibling, 1 reply; 17+ messages in thread
From: Peter Münster @ 2008-08-12 18:25 UTC (permalink / raw)
To: mailing list for ConTeXt users
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: \dorecurse5'
\stoptext
Cheers, Peter
--
http://pmrb.free.fr/contact/
___________________________________________________________________________________
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 : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: When I don't want quotes
2008-08-12 18:25 ` Peter Münster
@ 2008-08-12 18:50 ` Maurício
2008-08-12 19:47 ` Idris Samawi Hamid ادريس سماوي حامد
2008-08-12 19:52 ` Idris Samawi Hamid ادريس سماوي حامد
0 siblings, 2 replies; 17+ messages in thread
From: Maurício @ 2008-08-12 18:50 UTC (permalink / raw)
To: ntg-context
>> 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
>
Neither of them work. ' (Unicode 0027) is still
converted to ’ (Unicode 2018).
___________________________________________________________________________________
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 : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: When I don't want quotes
2008-08-12 18:50 ` Maurício
@ 2008-08-12 19:47 ` Idris Samawi Hamid ادريس سماوي حامد
2008-08-12 20:33 ` Thomas A. Schmitz
2008-08-12 19:52 ` Idris Samawi Hamid ادريس سماوي حامد
1 sibling, 1 reply; 17+ messages in thread
From: Idris Samawi Hamid ادريس سماوي حامد @ 2008-08-12 19:47 UTC (permalink / raw)
To: mailing list for ConTeXt users
Hi Maurício,
On Tue, 12 Aug 2008 12:50:07 -0600, Maurício <briqueabraque@yahoo.com>
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).
\starttext
\dorecurse5'{}
% or \dorecurse{5}{'{}}
\stoptext
works here. I copied the text from the pdf into a unicode editor and it
gives 0027.
Best wishes
Idris
--
Professor Idris Samawi Hamid, Editor-in-Chief
International Journal of Shi`i Studies
Department of Philosophy
Colorado State University
Fort Collins, CO 80523
___________________________________________________________________________________
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 : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: When I don't want quotes
2008-08-12 18:50 ` Maurício
2008-08-12 19:47 ` Idris Samawi Hamid ادريس سماوي حامد
@ 2008-08-12 19:52 ` Idris Samawi Hamid ادريس سماوي حامد
2008-08-12 20:12 ` Maurício
1 sibling, 1 reply; 17+ messages in thread
From: Idris Samawi Hamid ادريس سماوي حامد @ 2008-08-12 19:52 UTC (permalink / raw)
To: mailing list for ConTeXt users
On Tue, 12 Aug 2008 12:50:07 -0600, Maurício <briqueabraque@yahoo.com>
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: \dorecurse5'
>> \stoptext
>>
>> Cheers, Peter
>>
>
> Neither of them work. ' (Unicode 0027) is still
> converted to ’ (Unicode 2018).
Even better:
\starttext
\defineactivecharacter ' {\otfchar{quoteright}}
'''''
\stoptext
Tested here.
Best wishes
Idris
--
Professor Idris Samawi Hamid, Editor-in-Chief
International Journal of Shi`i Studies
Department of Philosophy
Colorado State University
Fort Collins, CO 80523
___________________________________________________________________________________
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 : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: When I don't want quotes
2008-08-12 19:52 ` Idris Samawi Hamid ادريس سماوي حامد
@ 2008-08-12 20:12 ` Maurício
2008-08-12 20:42 ` Peter Münster
2008-08-12 21:12 ` Idris Samawi Hamid ادريس سماوي حامد
0 siblings, 2 replies; 17+ messages in thread
From: Maurício @ 2008-08-12 20:12 UTC (permalink / raw)
To: ntg-context
>>>> 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
>
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.
Maurício
___________________________________________________________________________________
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 : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: When I don't want quotes
2008-08-12 19:47 ` Idris Samawi Hamid ادريس سماوي حامد
@ 2008-08-12 20:33 ` Thomas A. Schmitz
0 siblings, 0 replies; 17+ messages in thread
From: Thomas A. Schmitz @ 2008-08-12 20:33 UTC (permalink / raw)
To: mailing list for ConTeXt users
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:
\def\fiver{\dorecurse5{\quotesingle}}
\fiver
but, for reasons I can't understand, not in Latin Modern...
Thomas
___________________________________________________________________________________
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 : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: When I don't want quotes
2008-08-12 20:12 ` Maurício
@ 2008-08-12 20:42 ` Peter Münster
2008-08-12 21:12 ` Idris Samawi Hamid ادريس سماوي حامد
1 sibling, 0 replies; 17+ messages in thread
From: Peter Münster @ 2008-08-12 20:42 UTC (permalink / raw)
To: mailing list for ConTeXt users
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
00000000 31 0a 0a 57 69 74 68 20 30 2d 6b 65 72 6e 3a 20 |1..With 0-kern: |
00000010 e2 80 99 e2 80 99 e2 80 99 e2 80 99 e2 80 99 20 |............... |
00000020 54 68 65 20 65 61 73 79 20 77 61 79 3a 20 e2 80 |The easy way: ..|
00000030 99 e2 80 99 e2 80 99 e2 80 99 e2 80 99 0a 0a 0c |................|
00000040
With MKIV you would get five 0x27.
(But for the eye it's the same.)
Cheers, Peter
--
http://pmrb.free.fr/contact/
___________________________________________________________________________________
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 : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: When I don't want quotes
2008-08-12 20:12 ` Maurício
2008-08-12 20:42 ` Peter Münster
@ 2008-08-12 21:12 ` Idris Samawi Hamid ادريس سماوي حامد
2008-08-13 12:21 ` Maurício
1 sibling, 1 reply; 17+ messages in thread
From: Idris Samawi Hamid ادريس سماوي حامد @ 2008-08-12 21:12 UTC (permalink / raw)
To: mailing list for ConTeXt users
On Tue, 12 Aug 2008 14:12:04 -0600, Maurício <briqueabraque@yahoo.com>
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:
> >
> > \starttext
> > \defineactivecharacter ' {\otfchar{quoteright}}
> >
> > '''''
> > \stoptext
> >
>
> 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 am using mkiv... But you should be able to use \char etc. to get
the same effect.
pdftex is not working at the moment here -- see my message to the list --
so I can't test this at the moment, but in pdftex there is
\unicodecharacter{number}
so
\unicodecharacter{27}
should work.
Another option is to use utf8 encoding and insert a zero-width space
(200B) between the 0027's.
Finally: Did you try \dorecurse{5}{{'}}?
{'}{'} should break the dbl-quote just as {f}{i} breaks the fi ligature...
Best wishes
Idris
--
Professor Idris Samawi Hamid, Editor-in-Chief
International Journal of Shi`i Studies
Department of Philosophy
Colorado State University
Fort Collins, CO 80523
___________________________________________________________________________________
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 : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: When I don't want quotes
2008-08-12 15:12 When I don't want quotes Maurício
2008-08-12 18:25 ` Peter Münster
@ 2008-08-12 21:54 ` Hans Hagen
2008-08-13 6:33 ` Peter Münster
1 sibling, 1 reply; 17+ messages in thread
From: Hans Hagen @ 2008-08-12 21:54 UTC (permalink / raw)
To: mailing list for ConTeXt users
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 that at some point for each feature, something
\disablefeature[name]) but not now
two solutions:
(1) use tt (since there trep is off)
{\tt '''''}
(2) reload the bodyfont
\definefontfeature
[default]
[default]
[trep=no]
\setupbodyfont[reset]
-----------------------------------------------------------------
Hans Hagen | PRAGMA ADE
Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
| www.pragma-pod.nl
-----------------------------------------------------------------
___________________________________________________________________________________
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 : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: When I don't want quotes
2008-08-12 21:54 ` Hans Hagen
@ 2008-08-13 6:33 ` Peter Münster
2008-08-13 7:29 ` Taco Hoekwater
2008-08-13 7:34 ` Hans Hagen
0 siblings, 2 replies; 17+ messages in thread
From: Peter Münster @ 2008-08-13 6:33 UTC (permalink / raw)
To: mailing list for ConTeXt users
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 MKII translates the ascii
character "'" (0x27) to "’" (0xE2 0x80 0x99).
Cheers, Peter
--
http://pmrb.free.fr/contact/
___________________________________________________________________________________
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 : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: When I don't want quotes
2008-08-13 6:33 ` Peter Münster
@ 2008-08-13 7:29 ` Taco Hoekwater
2008-08-13 8:44 ` Thomas A. Schmitz
2008-08-13 7:34 ` Hans Hagen
1 sibling, 1 reply; 17+ messages in thread
From: Taco Hoekwater @ 2008-08-13 7:29 UTC (permalink / raw)
To: mailing list for ConTeXt users
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 the 'normal' encodings
in mkii have a straight quote.
Best wishes,
Taco
___________________________________________________________________________________
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 : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: When I don't want quotes
2008-08-13 6:33 ` Peter Münster
2008-08-13 7:29 ` Taco Hoekwater
@ 2008-08-13 7:34 ` Hans Hagen
1 sibling, 0 replies; 17+ messages in thread
From: Hans Hagen @ 2008-08-13 7:34 UTC (permalink / raw)
To: mailing list for ConTeXt users
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 his problem is, that MKII translates the ascii
> character "'" (0x27) to "’" (0xE2 0x80 0x99).
just enable regime utf (since you enter ’ as a utf sequence)
\enableregime[utf] \starttext \strut ' ’ \stoptext
-----------------------------------------------------------------
Hans Hagen | PRAGMA ADE
Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
| www.pragma-pod.nl
-----------------------------------------------------------------
___________________________________________________________________________________
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 : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: When I don't want quotes
2008-08-13 7:29 ` Taco Hoekwater
@ 2008-08-13 8:44 ` Thomas A. Schmitz
2008-08-13 9:00 ` Taco Hoekwater
0 siblings, 1 reply; 17+ messages in thread
From: Thomas A. Schmitz @ 2008-08-13 8:44 UTC (permalink / raw)
To: mailing list for ConTeXt users
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
___________________________________________________________________________________
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 : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: When I don't want quotes
2008-08-13 8:44 ` Thomas A. Schmitz
@ 2008-08-13 9:00 ` Taco Hoekwater
0 siblings, 0 replies; 17+ messages in thread
From: Taco Hoekwater @ 2008-08-13 9:00 UTC (permalink / raw)
To: mailing list for ConTeXt users
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
>
> \definecharacter quotesingle 129
Right you are! (and that reminds me to fix the encoding tables at the
end of the new co-typography.pdf)
\usetypescript [modern] [texnansi]
\setupbodyfont[modern]
\starttext
\quotesingle \quotesingle
\stoptext
Best wishes,
Taco
___________________________________________________________________________________
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 : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: When I don't want quotes
2008-08-12 21:12 ` Idris Samawi Hamid ادريس سماوي حامد
@ 2008-08-13 12:21 ` Maurício
2008-09-01 16:15 ` Mojca Miklavec
0 siblings, 1 reply; 17+ messages in thread
From: Maurício @ 2008-08-13 12:21 UTC (permalink / raw)
To: ntg-context
>> >>>> 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 moment here -- see my message to the list --
> so I can't test this at the moment, but in pdftex there is
>
> \unicodecharacter{number} (...)
>
> Another option is to use utf8 encoding and insert a zero-width space
> (200B) between the 0027's. (...) should break the dbl-quote (...)
\unicodecharacter wasn't recognized. I do use uft8
encoding, and nothing else (ever). But the problem
is not to break the bls-quote, but avoiding '
transformed to ’.
Thanks for your help. I'm probably going to try
something else, like writing this documentation on
a web page.
Best,
Maurício
___________________________________________________________________________________
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 : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: When I don't want quotes
2008-08-13 12:21 ` Maurício
@ 2008-09-01 16:15 ` Mojca Miklavec
0 siblings, 0 replies; 17+ messages in thread
From: Mojca Miklavec @ 2008-09-01 16:15 UTC (permalink / raw)
To: mailing list for ConTeXt users; +Cc: Maurício
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 same effect.
>>
>> pdftex is not working at the moment here -- see my message to the list --
>> so I can't test this at the moment, but in pdftex there is
>>
>> \unicodecharacter{number} (...)
>>
>> Another option is to use utf8 encoding and insert a zero-width space
>> (200B) between the 0027's. (...) should break the dbl-quote (...)
>
> \unicodecharacter wasn't recognized. I do use uft8
> encoding, and nothing else (ever). But the problem
> is not to break the bls-quote, but avoiding '
> transformed to '.
>
> Thanks for your help. I'm probably going to try
> something else, like writing this documentation on
> a web page.
Cleaninng up my mailbox (so I'm not sure if you still need the answer) ...
Are you using pdfTeX or LuaTeX/XeTeX? In pdfTeX you need to switch the
font (or at least change the encoding to texnansi)
\usetypescript[modern][texnansi]
\setupbodyfont[modern,10pt]
\starttext
\dorecurse{5}{\quotesingle} % or \char129
\stoptext
In new engines you can switch off tlig. If you need that, please ask
(but again - you need to be aware that you either need to create a new
font instance or switch off conversion into apostrophe globally).
Mojca
___________________________________________________________________________________
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 : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 17+ messages in thread
end of thread, other threads:[~2008-09-01 16:15 UTC | newest]
Thread overview: 17+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-08-12 15:12 When I don't want quotes Maurício
2008-08-12 18:25 ` Peter Münster
2008-08-12 18:50 ` Maurício
2008-08-12 19:47 ` Idris Samawi Hamid ادريس سماوي حامد
2008-08-12 20:33 ` Thomas A. Schmitz
2008-08-12 19:52 ` Idris Samawi Hamid ادريس سماوي حامد
2008-08-12 20:12 ` Maurício
2008-08-12 20:42 ` Peter Münster
2008-08-12 21:12 ` Idris Samawi Hamid ادريس سماوي حامد
2008-08-13 12:21 ` Maurício
2008-09-01 16:15 ` Mojca Miklavec
2008-08-12 21:54 ` Hans Hagen
2008-08-13 6:33 ` Peter Münster
2008-08-13 7:29 ` Taco Hoekwater
2008-08-13 8:44 ` Thomas A. Schmitz
2008-08-13 9:00 ` Taco Hoekwater
2008-08-13 7:34 ` Hans Hagen
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).