Menu

#1758 wrong position in the PDF viewer

None
closed
nobody
None
1
2016-05-09
2016-05-06
No

When I click in the tex file on a line "\Chapter{mychpater}", the PDF viewer is positioned on the page before the chapter "mychapter" starts (meaning the page where the title of the chapter is writen). I am not sure if this is a proper bug, but this is a weird behavior at least.

Discussion

  • Tim Hoffmann

    Tim Hoffmann - 2016-05-08

    Is \Chapter part of a special package? With the standard \chapter it works as expected. There's pobably nothing we can do about it. Likely it may have to do with how \Chapter is defined and how synctex interprets it.

     
  • Gilles Bonnet

    Gilles Bonnet - 2016-05-09

    Sorry, I meant \chapter with a small "c". It does not work as expected for me.
    I'm using TeXstudio 2.10.8 (hg 5802:5ee1d048e556)
    Using Qt Version 5.5.1, compiled with Qt 5.5.1 R

    Here is the example on the picture attached:

    \documentclass{book}
    \usepackage{lipsum}
    \begin{document}
    \chapter{one}
    \lipsum[1]
    \chapter{two}
    \lipsum[2]
    \chapter{three}
    \lipsum[3]
    \end{document}
    
     
  • Tim Hoffmann

    Tim Hoffmann - 2016-05-09

    Indeed this is a bug in synctex. There's nothing we can do about it.

     
  • Tim Hoffmann

    Tim Hoffmann - 2016-05-09
    • status: open --> closed
    • Group: -->
     

Log in to post a comment.