Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

immediate xform leads to synctex failure #44

Open
u-fischer opened this issue Dec 17, 2021 · 2 comments
Open

immediate xform leads to synctex failure #44

u-fischer opened this issue Dec 17, 2021 · 2 comments

Comments

@u-fischer
Copy link

If an immediate xform object is added (something that the fadings libary of pgf does, and so happens in many document using tikz) then synchronization fails for text in input files on windows together with sumatra.

\begin{filecontents}{input1.tex}
Bonjour monde
\end{filecontents}

\documentclass{article}

\setbox0\hbox{A}
\immediate\pdfxform0
\begin{document}

Hello World.

\input{input1.tex}

\end{document}

Clicking on the Bonjour monde gives only the message that no synchronization is available.

The syntex file contains then beside others

Output:pdf
Magnification:1000
Unit:1
X Offset:0
Y Offset:0
Content:
x0,0:491521,447828
!1346

and I think the x0,0:491521,447828 is confusing sumatra. I don't know if the syntax is allowed and so sumatra is at fault, or if this is faulty syntax.

This has been reported also here: https://tex.stackexchange.com/questions/627342

@jlaurens
Copy link
Owner

Normally the first 0 in x0,0.... should mean filter out this line. I'll check this out.

@AntoineLatex
Copy link

Hi,
I reported such a problem in Tex.Stackexchange https://tex.stackexchange.com/questions/633718/luatex-shadows-or-fadings-tikzlibraries-make-gotosource-from-the-first-pag and the problem still persists for me. The problem seems independant from the pdf viewer and occur both with Sumatra or Xpdf. Is there a way to know if the bug has is origin on Luatex or Synctex ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants