ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: "Idris Samawi Hamid ادريس سماوي حامد" <ishamid@colostate.edu>
To: "mailing list for ConTeXt users" <ntg-context@ntg.nl>
Subject: Re: When I don't want quotes
Date: Tue, 12 Aug 2008 15:12:33 -0600	[thread overview]
Message-ID: <op.ufsk67pcfkrasx@your-b27fb1c401> (raw)
In-Reply-To: <g7sqql$riu$1@ger.gmane.org>

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
___________________________________________________________________________________

  parent reply	other threads:[~2008-08-12 21:12 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 ادريس سماوي حامد [this message]
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

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=op.ufsk67pcfkrasx@your-b27fb1c401 \
    --to=ishamid@colostate.edu \
    --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).