diff --git a/lib/CompilationRequest.js b/lib/CompilationRequest.js index 46ba51d..258020c 100644 --- a/lib/CompilationRequest.js +++ b/lib/CompilationRequest.js @@ -102,7 +102,10 @@ class CompilationRequest { } function validateCommand(command) { - if (command !== 'pdflatex' && command !== 'xelatex' && command !== 'lualatex') + //TODO: all possible commands should be fetched from the host on + // service start. + if (command !== 'pdflatex' && command !== 'xelatex' && command !== 'lualatex' && + command !== 'platex' && command !== 'uplatex') return `Unknown command: ${command}`; return null; } diff --git a/public/index.html b/public/index.html index 1278d31..037570c 100644 --- a/public/index.html +++ b/public/index.html @@ -73,6 +73,8 @@