local inputfilter = SILE.require("packages/inputfilter").exportslocal uptest = function(text, content, data)    local currentText = ""    if not data.scale then data.scale = 1 end    local result = {}      local function insertText()        if (#currentText>0) then table.insert(result, currentText) end        currentText = ""      end    for token in SU.gtoke(text, "[A-Z]") do      if(token.string) then        currentText = currentText .. token.string      else        insertText()        table.insert(result, inputfilter.createCommand(          content.pos, content.col, content.line,          "font", {size=(tonumber(data.scale) * SILE.settings.get("font.size")).."pt"}, token.separator        ))        if data.kern then          table.insert(result, inputfilter.createCommand(            content.pos, content.col, content.line,            "kern", {width=data.kern}          ))        end      end    end    insertText()    return result  endSILE.registerCommand("uppercase", function(options, content)  SILE.process(inputfilter.transformContent(content, uptest, options))end, "Typeset the enclosed text as uppercase")