Skip to content

Commit 5befae6

Browse files
authored
Merge pull request #158 from BeastyBlacksmith/bbs/julia-project
add project flag to julia engine
2 parents f0630f2 + 06ca817 commit 5befae6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pythontex/pythontex_engines.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1107,14 +1107,14 @@ def cleanup
11071107
julia_sub = '''println("{field_delim}")\nprintln({field})\n'''
11081108

11091109

1110-
CodeEngine('julia', 'julia', '.jl', '{julia} "{file}.jl"', julia_template,
1110+
CodeEngine('julia', 'julia', '.jl', '{julia} --project=@. "{file}.jl"', julia_template,
11111111
julia_wrapper, 'println(jltex.formatter({code}))', julia_sub,
11121112
'ERROR:', 'WARNING:', ':{number}', True)
11131113

11141114
SubCodeEngine('julia', 'jl')
11151115

11161116

1117-
CodeEngine('juliacon', 'julia', '.jl', '{julia} -e "using Weave; weave(\\"{File}.jl\\", \\"tex\\")"', '{body}\n',
1117+
CodeEngine('juliacon', 'julia', '.jl', '{julia} --project=@. -e "using Weave; weave(\\"{File}.jl\\", \\"tex\\")"', '{body}\n',
11181118
'#+ term=true\n{code}\n', '', '',
11191119
'ERROR:', 'WARNING:', ':{number}', True, created='{File}.tex')
11201120

0 commit comments

Comments
 (0)