* Fwd: [OS X TeX] latest pdfsync.sty
@ 2004-01-15 12:03 Steffen Wolfrum
2004-01-15 12:18 ` Hans Hagen
0 siblings, 1 reply; 2+ messages in thread
From: Steffen Wolfrum @ 2004-01-15 12:03 UTC (permalink / raw)
Hi Hans,
------- Begin Forwarded Message -------
Subject: [OS X TeX] latest pdfsync.sty
From: Jérôme Laurens <jerome.laurens@u-bourgogne.fr>
To: TeX on Mac OS X Mailing List
<MacOSX-TeX@email.esm.psu.edu>
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?
Steffen
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Fwd: [OS X TeX] latest pdfsync.sty
2004-01-15 12:03 Fwd: [OS X TeX] latest pdfsync.sty Steffen Wolfrum
@ 2004-01-15 12:18 ` Hans Hagen
0 siblings, 0 replies; 2+ messages in thread
From: Hans Hagen @ 2004-01-15 12:18 UTC (permalink / raw)
[-- Attachment #1: Type: text/plain, Size: 1444 bytes --]
At 13:03 15/01/2004, Steffen Wolfrum wrote:
>Hi Hans,
>
>
>
>------- Begin Forwarded Message -------
>
>Subject: [OS X TeX] latest pdfsync.sty
>From: Jérôme Laurens <jerome.laurens@u-bourgogne.fr>
>To: TeX on Mac OS X Mailing List
> <MacOSX-TeX@email.esm.psu.edu>
>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
[-- Attachment #2: m-edtsnc.tex --]
[-- Type: text/plain, Size: 2226 bytes --]
%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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2004-01-15 12:18 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-01-15 12:03 Fwd: [OS X TeX] latest pdfsync.sty Steffen Wolfrum
2004-01-15 12:18 ` Hans Hagen
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).