* ox-latex and synctex
@ 2014-02-24 23:22 Ken Mankoff
[not found] ` <87txbnn7yo.fsf@gmail.com>
0 siblings, 1 reply; 2+ messages in thread
From: Ken Mankoff @ 2014-02-24 23:22 UTC (permalink / raw)
To: Org-mode
I'm writing about a recent thread combining syntex with ox-latex.
Four posts on this are here:
https://lists.gnu.org/archive/html/emacs-orgmode/2013-10/msg00905.html
including an ox-synctex.el that implements PDF -> Org syncing.
I have bi-directional synctex working with LaTeX source, and would
like to get one direction PDF -> Org Source links working with Org
mode if possible as the above claims. Right now if I click on the
PDF the LaTeX exported version opens to the correct line, not the
Org source.
I'm using the latest version of Org (from ELPA, OS X) and I'm
wondering if anyone else has this setup working?
I'm using this test code:
#+BEGIN_SRC emacs-lisp
(load "~/.emacs.d/ox-synctex.el")
(setq org-latex-pdf-process
'("pdflatex -synctex=1 -interaction nonstopmode -output-directory %o %f"))
(ox-synctex-activate)
(org-latex-export-to-pdf)
#+END_SRC
And after exporting my *Messages* buffer contains:
ox-synctex: patching org-export-as return
ox-synctex: active during latex compile
ox-synctex: no concordance, not patching.
ox-synctex: done, hoorah!
However, when I look at the synctex.gz and compare it with that same
file produced from compiling the LaTeX source directly in emacs the
two are identical, which is why my pdf viewer/synctex is sending me
to the .tex exported file and not the original .org source file.
-k.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2014-02-25 4:33 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-02-24 23:22 ox-latex and synctex Ken Mankoff
[not found] ` <87txbnn7yo.fsf@gmail.com>
2014-02-25 4:33 ` Fwd: " Aaron Ecay
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.