Marius Hofert writes: > Okay, obviously the master document master.pdf is not found/seen. I then tried > the Local Variables trick above, but I still obtain the above message. > > How can the okular call be adjusted so that forward-search works? Somehow the > %o > does not expand to the master.pdf (but chapter.pdf instead -- which of course > does not exist).
okay, I found out the following: On C-c C-c View, I can see the command that's used for previewing master.pdf. The command okular --unique %o#src:%n`pwd`/./%b results in ,---- | View command: okular --unique chapter.pdf#src:9`pwd`/./chapter.Rnw `---- If I replace chapter.pdf by master.pdf, everything works as expected. So it's clear that %o does not do the right thing (getting "master.pdf"). The question is how to get the master file name master.pdf. > > Although this question touches several areas, I decided to post it here (I >hope > this is okay), since I saw the meanings of %o, %n ... explained in > /usr/share/emacs23/site-lisp/auctex/tex.el and thus made the connection to > AUCTeX. > > Cheers, > > Marius _______________________________________________ auctex mailing list [email protected] https://lists.gnu.org/mailman/listinfo/auctex
