Hello list, I need the lua equivalent of \fontstyle, a function that returns a string like "rm", "ss", etc.
A lua equivalent for \doifelse{\fontstyle}{ss}{...}{...} to write lua code like this: local fs = get_current_font_style() if fs == "ss" then ... else ... end Thanks, best greetings MF ___________________________________________________________________________________ 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://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___________________________________________________________________________________