cloud icon indicating copy to clipboard operation
cloud copied to clipboard

latex documents with paren in filename broken

Open williamstein opened this issue 11 years ago • 1 comments

See also #112 . Here's Jason Grout's report:

I just noticed that if I created a tex file with a parentheses in the name, like: "test(file).tex", then the preview breaks.  The 'build' tab has this error message:

/tmp/f-114325-3587-1nwu2x1: line 2: syntax error near unexpected token `('
/tmp/f-114325-3587-1nwu2x1: line 2: `pdflatex -synctex=1 -interact=nonstopmode test(file).tex< /dev/null 2</dev/null; echo 'sha1sums'; sha1sum test(file).sagetex.sage'

Thanks,
Jason

williamstein avatar Apr 25 '14 23:04 williamstein

I changed it to no longer allow creation of .tex filenames (from the gui at least) if they contain a paren. But there's still a potential problem, e.g., if somebody used the command line or uploaded a tex doc.

williamstein avatar Nov 03 '14 14:11 williamstein