mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-22 13:18:28 +00:00
Fix bug #7551: Inclusion "." in filename creates LaTeX error sweave graphic generation
This is different from the fix proposed in bug #7555, because we have to catter for dots in temp dir path. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38895 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
226b29943f
commit
dc217ed08c
@ -30,7 +30,7 @@ options(encoding=ls.args[3])
|
|||||||
setwd(ls.args[4])
|
setwd(ls.args[4])
|
||||||
|
|
||||||
# this is passed as a prefix.string to tell where temporary files should go
|
# this is passed as a prefix.string to tell where temporary files should go
|
||||||
ls.pr <- sub("\\.tex$", "", ls.args[2])
|
ls.pr <- gsub('\\.([^/]*)$', '-\\1', sub("\\.tex$", "", ls.args[2]))
|
||||||
|
|
||||||
# Replace the default pdf device by the null device (tip from Yihui Xie)
|
# Replace the default pdf device by the null device (tip from Yihui Xie)
|
||||||
# See: http://yihui.name/en/2010/12/a-special-graphics-device-in-r-the-null-device/
|
# See: http://yihui.name/en/2010/12/a-special-graphics-device-in-r-the-null-device/
|
||||||
|
Loading…
Reference in New Issue
Block a user