On 01/21/2014 10:01 PM, Wolfgang Schuster wrote: > You can use the \fontalternative command to check for the current > alternative (upright, italic, bold etc.) of the font. > > \def\Test > {\processaction > [\fontalternative] > [ tf=>Upright, > it=>Italic, > sl=>Slanted, > bf=>Bold, > bi=>Bolditalic, > bs=>Boldslanted, > unknown=>Unknown fontalternative]} > > \starttext > “\Test” {\it “\Test”} {\bs “\Test”} {\sc “\Test”} > \stoptext
Many thanks for the solution and your excellent explanation, Wolfgang. This was exactly what I needed. Many thanks again, Pablo -- http://www.ousia.tk ___________________________________________________________________________________ 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________