Skip to content

Commit

Permalink
Update Plot2LaTeX.m
Browse files Browse the repository at this point in the history
*fixed a bug in line 412
  • Loading branch information
Don-Chris committed Feb 10, 2022
1 parent a5f909e commit c11496f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Plot2LaTeX.m
Expand Up @@ -409,7 +409,7 @@ function Plot2LaTeX( h_in, filename, varargin )
waitbar(Step/nStep,hWaitBar,'Saving .svg to .pdf file');
end

if check_Inkscape_Version(inkscape_path) % inkscape v1
if check_Inkscape_Version(opts.DIR_INKSCAPE) % inkscape v1
cmdtext = sprintf('"%s" "%s.svg" --export-filename="%s.pdf" --export-latex --export-area-drawing',...
opts.DIR_INKSCAPE, filename, filename);
else % inkscape v0
Expand Down

0 comments on commit c11496f

Please sign in to comment.