summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/latex/fancytooltips
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2007-05-08 21:36:26 +0000
committerKarl Berry <karl@freefriends.org>2007-05-08 21:36:26 +0000
commitbae7ed569ed7348b5d5262ad3dc28780a277c429 (patch)
tree4bc677e3d4ce96a62f0b55dddc70a3cb90c4f932 /Master/texmf-dist/source/latex/fancytooltips
parent3adaa80c838e98bb0f0f40ce47e7ca868109b71b (diff)
fancytooltips update (8may07)
git-svn-id: svn://tug.org/texlive/trunk@4259 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/source/latex/fancytooltips')
-rw-r--r--Master/texmf-dist/source/latex/fancytooltips/fancytooltips.dtx39
1 files changed, 26 insertions, 13 deletions
diff --git a/Master/texmf-dist/source/latex/fancytooltips/fancytooltips.dtx b/Master/texmf-dist/source/latex/fancytooltips/fancytooltips.dtx
index 2c6824d699f..8997ff166d6 100644
--- a/Master/texmf-dist/source/latex/fancytooltips/fancytooltips.dtx
+++ b/Master/texmf-dist/source/latex/fancytooltips/fancytooltips.dtx
@@ -22,7 +22,7 @@
%<package>\NeedsTeXFormat{LaTeX2e}[1999/12/01]
%<package>\ProvidesPackage{fancytooltips}
%<*package>
- [2007/03/01 v1.2 fancytooltips.dtx file]
+ [2007/05/08 v1.3 fancytooltips.dtx file]
%</package>
%
%<*driver>
@@ -30,7 +30,6 @@
\EnableCrossrefs
\CodelineIndex
\RecordChanges
-\usepackage[pdftex]{eforms}
\usepackage[pdftex]{color}
\usepackage[filename=tip,movetips]{fancytooltips}
\buttontipwidth=2cm
@@ -44,7 +43,7 @@
%</driver>
% \fi
%
-% \CheckSum{353}
+% \CheckSum{355}
%
% \CharacterTable
% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z
@@ -73,7 +72,11 @@
% for icons are created automatically using eso-pic package and have
% the name "ikona.pagenumber", new option movetips, tooltip appears
% on the current page only and, as a consequence, animations are
-% faster.}
+% faster.}
+%
+% \changes{v1.3}{2007/05/08}{Fixed bug which appears in dvips route.
+% Improved documentation -- added a note about the required version
+% of eforms.sty}
%
% \GetFileInfo{fancytooltips.dtx}
%
@@ -131,8 +134,6 @@
% \subsection{The file with presentation -- pdf\LaTeX users}
% In the file with presentation, the user is responsible
% \begin{itemize}
-% \item to load package |eforms| with |pdftex| option before
-% loading fancytooltips package,
% \item input either |color| or |xcolor| package in the
% preamble
% \item \LaTeX{} the file two times (we write some macros into |aux|
@@ -185,12 +186,11 @@
% |example.pdf|.
%
% \subsection{Changes for dvips users}
-% dvips users have to specify option |dvips| in both |fancytips| and
-% |eforms| packages. \DescribeMacro{pages option} They have to use
-% also a |pages| option with the number of pages in the PDF file with
-% tooltips. You have to call the package by
+% dvips users have to specify option |dvips| in |fancytips| package.
+% \DescribeMacro{pages option} They have to use also a |pages| option
+% with the number of pages in the PDF file with tooltips. You have to
+% call the package by
% something like this:\\
-% |\usepackage[dvips]{eforms}|\\
% |\usepackage[dvips,filename=tooltipy,pages=27]{fancytooltips}|
%
% You have to |latex| (two times) and |dvips| your file first. This
@@ -204,6 +204,13 @@
% fancytooltips must be in working directory) and returns 1. Then
% save the file under another name.
%
+% \section{Known problems}
+%
+% The package works only with the last |eforms.sty|, version
+% 2006/10/03 v1.0a. You can download this version from www.arotex.net
+% site. The version on CTAN and in MikTeX repositories is old and this
+% package does not work with this old version.
+%
% \StopEventually{}
%
% \section{Implementation}
@@ -236,10 +243,12 @@
\fi
\ifTooltip@usepdftex
+\RequirePackage[pdftex]{eforms}
\def\TooltipExtratext{\hbox to 0 pt{\smash
{\raisebox{0.5em}{\includegraphics[width=0.7em]%
{fancytipmark.pdf}}}\hss}}
\else
+\RequirePackage[dvips]{eforms}
\def\TooltipExtratext{\hbox to 0 pt{\smash
{\raisebox{0.5em}{\includegraphics[width=0.7em]%
{fancytipmark.eps}}}\hss}}
@@ -377,8 +386,10 @@
\EveryShipout{\TooltipPageopencloseJS}%
\ifTooltip@usepdftex
-\begin{insDLJS}[clearTooltips]{Tooltipsdljs}{My Private DLJS for Tooltips}
+\begin{insDLJS}[fancyTooltipsLoaded]{Tooltipsdljs}{DLJS for Tooltips}
var animace;
+ var fancyTooltipsLoaded = true;
+
function CloseTooltips()
{
try {this.getField("ikona").hidden=true;}catch (e) {}
@@ -413,8 +424,10 @@
}
\end{insDLJS}
\else
-\begin{insDLJS}[clearTooltips]{Tooltipsdljs}{My Private DLJS for Tooltips}
+\begin{insDLJS}[fancyTooltipsLoaded]{Tooltipsdljs}{DLJS for Tooltips}
var animace;
+ var fancyTooltipsLoaded = true;
+
function CloseTooltips()
{
try {this.getField("ikona").hidden=true;}catch (e) {}