Re: [NTG-context] Missing symb-imp-was.mkiv ?

2021-07-10 Thread Hans Hagen
diSymbolBold] [wasyb10] % \def\wasy@over#1#2{{\setbox0\hbox{$#2$}\hbox to \wd0{\hss$#1$\hss}\kern-\wd0\box0}} \def\WaldiSymbol {\getnamedglyphdirect{WaldiSymbol}} % #1 \def\WaldiSymbol#1{\getglyph{WaldiSymbol}{\fontchar{#1}}} % general symbols \startsymbolset [wasy general]

Re: [NTG-context] accessing glyph in private area

2019-12-19 Thread Pablo Rodriguez
On 12/19/19 9:50 AM, Hans Hagen wrote: > [...] > \enabledirectives[otf.keepnames] > [...] > 6\fontchar{u1F004} Many thanks for your reply, Hans. It took me some minutes to realize that characters in \fontchar{uFE4EA} had to respect the case (both upper and lower). Many thanks f

Re: [NTG-context] accessing glyph in private area

2019-12-19 Thread Hans Hagen
 3 4 6\fontchar{u1F004} \stoptext you need to wipe the font cache then - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel

Re: [NTG-context] Does a half-space or small space exist in ConTeXt?

2015-03-09 Thread Robert Blackstone
. For example, I use imacron (U+012B) so much that it clashes with other characters. So I map it to an alternate version that has a thinner macron: \defineactivecharacter ī {\fontchar{imacron.alt}} So what you want is a unicode space character that you can enter in your editor, then define

Re: [NTG-context] Does a half-space or small space exist in ConTeXt?

2015-03-08 Thread Hans Hagen
{\fontchar{imacron.alt}} So what you want is a unicode space character that you can enter in your editor, then define it in ConTeXt to exactly what you want. fyi: the list that Wolfgang shows with verbose space names ... these are in fact unicode characters. Hans

Re: [NTG-context] Does a half-space or small space exist in ConTeXt?

2015-03-08 Thread Idris Samawi Hamid ادريس سماوي حامد
of the commands suggested by others, or even define it to the exact width you want. For example, I use imacron (U+012B) so much that it clashes with other characters. So I map it to an alternate version that has a thinner macron: \defineactivecharacter ī {\fontchar{imacron.alt}} So what you want

[NTG-context] error in animation

2014-09-29 Thread Jeong Dal
/texmf-context/tex/context/base/font-ctx.lua:1557: attempt to call global 'context_char' (a nil value) stack traceback: .../ConTeXt/tex/texmf-context/tex/context/base/font-ctx.lua:1557: in function 'fontchar' [\directlua]:1: in main chunk 5 6 \starttext 7

Re: [NTG-context] error in animation

2014-09-29 Thread Wolfgang Schuster
in this code? It’s a bug with the \fontchar command which is used for the navigation symbols. A minimal example is shown below. \starttext \fontchar{A} \stoptext Wolfgang ___ If your question is of interest to others as well

Re: [NTG-context] Selecting character by glyph index

2014-08-18 Thread Hans Hagen
On 8/18/2014 7:48 AM, Idris Samawi Hamid ادريس سماوي حامد wrote: Dear consortium, Is there a command analogous to \char or \fontchar which allows me to select a glyph by its index in the font? In most font editors you can choose Index Mode which shows the physical ordering of the glyphs

Re: [NTG-context] Using TABLE in a definition etc.

2014-08-17 Thread Idris Samawi Hamid ادريس سماوي حامد
Dear Knights, Solved (I think): \def\Glyphbox#1#2#3{% \setupframed[frame=off,align=middle,offfset=none] \framed{\cbox{ \bTABLE[align=middle] \bTR \bTD \csname gulistan#1\endcsname \fontchar{#2} \eTD \eTR \bTR \bTD \fontchar{#2} \eTD \eTR \bTR \bTD #1 \eTD \eTR \bTR \bTD #3 \eTD

Re: [NTG-context] Using TABLE in a definition etc.

2014-08-17 Thread Wolfgang Schuster
\endcsname \fontchar{#2} \eTD \eTR \bTR \bTD \fontchar{#2} \eTD \eTR \bTR \bTD #1 \eTD \eTR \bTR \bTD #3 \eTD \eTR \eTABLE }} } Silly me forgot the #1#2#3... and remembered csname; this is probably my first time ever using it in a macro... We'll see if further issues arise

Re: [NTG-context] Using TABLE in a definition etc.

2014-08-17 Thread Idris Samawi Hamid ادريس سماوي حامد
On Sun, 17 Aug 2014 12:06:45 -0600, Wolfgang Schuster wolfgang.schus...@gmail.com wrote: There is no need for the table, you can do everything with \framed alone. \define[3]\Glyphbox {\framed[frame=off,align=middle]\bgroup {\getvalue{gulistan#1}\fontchar{#2}}\\ \fontchar{#2

[NTG-context] Selecting character by glyph index

2014-08-17 Thread Idris Samawi Hamid ادريس سماوي حامد
Dear consortium, Is there a command analogous to \char or \fontchar which allows me to select a glyph by its index in the font? In most font editors you can choose Index Mode which shows the physical ordering of the glyphs independent of encoding etc. I thought that \charNN (where 'NN

[NTG-context] Using TABLE in a definition etc.

2014-08-16 Thread Idris Samawi Hamid ادريس سماوي حامد
Dear gang, I'm trying to setup a definition that uses a natural table and could use some guru help. Here is what I have so far: === \def\Glyphbox{% \setupframed[frame=off,align=middle,offfset=none] \framed{\cbox{ \bTABLE[align=middle] \bTR \bTD \gulistan#1 \fontchar{#2} \eTD \eTR

Re: [NTG-context] texnansi encoding.

2013-09-14 Thread Wolfgang Schuster
\char201C TEXT\char201D \utfchar{201C}TEXT\utfchar{201D} \fontchar{quotedblleft}TEXT\fontchar{quotedblright} \stoptext Wolfgang___ If your question is of interest to others as well, please add an entry to the Wiki

Re: [NTG-context] texnansi encoding.

2013-09-14 Thread john Culleton
? http://www.fileformat.info/info/unicode/char/8013/index.htm What’s wrong with \char? \starttext \char201C TEXT\char201D \utfchar{201C}TEXT\utfchar{201D} \fontchar{quotedblleft}TEXT\fontchar{quotedblright} \stoptext Wolfgang Well you answered my question. The chart I read

Re: [NTG-context] texnansi encoding.

2013-09-14 Thread Wolfgang Schuster
such characters in MKIV. Are you sure these are the correct values? http://www.fileformat.info/info/unicode/char/8013/index.htm What’s wrong with \char? \starttext \char201C TEXT\char201D \utfchar{201C}TEXT\utfchar{201D} \fontchar{quotedblleft}TEXT\fontchar{quotedblright

Re: [NTG-context] Trademark symbols

2013-02-07 Thread Marco Patzer
On 2013–02–07 Devendra Ghate wrote: How do I get Trademark (TM) and Registered Trademark (encircled R) in ConTeXt? There are several options: - \fontchar{registered} (current font) - ® (current font) - \getnamedglyphdirect {modern} {registered}(any font

Re: [NTG-context] \otfchar

2011-09-06 Thread Wolfgang Schuster
Am 06.09.2011 um 00:45 schrieb Idris Samawi Hamid ادريس سماوي حامد: Dear gang, It appears that \otfchar is gone ... Undefined control sequence ... Does anyone know the new protocol? Thnx in advance and \fontchar{…} Wolfgang

Re: [NTG-context] \otfchar

2011-09-06 Thread Idris Samawi Hamid ادريس سماوي حامد
On Tue, 06 Sep 2011 01:11:37 -0600, Wolfgang Schuster schuster.wolfg...@googlemail.com wrote: It appears that \otfchar is gone ... Undefined control sequence ... Does anyone know the new protocol? Thnx in advance and \fontchar{…} Thanks! -- Professor Idris Samawi Hamid, Editor-in-Chief

Re: [NTG-context] ... and emoticons

2011-03-19 Thread Wolfgang Schuster
limitedset of black-and-white images a font provides.You can also do a lot with symbol fonts [1]:\startTEXpage[offset=5mm]\definedfont[file:Dingbats2SamplerOT at 80pt]%\dontleavehmode\hsmash{\yellow\fontchar{d.alt001}}\hsmash{\orange\fontchar{d.alt002}}\fontchar{d}\stopTEXpage[1]http

Re: [NTG-context] \getscaledglyph

2011-01-21 Thread Hans Hagen
actual purpose your suggestion works perfectly, with \fontchar{emptyset}. Beside this there are many glyphs with only math names (the rightmost column in the fnt-10 output). I couldn't make \fontchar work with these. For example the fore-mentioned char 2300 works with \fontchar{uni2300

Re: [NTG-context] \getscaledglyph

2011-01-21 Thread Thomas Floeren
, with \fontchar{emptyset}. Beside this there are many glyphs with only math names (the rightmost column in the fnt-10 output). I couldn't make \fontchar work with these. For example the fore-mentioned char 2300 works with \fontchar{uni2300} but not with \fontchar{varnothing}. Is there a way

Re: [NTG-context] \getscaledglyph

2011-01-20 Thread Willi Egger
Hi Thomas, I had to do some work with regard to this issue recently. What was mentioned on this list, is, that \fontchar is a command which will stay. \setupbodyfont[Myfont,rm,12pt] \definesymbol[Q.alt] [\fontchar{Q.alt}] \def\Qa{\symbol[Q.alt]} The easiest way to get a stable environment

Re: [NTG-context] \getscaledglyph

2011-01-20 Thread Thomas Floeren
, with \fontchar{emptyset}. Beside this there are many glyphs with only math names (the rightmost column in the fnt-10 output). I couldn't make \fontchar work with these. For example the fore-mentioned char 2300 works with \fontchar{uni2300} but not with \fontchar{varnothing}. Is there a way

Re: [NTG-context] How to invoke Unicode symbols?

2011-01-16 Thread Hans Hagen
On 16-1-2011 4:51, Vyatcheslav Yatskovsky wrote: Is \fontchar a hack or 'official' command? If the latter, it deserves to be wikified. it's an official low level command and will stay Hans

Re: [NTG-context] How to invoke Unicode symbols?

2011-01-15 Thread Vyatcheslav Yatskovsky
The following example does not work, while the font (Symbola) is found. Works here. Can you try it with a clean installation! Works, indeed! Thanks a lot, as always! ) Is \fontchar a hack or 'official' command? If the latter, it deserves to be wikified. -- Best Regards, Vyatcheslav

Re: [NTG-context] How to invoke Unicode symbols?

2011-01-12 Thread Vyatcheslav Yatskovsky
[file:Symbola602 sa 2] \fontchar{notequarter} \fontchar{musicalnote} \fontchar{musicalnotedbl} \fontchar{sixteenthnotedbl} \stopfont \stoptext ! LuaTeX error ...tminimal/texmf-context/tex/context/base/cldf-com.lua:58: attempt to call global 'format' (a nil value) stack traceback: ...tminimal/texmf

Re: [NTG-context] How to invoke Unicode symbols?

2011-01-09 Thread Wolfgang Schuster
] \fontchar{notequarter} \fontchar{musicalnote} \fontchar{musicalnotedbl} \fontchar{sixteenthnotedbl} \stopfont \stoptext You can define symbols for them. Wolfgang ___ If your question is of interest to others as well

Re: [NTG-context] How to invoke Unicode symbols?

2011-01-09 Thread Vyatcheslav Yatskovsky
On 09.01.2011 20:46, ntg-context-requ...@ntg.nl wrote: \starttext \startfont[file:Symbola sa 2] \fontchar{notequarter} \fontchar{musicalnote} \fontchar{musicalnotedbl} \fontchar{sixteenthnotedbl} \stopfont \stoptext You can define symbols for them. \startfont[file:Symbola602 sa 2] \fontchar

Re: [NTG-context] Math and bold font

2010-12-05 Thread Florian Wobbe
math fonts of the same kin (to be used for normal and bold math), both having Greek letters as well? Hi, this does not work with cambria math: $\bf a=\alpha$ $\bi a=\alpha$ You should get the unicode math set of cambria math this way: bold math: $\fontchar{u1D41A}=\fontchar{u1D6C2}$ bold

Re: [NTG-context] Using Bold SmallCaps in LuaTeX - typescript

2010-11-29 Thread Khaled Hosny
}. That would be \fontchar{f_f_h.alt} I think Regards, Khaled -- Khaled Hosny Arabic localiser and member of Arabeyes.org team Free font developer ___ If your question is of interest to others as well, please add

Re: [NTG-context] Using Bold SmallCaps in LuaTeX - typescript

2010-11-29 Thread Ch. B.
question would be: How can I insert a certain character with its opentype name? For example \insertopentypecharacter{f_f_h.alt}. That would be \fontchar{f_f_h.alt} I think Hello Khaled, \fontchar results in an undefined controll sequence =\ Regards, Chris

Re: [NTG-context] Using Bold SmallCaps in LuaTeX - typescript

2010-11-29 Thread Wolfgang Schuster
Am 29.11.2010 um 14:38 schrieb Ch. B.: \fontchar results in an undefined controll sequence =\ In this case your context is too old and the command is not available. Wolfgang ___ If your question is of interest

Re: [NTG-context] Using Bold SmallCaps in LuaTeX - typescript

2010-11-29 Thread Khaled Hosny
On Mon, Nov 29, 2010 at 02:38:54PM +0100, Ch. B. wrote: \fontchar{f_f_h.alt} I think Hello Khaled, \fontchar results in an undefined controll sequence =\ It was \otfchar in some older versions, I think. Regards, Khaled -- Khaled Hosny Arabic localiser and member of Arabeyes.org team

Re: [NTG-context] Using Bold SmallCaps in LuaTeX - typescript

2010-11-29 Thread Ch. B.
Am Montag, 29. November 2010, um 15:20:05 schrieb Khaled Hosny: On Mon, Nov 29, 2010 at 02:38:54PM +0100, Ch. B. wrote: \fontchar{f_f_h.alt} I think Hello Khaled, \fontchar results in an undefined controll sequence =\ It was \otfchar in some older versions, I think. Regards

Re: [NTG-context] Guitar string symbol

2010-11-23 Thread Hans Hagen
On 22-11-2010 10:17, Vyatcheslav Yatskovsky wrote: Thank you, Jaroslav, for WORKING solution. I added it to my songbook environment. And thanks to Hans -- yes, \wingding\fontchar{circle1} would be much simplier ) we found out that the font is bugged: it suggests unicode mapping but does

Re: [NTG-context] Guitar string symbol

2010-11-22 Thread Vyatcheslav Yatskovsky
Thank you, Jaroslav, for WORKING solution. I added it to my songbook environment. And thanks to Hans -- yes, \wingding\fontchar{circle1} would be much simplier ) -- Best Regards, Vyatcheslav Yatskovsky

Re: [NTG-context] Guitar string symbol

2010-11-19 Thread Hans Hagen
{133}\dochar{134}\dochar{135}\dochar{136}\dochar{137}\dochar{138}\dochar{139}\dochar{140}\dochar{141}\dochar{142}\dochar{143}\dochar{144}\dochar{145}\dochar{146}\dochar{147}\dochar{148}\dochar{149}} normally \wingding\fontchar{circle1} should work but there is something fishy with this font

Re: [NTG-context] math chars

2010-11-01 Thread Khaled Hosny
] \starttext \fontchar{summation} \fontchar{summation.vsize1} \fontchar{summation.vsize2} \fontchar{summation.vsize3} \fontchar{summation.vsize4} \stoptext Regards, Khaled -- Khaled Hosny Arabic localiser and member of Arabeyes.org team Free font developer

Re: [NTG-context] math chars

2010-11-01 Thread Oliver Buerschaper
: \setupbodyfont[cambria] \starttext \fontchar{summation} \fontchar{summation.vsize1} \fontchar{summation.vsize2} \fontchar{summation.vsize3} \fontchar{summation.vsize4} \stoptext Many thanks! This is exactly what I was looking for... Oliver

Re: [NTG-context] math chars

2010-11-01 Thread Khaled Hosny
that initially in my previous reply), but using \fontchar I get the five sizes of summation symbol in text mode, no idea how is that. Regards, khaled -- Khaled Hosny Arabic localiser and member of Arabeyes.org team Free font developer

Re: [NTG-context] Scaling of setminus in xits

2010-10-29 Thread Hans Hagen
). Dumb question, but how do I check a specific glyph in a font. I tried \getglyph{STIXGeneral.otf}{\char2216} and \font\STIX=STIXGeneral.otf \STIX \char2216 but both of them give a blank character. \STIX \fontchar{unicode slot or glyphname

Re: [NTG-context] cow symbols don't work in MkIV

2010-09-22 Thread Wolfgang Schuster
the original position in the font and the assigned position is related, maybe Taco knows a answer. With the message above from the terminal you can now load the symbols with \charF00xx but mkiv provides also a mechanism to access a symbol by the glyphname with \fontchar{T_e_X}. I attached a modified

Re: [NTG-context] cow symbols don't work in MkIV

2010-09-22 Thread Hans Hagen
the original position in the font and the assigned position is related, maybe Taco knows a answer. % symbols-001.tex \starttext % for taco \definedfont[file:stmary10 at 100pt] \startTEXpage[offset=50pt] \fontchar{Yright} \stopTEXpage \stoptext So, access them by name