- command = support::subst(command, "$$i", from.toFilesystemEncoding());
- command = support::subst(command, "$$o", to.toFilesystemEncoding());
- command = support::subst(command, "$$l", latex);
+ command = support::subst(command, "$$i", quoteName(from.toFilesystemEncoding()));
+ command = support::subst(command, "$$o", quoteName(to.toFilesystemEncoding()));
+ command = support::subst(command, "$$l", quoteName(latex));