Make use of the relative path when call the process. #33
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR Fix #32.
Trying to execute the command in the console without
-interaction=batchmode
pdflatex say that the file does not exist.I noticed that in Windows 2016 the temp path of the latex file is composed by the compressed username "ADMINI~1" and not the real one "Administrator":
Using pdflatex in the console with "Administrator" instead of "ADMINI~1" the file is seen by pdflatex.
Probably the function that get the tempfiles in Windows 2016 is the real source of the problem here, but I have found another solution: make use of the relative path filename instead of the absolute one.
In fact the current directory of the commands is set to the temp directory and I do not see any contraindication to leave just the relative path (just the filename) starting from the tempdir:
This solve my problem.