mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-06-01 21:31:36 +02:00
Implement v1 open-with-overleaf API in v2 (part 1) GitOrigin-RevId: 488f4eeefc29086a72295ccbc7c63d2f927add12
11 lines
222 B
CoffeeScript
11 lines
222 B
CoffeeScript
ENGINE_TO_COMPILER_MAP = {
|
|
latex_dvipdf: "latex"
|
|
pdflatex: "pdflatex"
|
|
xelatex: "xelatex"
|
|
lualatex: "lualatex"
|
|
}
|
|
|
|
module.exports =
|
|
compilerFromV1Engine: (engine) ->
|
|
return ENGINE_TO_COMPILER_MAP[engine]
|