[Okular-devel] [Bug 274294] okular's synctex support doesn't work with lua(la)tex generated output

Jochen Trumpf Jochen.Trumpf at anu.edu.au
Fri Jul 29 07:48:59 CEST 2011


https://bugs.kde.org/show_bug.cgi?id=274294





--- Comment #8 from Jochen Trumpf <Jochen Trumpf anu edu au>  2011-07-29 05:48:58 ---
I think you are partly confusing which program is doing what. The synctex file
(<name>.synctex.gz) is written by pdflatex (or luatex) and specifies a path to
a source file. Pdflatex (or luatex) writes this path and decides whether to use
a relative path, an absolute path, or even a path that needs expanding. 

Okular does no parsing of source file paths. It simply passes the path you
specify on the commandline to the embedded synctex library which in turn reads
the synctex file. It looks like this library only supports exactly matching
paths, in particular no path expansion. That is not a problem in okular
(although theoretically okular could try to provide a workaround).

My comment above points out that in the absence of better support through the
synctex library and unless somebody writes a source file path parser for
okular, you will need to configure your latex environment (pdflatex/lualatex
and your mechanism for calling okular) to provide matching source file paths.
This workaround applies in all cases, including when you are using kile.

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the Okular-devel mailing list