On Thu, Apr 15, 2010 at 04:45:50PM +0200, Jean-Marc Lasgouttes wrote:
> Le 15/04/2010 15:55, Enrico Forestieri a écrit :
>> Then, there is another issue. Some applications require that the files are
>> quoted. However, there is no way to embed a quote in a preference string.
>> For example, SumatraPDF performs a forward search when it receives the
>> DDE command [ForwardSearch("file.pdf","file.tex",142,0,0,1)], where the
>> quotes are essential, but the following line is not correctly parsed:
>>
>> \forward_search "CMCDDE SUMATRA control 
>> [ForwardSearch(\"$$o\",\"$$t\",$$n,0,0,1)]"
>
> Does it work now?

Yes, thanks! Now escaping seems to work and forward search with SumatraPDF
can be achieved by

\forward_search "CMCDDE SUMATRA control 
[ForwardSearch(\\\"$$o\\\",\\\"$$t\\\",$$n,0,0,1)]"

where CMCDDE is downloadable from http://www.istri.fr/zip/CMCDDE.zip

-- 
Enrico

Reply via email to