yochju / latex-makefile

Automatically exported from code.google.com/p/latex-makefile
Other
0 stars 0 forks source link

Add synctex support #161

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
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.

Original issue reported on code.google.com by andre.da...@gmail.com on 15 Jul 2012 at 4:00

GoogleCodeExporter commented 9 years ago
ps - this is not a Defect...

Original comment by andre.da...@gmail.com on 15 Jul 2012 at 4:01

GoogleCodeExporter commented 9 years ago
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*)?

Original comment by shiblon on 2 Aug 2012 at 9:19

GoogleCodeExporter commented 9 years ago
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?)

Original comment by andre.da...@gmail.com on 2 Aug 2012 at 6:27

GoogleCodeExporter commented 9 years ago
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.  :-)

Original comment by shiblon on 9 Aug 2012 at 7:31