summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/context/base/mkiv/cont-run.mkiv
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/context/base/mkiv/cont-run.mkiv')
-rw-r--r--Master/texmf-dist/tex/context/base/mkiv/cont-run.mkiv20
1 files changed, 5 insertions, 15 deletions
diff --git a/Master/texmf-dist/tex/context/base/mkiv/cont-run.mkiv b/Master/texmf-dist/tex/context/base/mkiv/cont-run.mkiv
index f841ce53033..b650be67d93 100644
--- a/Master/texmf-dist/tex/context/base/mkiv/cont-run.mkiv
+++ b/Master/texmf-dist/tex/context/base/mkiv/cont-run.mkiv
@@ -25,29 +25,19 @@
\let\synctexsetfilename \clf_synctexsetfilename
\let\synctexresetfilename\clf_synctexresetfilename
\let\synctexblockfilename\clf_synctexblockfilename
+\let\synctexpause \clf_synctexpause
+\let\synctexresume \clf_synctexresume
-\let\synctexpause \donothing
-\let\synctexresume \donothing
-\let\synctexpushline\donothing
-\let\synctexpopline \donothing
-
-\appendtoks\synctexpause \to\everybeforeoutput
-\appendtoks\synctexresume\to\everyafteroutput
+\appendtoks\clf_synctexpause \to\everybeforeoutput
+\appendtoks\clf_synctexresume\to\everyafteroutput
\unexpanded\def\setupsynctex[#1]%
{\begingroup
\getdummyparameters[\c!state=\v!stop,\c!method=\v!max,#1]%
- \edef\p_state{\dummyparameter\c!state}%
\clf_setupsynctex
- state {\p_state}%
+ state {\dummyparameter\c!state}%
method {\dummyparameter\c!method}%
\relax
- \ifx\p_state\v!start
- \glet\synctexpause \clf_synctexpause
- \glet\synctexresume \clf_synctexresume
- \glet\synctexpushline\clf_synctexpushline
- \glet\synctexpopline \clf_synctexpopline
- \fi
\endgroup}
\unexpanded\def\blocksynctexfile[#1]%