Inverse Search and Forward Search with DVI

Wenbin
2009-12-04
2012-10-17
  • Wenbin
    Wenbin
    2009-12-04

    Hi, I followed the instructions for Texmaker at http://www.xm1math.net/texmak
    er/doc.html#SECTION37

    4.7 "Forward/Inverse search" with Texmaker

    Some dvi viewers can jump to (and visually highlight) a position in the DVI
    file that corresponds to a certain line number in the (La)TeX source file.
    To use this feature, you can use the @ character in the syntax of the dvi
    viewer command ("Configure Texmaker" -> "Commands").
    Examples ("Forward search"):

    • To launch yap from texmaker : "C:/Program Files/MiKTeX 2.7/miktex/bin/yap.exe" -1 -s @%.tex %.dvi

    For the opposite operation ("Inverse search") :

    • To launch texmaker from yap : "C:\Program Files\Texmaker\texmaker.exe" "%f" -line %l (the program arguments : "%f" -line %l )

    But it doesn't work. Any idea to fix it?