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:
Tyna William
2023-06-13 11:45:14 -04:00
committed by Copybot
parent 4100ee81a1
commit ea59a98386
6 changed files with 5 additions and 6 deletions

View File

@@ -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