Re: [NTG-context] \symbol (ConTeXt vs. LateX)

2019-02-16 Thread Tomas Hala
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
___


Re: [NTG-context] \symbol (ConTeXt vs. LateX)

2019-02-16 Thread Wolfgang Schuster



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
___


[NTG-context] \symbol (ConTeXt vs. LateX)

2019-02-16 Thread Tomas Hala
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
___