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

2021-07-10 Thread Hans Hagen
ontsynonym [WaldiSymbolBold] [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 [

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
] \starttext 1🔔 2💻 3🔨 4🔩 6\fontchar{u1F004} \stoptext you need to wipe the font cache then - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The

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

2015-03-09 Thread Robert Blackstone
h 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 is a unicode space character that

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 ادريس سماوي حامد
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 is a

Re: [NTG-context] error in animation

2014-09-29 Thread Wolfgang Schuster
wrong 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 othe

[NTG-context] error in animation

2014-09-29 Thread Jeong Dal
initializing instance 'metafun' using format 'metafun' metapost> loading 'metafun' as '/Users/graph/ConTeXt/tex/texmf-context/metapost/context/base/metafun.mpiv' using method 'default' metapost> initializing number mode &#

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" or

[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

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 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}\\ #1\\ #3% \egroup

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

2014-08-17 Thread Wolfgang Schuster
D \csname gulistan#1\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 e

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

[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

Re: [NTG-context] texnansi encoding.

2013-09-14 Thread Wolfgang Schuster
14 >>> etc. I can write the macro, I just need the expression equivalent >>> to \char that gives me such characters in MKIV. >> >> Are you sure these are the correct values? >> >> http://www.fileformat.info/info/unicode/char/8013/index.htm >> >> &

Re: [NTG-context] texnansi encoding.

2013-09-14 Thread john Culleton
ives me 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 > > \char"201C TEXT\char"201D > > \utfchar{"201C}TEXT\

Re: [NTG-context] texnansi encoding.

2013-09-14 Thread Wolfgang Schuster
What’s wrong with \char? \starttext \char"201C TEXT\char"201D \utfchar{"201C}TEXT\utfchar{"201D} \fontchar{quotedblleft}TEXT\fontchar{quotedblright} \stoptext Wolfgang___ If your questio

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}(an

Re: [NTG-context] \otfchar

2011-09-06 Thread Idris Samawi Hamid ادريس سماوي حامد
On Tue, 06 Sep 2011 01:11:37 -0600, Wolfgang Schuster 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 International Journal of Shīʿī

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{

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 Thomas Floeren
unicode numbers. For > my 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. > F

Re: [NTG-context] \getscaledglyph

2011-01-21 Thread Hans Hagen
or my 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 \

Re: [NTG-context] \getscaledglyph

2011-01-20 Thread Thomas Floeren
ectly, 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

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 is

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

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, V

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

2011-01-12 Thread Vyatcheslav Yatskovsky
tarttext \startfont[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

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] How to invoke Unicode symbols?

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

Re: [NTG-context] Math and bold font

2010-12-05 Thread Florian Wobbe
th 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}=\fontc

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 wa

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 local

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 inter

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

2010-11-29 Thread Ch. B.
u can define for instance > > > > > > \definefontfeature[dlig][default][dlig=yes] % Discretionary Ligatures: > > > Activates uncommon ligatures > > > \definefontfeature[frac][default][frac=yes,numr=yes] %

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

2010-11-29 Thread Khaled Hosny
\definefontfeature[dlig][default][dlig=yes] % Discretionary Ligatures: > > Activates uncommon ligatures > > \definefontfeature[frac][default][frac=yes,numr=yes] % Fractions e.g. 3/4 > > \definefontfeature[sups][default][sups=yes] % Superscript > > \definefontfeature[subs][d

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 bu

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 as it

Re: [NTG-context] math chars

2010-11-01 Thread Khaled Hosny
ought so (and wrote 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 t

Re: [NTG-context] math chars

2010-11-01 Thread Oliver Buerschaper
bit more portable: > > \setupbodyfont[cambria] > > \starttext > \fontchar{summation} > \fontchar{summation.vsize1} > \fontchar{summation.vsize2} > \fontchar{summation.vsize3} > \fontchar{summation.vsize4} > \stoptext Many thanks! T

Re: [NTG-context] math chars

2010-11-01 Thread Khaled Hosny
font, you will be getting completely different glyphs if anything at all). You can use glyph names which are a bit more portable: \setupbodyfont[cambria] \starttext \fontchar{summation} \fontchar{summation.vsize1} \fontchar{summation.vsize2} \fontchar{summation.vsize3} \fontchar{summation.vsiz

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 Hans Hagen
t I found no system how 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 \stoptex

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

2010-09-22 Thread Wolfgang Schuster
_t_e_x_t ... I found no system how 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 \char"F00xx but mkiv provides also a mechanism to access a symbol by the glyphname with \f