File tree 1 file changed +16
-7
lines changed
1 file changed +16
-7
lines changed Original file line number Diff line number Diff line change @@ -15,6 +15,8 @@ License: MIT – see LICENSE file for details
15
15
PANDOC_VERSION :must_be_at_least ' 2.7.3'
16
16
17
17
local system = require ' pandoc.system'
18
+ local utils = require ' pandoc.utils'
19
+ local stringify = utils .stringify
18
20
local with_temporary_directory = system .with_temporary_directory
19
21
local with_working_directory = system .with_working_directory
20
22
77
79
-- meta options was set, it gets used instead of the corresponding
78
80
-- environment variable:
79
81
function Meta (meta )
80
- plantuml_path =
82
+ plantuml_path = stringify (
81
83
meta .plantuml_path or meta .plantumlPath or plantuml_path
82
- inkscape_path =
84
+ )
85
+ inkscape_path = stringify (
83
86
meta .inkscape_path or meta .inkscapePath or inkscape_path
84
- python_path =
87
+ )
88
+ python_path = stringify (
85
89
meta .python_path or meta .pythonPath or python_path
86
- python_activate_path =
90
+ )
91
+ python_activate_path = stringify (
87
92
meta .activate_python_path or meta .activatePythonPath or python_activate_path
88
- java_path =
93
+ )
94
+ java_path = stringify (
89
95
meta .java_path or meta .javaPath or java_path
90
- dot_path =
96
+ )
97
+ dot_path = stringify (
91
98
meta .path_dot or meta .dotPath or dot_path
92
- pdflatex_path =
99
+ )
100
+ pdflatex_path = stringify (
93
101
meta .pdflatex_path or meta .pdflatexPath or pdflatex_path
102
+ )
94
103
end
95
104
96
105
-- Call plantuml.jar with some parameters (cf. PlantUML help):
You can’t perform that action at this time.
0 commit comments