[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-bugs-dist
Subject:    [Bug 274294] okular's synctex support doesn't work with lua(la)tex
From:       Jochen Trumpf <Jochen.Trumpf () anu ! edu ! au>
Date:       2011-07-29 5:48:59
Message-ID: E1QmfwR-0006OE-1q () bugs ! kde ! org
[Download RAW message or body]

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 watching all bug changes.
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic