On Tue, Sep 10, 2013 at 12:21 PM, Pavel Sanda <[email protected]> wrote: > stefano franchi wrote: > > Has anyone managed to get forward/reserve search fully working when using > > LuaTeX as a backend? > > Automatic setting fails with LuaTeX (for me, at least). > > > > I got reverse search (from pdf to lyx) working by following the manual > > setup instructions in the Additional Features manual: creating a custom > > format (pdf6: Luatex/Synctex) and changing the compilation instruction > to: > > > > lualatex -synctex=1 $$i > > Time to send us patch with some paragraph or footnote in additional manual > :) > > Ok, will do that.
> > Regular LuaTeX compilation would otherwise fail with an "Undefined > control > > sequence" error on the /synctex line in the preamble. > > > > But I cannot get the forward search (lyx-->pdf) working properly. When I > > select "Forward search" from the pop-up dialog I always get a new okular > > instance. The Okular command in Tools->Preferences->Output->General is > > > > okular --unique "$$o#src:$$n $$f" > > > > > > Apparently, the unique flag is ignored. > > Does forward search work with normal pdflatex? Hmm, no, just checked (should have thought of it). Same issue: new instance and always landing on page 1 > Any error message? > No error message in the console. I see the command issued is exactly what it should be: Running: okular --unique "Myfile.pdf#src:54 But apparently the --unique flag is ignored as wells as the src:54 part, since I always lend on the first page (on the new instance) > How old is your okular, IIRC there were such issues with old versions. > I believe my version is pretty recent: [stefano@gorgias ~]$ okular --version Qt: 4.8.5 KDE Development Platform: 4.11.00 Okular: 0.17.0 Cheers, Stefano -- __________________________________________________ Stefano Franchi Associate Research Professor Department of Hispanic Studies Ph: +1 (979) 845-2125 Texas A&M University Fax: +1 (979) 845-6421 College Station, Texas, USA [email protected] http://stefano.cleinias.org
