#1477 forward and inverse search doesn't work properly with yap

closed
Yap (316)
2012-10-17
2006-09-07
Wolfgang
No

Since I updated MiKTex to version 2.5 I had some
problems with the forward and inverse search feature
of yap (version 2.5.2419). Parts of documents which
are implemented by an '\input' command in the main
file are completely ingored in case of the forward
search. The inverse search also causes sometimes
weird matches in the original document.
Is this curious behavior a bug within Yap or any
MiKTeX runtime file, resp. does anybody know a simple
workaround for this issue?

Discussion

  • Christian Schenk

    Logged In: YES
    user_id=67066

    The report does not contain sufficient information.

    Please make sure that the report contains the following
    information:

    • what you did:
    • specify the commands you entered
    • attach all input files (if appropriate)

    • what you expected

    • what instead happened:

    • attach all log files and screen transcripts
    • attach the DebugView(1) messages (if appropriate)

    Please submit a new bug report, if you can make available more
    information. Thanks for your support!

    (1) http://www.sysinternals.com/ntw2k/freeware/debugview.shtml

     
  • U_Fischer

    U_Fischer - 2006-09-12

    Logged In: YES
    user_id=1562266

    I can confirm the problem for the forward search but I don't
    know if is a bug or expected behaviour. Consider this
    document:

    \begin{filecontents}{atest}
    \newpage
    a1

    \newpage
    a2

    \newpage
    a3
    \end{filecontents}
    \begin{filecontents}{btest}
    \newpage
    b1

    \newpage
    b2

    \newpage
    b3
    \end{filecontents}

    \documentclass{book}

    \begin{document}

    test

    \input{atest}

    \input{btest.tex}
    \end{document}

    Forward search as used in winedt fails for atest but works
    fine for btest.

    yap -s "4 D:\test\btest.tex" ...: works
    yap -s "4 D:\test\atest.tex" ...: fails
    yap -s "4 D:\test\atest" ...: works

    So it looks as if now yap doesn't like it if there is an
    extension in the argument if the \input command was used
    without extension, perhaps in the dvi specials the extension
    is missing?

    The trace is

    [1544] yap: Yap arguments: --trace=dvisearch,yap -1 -s "4 D:
    \UlleDoku\test\atest.tex" "D:\UlleDoku\test\test.dvi"
    [1544] yap: DdeExecute("yap", "system", "[open("D:
    \UlleDoku\test\test.dvi")]
    ")
    [556] yap: OnDDECommand("[open("D:\UlleDoku\test\test.dvi")]
    ")
    [1544] yap: DdeExecute("yap", "system", "[findsrc("4 D:
    \UlleDoku\test\atest.tex")]
    ")
    [556] yap: OnDDECommand("[findsrc("4 D:\UlleDoku\test\atest.
    tex")]
    ")
    [556] libdvi: searching src special 4 D:
    \UlleDoku\test\atest.tex
    [556] libdvi: search failed

    Ulrike Fischer

     
  • Christian Schenk

    Logged In: YES
    user_id=67066

    The problem has been resolved. Please update your
    MiKTeX system.

     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks