Hello, On Tue, 21 Oct 2003, Andre Poenitz wrote:
> How do I start lyxclient manually if I want to go to a certain line? > > lyxclient -g newfile16.lyx 13 > > brings up a 'document is already loaded, want to switch' dialog. -g is an alias to LFUN_GOTOFILEROW. My inverse search patch just extended this lfun to work also with files that are in lyx_tmpdir. So, unles you are not using a temporary directory, you should use lyxclient -g /tmp/lyx_tmpdir..../..../newfile.tex 13 which is what xdvi would call. Why don't you let xdvi do it's job instead of trying manually? > The buttons present me with a choice of immediate crash or full freeze. As you are not referencing a file in lyx_tmpdir, you are using the old part of the lfun. I don't believe that the crash is due the lfun itself, which is very simple, but a bug somewhere else. > So it "sort of works", but not really automatic, nor robust... I would really like to continue my work on it, but having two patches waiting for approval is too much for me. If something is wrong with them, I need to know before resume coding. Joao.