Hi Hans,
------- Begin Forwarded Message -------
Subject: [OS X TeX] latest pdfsync.sty From: Jérôme Laurens <[EMAIL PROTECTED]> To: TeX on Mac OS X Mailing List <[EMAIL PROTECTED]> Date: Tue, 13 Jan 2004 10:16:03 +0100
Please find at <http://itexmac.sourceforge.net/pdfsync.html> an official page for pdfsync related stuff.
People using pdfsync should pay attention to the eventual modificationsof the layout, os tiny as can be. These must be considered as bugs and reported as such.
The latest version is 0.5 and includes the $\sin$ and $\notin$ fix by J.-L. Varona
It seems that Hans Hagen is writing a version for context. I don't have myself enough time to adapt pdfsync to plain right now.
Yours
----------------------------------------------------- Please see <http://www.esm.psu.edu/mac-tex/> for list guidelines, information, and LaTeX/TeX resources.
-------- End Forwarded Message --------
Is there already a working version?
hm, depends on what you consider working,
\usemodule[edtsync] \chardef\editorsyncmode=2
it may work, but it didn't here (maybe because my mac was not up to date or maybe i updated wrong)
Richard K will implement the more compact/efficient method and i'll pick up the tread once he has done that
Hans
%D \module %D [ file=m-sync, %D version=2003.12.23, %D title=\CONTEXT\ Modules, %D subtitle=Editor Synchronization %D author={Hans Hagen \& Ton Otten}, %D date=\currentdate, %D copyright={PRAGMA / Hans Hagen \& Ton Otten}] %C %C This module is part of the \CONTEXT\ macro||package and is %C therefore copyrighted by \PRAGMA. See mreadme.pdf for %C details.
% to do: proper hook into the special handler so that we can also % support dvipdfmx \ifx\pdfsavepos\undefined \endinput \fi \unprotect \ifx\editorsyncmode\undefined \chardef\editorsyncmode=1 \fi \ifx\edtsncout \undefined \else \endinput \fi \newwrite\edtsncout \appendtoks \immediate\openout\edtsncout=\jobname.pdfsync \immediate\write\edtsncout{\jobname} \immediate\write\edtsncout{version unknown} \to \everystarttext \appendtoks \closeout\edtsncout \to \everystoptext \newcounter\editorsynchronization \let\synchronizeeditortag\relax \def\synchronizeeditor {\doglobal\increment\editorsynchronization \ifcase\editorsyncmode % disabled \or % compact mode \pdfsavepos \synchronizeeditortag \expanded {\write\edtsncout {s \purenumber\editorsynchronization\space \purenumber\inputlineno\space \noexpand\purenumber\realpageno\space \noexpand\purenumber\pdflastypos\space \noexpand\purenumber\pdflastxpos}}% \or % latex mode \pdfsavepos \synchronizeeditortag \expanded {\write\edtsncout {l \purenumber\editorsynchronization\space \purenumber\inputlineno\space}}% \expanded {\write\edtsncout {p \purenumber\editorsynchronization\space \noexpand\purenumber\pdflastypos\space \noexpand\purenumber\pdflastxpos}}% \fi} \def\synchronizeeditortag {\iftracepositions \begingroup \incolortrue \llap{\infofont\backgroundline[black]{\white\editorsynchronization\space\the\inputlineno}\quad}% \endgroup \fi} \appendtoksonce\synchronizeeditor\to\everypar \protect \endinput % \starttext % \dorecurse{100}{\input ward \par} \page % \stoptext