Am 17.08.2014 um 18:59 schrieb Idris Samawi Hamid ادريس سماوي حامد
<[email protected]>:
> 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 \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…
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}
Wolfgang
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the
Wiki!
maillist : [email protected] / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage : http://www.pragma-ade.nl / http://tex.aanhet.net
archive : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________