ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* \symbol (ConTeXt vs. LateX)
@ 2019-02-16 14:25 Tomas Hala
  2019-02-16 14:31 ` Wolfgang Schuster
  0 siblings, 1 reply; 3+ messages in thread
From: Tomas Hala @ 2019-02-16 14:25 UTC (permalink / raw)
  To: Mailing list ConTeXt

Hi all,

how can I print the corresponding character if I know its ordinal value?

(In LaTeX, there is a command \symbol{number} but in ConTeXt this command
has different meaning.)

Thanks in advance,

Best wishes,

Tomáš Hála

___________________________________________________________________________________
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: \symbol (ConTeXt vs. LateX)
  2019-02-16 14:25 \symbol (ConTeXt vs. LateX) Tomas Hala
@ 2019-02-16 14:31 ` Wolfgang Schuster
  2019-02-16 15:23   ` Tomas Hala
  0 siblings, 1 reply; 3+ messages in thread
From: Wolfgang Schuster @ 2019-02-16 14:31 UTC (permalink / raw)
  To: mailing list for ConTeXt users, Tomas Hala



Tomas Hala schrieb am 16.02.19 um 15:25:
> Hi all,
> 
> how can I print the corresponding character if I know its ordinal value?

You can use the \tochar{...} command.

font-ini.mkiv:

%D The \type {\tochar} commmand takes a specification:
%D
%D \starttabulate[|l|l|l|]
%D \NC e \NC entity                   \NC e:eacute \NC \NR
%D \NC x \NC hexadecimal unicode      \NC x:013D   \NC \NR
%D \NC d \NC decimal unicode          \NC d:123    \NC \NR
%D \NC s \NC hexadecimal index (slot) \NC s:210D   \NC \NR
%D \NC i \NC decimal index            \NC i:456    \NC \NR
%D \NC n \NC name                     \NC n:eight  \NC \NR
%D \NC c \NC name                     \NC c:x      \NC \NR
%D \NC u \NC unicode descriptions     \NC u:dog    \NC \NR
%D \NC a \NC all (also descriptions)  \NC a:rewind \NC \NR
%D \stoptabulate

Wolfgang
___________________________________________________________________________________
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: \symbol (ConTeXt vs. LateX)
  2019-02-16 14:31 ` Wolfgang Schuster
@ 2019-02-16 15:23   ` Tomas Hala
  0 siblings, 0 replies; 3+ messages in thread
From: Tomas Hala @ 2019-02-16 15:23 UTC (permalink / raw)
  To: Wolfgang Schuster; +Cc: mailing list for ConTeXt users

Thank you, Wolgang, that's it.

Tomáš

Sat, Feb 16, 2019 ve 03:31:47PM +0100 Wolfgang Schuster napsal(a):
# 
# 
# Tomas Hala schrieb am 16.02.19 um 15:25:
# >Hi all,
# >
# >how can I print the corresponding character if I know its ordinal value?
# 
# You can use the \tochar{...} command.
# 
# font-ini.mkiv:
# 
# %D The \type {\tochar} commmand takes a specification:
# %D
# %D \starttabulate[|l|l|l|]
# %D \NC e \NC entity                   \NC e:eacute \NC \NR
# %D \NC x \NC hexadecimal unicode      \NC x:013D   \NC \NR
# %D \NC d \NC decimal unicode          \NC d:123    \NC \NR
# %D \NC s \NC hexadecimal index (slot) \NC s:210D   \NC \NR
# %D \NC i \NC decimal index            \NC i:456    \NC \NR
# %D \NC n \NC name                     \NC n:eight  \NC \NR
# %D \NC c \NC name                     \NC c:x      \NC \NR
# %D \NC u \NC unicode descriptions     \NC u:dog    \NC \NR
# %D \NC a \NC all (also descriptions)  \NC a:rewind \NC \NR
# %D \stoptabulate
# 
# Wolfgang
___________________________________________________________________________________
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2019-02-16 15:23 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-02-16 14:25 \symbol (ConTeXt vs. LateX) Tomas Hala
2019-02-16 14:31 ` Wolfgang Schuster
2019-02-16 15:23   ` Tomas Hala

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).