mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-07 20:31:06 -05:00
af2d959504
Implement v1 open-with-overleaf API in v2 (part 1) GitOrigin-RevId: 488f4eeefc29086a72295ccbc7c63d2f927add12
10 lines
222 B
CoffeeScript
10 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]
|