mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-05-23 09:09:36 +02:00
Merge pull request #13473 from overleaf/revert-13439-tw-support-rnw-files
Revert "support for Rnw files" GitOrigin-RevId: 1116814958cabed4c741bd0d3cce7670a6ca5ed4
This commit is contained in:
@@ -184,7 +184,7 @@ function _buildLatexCommand(mainFile, opts = {}) {
|
||||
|
||||
// We want to run latexmk on the tex file which we will automatically
|
||||
// generate from the Rtex/Rmd/md file.
|
||||
mainFile = mainFile.replace(/\.(Rtex|md|Rmd|Rnw)$/, '.tex')
|
||||
mainFile = mainFile.replace(/\.(Rtex|md|Rmd)$/, '.tex')
|
||||
command.push(Path.join('$COMPILE_DIR', mainFile))
|
||||
|
||||
return command
|
||||
|
||||
Reference in New Issue
Block a user