FATAL miktex-epstopdf - Input file name not allowed in restricted mode #760
Replies: 6 comments 2 replies
|
MiKTeX now uses the restricted version of |
|
Thanks for the prompt response. Is using the system temp folder structure completely precluded? Creating lots of temporary eps files in the document local user file space seems to be a really bad idea. Tried adding Thanks. |
|
Tried using a document local temporary directory to contain the generated eps files:
Any suggestions on a workable solution would be appreciated. |
|
You have to turn on "unrestricted" mode if you have to use unsafe file names: |
|
Very much appreciate the hint. For the Pandoc command line, the hint lead to using JFYI, the MikTeX manual makes no (easily findable) mention of "unrestricted mode" and the PdfLatex Doc page does not list Again, thanks for attending to my question. |
|
I had the same issue but I am using a relative file path. Are relative file paths also not allowed in restricted mode? Output: |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Trying to generate a Pdf from markdown source using Pandoc/MikTex (Windows 7 & basic-miktex-21.2-x64). The markdown includes a latex block to include an EPS-encoded graphic file.
The problem is, miktex-epstopdf is failing with the error "Input file name not allowed in restricted mode". Any insights on what is going on and how to fix/workaround the problem would be greatly appreciated.
The actual latex used to include the EPS-encoded graphic file is:
The file is verified to exist, is readable by all, and contains the correct content. Note that the file is exists under my Windows standard temporary folder root.
The exact error is:
ReportDate: 2021-03-21 23:10:25
CurrentVersion: 21.3
SetupDate: 2021-03-21 20:52:00
SetupVersion: 21.2
Configuration: Regular
GitInfo: ab8ebca / 2021-03-19 10:22:46
OS: Windows 7 Home Premium, 64-bit, Service Pack 1, build 7601
SharedSetup: yes
LinkTargetDirectory: C:\Program Files\MiKTeX\miktex\bin\x64
PathOkay: yes
LastUpdateCheckAdmin: 2021-03-21 20:55:20
LastUpdateAdmin: 2021-03-21 20:53:53
LastUpdateDbAdmin: 2021-03-21 20:55:19
SystemAdmin: yes
RootPrivileges: yes
AdminMode: yes
Root0: C:\ProgramData\MiKTeX
Root1: C:\Program Files\MiKTeX
CommonInstall: C:\Program Files\MiKTeX
CommonConfig: C:\ProgramData\MiKTeX
CommonData: C:\ProgramData\MiKTeX
All reactions