Enrico Forestieri wrote:
> However, I think that we need \forward_search_dvi and \forward_search_pdf
> instead of simply \forward_search.

was thinking about this, but concluded that user uses just one viewer
for such purposes. feel free to change this if you think otherwise.

> 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)]"
> 
> even escaping the inner quotes. This could be overcome by introducing $$T
> and $$O for having the files automatically quoted like this:
> 
>     command = subst(command, "$$T", "\\\"" + texname + "\\\"");
>     command = subst(command, "$$O", "\\\"" + outname + "\\\"");

also fine with me if you want to add them. intention was only to give
forward search the starting impetus, any other changes are welcome.

> otherwise one has to use wrapper scripts.
> 
> > do you think its good idead to add this entry into edit context menu
> > under bookmarks jump?
> 
> That's fine with me, but I leave the decision where to add it to our GUI
> experts.

we need to find way how to hide it for the most users which would never use
forward search. one possibility is lineedit+combo proposal in next message.

pavel

Reply via email to