I am having trouble with the inverse search feature of okular. I am running Ubuntu 14.04.
I compiled a document (MWE see below) and had issues. In fact I compile using the same settings in kile and get different behaviour depending on minor modifications in the tex code. However when looking at the synctex files these seem to be perfectly correct.
- If you compile with the titlepage and the theme Frankfurt, inverse serch is not working
- If compiling without title page all is ok
- If compiling without any explicit theme but with title page all is ok
- If compiling with theme Dresden (and title page) it is ok
MWE: You need two files to reproduce the error.
main.tex:
\documentclass{beamer}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{lmodern}
% \usetheme{Dresden}
\usetheme{Frankfurt}
\author{Me}
\title{Very important}
\begin{document}
\maketitle
\input{src/foo.tex}
\end{document}
src/foo.tex:
\begin{frame}{Just a test}
\begin{itemize}
\item Itam A
\item Item B
\item Item C
\end{itemize}
\end{frame}
Just click on any of the items to see the problem.
As far as I can see, the problem is inside okular as independent which editor is selected in the options of okular, the destination file is constructed wrong. All tested editor try to open the (absolute path of the) file .
. If you have the main.tex
in /tmp/bar
, the editor will try to open /tmp/bar
which is not possible as it is a directory of course.
Can anybody verify/reproduce this behaviour?
I am perfectly aware of this question, however they seem not to be related. There not the file name is wrong but the GUI does not the expected things.