Skip to content

Commit

Permalink
issues #367,#378: minor fix of last commit
Browse files Browse the repository at this point in the history
  • Loading branch information
altmany committed Jun 8, 2023
1 parent 694e85b commit aff397d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion append_pdfs.m
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ function prepareCmdFile(cmdfile, output, varargin)

str = ['-q -dNOPAUSE -dBATCH -sDEVICE=pdfwrite -dPDFSETTINGS=/prepress ' ...
'-sOutputFile="' output '" -f ' sprintf('"%s" ',varargin{:})];
str = regexprep(str, ' "?" ',''); % remove empty strings (issues #367,#378)
str = regexprep(str, ' "?" ',' '); % remove empty strings (issues #367,#378)
str = strtrim(str); % trim extra spaces

fh = fopen(cmdfile, 'w');
Expand Down

0 comments on commit aff397d

Please sign in to comment.