diff options
author | Karl Berry <karl@freefriends.org> | 2008-01-30 23:33:01 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2008-01-30 23:33:01 +0000 |
commit | 34581f02f7e9465cfd1e9c43d18c0dbe07aa0f94 (patch) | |
tree | 222e6d8fd139d6f3f1d326ac36e13f15a1fc1890 /Master | |
parent | 112910f3c62e5f91ebd1a1de6e2a38d89783dac0 (diff) |
pdfsync update (30jan08)
git-svn-id: svn://tug.org/texlive/trunk@6456 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master')
-rw-r--r-- | Master/texmf-dist/doc/latex/pdfsync/README | 21 | ||||
-rw-r--r-- | Master/texmf-dist/tex/latex/pdfsync/pdfsync.sty | 44 |
2 files changed, 48 insertions, 17 deletions
diff --git a/Master/texmf-dist/doc/latex/pdfsync/README b/Master/texmf-dist/doc/latex/pdfsync/README index 58b851e051d..b3c504cc324 100644 --- a/Master/texmf-dist/doc/latex/pdfsync/README +++ b/Master/texmf-dist/doc/latex/pdfsync/README @@ -20,9 +20,22 @@ text editors implementing pdfsync support at various level. iTeXMac, iTeXMac2, TeXShop, TeXniscope, PDFView are PDF viewers implementing pdfsync support at various level. +This is most certainly the last update of this package, +this technology will most certainly be embedded in pdftex and XeTeX engines and won't rely any longer on pdf techniques. +As a matter of fact, synchronization will be available both for dvi, xdv and pdf. +Also it will work the same for Plain, LaTeX, ConTeXt and whatsoever. +Moreover, synchronization will not modify any package. + +* News +====== +- 01/30/2007: version 1.1 is the second version officially available. +Some internals were modified in order to provide a stronger \pdfsyncstart, \pdfsyncstop pair. +Paul Taylor's diagram package now works with pdfsync. You may have to update. +Anticipating over pdftex improvements, this package will load with option "off" if the \synchronize macro is defined + * Installation ============== -If this package is not already included in you TeX distribution, +If this package is not already included in your TeX distribution, just copy the pdfsync.sty file to the proper location. On Mac OS X, it can be @@ -34,7 +47,7 @@ where you should replace YOUR_HOME_DIRECTORY by its actual value. ======= Put \usepackage{pdfsync} in your LaTeX preamble. -In case of sever conflicts with another package, try instead +In case of severe conflicts with another package, try instead \usepackage[novbox]{pdfsync} @@ -44,8 +57,6 @@ more control point add \pdfsync at sensible locations in your code. In that case, \usepackage[off]{pdfsync} will disable pdf synchronization and \relax the above commands. -More options in the package - * Bugs ====== pdfsync uses extremely sensible code. @@ -81,4 +92,4 @@ The official site where you will find both the latest version and the .pdfsync f http://itexmac.sourceforge.net/pdfsync.html -copyright 2006, jlaurens AT users DOT sourceforge DOT net +copyright 2007, jlaurens AT users DOT sourceforge DOT net
\ No newline at end of file diff --git a/Master/texmf-dist/tex/latex/pdfsync/pdfsync.sty b/Master/texmf-dist/tex/latex/pdfsync/pdfsync.sty index c7eb74c49d8..a016948c6db 100644 --- a/Master/texmf-dist/tex/latex/pdfsync/pdfsync.sty +++ b/Master/texmf-dist/tex/latex/pdfsync/pdfsync.sty @@ -15,6 +15,13 @@ % Actually, iTeXMac, iTeXMac2, TeXShop, TextMate, AucTeX are text editors implementing pdfsync support at various level. % iTeXMac, iTeXMac2, TeXShop, TeXniscope, PDFView are PDF viewers implementing pdfsync support at various level. % +% Version +% ------- +% - 01/25/2008: This is the second version officially available. +% Some internals were modified in order to provide a stronger +% \pdfsyncstart, \pdfsyncstop pair. +% Anticipating over pdftex improvements, this package will load with option "off" if the \synchronize macro is defined +% % Install % ------- % If this package is not already included in you TeX distribution, just copy the pdfsync.sty file to the proper location. @@ -64,7 +71,7 @@ % % http://itexmac.sourceforge.net/pdfsync.html % -% copyright 2006, jlaurens AT users DOT sourceforge DOT net +% copyright 2006-2008, jlaurens AT users DOT sourceforge DOT net % \ifx\pdfsync\undefined\else\message{**** pdfsync.sty: WARNING, the package is already loaded.}\expandafter\endinput\fi \def\c@nfigPDFSYNC@ff{% @@ -72,15 +79,21 @@ \let\pdfsyncstart\relax% \let\pdfsyncstop\relax% }% +\ifx\synchronize\undefined\else +\message{**** pdfsync.sty: WARNING, the package is obsolete with this version of pdftex.}% +\c@nfigPDFSYNC@ff +\let\c@nfigPDFSYNC@ff=\undefined +\expandafter\endinput +\fi \ifx\pdfsavepos\undefined -\message{**** pdfsync.sty: WARNING, synchronization is only available with pdfetex like engines.}% +\message{**** pdfsync.sty: WARNING, synchronization is only available with pdftex like engines.}% \c@nfigPDFSYNC@ff \let\c@nfigPDFSYNC@ff=\undefined \expandafter\endinput \fi % Defining the preamble of the style file: \NeedsTeXFormat{LaTeX2e}% -\ProvidesPackage{pdfsync}[2007/01/15 v1.0]% +\ProvidesPackage{pdfsync}[2008/01/26 v1.1]% % start of the code \let\c@nfigPDFSYNCp@r\relax% \let\c@nfigPDFSYNCm@th\relax% @@ -116,15 +129,17 @@ \def\c@nfigPDFSYNChb@x{\wlog{**** pdfsync.sty: Synchronizing at \string\everyhbox}% \newtoks\PDFSYNCeveryhb@x \PDFSYNCeveryhb@x\everyhbox -\everyhbox{\ifPDFSYNC@unblocked +\everyhbox{\PDFSYNCeveryhb@xcontent}% +\def\PDFSYNCeveryhb@xon{\ifPDFSYNC@unblocked \begingroup \PDFSYNC@unblockedfalse \setbox\z@\hbox\bgroup \@PDFSYNC \setbox\z@\hbox\bgroup\bgroup - \aftergroup\PDFSYNC@endhbox\the\PDFSYNCeveryhb@x - \PDFSYNC@unblockedtrue - \fi}% + \aftergroup\PDFSYNC@endhbox + \the\PDFSYNCeveryhb@x + \PDFSYNC@unblockedtrue\fi} +\def\PDFSYNCeveryhb@xoff{\the\PDFSYNCeveryhb@x} \let\everyhbox\PDFSYNCeveryhb@x \def\PDFSYNC@endhbox{\ifnum\lastnodetype>\m@ne \egroup \unhbox\z@ \egroup \unhbox\z@ @@ -134,15 +149,16 @@ \def\c@nfigPDFSYNCvb@x{\wlog{**** pdfsync.sty: Synchronizing at \string\everyvbox}% \newtoks\PDFSYNCeveryvb@x \PDFSYNCeveryvb@x\everyvbox -\everyvbox{\ifPDFSYNC@unblocked +\everyvbox{\PDFSYNCeveryvb@xcontent}% +\def\PDFSYNCeveryvb@xon{\ifPDFSYNC@unblocked \begingroup \PDFSYNC@unblockedfalse \setbox\z@\vbox\bgroup \@PDFSYNC \setbox\z@\vtop\bgroup\bgroup - \aftergroup\PDFSYNC@endvbox\the\PDFSYNCeveryvb@x - \PDFSYNC@unblockedtrue - \fi}% + \aftergroup\PDFSYNC@endvbox + \the\PDFSYNCeveryvb@x\PDFSYNC@unblockedtrue\fi} +\def\PDFSYNCeveryvb@xoff{\the\PDFSYNCeveryvb@x} \let\everyvbox\PDFSYNCeveryvb@x \def\PDFSYNC@endvbox{\ifnum\lastnodetype>\m@ne \egroup @@ -216,12 +232,16 @@ \let\pdfsync\@pdfsync% \let\@PDFSYNC\@@PDFSYNC% \let\InputIfFileExists\PDFSYNCInputIfFileExists@n% +\let\PDFSYNCeveryhb@xcontent\PDFSYNCeveryhb@xon +\let\PDFSYNCeveryvb@xcontent\PDFSYNCeveryvb@xon }% \def\pdfsyncstop{% -\let\shipout\PDFSYNCship@ut@ld% +%\let\shipout\PDFSYNCship@ut@ld% \let\pdfsync\relax% \let\@PDFSYNC\relax% \let\InputIfFileExists\PDFSYNCInputIfFileExists@ff% +\let\PDFSYNCeveryhb@xcontent\PDFSYNCeveryhb@xoff +\let\PDFSYNCeveryvb@xcontent\PDFSYNCeveryvb@xoff }% % \c@nfigPDFSYNCp@r% |