Jürgen Spitzmüller wrote: > IOW, it seems we need to issue > > okular --unique 'file:path/to/dvifile.dvi#src:<linenumber> texfile.tex' > > and > > okular --unique 'file:path/to/pdffile.pdf#src:<linenumber> > path/to/texfile.tex' > > if I read the sources correctly.
The following does work for me with -synctex=1 and pdflatex: okular --unique $$o#src:$$n$$t However, it opens a new okular instance every time. This might be an okular bug, since --unique just is supposed to prevent that. Jürgen
