rolfn / eso-pic

LaTeX package to add pic­ture com­mands (or back­grounds) to ev­ery page
Other
4 stars 1 forks source link

Showframe package conflicts with SyncTeX #8

Open NeverGameStar opened 2 weeks ago

NeverGameStar commented 2 weeks ago

When using the showframe package, SyncTeX jumps to source code are messed up. Instead of jumping to the correct line, the jumps usually point to the end of a page / float.

MWE:

\documentclass[fontsize=12pt, twoside]{scrreprt}

\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage[ngerman]{babel}
\usepackage{showframe}

\begin{document}
Hier steht ein Text \\
und hier noch mehr Text \\
auch hier wieder Text \\
und noch mehr Text \newpage
Auch hier steht Text \\
wieder mehr Text \\
ebenso noch mehr Text \\
immer mehr Text
\end{document}

I'm using the latest TeXMaker 6.0.0 with MiKTeX 4.12. My compiler settings are the following: pdflatex -synctex=1 -interaction=nonstopmode --shell-escape %.tex

Video as demonstration:

https://github.com/user-attachments/assets/d391820b-e0c2-4409-89fd-47c60538f98a

rolfn commented 2 weeks ago

Sorry, I don't use SyncTeX and don't know anything about it. If you need a solution to your problem, please go elsewhere (e.g. https://tex.stackexchange.com/). If you have a solution, I'm happy to modify »showframe« accordingly.