From: Hans Hagen <pragma@wxs.nl>
Subject: Re: Fwd: [OS X TeX] latest pdfsync.sty
Date: Thu, 15 Jan 2004 13:18:00 +0100 [thread overview]
Message-ID: <6.0.1.1.2.20040115131346.01d49ec0@server-1> (raw)
In-Reply-To: <a06002000bc2c30496fc7@[62.134.77.58]>
[-- 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
prev parent reply other threads:[~2004-01-15 12:18 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-01-15 12:03 Steffen Wolfrum
2004-01-15 12:18 ` Hans Hagen [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=6.0.1.1.2.20040115131346.01d49ec0@server-1 \
--to=pragma@wxs.nl \
--cc=ntg-context@ntg.nl \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).