mirror of
https://github.com/overleaf/overleaf.git
synced 2024-12-18 10:12:32 -05:00
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]
|