On Tue, May 13, 2008 at 12:57 PM, Arthur Reutenauer
is there a solution for ssharp with XeTeX and LuaTeX, I have a word with a ß in it which I convert into uppercase letters and the ß remains a lowercase characters.
The problem is that there is no uccode for ß (U+00DF) in char-def.lua and that Mark IV has no way of taking care of this for the moment. But there should be, of course.
I was indeed hoping for a little bit Lua magic to have a working solution but in this case I prefer something that could be used as argument for the style key in \doattributes. \unprotect \definesystemvariable{xx} \def\setupcommand {\dodoubleargument\getparameters[\??xx]} \def\startcommand{\dostartattributes\??xx\c!style\c!color\empty} \def\stopcommand{\dostopattributes} \setupcommand[style=\it] \protect \starttext \input knuth \startcommand \input knuth\par \stopcommand \input knuth \stoptext It should be possible to say "style=WORD" to get the second text completely uppercase even if the text is taken from a buffer or a macro.
Arthur
Wolfgang