ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Typing unicode
@ 2009-02-20  0:48 Maurí­cio
  2009-02-20  6:08 ` Longmin Wang
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Maurí­cio @ 2009-02-20  0:48 UTC (permalink / raw)
  To: ntg-context

Hi,

This is probably a really basic question
already asked many times, but I wasn't able
to find an answer.

How to type an unicode character using its
number? Searching for messages, I found
things like:

"2019
\char"2019
\char{"2019}
\utfchar{"2019}

but I wasn't able to get any of them to
work. (I don't know for sure they actually
should do what I want.)

'texexec --version' says:

TeXExec | version 6.2.0 - 1997-2006 - PRAGMA ADE/POD

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] 4+ messages in thread

* Re: Typing unicode
  2009-02-20  0:48 Typing unicode Maurí­cio
@ 2009-02-20  6:08 ` Longmin Wang
  2009-02-20  9:29 ` zs
  2009-02-20 10:11 ` Hans Hagen
  2 siblings, 0 replies; 4+ messages in thread
From: Longmin Wang @ 2009-02-20  6:08 UTC (permalink / raw)
  To: ntg-context

You may try \uchar{"20}{"19}. 

On Thu, Feb 19, 2009 at 09:48:50PM -0300, Maur憝cio wrote:
> Hi,
>
> This is probably a really basic question
> already asked many times, but I wasn't able
> to find an answer.
>
> How to type an unicode character using its
> number? Searching for messages, I found
> things like:
>
> "2019
> \char"2019
> \char{"2019}
> \utfchar{"2019}
>
> but I wasn't able to get any of them to
> work. (I don't know for sure they actually
> should do what I want.)
>
> 'texexec --version' says:
>
> TeXExec | version 6.2.0 - 1997-2006 - PRAGMA ADE/POD
>
> Thanks,
> Maur韈io
>
> ___________________________________________________________________________________
> 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
> ___________________________________________________________________________________

-- 
Longmin Wang <longminwang@gmail.com>
Math. Dept., Nankai Univ., China
http://math.nankai.edu.cn/~wanglm/
GnuPG-Key ID: 1024D/2A5CFA5C
Fingerprint: 8587 1246 3AAD C185 D419  ADF1 B620 D8B8 2A5C FA5C
___________________________________________________________________________________
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] 4+ messages in thread

* Re: Typing unicode
  2009-02-20  0:48 Typing unicode Maurí­cio
  2009-02-20  6:08 ` Longmin Wang
@ 2009-02-20  9:29 ` zs
  2009-02-20 10:11 ` Hans Hagen
  2 siblings, 0 replies; 4+ messages in thread
From: zs @ 2009-02-20  9:29 UTC (permalink / raw)
  To: ntg-context

Hi,


try this: \getglyph{name:TeXGyreHeros-Regular}{\char"2013} % your font should have the glyph!

If you are in linux and your editor is UTF8 capable, try pressing keys <shift+ctrl+u> and then type <2013>.


This should work when using luatex.



ZS





On Thu, 19 Feb 2009 21:48:50 -0300
Maurí­cio <briqueabraque@yahoo.com> wrote:

> Hi,
> 
> This is probably a really basic question
> already asked many times, but I wasn't able
> to find an answer.
> 
> How to type an unicode character using its
> number? Searching for messages, I found
> things like:
> 
> "2019
> \char"2019
> \char{"2019}
> \utfchar{"2019}
> 
> but I wasn't able to get any of them to
> work. (I don't know for sure they actually
> should do what I want.)
> 
> 'texexec --version' says:
> 
> TeXExec | version 6.2.0 - 1997-2006 - PRAGMA ADE/POD
> 
> 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
> ___________________________________________________________________________________
___________________________________________________________________________________
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] 4+ messages in thread

* Re: Typing unicode
  2009-02-20  0:48 Typing unicode Maurí­cio
  2009-02-20  6:08 ` Longmin Wang
  2009-02-20  9:29 ` zs
@ 2009-02-20 10:11 ` Hans Hagen
  2 siblings, 0 replies; 4+ messages in thread
From: Hans Hagen @ 2009-02-20 10:11 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Maurí­cio wrote:
> Hi,
> 
> This is probably a really basic question
> already asked many times, but I wasn't able
> to find an answer.
> 
> How to type an unicode character using its
> number? Searching for messages, I found
> things like:
> 
> \char"2019

that one is pretty safe in mkiv

make sure to end witha space or \relax


-----------------------------------------------------------------
                                           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] 4+ messages in thread

end of thread, other threads:[~2009-02-20 10:11 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-02-20  0:48 Typing unicode Maurí­cio
2009-02-20  6:08 ` Longmin Wang
2009-02-20  9:29 ` zs
2009-02-20 10:11 ` 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).