Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

I have TeXnicCenter and GSview. If I have a .tex file house.tex, and the resulting PostScript file house.ps, I'd like to be able to jump from a line in house.ps to the corresponding line in house.tex quickly.

share|improve this question
2  
What makes you believe this is possible? Synchronisation is possible to the direct output from TeX, so a .dvi or .pdf file depending on how you are working. But that I know of this is not going to work for a PostScript file (or indeed a .pdf generated using dvips + ps2dpf or using dvipdfm(x)). –  Joseph Wright Mar 3 '12 at 11:48
    
I'm baffled why you stick with PostScript in 2012. Why don't you use PDF? –  Martin Schröder Mar 3 '12 at 19:56
    
Sorry, if you have them, both solutions for .pdf and .ps are also ok. The reason I use .ps is that if I am reading my .ps and then I compile again, gsview stands in the same page, whereas If I do the same thing with .pdf i have to open the file again and go manually tothe page I was reading. –  user17786 Mar 4 '12 at 12:38
    
There should be the equivalent of a -synctex option that will allow you to right click on the code and just to the appropriate place in the PDF and also in the reverse direction (which is more useful). See Location inside a LaTeX source code –  Peter Grill Mar 7 '12 at 21:58

1 Answer 1

up vote 2 down vote accepted

Synchronisation is possible to the direct output from TeX, so a .dvi or .pdf file, depending on how you are working. But that I know of this is not going to work for a PostScript file (or indeed a .pdf generated using dvips + ps2dpf or using dvipdfm(x)). The synchronisation information if lost on conversion from .dvi format.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.