Open rose-a opened 6 years ago
If PLANTUML_JAR contains a path with spaces in it, compiling results in an error (Example path: C:\Program Files (x86)\PlantUML\plantuml.jar):
PLANTUML_JAR
C:\Program Files (x86)\PlantUML\plantuml.jar
Error: Unable to access jarfile C:\Program
I tried it out running the java cmd on the command line, same result there. If you put quotes around the environment variable everything works fine.
I think, the fix is to do some string concatenation at https://github.com/latextemplates/plantuml/blob/dd626b7ab664d7554d5e62be2de0ff375c5f7933/plantuml.lua#L25.
If
PLANTUML_JAR
contains a path with spaces in it, compiling results in an error (Example path:C:\Program Files (x86)\PlantUML\plantuml.jar
):I tried it out running the java cmd on the command line, same result there. If you put quotes around the environment variable everything works fine.