Add synctex support
shiblon opened this issue · 4 comments
shiblon commented
Originally reported on Google Code with ID 161
pdflatex has a neat option that adds functionality that is best described with a video:
http://www.youtube.com/watch?v=4e290AQD7_A
This is easily done by using -synctex=0 in the first passes and -synctex=1 in the last
one.
Reported by andre.david
on 2012-07-15 16:00:46
shiblon commented
ps - this is not a Defect...
Reported by andre.david
on 2012-07-15 16:01:49
shiblon commented
Whoa - that's pretty cool.
Sorry for the slow response time, by the way. This project is always the first to
go when things heat up at work. :-p
So, one problem with this is that we never really know which pass is the last pass.
Sometimes the first pass is also the last pass, and sometimes it isn't - you just
never know until the logs say "you're done". Is there any other kind of logic we can
apply to make this work (without adding an additional last pass *every time*)?
Reported by shiblon
on 2012-08-02 09:19:16
- Labels added: Type-Enhancement
- Labels removed: Type-Defect
shiblon commented
The obvious way out is to add it to all latex runs. I don't think it is expensive.
(How can the cost be benchmarked?)
Reported by andre.david
on 2012-08-02 18:27:24
shiblon commented
Well, we could look at a very large document and see how much longer it takes with synctex
versus without.
I'll happily look at a patch for this. You'll want to change the commandline options
in the run-latex function to include synctex=whatever, and then you can test it and
see if it works properly. :-)
Reported by shiblon
on 2012-08-09 07:31:53