- command = subst(command, token_encoding, buffer ? buffer->params().encoding().iconvName() : string());
+ command = subst(command, token_textclass,
+ buffer ? quoteName(buffer->params().documentClass().name())
+ : string());
+ command = subst(command, token_modules,
+ buffer ? quoteName(buffer->params().getModules().asString())
+ : string());
+ command = subst(command, token_encoding,
+ buffer ? quoteName(buffer->params().encoding().iconvName())
+ : string());
+ command = subst(command, token_python, os::python());