On 2009-04-22, Pavel Sanda wrote: > Enrico Forestieri wrote: >> > i just asked if we can have (easily) something like View->DVI >> > (reverse) in our output formats, which will work in normal lyx >> > install, without any additional tweaks so xdvi works...
>> I think that a button "Use src-specials" coud be added to >> Preferences->Output->LaTeX such that \usepackage[active]{srcltx} >> is inserted in the preamble. >> After that, you simply need to Ctrl-click in the xdvi (maybe also >> kdvi) window to initiate the inverse search. In yap, it would be still >> necessary to modify the preferences from within the application. > i'm not sure this is system-wide setting - there are only some > documents you want to use it and usually only in some part of editation > process. thats why i proposed view menu... or document settings? Could we implement this as a module instead? Then it is a document-specific setting without additional GUI element. > secondly, instead "Use src-specials" use something more general > and use \usepackage{pdfsync} in preamble for pdf output... Günter