On Thu, Apr 15, 2010 at 05:32:28PM +0200, Jean-Marc Lasgouttes wrote: > Enrico Forestieri <for...@lyx.org> writes: > > Hmm... If you add a menu, you should be able to specify either > > "forward-search dvi" or "forward-search pdf", otherwise, without any > > argument, forward seach is only possible with dvi. So, I think that > > both \forward_search_dvi and \forward_search_pdf are needed and a menu > > should allow to select one or the other (maybe hiding a choice if the > > corresponding command is not defined). > > In this case, it would be better to actually add a forward-search > command to each viewer. Empty would mean `no forward search', and there > would be no need for a separate configuration.
The point is that in the command you have to specify either the .dvi or .pdf file, so you have to know for which kind of output you want to perform a forward search. How would you avoid the need for having two possible choices in a menu? Then, I do not agree on the fact that a user always uses one kind of output. -- Enrico