On Thu, Apr 15, 2010 at 11:49 PM, Enrico Forestieri <for...@lyx.org> wrote: > 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.
Well, doing the forward search on the last updated filetype (or all open filetypes) seems reasonable if the user doesn't specify a file type. This would save the use from having to have shortcuts for "forward search" with each file type (unless they really want to). > 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. Slightly OT, but typically switch branches more often than output types, so it would be nice if I could define Ctrl-D to be with the "Draft" branch and Ctrl-T to be without (but both outputting PDF). -- John C. McCabe-Dansted