mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-07 20:31:06 -05: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:
parent
4100ee81a1
commit
ea59a98386
6 changed files with 5 additions and 6 deletions
|
@ -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
|
||||
|
|
|
@ -178,7 +178,6 @@ module.exports = Client = {
|
|||
'ist',
|
||||
'md',
|
||||
'Rmd',
|
||||
'Rnw',
|
||||
].indexOf(extension) > -1
|
||||
) {
|
||||
resources.push({
|
||||
|
|
|
@ -72,7 +72,7 @@ module.exports = ProjectRootDocManager = {
|
|||
if (callback == null) {
|
||||
callback = function () {}
|
||||
}
|
||||
const filePathsPromise = globby(['**/*.{tex,Rtex,Rnw}'], {
|
||||
const filePathsPromise = globby(['**/*.{tex,Rtex}'], {
|
||||
cwd: directoryPath,
|
||||
followSymlinkedDirectories: false,
|
||||
onlyFiles: true,
|
||||
|
|
|
@ -674,7 +674,7 @@ module.exports = {
|
|||
process.env.FILE_IGNORE_PATTERN ||
|
||||
'**/{{__MACOSX,.git,.texpadtmp,.R}{,/**},.!(latexmkrc),*.{dvi,aux,log,toc,out,pdfsync,synctex,synctex(busy),fdb_latexmk,fls,nlo,ind,glo,gls,glg,bbl,blg,doc,docx,gz,swp}}',
|
||||
|
||||
validRootDocExtensions: ['tex', 'Rtex', 'ltx', 'Rnw'],
|
||||
validRootDocExtensions: ['tex', 'Rtex', 'ltx'],
|
||||
|
||||
emailConfirmationDisabled:
|
||||
process.env.EMAIL_CONFIRMATION_DISABLED === 'true' || false,
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
window.i18n = { currentLangCode: 'en' }
|
||||
window.ExposedSettings = {
|
||||
appName: 'Overleaf',
|
||||
validRootDocExtensions: ['tex', 'Rtex', 'ltx', 'Rnw'],
|
||||
validRootDocExtensions: ['tex', 'Rtex', 'ltx'],
|
||||
} as typeof window.ExposedSettings
|
||||
|
|
|
@ -184,7 +184,7 @@ const initialize = () => {
|
|||
'gv',
|
||||
'mf',
|
||||
],
|
||||
validRootDocExtensions: ['tex', 'Rtex', 'ltx', 'Rnw'],
|
||||
validRootDocExtensions: ['tex', 'Rtex', 'ltx'],
|
||||
}
|
||||
|
||||
window.project_id = project._id
|
||||
|
|
Loading…
Reference in a new issue