![](https://secure.gravatar.com/avatar/49e63acb01f2ca80efce7eed08310ce8.jpg?s=120&d=mm&r=g)
Idris Samawi Hamid wrote:
On Fri, 28 Dec 2007 09:39:56 -0700, Hans Hagen
wrote: \unexpanded\def\Idrisized#1% {\begingroup \let\processword\struttedbox \processwords{#1}% \endgroup} blaq blaq blaq blaq blaq blaq blaq blaq \Idrisized{\tfc blaq blaq blaq blaq blaq blaq} blaq blaq blaq blaq \Idrisized{\tfc blaq blaq} blaq blaq blaq blaq blaq blaq blaq blaq blaq blaq blaq blaq blaq blaq blaq blaq blaq blaq blaq blaq blaq blaq blaq blaq blaq
Hmm, there is a bug, unfortunately: Only the first word in #1 is processed, the rest are ignored. Adding grouping causes the argument to be treated as a box and the desired effect is lost. (pdf attached).
\unexpanded\def\Idrisized#1#2% {\begingroup#1% \let\processword\struttedbox \processwords{#2}% \endgroup} blaq blaq blaq blaq blaq blaq blaq blaq \Idrisized\tfb{blaq blaq blaq blaq blaq blaq} blaq blaq blaq blaq \Idrisized\tfb{blaq blaq} blaq blaq blaq blaq blaq blaq blaq blaq blaq blaq blaq blaq blaq blaq blaq blaq blaq blaq blaq blaq blaq blaq blaq blaq blaq
Best Idris
===================================== % engine=luatex
\starttext
\start
\unexpanded\def\Idrisized#1% {\begingroup \let\processword\struttedbox \processwords{#1}% \endgroup}
blaq blaq blaq blaq blaq blaq blaq blaq \Idrisized{\tfc blaq blaq blaq blaq blaq blaq} blaq blaq blaq blaq \Idrisized{\tfc blaq blaq} blaq blaq blaq blaq blaq blaq blaq blaq blaq blaq blaq blaq blaq blaq blaq blaq blaq blaq blaq blaq blaq blaq blaq blaq blaq
\blank
blaq blaq blaq blaq blaq blaq blaq blaq \Idrisized{{\tfc blaq blaq blaq blaq blaq blaq}} blaq blaq blaq blaq \Idrisized{{\tfc blaq blaq}} blaq blaq blaq blaq blaq blaq blaq blaq blaq blaq blaq blaq blaq blaq blaq blaq blaq blaq blaq blaq blaq blaq blaq blaq blaq
\stop
\stoptext =====================================
------------------------------------------------------------------------
___________________________________________________________________________________ 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://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________
-- ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------