Jean-Marc Lasgouttes wrote:
> Angus> Timm confirms that this works on Win32 also, so it seems that
> Angus> we have a way out: when invoking an external script, we
> should Angus> wrap the argument in quotes (using QuoteName) if we
> have Angus> replaced one of the placeholders $$a, $$i, $$o, $$p,
> $$s, Angus> $$FName, $$FPath, $$AbsPath, $$RelPathMaster,
> $$RelPathParent, Angus> $$AbsOrRelPathMaster, $$AbsOrRelPathParent,
> $$Tempname, Angus> $$Sysdir, $$LyX, $$User
> 
> Angus> Unfortunately, doing so is going to be a real PITA.
> 
> Why? Can't you just QuoteName every $$ substitution instead of the
> whole argument?

I guess that would work.

The alternative is to escape 'special chars', so 'Dokumente und 
Einstellungen' becomes 'Dokumente\ und\ Einstellungen'.

-- 
Angus

Reply via email to