diff options
author | Norbert Preining <norbert@preining.info> | 2019-09-02 13:46:59 +0900 |
---|---|---|
committer | Norbert Preining <norbert@preining.info> | 2019-09-02 13:46:59 +0900 |
commit | e0c6872cf40896c7be36b11dcc744620f10adf1d (patch) | |
tree | 60335e10d2f4354b0674ec22d7b53f0f8abee672 /macros/latex/contrib/pdfsync |
Initial commit
Diffstat (limited to 'macros/latex/contrib/pdfsync')
-rw-r--r-- | macros/latex/contrib/pdfsync/README | 95 | ||||
-rw-r--r-- | macros/latex/contrib/pdfsync/pdfsync-doc.pdf | bin | 0 -> 256310 bytes | |||
-rw-r--r-- | macros/latex/contrib/pdfsync/pdfsync-doc.tex | 150 | ||||
-rw-r--r-- | macros/latex/contrib/pdfsync/pdfsync.sty | 293 |
4 files changed, 538 insertions, 0 deletions
diff --git a/macros/latex/contrib/pdfsync/README b/macros/latex/contrib/pdfsync/README new file mode 100644 index 0000000000..b3c504cc32 --- /dev/null +++ b/macros/latex/contrib/pdfsync/README @@ -0,0 +1,95 @@ + + This is the README file for pdfsync + a LaTeX package for + synchronizing between source and pdf output + +* Presentation +============== +pdfsync.sty allows one to synchronize between LaTeX source and pdf output. +When used with a text editor and a PDF viewer that both support pdfsync, +you can navigate from the source to the output and vice versa. +This is some kind of srcltx ported from dvi to pdf. + +When you typeset foo.tex with pdfsync.sty and either pdfetex or xetex, +a foo.pdfsync auxiliary file is created. It only contains geometrical information +used by text editors or PDF viewers for synchronization. +You can delete this file when you are done. + +Actually, iTeXMac, iTeXMac2, TeXShop, AucTeX are +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 your TeX distribution, +just copy the pdfsync.sty file to the proper location. +On Mac OS X, it can be + + YOUR_HOME_DIRECTORY/Library/texmf/tex/latex/graphics/graphics.sty + +where you should replace YOUR_HOME_DIRECTORY by its actual value. + +* Usage +======= +Put \usepackage{pdfsync} in your LaTeX preamble. + +In case of severe conflicts with another package, try instead + + \usepackage[novbox]{pdfsync} + +If pdfsync breaks only some part of your LaTeX code, you can try to +enclose it in \pdfsyncstop \pdfsyncstart pair. If you want to add +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. + +* Bugs +====== +pdfsync uses extremely sensible code. +You should not use pdfsync on final documents because +it can change the layout rather significantly +(different page/line breaks are the most obvious changes), +despite this is rather rare, +17th Murphy's law states that it will happen to you when it absolutely must not... + +The accuracy of pdf synchronization depends on the application used for that purpose. +iTeXMac2 is actually the most accurate implementation because it combines pdfsync +with pdf searching. The lack of accuracy, is not a bug in pdfsync a priori. + +You should report bugs and package conflicts to + + jlaurens AT users DOT sourceforge DOT net. + +* Credits: +========== +The original idea of pdfsync was proposed by Piero D'Ancona in the summer of 2003. +He and Jerome Laurens both created the first working package. +Hans Hagen and David Kastrup made very significant enhancements to the original code. + +* License +========= +This program is free software; you can redistribute it and/or modify +it under the terms of the The LaTeX Project Public License version 1.3c at least +http://www.latex-project.org/lppl.txt + +* Home page +=========== +The official site where you will find both the latest version and the .pdfsync file specifications is + + http://itexmac.sourceforge.net/pdfsync.html + +copyright 2007, jlaurens AT users DOT sourceforge DOT net
\ No newline at end of file diff --git a/macros/latex/contrib/pdfsync/pdfsync-doc.pdf b/macros/latex/contrib/pdfsync/pdfsync-doc.pdf Binary files differnew file mode 100644 index 0000000000..356501a223 --- /dev/null +++ b/macros/latex/contrib/pdfsync/pdfsync-doc.pdf diff --git a/macros/latex/contrib/pdfsync/pdfsync-doc.tex b/macros/latex/contrib/pdfsync/pdfsync-doc.tex new file mode 100644 index 0000000000..946cf0e334 --- /dev/null +++ b/macros/latex/contrib/pdfsync/pdfsync-doc.tex @@ -0,0 +1,150 @@ +\documentclass[pagesize=auto, fontsize=12, DIV=11]{scrartcl} + +\usepackage{fixltx2e} +\usepackage{etex} +\usepackage{lmodern} +\usepackage[T1]{fontenc} +\usepackage{textcomp} +\usepackage{hologo} +\usepackage{microtype} +\usepackage{hyperref} + +\newcommand*{\mail}[1]{\href{mailto:#1}{\texttt{#1}}} +\newcommand*{\pkg}[1]{\textsf{#1}} +\newcommand*{\cs}[1]{\texttt{\textbackslash#1}} +\makeatletter +\newcommand*{\cmd}[1]{\cs{\expandafter\@gobble\string#1}} +\makeatother +\newcommand*{\opt}[1]{\texttt{#1}} + +\addtokomafont{title}{\rmfamily} +\addtokomafont{subtitle}{\mdseries} + +\title{The \pkg{pdfsync} package\thanks{This manual corresponds to \pkg{pdfsync.sty}~v1.1, dated~2008/01/26.}} +\subtitle{A \LaTeX\ package for synchronizing between source and \textsc{pdf} output} +\author{J. Laurens\thanks{\mail{jlaurens@users.sourceforge.net}}} +\date{2008/01/26} + + +\begin{document} + +\maketitle + + +\section{Presentation} + +\pkg{pdfsync.sty} allows one to synchronize between \LaTeX\ source and \textsc{pdf} output. +When used with a text editor and a PDF viewer that both support \pkg{pdfsync}, +you can navigate from the source to the output and vice versa. +This is some kind of \pkg{srcltx} ported from \textsc{dvi} to \textsc{pdf}. + +When you typeset \texttt{foo.tex} with \pkg{pdfsync.sty} and either \texttt{pdfetex} or \texttt{xetex}, +a \texttt{foo.pdfsync} auxiliary file is created. It only contains geometrical information +used by text editors or PDF viewers for synchronization. +You can delete this file when you are done. + +Actually, i\TeX Mac, i\TeX Mac2, \TeX Shop, Auc\TeX\ are +text editors implementing \pkg{pdfsync} support at various level. +i\TeX Mac, i\TeX Mac2, \TeX Shop, \TeX niscope, PDFView are +PDF viewers implementing \pkg{pdfsync} support at various level. + +This is most certainly the last update of this package, +this technology will most certainly be embedded in \hologo{pdfTeX} and \hologo{XeTeX} engines and won't rely any longer on \textsc{pdf} techniques. +As a matter of fact, synchronization will be available both for \textsc{dvi}, \textsc{xdv} and \textsc{pdf}. +Also it will work the same for Plain, \LaTeX\@, Con\TeX t and whatsoever. +Moreover, synchronization will not modify any package. + + +\section{News} + +\begin{itemize} +\item 01/30/2007: version~1.1 is the second version officially available. + Some internals were modified in order to provide a stronger \cmd{\pdfsyncstart}, \cmd{\pdfsyncstop} pair. + Paul Taylor's \pkg{diagram} package now works with \pkg{pdfsync}. You may have to update. + Anticipating over \hologo{pdfTeX} improvements, this package will load with option ``\opt{off}'' if the \cmd{\synchronize} macro is defined +\end{itemize} + + +\section{Installation} + +If this package is not already included in your \TeX\ distribution, +just copy the \texttt{pdfsync.sty} file to the proper location. +On Mac~OS~X, it can be +% +\begin{verbatim} + YOUR_HOME_DIRECTORY/Library/texmf/tex/latex/graphics/graphics.sty +\end{verbatim} +% +where you should replace \verb+YOUR_HOME_DIRECTORY+ by its actual value. + + +\section{Usage} + +Put \verb+\usepackage{pdfsync}+ in your \LaTeX\ preamble. + +In case of severe conflicts with another package, try instead +% +\begin{verbatim} + \usepackage[novbox]{pdfsync} +\end{verbatim} + +If \pkg{pdfsync} breaks only some part of your \LaTeX\ code, you can try to +enclose it in +% +\begin{verbatim} + \pdfsyncstop \pdfsyncstart +\end{verbatim} +% +pair. If you want to add +more control point add \cmd{\pdfsync} at sensible locations in your code. +In that case, +% +\begin{verbatim} + \usepackage[off]{pdfsync} +\end{verbatim} +% +will disable \textsc{pdf} synchronization +and \cmd{\relax} the above commands. + + +\section{Bugs} + +\pkg{pdfsync} uses extremely sensible code. +You should not use \pkg{pdfsync} on final documents because +it can change the layout rather significantly +(different page/line breaks are the most obvious changes), +despite this is rather rare, +17th~Murphy's law states that it will happen to you when it absolutely must not\dots + +The accuracy of \textsc{pdf} synchronization depends on the application used for that purpose. +i\TeX Mac2 is actually the most accurate implementation because it combines \pkg{pdfsync} +with \textsc{pdf} searching. The lack of accuracy, is not a bug in \pkg{pdfsync} a priori. + +You should report bugs and package conflicts to \\ +\null\quad\quad\href{mailto:jlaurens@users.sourceforge.net}{\texttt{jlaurens AT users DOT sourceforge DOT net.}} + + +\section{Credits:} + +The original idea of \pkg{pdfsync} was proposed by Piero~D'Ancona in the summer of 2003. +He and Jerome~Laurens both created the first working package. +Hans~Hagen and David~Kastrup made very significant enhancements to the original code. + + +\section{License} + +This program is free software; you can redistribute it and/or modify +it under the terms of the The \LaTeX\ Project Public License version~1.3c at least \\ +\url{http://www.latex-project.org/lppl.txt} + + +\section{Home page} + +The official site where you will find both the latest version and the \texttt{.pdfsync} file specifications is \\ +\null\quad\quad\url{http://itexmac.sourceforge.net/pdfsync.html} + +\bigskip + +copyright 2007, \href{mailto:jlaurens@users.sourceforge.net}{\texttt{jlaurens AT users DOT sourceforge DOT net}} + +\end{document} diff --git a/macros/latex/contrib/pdfsync/pdfsync.sty b/macros/latex/contrib/pdfsync/pdfsync.sty new file mode 100644 index 0000000000..a016948c6d --- /dev/null +++ b/macros/latex/contrib/pdfsync/pdfsync.sty @@ -0,0 +1,293 @@ +% LaTeX package pdfsync.sty +% ========================= +% +% Presentation +% ------------ +% pdfsync.sty allows one to synchronize between LaTeX source and pdf output. +% When used with a text editor and a PDF viewer that both support pdfsync, +% you can navigate from the source to the output and vice versa. +% This is some kind of srcltx ported from dvi to pdf. +% +% When you typeset foo.tex with pdfsync.sty and either pdfetex or xetex, a foo.pdfsync auxiliary file is created. +% It only contains geometrical information used by text editors or PDF viewers for synchronization. +% You can delete this file when you are done. +% +% 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. +% On Mac OS X, it can be +% YOUR_HOME_DIRECTORY/Library/texmf/tex/latex/graphics/graphics.sty +% where you should replace YOUR_HOME_DIRECTORY by its actual value. +% +% Usage +% ----- +% Put \usepackage{pdfsync} in your LaTeX preamble. +% +% In case of sever conflicts with another package, try \usepackage[novbox]{pdfsync} instead. +% +% If pdfsync only breaks some part of your LaTeX code, you can try to enclose it in a \pdfsyncstop \pdfsyncstart pair. +% If you want to add 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. +% +% Use option nohbox (resp nocr, nopar, nomath, nodisplay) in order not to add control points every hbox (resp cr, par, math,display) +% +% Bugs +% ---- +% pdfsync uses extremely severe code. You should not use pdfsync on final documents because it can change the layout rather significantly +% (different page/line breaks are the most obvious changes), despite this is rather rare, +% 17.8th Murphy's law states that it will happen to you when it absolutely must not... +% +% You should report bugs and package conflicts to jlaurens AT users DOT sourceforge DOT net. +% +% The accuracy of pdf synchronization depends on the editor/viewer used for that purpose. +% iTeXMac2 is actually the most accurate implementation because it combines pdfsync with pdf searching. +% So, the lack of accuracy is not a bug in pdfsync a priori. +% +% Credits: +% ------- +% The original idea of pdfsync was proposed by Piero D'Ancona in the summer of 2003. +% He and Jerome Laurens (jlaurens AT usersDOT sourceforge DOT net) both created the first working package. +% Hans Hagen and David Kastrup made very significant enhancements to the original code. +% +% License +% ------- +% This program is free software; you can redistribute it and/or modify +% it under the terms of the The LaTeX Project Public License version 1.3c at least +% http://www.latex-project.org/lppl.txt +% +% Home page +% --------- +% The official site is +% +% http://itexmac.sourceforge.net/pdfsync.html +% +% 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{% + \let\pdfsync\relax% + \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 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}[2008/01/26 v1.1]% +% start of the code +\let\c@nfigPDFSYNCp@r\relax% +\let\c@nfigPDFSYNCm@th\relax% +\let\c@nfigPDFSYNCdispl@y\relax% +\let\c@nfigPDFSYNChb@x\relax% +\let\c@nfigPDFSYNCvb@x\relax% +\let\c@nfigPDFSYNC@cr\relax% +% Subverting |\everypar| to prepend pdfsync |\@PDFSYNC| specific code that will +% be executed for each new paragraph. +%This was primarly suggested by Curtis Clifton on 12/17/2004 (google "subvert token" for details). +\def\c@nfigPDFSYNCp@r{\wlog{**** pdfsync.sty: Synchronizing at \string\everypar}% +\newtoks\PDFSYNCeveryp@r +\PDFSYNCeveryp@r\everypar +\everypar{\bgroup\setbox\z@\lastbox\@PDFSYNC\box\z@\egroup + \the\PDFSYNCeveryp@r}% +\let\everypar\PDFSYNCeveryp@r +}% +% +\def\c@nfigPDFSYNCdispl@y{\wlog{**** pdfsync.sty: Synchronizing at \string\everydisplay}% +\newtoks\PDFSYNCeverydispl@y +\PDFSYNCeverydispl@y\frozen@everydisplay +\frozen@everydisplay{\@PDFSYNC\the\PDFSYNCeverydispl@y}% +\let\frozen@everydisplay\PDFSYNCeverydispl@y +}% +% +\def\c@nfigPDFSYNCm@th{\wlog{**** pdfsync.sty: Synchronizing at \string\everymath}% +\newtoks\PDFSYNCeverym@th +\PDFSYNCeverym@th\frozen@everymath +\frozen@everymath{\@PDFSYNC\the\PDFSYNCeverym@th}% +\let\frozen@everymath\PDFSYNCeverym@th +}% +% +\def\c@nfigPDFSYNChb@x{\wlog{**** pdfsync.sty: Synchronizing at \string\everyhbox}% +\newtoks\PDFSYNCeveryhb@x +\PDFSYNCeveryhb@x\everyhbox +\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} +\def\PDFSYNCeveryhb@xoff{\the\PDFSYNCeveryhb@x} +\let\everyhbox\PDFSYNCeveryhb@x +\def\PDFSYNC@endhbox{\ifnum\lastnodetype>\m@ne + \egroup \unhbox\z@ \egroup \unhbox\z@ + \else \egroup \egroup \fi \endgroup \egroup}% +}% +% +\def\c@nfigPDFSYNCvb@x{\wlog{**** pdfsync.sty: Synchronizing at \string\everyvbox}% +\newtoks\PDFSYNCeveryvb@x +\PDFSYNCeveryvb@x\everyvbox +\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} +\def\PDFSYNCeveryvb@xoff{\the\PDFSYNCeveryvb@x} +\let\everyvbox\PDFSYNCeveryvb@x +\def\PDFSYNC@endvbox{\ifnum\lastnodetype>\m@ne + \egroup + \edef\next{\egroup\hrule\@height\the\ht\z@\@depth-\the\ht\z@\relax}% + \unvbox\z@ \next \unvbox\z@ + \else \egroup \egroup \fi \endgroup \egroup}% +}% +% +\def\c@nfigPDFSYNC@cr{\wlog{**** pdfsync.sty: Synchronizing at \string\everycr}% +\newtoks\PDFSYNCevery@cr +\PDFSYNCevery@cr\everycr +\everycr{\the\PDFSYNCevery@cr\@PDFSYNC}% +\let\everycr\PDFSYNCevery@cr +}% +% Configure pdsync +\def\c@nfigPDFSYNC{\wlog{Configuring pdfsync}% +\newwrite\PDFSYNC@ut% +\immediate\openout\PDFSYNC@ut\jobname.pdfsync% +\immediate\write\PDFSYNC@ut{\jobname}% control info +\immediate\write\PDFSYNC@ut{version 1}% control info +% patching \shipout +\let\PDFSYNCship@ut@ld\shipout% +\gdef\PDFSYNCship@utn@w{% +\afterassignment\PDFSYNC@utput% +\setbox\@cclv= % +}% +\def\PDFSYNC@utput{% +\relax% +\ifvoid\@cclv\relax% +\aftergroup\PDFSYNC@@utput% +\else% +\PDFSYNC@@utput% +\fi% +}% +\gdef\PDFSYNC@@utput{% +\global\advance\PDFSYNCf@li@ by 1% +\immediate\write\PDFSYNC@ut{s\space\the\PDFSYNCf@li@}% +\PDFSYNCship@ut@ld\box\@cclv% +}% +% +% patching LaTeX \InputIfFileExists for \include and \input +\let\PDFSYNCInputIfFileExists@ff\InputIfFileExists% +\long\def\PDFSYNCInputIfFileExists@n##1##2##3{% +\immediate\write\PDFSYNC@ut{(##1}% +\PDFSYNCInputIfFileExists@ff{##1}{##2}{##3}% +\immediate\write\PDFSYNC@ut{)}}% +% +\def\PDFSYNCP@siti@n{\the\pdflastxpos\space\the\pdflastypos}% +% +\newif\ifPDFSYNCst@r% +\newif\ifPDFSYNCvb@x% +\newcount\PDFSYNCf@li@\PDFSYNCf@li@=0% +\newcount\PDFSYNC@rder\PDFSYNC@rder=0% +\newif\ifPDFSYNC@unblocked +\PDFSYNC@unblockedtrue +% defining \@@PDFSYNC: the macro that writes to the .pdfsync file +\def\@@PDFSYNC{% +\relax% +\immediate\write\PDFSYNC@ut{l\space\the\PDFSYNC@rder\space\the\inputlineno}% +\pdfsavepos% +\edef\next{\write\PDFSYNC@ut{p\ifPDFSYNCst@r*\else\ifPDFSYNCvb@x+\fi\fi\space\the\PDFSYNC@rder\space\noexpand\PDFSYNCP@siti@n}}% +\next% +\global\advance\PDFSYNC@rder by 1% +\relax% +}% +% +\def\@pdfsync{\bgroup\PDFSYNCst@rtrue\@PDFSYNC\egroup}% +% +\def\pdfsyncstart{% +\let\shipout\PDFSYNCship@utn@w% +\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\pdfsync\relax% +\let\@PDFSYNC\relax% +\let\InputIfFileExists\PDFSYNCInputIfFileExists@ff% +\let\PDFSYNCeveryhb@xcontent\PDFSYNCeveryhb@xoff +\let\PDFSYNCeveryvb@xcontent\PDFSYNCeveryvb@xoff +}% +% +\c@nfigPDFSYNCp@r% +\let\c@nfigPDFSYNCp@r\undefined% +\c@nfigPDFSYNCm@th% +\let\c@nfigPDFSYNCm@th\undefined% +%\c@nfigPDFSYNCdispl@y% This does not work with amsmath +\let\c@nfigPDFSYNCdispl@y\undefined% +\c@nfigPDFSYNChb@x% +\let\c@nfigPDFSYNChb@x\undefined% +\c@nfigPDFSYNCvb@x% +\let\c@nfigPDFSYNCvb@x\undefined% +%\c@nfigPDFSYNC@cr% This does not work "Missing \cr inserted" in maketitle +\let\c@nfigPDFSYNC@cr\undefined% +% the problem of the soul package + \ifx\SOUL@\undefined\relax\else% + \message{! pdfsync is patching the soul package} + \let\PDFSYNC@SOUL@\SOUL@ + \def\SOUL@##1{% + \bgroup\pdfsyncstop\PDFSYNC@SOUL@{##1}\egroup + }% + \fi% +\pdfsyncstart% +\wlog{**** pdfsync.sty: started}% +}% +% +\AtBeginDocument{% +\c@nfigPDFSYNC% +\let\c@nfigPDFSYNC\undefined% +}% +% end of the core code +% Declaring the option 'nopar' to disable this feature +\DeclareOption{nopar}{\let\c@nfigPDFSYNCp@r\relax}% +% Declaring the option 'nomath' to disable this feature +\DeclareOption{nomath}{\let\c@nfigPDFSYNCm@th\relax}% +% Declaring the option 'nodisplay' to disable this feature +\DeclareOption{nodisplay}{\let\c@nfigPDFSYNCdispl@y\relax}% +% Declaring the option 'nohbox' to disable this feature +\DeclareOption{nohbox}{\let\c@nfigPDFSYNChb@x\relax}% +% Declaring the option 'novbox' to disable this feature +\DeclareOption{novbox}{\let\c@nfigPDFSYNCvb@x\relax}% +% Declaring the option 'nocr' to disable this feature +\DeclareOption{nocr}{\let\c@nfigPDFSYNC@cr\relax}% +% Declaring the option 'off', all the macros are set to \relax +\DeclareOption{off}{\let\c@nfigPDFSYNC\c@nfigPDFSYNC@ff}% +% Beamer problem +\ifx\beamer@version\undefined\relax\else\let\c@nfigPDFSYNCvb@x\relax\fi +\ProcessOptions% +\endinput% |