mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-05-23 09:09:36 +02:00
Merge pull request #4943 from overleaf/bg-increase-max-print-line
allow setting texlive max_print_line variable GitOrigin-RevId: 7588fed6aa5868a6ed6b6121cbd6f9c008c2aa0f
This commit is contained in:
@@ -131,6 +131,10 @@ function doCompile(request, callback) {
|
||||
// override default texlive openout_any environment variable
|
||||
env.openout_any = Settings.texliveOpenoutAny
|
||||
}
|
||||
if (Settings.texliveMaxPrintLine && Settings.texliveMaxPrintLine !== '') {
|
||||
// override default texlive max_print_line environment variable
|
||||
env.max_print_line = Settings.texliveMaxPrintLine
|
||||
}
|
||||
// only run chktex on LaTeX files (not knitr .Rtex files or any others)
|
||||
const isLaTeXFile =
|
||||
request.rootResourcePath != null
|
||||
|
||||
Reference in New Issue
Block a user