ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: "Mojca Miklavec" <mojca.miklavec.lists@gmail.com>
To: "mailing list for ConTeXt users" <ntg-context@ntg.nl>
Cc: Maurí­cio <briqueabraque@yahoo.com>
Subject: Re: When I don't want quotes
Date: Mon, 1 Sep 2008 18:15:08 +0200	[thread overview]
Message-ID: <6faad9f00809010915l37ee661bocf81036f4c6c674a@mail.gmail.com> (raw)
In-Reply-To: <g7ujkt$j11$1@ger.gmane.org>

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
___________________________________________________________________________________

  reply	other threads:[~2008-09-01 16:15 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-08-12 15:12 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 [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=6faad9f00809010915l37ee661bocf81036f4c6c674a@mail.gmail.com \
    --to=mojca.miklavec.lists@gmail.com \
    --cc=briqueabraque@yahoo.com \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).