summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Master/texmf-dist/doc/latex/fancytooltips/README9
-rw-r--r--Master/texmf-dist/doc/latex/fancytooltips/examples/example-min.pdfbin340347 -> 326231 bytes
-rw-r--r--Master/texmf-dist/doc/latex/fancytooltips/examples/example-min.tex17
-rw-r--r--Master/texmf-dist/doc/latex/fancytooltips/examples/example.pdfbin376873 -> 397418 bytes
-rw-r--r--Master/texmf-dist/doc/latex/fancytooltips/examples/example.tex251
-rw-r--r--Master/texmf-dist/doc/latex/fancytooltips/examples/fancytips.tex1
-rw-r--r--Master/texmf-dist/doc/latex/fancytooltips/examples/tooltipy.pdfbin308947 -> 305779 bytes
-rw-r--r--Master/texmf-dist/doc/latex/fancytooltips/examples/tooltipy.tex52
-rw-r--r--Master/texmf-dist/doc/latex/fancytooltips/fancytipmark.eps37
-rw-r--r--Master/texmf-dist/doc/latex/fancytooltips/fancytipmark.pdf95
-rw-r--r--Master/texmf-dist/doc/latex/fancytooltips/fancytipmark.svg73
-rw-r--r--Master/texmf-dist/doc/latex/fancytooltips/fancytooltips.pdfbin168736 -> 160209 bytes
-rw-r--r--Master/texmf-dist/doc/latex/fancytooltips/fancytooltipsmark.eps553
-rw-r--r--Master/texmf-dist/doc/latex/fancytooltips/fancytooltipsmark.pdf192
-rw-r--r--Master/texmf-dist/doc/latex/fancytooltips/tip.pdfbin19660 -> 16959 bytes
-rw-r--r--Master/texmf-dist/doc/latex/fancytooltips/tip.tex43
-rw-r--r--Master/texmf-dist/source/latex/fancytooltips/fancytooltips.dtx387
-rw-r--r--Master/texmf-dist/source/latex/fancytooltips/fancytooltips.ins4
-rw-r--r--Master/texmf-dist/tex/latex/fancytooltips/fancytooltips.sty218
-rw-r--r--Master/texmf-dist/tpm/fancytooltips.tpm16
-rw-r--r--Master/texmf/lists/fancytooltips6
21 files changed, 877 insertions, 1077 deletions
diff --git a/Master/texmf-dist/doc/latex/fancytooltips/README b/Master/texmf-dist/doc/latex/fancytooltips/README
deleted file mode 100644
index 74b696c6c5a..00000000000
--- a/Master/texmf-dist/doc/latex/fancytooltips/README
+++ /dev/null
@@ -1,9 +0,0 @@
-The fancytooltips package has been inspired by cooltooltips
-package. In contrast to cooltooltips, fancytooltips allows to
-include tooltips which contain arbitrary TeX material or a series of
-TeX materials (aminated graphics) from an external PDF file. The demo
-files example.pdf and example-min.pdf. To see the tooltips, you have
-to open these files in Adobe Reader. The links and JavaScripts are
-inserted using eforms.sty package from acroTeX bundle. The TeX file
-can be processed by pdflatex or latex + dvips + distiller + Adobe
-Acrobat.
diff --git a/Master/texmf-dist/doc/latex/fancytooltips/examples/example-min.pdf b/Master/texmf-dist/doc/latex/fancytooltips/examples/example-min.pdf
index aa676e6bb0a..f4700ce6db5 100644
--- a/Master/texmf-dist/doc/latex/fancytooltips/examples/example-min.pdf
+++ b/Master/texmf-dist/doc/latex/fancytooltips/examples/example-min.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/fancytooltips/examples/example-min.tex b/Master/texmf-dist/doc/latex/fancytooltips/examples/example-min.tex
index e25741d0ce1..945f058eaf9 100644
--- a/Master/texmf-dist/doc/latex/fancytooltips/examples/example-min.tex
+++ b/Master/texmf-dist/doc/latex/fancytooltips/examples/example-min.tex
@@ -6,31 +6,28 @@
\usepackage[pdftex]{eforms}
\usepackage[filename=tooltipy]{fancytooltips}
-\pagestyle{headings}\markright{Heading\hfill \frametip}
-
\begin{document}
\parindent 0 pt
\begin{itemize}
-\item The blue text is active button. If you move mouse to this button
- with Shift key down or if you press this button, tooltip appears. Is
- you move your mouse out or if you close the page, the tooltip
- disappears.
+\item The blue text is active button. If you press this button,
+ tooltip appears. Is you move your mouse out or if you close the
+ page, the tooltip disappears.
\item The first links are tooltips, the third one is animated tooltip.
have a fun
\end{itemize}
- This is definition of \tooltip{rank}{hodnost}. bla bla bla.
+ This is definition of \tooltip{rank}{1}. bla bla bla.
- This is definition of \tooltip{derivative}{derivace}.
+ This is definition of \tooltip{derivative}{2}.
-This is a geometric \tooltipanim{idea}{3}{27} which is behind the
+This is a geometric \tooltipanim{idea}{4}{28} which is behind the
definition of derivative.
\newpage
-page 2 \TooltipHidden
+page 2
\end{document}
diff --git a/Master/texmf-dist/doc/latex/fancytooltips/examples/example.pdf b/Master/texmf-dist/doc/latex/fancytooltips/examples/example.pdf
index e9fafae7606..6dce0bfb5e7 100644
--- a/Master/texmf-dist/doc/latex/fancytooltips/examples/example.pdf
+++ b/Master/texmf-dist/doc/latex/fancytooltips/examples/example.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/fancytooltips/examples/example.tex b/Master/texmf-dist/doc/latex/fancytooltips/examples/example.tex
index 098c0e77770..1ec2ded7d5f 100644
--- a/Master/texmf-dist/doc/latex/fancytooltips/examples/example.tex
+++ b/Master/texmf-dist/doc/latex/fancytooltips/examples/example.tex
@@ -1,16 +1,11 @@
\documentclass{article}
\usepackage[screen,panelright]{pdfscreen}
-
\usepackage[pdftex]{eforms}
-\usepackage[filename=tooltipy]{fancytooltips}
+\usepackage[filename=tooltipy,movetips]{fancytooltips}
+
-% \buttontipwidth=3in
-% \buttontipheight=3in
-% \def\delayinterval{50}
-% \def\TooltipExtratext{}
-% \definecolor{tooltipcolor}{rgb}{1,0,0}
\panelwidth=0.73in
\setlength\buttonwidth{.9\panelwidth}
@@ -36,7 +31,7 @@
%%% This is a trick which puts \frametip on every page
\def\@@logo#1{%
- \hfill\frametip \\%%%%% tady je to tlacitko
+% \hfill\frametip \\%%%%% tady je to tlacitko
\global\setbox0=\hbox{
\includegraphics{#1}}%
\ifdim\ht0>\wd0%
@@ -91,48 +86,258 @@
\Acrobatmenu{Quit}{\addButton{\buttonwidth}{\@Panelquitname}}\\
}
-\makeatother
+
+
+\makeatother
+
\let\rmdefault\sfdefault
+\usepackage[czech]{babel}
+\usepackage[IL2]{fontenc}
\usepackage{amsmath}
\usepackage[shadein]{shadethm}
-\newshadetheorem{definice}{Definice}
+\newshadetheorem{definice}{Definition}
\usepackage{graphicx}
+\definecolor{bkg}{rgb}{1,0.9,0.9}
+\def\Message#1{\colorbox{bkg}{
+ \begin{minipage}{1\linewidth}
+ \smallskip
+ #1
+ \smallskip
+ \end{minipage}
+ }}
\begin{document}
\parindent 0 pt
+\Message{
\begin{itemize}
-\item The blue text is active button. If you move mouse to this button
- with Shift key down or if you press this button, tooltip appears. Is
- you move your mouse out or if you close the page, the tooltip
- disappears.
-\item The first links are tooltips, the third one is animated tooltip.
- have a fun
+\item Use Acrobat Reader or Adobe Acrobat and View--Page
+ Layout--Single page to view this file, please.
+\item The blue text is active button. If you \textbf{click} one of
+ these buttons, tooltip appears. If you move your mouse out or if you
+ close the page, the tooltip disappears.
+\item The first links are tooltips, the fifth one is animated tooltip.
+\item The tooltips appears with the left down corner at the mouse
+ cursor, or at least as close as possible. Click on different
+ positions of the same button and have a fun.
\end{itemize}
+}
+
\begin{definice}
- This is definition of \tooltip{rank}{hodnost}. bla bla bla.
+ This is definition of \tooltip{rank}{2}. bla bla bla.
\end{definice}
\begin{definice}
- This is definition of \tooltip{derivative}{derivace}.
+ This is \tooltip{definition}3 of \tooltip{derivative}{1}\hfill
+ \tooltip{derivative}{1}.
\end{definice}
-This is a geometric \tooltipanim{idea}{3}{27} which is behind the definition of derivative.
+This is a geometric \tooltipanim{idea}{4}{28} which is behind the
+definition of derivative.
+
+
+\vfill
+\begin{definice}
+ This is \tooltip{definition}3 of \tooltip{derivative}{1}\hfill
+ \tooltip{derivative}{1}.
+\end{definice}
\newpage
-Page 2
+\makeatletter
+\def\tooltip#1#2{%
+ \write\@auxout{\noexpand\TooltipPage{\thepage}}%
+ \checkTipNumber{#2}\edef\TipNumber{\FindTipNumber{#2}}%
+ \leavevmode
+ \setbox0=\hbox{{\color{tooltipcolor}{#1}}}\hbox to 0 pt{{\copy0\TooltipExtratext\hss}}%
+ \pushButton[\BC{}\BG{}\S{}\AA{\AAMouseExit{\JS{CloseTooltips();}}
+ \AAMouseEnter{\JS{this.getField("ikona."+(this.pageNum+1)).hidden=false;
+ try {app.clearInterval(animace);}catch (e) {}
+ \ifmovetips nastav(\TipNumber);\fi
+ zobraz(\TipNumber);
+ }}}]
+ {TooltipField}{\wd0}{\ht0}}
+\def\delayinterval{200}
+\def\tooltipanim#1#2#3{%
+ \write\@auxout{\noexpand\TooltipPage{\thepage}}%
+ \checkTipNumber{#2}\edef\TipNumberA{\FindTipNumber{#2}}%
+ \checkTipNumber{#3}\edef\TipNumberB{\FindTipNumber{#3}}%
+ \leavevmode
+ \setbox0=\hbox{{\color{tooltipcolor}{#1}}}\hbox to 0 pt{{\copy0\TooltipExtratext\hss}}%
+ \pushButton[\BC{}\BG{}\S{}\AA{\AAMouseExit{\JS{CloseTooltips();}}
+ \AAMouseEnter{\JS{
+ try {app.clearInterval(animace);}catch (e) {}
+ var cislo=\TipNumberA;
+ \ifmovetips nastav(\TipNumberA);\fi
+ function animuj()
+ {
+ if (cislo<\TipNumberB) cislo=cislo+1;
+ this.getField('ikona.'+(this.pageNum+1)).buttonSetIcon(this.getField("animtiph."+cislo).buttonGetIcon());
+ };
+ this.getField('ikona.'+(this.pageNum+1)).buttonSetIcon(this.getField("animtiph."+\TipNumberA).buttonGetIcon());
+ this.getField("ikona."+(this.pageNum+1)).hidden=false;
+ animace=app.setInterval('animuj();', \delayinterval);
+ }}}
+ ]{TooltipField}{\wd0}{\ht0}}
+
+\makeatother
+
+\Message{
+\begin{itemize}
+\item The macros for tooltips are redefined on this page (see the
+ source tex file).
+\item The blue text is active button again, but the tooltip is
+ activated by \textbf{MouseOver} action.
+\item The advantage is that the reader can use Page Up and Down keys,
+ which do not work if th button is clicked.
+\end{itemize}}
+\begin{definice}
+ This is definition of \tooltip{rank}{2}. bla bla bla.
+\end{definice}
+
+
+\begin{definice}
+ This is \tooltip{definition}3 of \tooltip{derivative}{1}\hfill
+ \tooltip{derivative}{1}.
+\end{definice}
+
+This is a geometric \tooltipanim{idea}{4}{28} which is behind the
+definition of derivative.
+
+
+\vfill
+\begin{definice}
+ This is \tooltip{definition}3 of \tooltip{derivative}{1}\hfill
+ \tooltip{derivative}{1}.
+\end{definice}
-Here we speak more about \tooltip{rank}{hodnost}
\newpage
-Page 3
-\TooltipHidden
+
+\makeatletter
+\def\tooltip#1#2{%
+ #1%
+ \write\@auxout{\noexpand\TooltipPage{\thepage}}%
+ \checkTipNumber{#2}\edef\TipNumber{\FindTipNumber{#2}}%
+ \leavevmode
+ \setbox0=\hbox{{\raisebox{0.3em}{\includegraphics[width=0.7em]%
+ {fancytipmark.pdf}}}}\hbox to 0 pt{\hskip -0.0em\copy0\hss}%
+ \hbox to 0 pt{\pushButton[\BC{}\BG{}\S{}\AA{\AAMouseExit{\JS{CloseTooltips();}}
+ \AAMouseEnter{\JS{this.getField("ikona."+(this.pageNum+1)).hidden=false;
+ try {app.clearInterval(animace);}catch (e) {}
+ \ifmovetips nastav(\TipNumber);\fi
+ zobraz(\TipNumber);
+ }}}]
+ {TooltipField}{\wd0}{\ht0}\hss}}
+\def\delayinterval{200}
+\def\tooltipanim#1#2#3{%
+ #1%
+ \write\@auxout{\noexpand\TooltipPage{\thepage}}%
+ \checkTipNumber{#2}\edef\TipNumberA{\FindTipNumber{#2}}%
+ \checkTipNumber{#3}\edef\TipNumberB{\FindTipNumber{#3}}%
+ \leavevmode
+ \setbox0=\hbox{{\raisebox{0.3em}{\includegraphics[width=0.7em]%
+ {fancytipmark.pdf}}}}\hbox to 0 pt{\hskip -0.0em\copy0\hss}%
+ \hbox to 0 pt{%
+ \pushButton[\BC{}\BG{}\S{}\AA{\AAMouseExit{\JS{CloseTooltips();}}
+ \AAMouseEnter{\JS{
+ try {app.clearInterval(animace);}catch (e) {}
+ var cislo=\TipNumberA;
+ \ifmovetips nastav(\TipNumberA);\fi
+ function animuj()
+ {
+ if (cislo<\TipNumberB) cislo=cislo+1;
+ this.getField('ikona.'+(this.pageNum+1)).buttonSetIcon(this.getField("animtiph."+cislo).buttonGetIcon());
+ };
+ this.getField('ikona.'+(this.pageNum+1)).buttonSetIcon(this.getField("animtiph."+\TipNumberA).buttonGetIcon());
+ this.getField("ikona."+(this.pageNum+1)).hidden=false;
+ animace=app.setInterval('animuj();', \delayinterval);
+ }}}
+ ]{TooltipField}{\wd0}{\ht0}\hss}}
+
+\makeatother
+
+\Message{\begin{itemize}
+\item The macros for tooltips are redefined on this page (see the
+ source tex file).
+\item The blue \textbf{soap} is active button and the tooltip is
+ activated by \textbf{MouseOver} action.
+\item The advantage is that the reader can use Page Up and Down keys,
+ which do not work if the button is clicked and the soap is smaller
+ than the text.
+\end{itemize}
+}
+
+\begin{definice}
+ This is definition of \tooltip{rank}{2}. bla bla bla.
+\end{definice}
+
+
+\begin{definice}
+ This is \tooltip{definition}3 of \tooltip{derivative}{1}\hfill
+ \tooltip{derivative}{1}.
+\end{definice}
+
+\begin{definice}
+ This is {definition} of {derivative}\hfill
+ {derivative}.
+\end{definice}
+
+This is a geometric \tooltipanim{idea}{4}{28} which is behind the
+definition of derivative.
+
+This is a geometric idea which is behind the definition of derivative.
+
+
+\vfill
+\begin{definice}
+ This is \tooltip{definition}3 of \tooltip{derivative}{1}\hfill
+ \tooltip{derivative}{1}.
+\end{definice}
+
+\newpage
+
+\movetipsfalse
+
+\Message{This page shows that the tooltip appers in the top right corner if the
+package option \texttt{movetips} is not used.}
+
+\begin{definice}
+ This is definition of \tooltip{rank}{2}. bla bla bla.
+\end{definice}
+
+
+\vfill
+
+\begin{definice}
+ This is \tooltip{definition}3 of \tooltip{derivative}{1}\hfill
+ \tooltip{derivative}{1}.
+\end{definice}
+
+
+\begin{definice}
+ This is {definition} of {derivative}\hfill
+ {derivative}.
+\end{definice}
+
+This is a geometric \tooltipanim{idea}{4}{28} which is behind the
+definition of derivative.
+
+This is a geometric idea which is behind the definition of derivative.
+
+
+\begin{definice}
+ This is \tooltip{definition}3 of \tooltip{derivative}{1}\hfill
+ \tooltip{derivative}{1}.
+\end{definice}
+
+
+
\end{document}
diff --git a/Master/texmf-dist/doc/latex/fancytooltips/examples/fancytips.tex b/Master/texmf-dist/doc/latex/fancytooltips/examples/fancytips.tex
index ba438bfb5b7..d0f37ddb0e7 100644
--- a/Master/texmf-dist/doc/latex/fancytooltips/examples/fancytips.tex
+++ b/Master/texmf-dist/doc/latex/fancytooltips/examples/fancytips.tex
@@ -1,2 +1,3 @@
\tooltipname{derivace}{1}
\tooltipname{hodnost}{2}
+\tooltipname{definition}{3}
diff --git a/Master/texmf-dist/doc/latex/fancytooltips/examples/tooltipy.pdf b/Master/texmf-dist/doc/latex/fancytooltips/examples/tooltipy.pdf
index 0b1009d2759..3dbafbc7290 100644
--- a/Master/texmf-dist/doc/latex/fancytooltips/examples/tooltipy.pdf
+++ b/Master/texmf-dist/doc/latex/fancytooltips/examples/tooltipy.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/fancytooltips/examples/tooltipy.tex b/Master/texmf-dist/doc/latex/fancytooltips/examples/tooltipy.tex
index 3fff46ebb60..3900839282e 100644
--- a/Master/texmf-dist/doc/latex/fancytooltips/examples/tooltipy.tex
+++ b/Master/texmf-dist/doc/latex/fancytooltips/examples/tooltipy.tex
@@ -2,6 +2,7 @@
% \usepackage[czech]{babel}
% \usepackage[IL2]{fontenc}
+\pagestyle{empty}
\usepackage[createtips]{fancytooltips}
\usepackage{fancybox}
@@ -15,18 +16,37 @@
\usepackage{multido,graphicx}
\usepackage[papersize={5in,5in},margin=1pt]{geometry}
\long\def\stranka#1#2{
- \begin{flushright}
+\setbox0=\hbox{\begin{minipage}{2in}
\fboxsep 0 pt
\color{red}
\shadowbox{{\fboxsep 4pt\colorbox{yellow}
- {\begin{minipage}{0.5\linewidth}
+ {\begin{minipage}{\linewidth}
\color{black}#2
\end{minipage}}}}
- \end{flushright}
+\end{minipage}\ \ \ \ }
+\pdfpagewidth=\wd0
+\pdfpageheight=\ht0
+\advance \pdfpageheight by \dp0
+\copy0
\keytip{#1}
\newpage
}
+\long\def\strankaB#1#2{
+\setbox0=\hbox{\fboxsep 0 pt
+\color{red}
+\shadowbox{{\fboxsep 4pt\colorbox{yellow}
+ {\color{black}#2
+ }}}}
+\pdfpagewidth=\wd0
+\pdfpageheight=\ht0
+\advance \pdfpageheight by \dp0
+\copy0
+\keytip{#1}
+ \newpage
+}
+
+
\def\definice#1{
\begin{center}
\colorbox{gray}{\begin{minipage}{0.9\linewidth} #1
@@ -55,18 +75,26 @@
linear approximation.} \vypocet{The derivative can be evaluated
using appropriate formulas}}
-\stranka{hodnost}{ \definice{\textbf{Rank} is a maximal number of linearly independent rows in a matrix.}
-\vyuziti{Rank can be used to prove or disprove linear independence of vectors and it also appears in the Frobenius Theorem.}
-\vypocet{To find the rank of a matrix, you have to convert this matrix into row echelon form.}}
+\stranka{hodnost}{ \definice{\textbf{Rank} is a maximal number of
+ linearly independent rows in a matrix.} \vyuziti{Rank can be used
+ to prove or disprove linear independence of vectors and it also
+ appears in the Frobenius Theorem.} \vypocet{To find the rank of a
+ matrix, you have to convert this matrix into row echelon form.}}
+
+\strankaB{definition}{???}
+\pdfpageheight=0pt
+\pdfpagewidth=0pt
-\def\obrazek#1{
- \begin{flushright}
- \color{red}
- \fboxsep 0 pt{\shadowbox{{\color{black}\includegraphics[width=0.8\hsize,
- page=#1,viewport= 0 57 350 230,clip]{tecna2.pdf}}}}
- \end{flushright}
+\def\obrazek#1{%
+\setbox0=\hbox{\color{red}%
+ \fboxsep 0 pt{\shadowbox{{\color{black}\includegraphics[width=3.5in,
+ page=#1,viewport= 0 57 350 230,clip]{tecna2.pdf}}}}}
+\pdfpagewidth=\wd0
+\pdfpageheight=\ht0
+\advance \pdfpageheight by \dp0
+\copy0
\newpage}
diff --git a/Master/texmf-dist/doc/latex/fancytooltips/fancytipmark.eps b/Master/texmf-dist/doc/latex/fancytooltips/fancytipmark.eps
new file mode 100644
index 00000000000..88f7ee9d360
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/fancytooltips/fancytipmark.eps
@@ -0,0 +1,37 @@
+%!PS-Adobe-3.0 EPSF-3.0
+%%Creator: inkscape 0.44.1
+%%Pages: 1
+%%Orientation: Portrait
+%%BoundingBox: 0 0 169 151
+%%HiResBoundingBox: 0 0 169 151
+%%DocumentMedia: plain 169 151 0 () ()
+%%EndComments
+%%Page: 1 1
+0 151 translate
+0.8 -0.8 scale
+gsave [1 0 0 1 0 0] concat
+gsave [1 0 0 1 -40.05603 -249.7852] concat
+gsave [0.935811 0 0 1 -63.65906 -70.64426] concat
+gsave
+0 1 1 setrgbcolor
+newpath
+335.7423 393.98685 moveto
+335.7423 434.59055 287.45367 467.54427 227.95518 467.54427 curveto
+168.4567 467.54427 120.16807 434.59055 120.16807 393.98685 curveto
+120.16807 353.38315 168.4567 320.42942 227.95518 320.42942 curveto
+286.11139 320.42942 333.61417 351.71797 335.67463 391.38073 curveto
+fill
+grestore
+grestore
+gsave
+0 1 1 setrgbcolor
+newpath
+100.50421 378.69272 moveto
+92.492997 429.67311 40.056027 435.49943 40.056027 435.49943 curveto
+40.056027 435.49943 125.9944 453.70671 184.98599 387.4322 curveto
+eofill
+grestore
+grestore
+grestore
+showpage
+%%EOF
diff --git a/Master/texmf-dist/doc/latex/fancytooltips/fancytipmark.pdf b/Master/texmf-dist/doc/latex/fancytooltips/fancytipmark.pdf
new file mode 100644
index 00000000000..75e0f26d72c
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/fancytooltips/fancytipmark.pdf
@@ -0,0 +1,95 @@
+%PDF-1.4
+%Âéî¡
+3 0 obj
+<<
+ /Type /Catalog
+ /Pages 2 0 R
+>>
+endobj
+4 0 obj
+<<
+ /Type /Page
+ /Parent 2 0 R
+ /MediaBox [ 0 0 169 151 ]
+ /Resources 5 0 R
+ /Contents 6 0 R
+>>
+endobj
+6 0 obj
+<<
+ /Length 7 0 R
+>>
+stream
+0.8 0 0 -0.8 0 151 cm
+q
+1 0 0 1 0 0 cm
+q
+1 0 0 1 -40.05603 -249.7852 cm
+q
+0.935811 0 0 1 -63.65906 -70.64426 cm
+q
+0 1 1 rg
+335.74230194 393.98684692 m
+335.74230194 434.59054633 287.45367352 467.54427338 227.95518494 467.54427338 c
+168.45669635 467.54427338 120.16806793 434.59054633 120.16806793 393.98684692 c
+120.16806793 353.38314752 168.45669635 320.42942047 227.95518494 320.42942047 c
+286.11138982 320.42942047 333.61417376 351.71796567 335.67463011 391.38073005 c
+f
+Q
+Q
+q
+0 1 1 rg
+100.50421 378.69272 m
+92.492997 429.67311 40.056027 435.49943 40.056027 435.49943 c
+40.056027 435.49943 125.9944 453.70671 184.98599 387.4322 c
+f*
+Q
+Q
+Q
+endstream
+endobj
+7 0 obj
+641
+endobj
+5 0 obj
+<<
+ /ProcSet [/PDF /Text /ImageB /ImageC /ImageI]
+>>
+endobj
+1 0 obj
+<<
+ /Title(fancytipmark.pdf)
+ /Author(Robert Marik)
+ /Creator(www.inkscape.org)
+ /Producer(Inkscape inkscape 0.44.1)
+ /CreationDate(D:20070225082007Z)
+>>
+endobj
+2 0 obj
+<<
+ /Type /Pages
+ /Count 1
+ /Kids [
+ 4 0 R
+ ]
+>>
+endobj
+xref
+0 8
+0000000000 65535 f
+0000000967 00000 n
+0000001141 00000 n
+0000000015 00000 n
+0000000068 00000 n
+0000000898 00000 n
+0000000184 00000 n
+0000000879 00000 n
+trailer
+<<
+ /Size 7
+ /Root 3 0 R
+ /Info 1 0 R
+>>
+startxref
+1212
+%%EOF
diff --git a/Master/texmf-dist/doc/latex/fancytooltips/fancytipmark.svg b/Master/texmf-dist/doc/latex/fancytooltips/fancytipmark.svg
new file mode 100644
index 00000000000..e145e4587af
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/fancytooltips/fancytipmark.svg
@@ -0,0 +1,73 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!-- Created with Inkscape (http://www.inkscape.org/) -->
+<svg
+ xmlns:dc="http://purl.org/dc/elements/1.1/"
+ xmlns:cc="http://web.resource.org/cc/"
+ xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
+ xmlns:svg="http://www.w3.org/2000/svg"
+ xmlns="http://www.w3.org/2000/svg"
+ xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
+ xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
+ width="210.47626"
+ height="188.0038"
+ id="svg2"
+ inkscape:label="Pozadí"
+ sodipodi:version="0.32"
+ inkscape:version="0.44.1"
+ version="1.0"
+ sodipodi:docbase="/home/marik/livetooltips"
+ sodipodi:docname="fancytipmark.svg">
+ <defs
+ id="defs3" />
+ <sodipodi:namedview
+ id="base"
+ pagecolor="#ffffff"
+ bordercolor="#666666"
+ borderopacity="1.0"
+ inkscape:pageopacity="0.0"
+ inkscape:pageshadow="2"
+ inkscape:zoom="1.3730769"
+ inkscape:cx="149.07861"
+ inkscape:cy="73.050093"
+ inkscape:document-units="px"
+ inkscape:current-layer="layer1"
+ inkscape:window-width="926"
+ inkscape:window-height="622"
+ inkscape:window-x="5"
+ inkscape:window-y="55" />
+ <metadata
+ id="metadata6">
+ <rdf:RDF>
+ <cc:Work
+ rdf:about="">
+ <dc:format>image/svg+xml</dc:format>
+ <dc:type
+ rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
+ </cc:Work>
+ </rdf:RDF>
+ </metadata>
+ <g
+ inkscape:label="Vrstva 1"
+ inkscape:groupmode="layer"
+ id="layer1"
+ transform="translate(-40.05603,-249.7852)">
+ <path
+ sodipodi:type="arc"
+ style="fill:aqua;fill-opacity:1;stroke:none;stroke-width:1;stroke-miterlimit:4;stroke-dasharray:3, 3;stroke-dashoffset:0"
+ id="path1871"
+ sodipodi:cx="227.95518"
+ sodipodi:cy="393.98685"
+ sodipodi:rx="107.78712"
+ sodipodi:ry="73.557426"
+ d="M 335.7423,393.98685 A 107.78712,73.557426 0 1 1 335.67463,391.38073"
+ transform="matrix(0.935811,0,0,1,-63.65906,-70.64426)"
+ sodipodi:start="0"
+ sodipodi:end="6.2477482"
+ sodipodi:open="true" />
+ <path
+ style="fill:aqua;fill-rule:evenodd;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
+ d="M 100.50421,378.69272 C 92.492997,429.67311 40.056027,435.49943 40.056027,435.49943 C 40.056027,435.49943 125.9944,453.70671 184.98599,387.4322"
+ id="path1873"
+ sodipodi:nodetypes="ccc" />
+ </g>
+</svg>
diff --git a/Master/texmf-dist/doc/latex/fancytooltips/fancytooltips.pdf b/Master/texmf-dist/doc/latex/fancytooltips/fancytooltips.pdf
index 6ab1af60d9c..da1b18871c2 100644
--- a/Master/texmf-dist/doc/latex/fancytooltips/fancytooltips.pdf
+++ b/Master/texmf-dist/doc/latex/fancytooltips/fancytooltips.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/fancytooltips/fancytooltipsmark.eps b/Master/texmf-dist/doc/latex/fancytooltips/fancytooltipsmark.eps
deleted file mode 100644
index 8e70df560d8..00000000000
--- a/Master/texmf-dist/doc/latex/fancytooltips/fancytooltipsmark.eps
+++ /dev/null
@@ -1,553 +0,0 @@
-%!PS-Adobe-3.0
-%%Creator: xpdf/pdftops 3.00
-%%LanguageLevel: 2
-%%DocumentSuppliedResources: (atend)
-%%DocumentMedia: plain 316 214 0 () ()
-%%BoundingBox: 0 0 316 214
-%%Pages: 1
-%%EndComments
-%%BeginDefaults
-%%PageMedia: plain
-%%EndDefaults
-%%BeginProlog
-%%BeginResource: procset xpdf 3.00 0
-/xpdf 75 dict def xpdf begin
-% PDF special state
-/pdfDictSize 15 def
-/pdfSetup {
- 3 1 roll 2 array astore
- /setpagedevice where {
- pop 3 dict begin
- /PageSize exch def
- /ImagingBBox null def
- /Policies 1 dict dup begin /PageSize 3 def end def
- { /Duplex true def } if
- currentdict end setpagedevice
- } {
- pop pop
- } ifelse
-} def
-/pdfStartPage {
- pdfDictSize dict begin
- /pdfFillCS [] def
- /pdfFillXform {} def
- /pdfStrokeCS [] def
- /pdfStrokeXform {} def
- /pdfFill [0] def
- /pdfStroke [0] def
- /pdfFillOP false def
- /pdfStrokeOP false def
- /pdfLastFill false def
- /pdfLastStroke false def
- /pdfTextMat [1 0 0 1 0 0] def
- /pdfFontSize 0 def
- /pdfCharSpacing 0 def
- /pdfTextRender 0 def
- /pdfTextRise 0 def
- /pdfWordSpacing 0 def
- /pdfHorizScaling 1 def
- /pdfTextClipPath [] def
-} def
-/pdfEndPage { end } def
-% PDF color state
-/cs { /pdfFillXform exch def dup /pdfFillCS exch def
- setcolorspace } def
-/CS { /pdfStrokeXform exch def dup /pdfStrokeCS exch def
- setcolorspace } def
-/sc { pdfLastFill not { pdfFillCS setcolorspace } if
- dup /pdfFill exch def aload pop pdfFillXform setcolor
- /pdfLastFill true def /pdfLastStroke false def } def
-/SC { pdfLastStroke not { pdfStrokeCS setcolorspace } if
- dup /pdfStroke exch def aload pop pdfStrokeXform setcolor
- /pdfLastStroke true def /pdfLastFill false def } def
-/op { /pdfFillOP exch def
- pdfLastFill { pdfFillOP setoverprint } if } def
-/OP { /pdfStrokeOP exch def
- pdfLastStroke { pdfStrokeOP setoverprint } if } def
-/fCol {
- pdfLastFill not {
- pdfFillCS setcolorspace
- pdfFill aload pop pdfFillXform setcolor
- pdfFillOP setoverprint
- /pdfLastFill true def /pdfLastStroke false def
- } if
-} def
-/sCol {
- pdfLastStroke not {
- pdfStrokeCS setcolorspace
- pdfStroke aload pop pdfStrokeXform setcolor
- pdfStrokeOP setoverprint
- /pdfLastStroke true def /pdfLastFill false def
- } if
-} def
-% build a font
-/pdfMakeFont {
- 4 3 roll findfont
- 4 2 roll matrix scale makefont
- dup length dict begin
- { 1 index /FID ne { def } { pop pop } ifelse } forall
- /Encoding exch def
- currentdict
- end
- definefont pop
-} def
-/pdfMakeFont16 {
- exch findfont
- dup length dict begin
- { 1 index /FID ne { def } { pop pop } ifelse } forall
- /WMode exch def
- currentdict
- end
- definefont pop
-} def
-% graphics state operators
-/q { gsave pdfDictSize dict begin } def
-/Q {
- end grestore
- /pdfLastFill where {
- pop
- pdfLastFill {
- pdfFillOP setoverprint
- } {
- pdfStrokeOP setoverprint
- } ifelse
- } if
-} def
-/cm { concat } def
-/d { setdash } def
-/i { setflat } def
-/j { setlinejoin } def
-/J { setlinecap } def
-/M { setmiterlimit } def
-/w { setlinewidth } def
-% path segment operators
-/m { moveto } def
-/l { lineto } def
-/c { curveto } def
-/re { 4 2 roll moveto 1 index 0 rlineto 0 exch rlineto
- neg 0 rlineto closepath } def
-/h { closepath } def
-% path painting operators
-/S { sCol stroke } def
-/Sf { fCol stroke } def
-/f { fCol fill } def
-/f* { fCol eofill } def
-% clipping operators
-/W { clip newpath } def
-/W* { eoclip newpath } def
-% text state operators
-/Tc { /pdfCharSpacing exch def } def
-/Tf { dup /pdfFontSize exch def
- dup pdfHorizScaling mul exch matrix scale
- pdfTextMat matrix concatmatrix dup 4 0 put dup 5 0 put
- exch findfont exch makefont setfont } def
-/Tr { /pdfTextRender exch def } def
-/Ts { /pdfTextRise exch def } def
-/Tw { /pdfWordSpacing exch def } def
-/Tz { /pdfHorizScaling exch def } def
-% text positioning operators
-/Td { pdfTextMat transform moveto } def
-/Tm { /pdfTextMat exch def } def
-% text string operators
-/cshow where {
- pop
- /cshow2 {
- dup {
- pop pop
- 1 string dup 0 3 index put 3 index exec
- } exch cshow
- pop pop
- } def
-}{
- /cshow2 {
- currentfont /FontType get 0 eq {
- 0 2 2 index length 1 sub {
- 2 copy get exch 1 add 2 index exch get
- 2 copy exch 256 mul add
- 2 string dup 0 6 5 roll put dup 1 5 4 roll put
- 3 index exec
- } for
- } {
- dup {
- 1 string dup 0 3 index put 3 index exec
- } forall
- } ifelse
- pop pop
- } def
-} ifelse
-/awcp {
- exch {
- false charpath
- 5 index 5 index rmoveto
- 6 index eq { 7 index 7 index rmoveto } if
- } exch cshow2
- 6 {pop} repeat
-} def
-/Tj {
- fCol
- 1 index stringwidth pdfTextMat idtransform pop
- sub 1 index length dup 0 ne { div } { pop pop 0 } ifelse
- pdfWordSpacing pdfHorizScaling mul 0 pdfTextMat dtransform 32
- 4 3 roll pdfCharSpacing pdfHorizScaling mul add 0
- pdfTextMat dtransform
- 6 5 roll Tj1
-} def
-/Tj16 {
- fCol
- 2 index stringwidth pdfTextMat idtransform pop
- sub exch div
- pdfWordSpacing pdfHorizScaling mul 0 pdfTextMat dtransform 32
- 4 3 roll pdfCharSpacing pdfHorizScaling mul add 0
- pdfTextMat dtransform
- 6 5 roll Tj1
-} def
-/Tj16V {
- fCol
- 2 index stringwidth pdfTextMat idtransform exch pop
- sub exch div
- 0 pdfWordSpacing pdfTextMat dtransform 32
- 4 3 roll pdfCharSpacing add 0 exch
- pdfTextMat dtransform
- 6 5 roll Tj1
-} def
-/Tj1 {
- 0 pdfTextRise pdfTextMat dtransform rmoveto
- currentpoint 8 2 roll
- pdfTextRender 1 and 0 eq {
- 6 copy awidthshow
- } if
- pdfTextRender 3 and dup 1 eq exch 2 eq or {
- 7 index 7 index moveto
- 6 copy
- currentfont /FontType get 3 eq { fCol } { sCol } ifelse
- false awcp currentpoint stroke moveto
- } if
- pdfTextRender 4 and 0 ne {
- 8 6 roll moveto
- false awcp
- /pdfTextClipPath [ pdfTextClipPath aload pop
- {/moveto cvx}
- {/lineto cvx}
- {/curveto cvx}
- {/closepath cvx}
- pathforall ] def
- currentpoint newpath moveto
- } {
- 8 {pop} repeat
- } ifelse
- 0 pdfTextRise neg pdfTextMat dtransform rmoveto
-} def
-/TJm { pdfFontSize 0.001 mul mul neg 0
- pdfTextMat dtransform rmoveto } def
-/TJmV { pdfFontSize 0.001 mul mul neg 0 exch
- pdfTextMat dtransform rmoveto } def
-/Tclip { pdfTextClipPath cvx exec clip newpath
- /pdfTextClipPath [] def } def
-% Level 2 image operators
-/pdfImBuf 100 string def
-/pdfIm {
- image
- { currentfile pdfImBuf readline
- not { pop exit } if
- (%-EOD-) eq { exit } if } loop
-} def
-/pdfImM {
- fCol imagemask
- { currentfile pdfImBuf readline
- not { pop exit } if
- (%-EOD-) eq { exit } if } loop
-} def
-/pdfImClip {
- gsave
- 0 2 4 index length 1 sub {
- dup 4 index exch 2 copy
- get 5 index div put
- 1 add 3 index exch 2 copy
- get 3 index div put
- } for
- pop pop rectclip
-} def
-/pdfImClipEnd { grestore } def
-% shading operators
-/colordelta {
- false 0 1 3 index length 1 sub {
- dup 4 index exch get 3 index 3 2 roll get sub abs 0.004 gt {
- pop true
- } if
- } for
- exch pop exch pop
-} def
-/funcCol { func n array astore } def
-/funcSH {
- dup 0 eq {
- true
- } {
- dup 6 eq {
- false
- } {
- 4 index 4 index funcCol dup
- 6 index 4 index funcCol dup
- 3 1 roll colordelta 3 1 roll
- 5 index 5 index funcCol dup
- 3 1 roll colordelta 3 1 roll
- 6 index 8 index funcCol dup
- 3 1 roll colordelta 3 1 roll
- colordelta or or or
- } ifelse
- } ifelse
- {
- 1 add
- 4 index 3 index add 0.5 mul exch 4 index 3 index add 0.5 mul exch
- 6 index 6 index 4 index 4 index 4 index funcSH
- 2 index 6 index 6 index 4 index 4 index funcSH
- 6 index 2 index 4 index 6 index 4 index funcSH
- 5 3 roll 3 2 roll funcSH pop pop
- } {
- pop 3 index 2 index add 0.5 mul 3 index 2 index add 0.5 mul
- funcCol sc
- dup 4 index exch mat transform m
- 3 index 3 index mat transform l
- 1 index 3 index mat transform l
- mat transform l pop pop h f*
- } ifelse
-} def
-/axialCol {
- dup 0 lt {
- pop t0
- } {
- dup 1 gt {
- pop t1
- } {
- dt mul t0 add
- } ifelse
- } ifelse
- func n array astore
-} def
-/axialSH {
- dup 0 eq {
- true
- } {
- dup 8 eq {
- false
- } {
- 2 index axialCol 2 index axialCol colordelta
- } ifelse
- } ifelse
- {
- 1 add 3 1 roll 2 copy add 0.5 mul
- dup 4 3 roll exch 4 index axialSH
- exch 3 2 roll axialSH
- } {
- pop 2 copy add 0.5 mul axialCol sc
- exch dup dx mul x0 add exch dy mul y0 add
- 3 2 roll dup dx mul x0 add exch dy mul y0 add
- dx abs dy abs ge {
- 2 copy yMin sub dy mul dx div add yMin m
- yMax sub dy mul dx div add yMax l
- 2 copy yMax sub dy mul dx div add yMax l
- yMin sub dy mul dx div add yMin l
- h f*
- } {
- exch 2 copy xMin sub dx mul dy div add xMin exch m
- xMax sub dx mul dy div add xMax exch l
- exch 2 copy xMax sub dx mul dy div add xMax exch l
- xMin sub dx mul dy div add xMin exch l
- h f*
- } ifelse
- } ifelse
-} def
-/radialCol {
- dup t0 lt {
- pop t0
- } {
- dup t1 gt {
- pop t1
- } if
- } ifelse
- func n array astore
-} def
-/radialSH {
- dup 0 eq {
- true
- } {
- dup 8 eq {
- false
- } {
- 2 index dt mul t0 add radialCol
- 2 index dt mul t0 add radialCol colordelta
- } ifelse
- } ifelse
- {
- 1 add 3 1 roll 2 copy add 0.5 mul
- dup 4 3 roll exch 4 index radialSH
- exch 3 2 roll radialSH
- } {
- pop 2 copy add 0.5 mul dt mul t0 add axialCol sc
- exch dup dx mul x0 add exch dup dy mul y0 add exch dr mul r0 add
- 0 360 arc h
- dup dx mul x0 add exch dup dy mul y0 add exch dr mul r0 add
- 0 360 arc h f*
- } ifelse
-} def
-end
-%%EndResource
-%%EndProlog
-%%BeginSetup
-xpdf begin
-316 214 false pdfSetup
-%%EndSetup
-%%Page: 1 1
-%%BeginPageSetup
-%%PageOrientation: Portrait
-pdfStartPage
-0 0 316 214 re W
-%%EndPageSetup
-[] 0 d
-1 i
-0 j
-0 J
-10 M
-1 w
-/DeviceGray {} cs
-[0] sc
-/DeviceGray {} CS
-[0] SC
-false op
-false OP
-q
-[0.8 0 0 -0.8 0 214] cm
-q
-[1 0 0 1 0 0] cm
-q
-[1 0 0 1 -149.5 -286.737] cm
-q
-/DeviceRGB {} cs
-[0 0.396072 1] sc
-543.75 391.425 m
-543.75 449.212 462.55 496.112 362.5 496.112 c
-262.45 496.112 181.25 449.212 181.25 391.425 c
-181.25 333.637 262.45 286.737 362.5 286.737 c
-462.55 286.737 543.75 333.637 543.75 391.425 c
-h
-f
-Q
-q
-/DeviceRGB {} cs
-[0 0.396072 1] sc
-209.375 449.237 m
-171.875 567.987 150 549.237 150 549.237 c
-150 549.237 232.766 548.636 268.75 478.277 c
-f*
-Q
-q
-[1.13967 0 0 0.877444 0 0] cm
-q
-/DeviceRGB {} cs
-[1 0 0] sc
-235.969 462.75 m
-207.561 462.75 l
-207.561 458.894 l
-207.561 454.592 208.427 450.789 210.158 447.484 c
-211.889 444.126 215.535 439.877 221.096 434.736 c
-226.132 430.172 l
-229.123 427.444 231.3 424.873 232.664 422.46 c
-234.08 420.047 234.788 417.633 234.788 415.22 c
-234.788 411.548 233.529 408.689 231.011 406.643 c
-228.493 404.544 224.978 403.495 220.467 403.495 c
-216.217 403.495 211.627 404.387 206.695 406.171 c
-201.764 407.902 196.623 410.499 191.272 413.961 c
-191.272 389.252 l
-197.62 387.049 203.417 385.422 208.663 384.373 c
-213.909 383.324 218.971 382.799 223.85 382.799 c
-236.651 382.799 246.409 385.422 253.124 390.668 c
-259.839 395.862 263.196 403.469 263.196 413.489 c
-263.196 418.63 262.173 423.247 260.127 427.339 c
-258.081 431.378 254.592 435.733 249.661 440.401 c
-244.625 444.887 l
-241.057 448.14 238.723 450.763 237.621 452.756 c
-236.52 454.697 235.969 456.848 235.969 459.209 c
-235.969 462.75 l
-207.561 474.396 m
-235.969 474.396 l
-235.969 502.411 l
-207.561 502.411 l
-207.561 474.396 l
-f
-Q
-q
-/DeviceRGB {} cs
-[1 0 0] sc
-329.455 462.75 m
-301.047 462.75 l
-301.047 458.894 l
-301.047 454.592 301.912 450.789 303.644 447.484 c
-305.375 444.126 309.021 439.877 314.582 434.736 c
-319.618 430.172 l
-322.608 427.444 324.786 424.873 326.15 422.46 c
-327.566 420.047 328.274 417.633 328.274 415.22 c
-328.274 411.548 327.015 408.689 324.497 406.643 c
-321.979 404.544 318.464 403.495 313.952 403.495 c
-309.703 403.495 305.113 404.387 300.181 406.171 c
-295.25 407.902 290.109 410.499 284.758 413.961 c
-284.758 389.252 l
-291.105 387.049 296.902 385.422 302.149 384.373 c
-307.395 383.324 312.457 382.799 317.336 382.799 c
-330.137 382.799 339.894 385.422 346.609 390.668 c
-353.324 395.862 356.682 403.469 356.682 413.489 c
-356.682 418.63 355.659 423.247 353.613 427.339 c
-351.567 431.378 348.078 435.733 343.147 440.401 c
-338.111 444.887 l
-334.543 448.14 332.209 450.763 331.107 452.756 c
-330.005 454.697 329.455 456.848 329.455 459.209 c
-329.455 462.75 l
-301.047 474.396 m
-329.455 474.396 l
-329.455 502.411 l
-301.047 502.411 l
-301.047 474.396 l
-f
-Q
-q
-/DeviceRGB {} cs
-[1 0 0] sc
-422.94 462.75 m
-394.533 462.75 l
-394.533 458.894 l
-394.533 454.592 395.398 450.789 397.13 447.484 c
-398.861 444.126 402.507 439.877 408.068 434.736 c
-413.104 430.172 l
-416.094 427.444 418.271 424.873 419.635 422.46 c
-421.052 420.047 421.76 417.633 421.76 415.22 c
-421.76 411.548 420.501 408.689 417.983 406.643 c
-415.465 404.544 411.95 403.495 407.438 403.495 c
-403.189 403.495 398.598 404.387 393.667 406.171 c
-388.736 407.902 383.595 410.499 378.244 413.961 c
-378.244 389.252 l
-384.591 387.049 390.388 385.422 395.634 384.373 c
-400.88 383.324 405.943 382.799 410.822 382.799 c
-423.622 382.799 433.38 385.422 440.095 390.668 c
-446.81 395.862 450.168 403.469 450.168 413.489 c
-450.168 418.63 449.145 423.247 447.099 427.339 c
-445.053 431.378 441.564 435.733 436.633 440.401 c
-431.597 444.887 l
-428.029 448.14 425.695 450.763 424.593 452.756 c
-423.491 454.697 422.94 456.848 422.94 459.209 c
-422.94 462.75 l
-394.533 474.396 m
-422.94 474.396 l
-422.94 502.411 l
-394.533 502.411 l
-394.533 474.396 l
-f
-Q
-Q
-Q
-Q
-Q
-showpage
-%%PageTrailer
-pdfEndPage
-%%Trailer
-end
-%%DocumentSuppliedResources:
-%%EOF
diff --git a/Master/texmf-dist/doc/latex/fancytooltips/fancytooltipsmark.pdf b/Master/texmf-dist/doc/latex/fancytooltips/fancytooltipsmark.pdf
deleted file mode 100644
index 367156ff3e7..00000000000
--- a/Master/texmf-dist/doc/latex/fancytooltips/fancytooltipsmark.pdf
+++ /dev/null
@@ -1,192 +0,0 @@
-%PDF-1.4
-%Âéî¡
-3 0 obj
-<<
- /Type /Catalog
- /Pages 2 0 R
->>
-endobj
-4 0 obj
-<<
- /Type /Page
- /Parent 2 0 R
- /MediaBox [ 0 0 316 214 ]
- /Resources 5 0 R
- /Contents 6 0 R
->>
-endobj
-6 0 obj
-<<
- /Length 7 0 R
->>
-stream
-0.8 0 0 -0.8 0 214 cm
-q
-1 0 0 1 0 0 cm
-q
-1 0 0 1 -149.5 -286.7372 cm
-q
-0 0.39607844 1 rg
-543.75 391.42468262 m
-543.75 449.21218262 462.55 496.11218262 362.5 496.11218262 c
-262.45 496.11218262 181.25 449.21218262 181.25 391.42468262 c
-181.25 333.63718262 262.45 286.73718262 362.5 286.73718262 c
-462.55 286.73718262 543.75 333.63718262 543.75 391.42468262 c
-h
-f
-Q
-q
-0 0.39607844 1 rg
-209.375 449.23718 m
-171.875 567.98718 150 549.23718 150 549.23718 c
-150 549.23718 232.7665 548.63597 268.75 478.27747 c
-f*
-Q
-q
-1.139674 0 0 0.877444 0 0 cm
-q
-1 0 0 rg
-235.96879771 462.74996036 m
-207.56106761 462.74996036 l
-207.56106761 458.89406348 l
-207.56104023 454.59229437 208.42664886 450.78886247 210.15789612 447.48375638 c
-211.88908342 444.12629901 215.53513193 439.87694751 221.09605259 434.73568913 c
-226.13232607 430.17156629 l
-229.1225645 427.44365979 231.29970138 424.87306444 232.66374324 422.45977253 c
-234.08014125 420.04664052 234.7883665 417.63342855 234.78842111 415.2201294 c
-234.7883665 411.54793752 233.52929939 408.68880595 231.011216 406.64272613 c
-228.49303094 404.54437671 224.97813526 403.49515412 220.4665184 403.49505521 c
-216.21712661 403.49515412 211.62677777 404.38699333 206.69545811 406.17057549 c
-201.7640854 407.90188901 196.6228947 410.49871493 191.27187058 413.96106103 c
-191.27187058 389.25184427 l
-197.61965616 387.04858999 203.41661099 385.42229497 208.66275243 384.37295434 c
-213.90883691 383.32384978 218.97133592 382.79923849 223.85026465 382.79911888 c
-236.6507366 382.79923849 246.40850671 385.42229497 253.12360425 390.66829619 c
-259.83855589 395.86205976 263.19606818 403.46892356 263.1961512 413.48891039 c
-263.19606818 418.63019002 262.17307616 423.24676942 260.12717205 427.33866246 c
-258.08110805 431.37824451 254.59244293 435.73251827 249.66116623 440.4014968 c
-244.62489275 444.88692787 l
-241.05747149 448.13957543 238.72295122 450.76263191 237.62132494 452.75610518 c
-236.51958377 454.69721663 235.96874191 456.84812294 235.96879771 459.20883057 c
-235.96879771 462.74996036 l
-207.56106761 474.39634278 m
-235.96879771 474.39634278 l
-235.96879771 502.41061401 l
-207.56106761 502.41061401 l
-207.56106761 474.39634278 l
-f
-Q
-q
-1 0 0 rg
-329.45462229 462.74996036 m
-301.0468922 462.74996036 l
-301.0468922 458.89406348 l
-301.04686481 454.59229437 301.91247345 450.78886247 303.64372071 447.48375638 c
-305.374908 444.12629901 309.02095651 439.87694751 314.58187717 434.73568913 c
-319.61815065 430.17156629 l
-322.60838908 427.44365979 324.78552596 424.87306444 326.14956782 422.45977253 c
-327.56596583 420.04664052 328.27419108 417.63342855 328.27424569 415.2201294 c
-328.27419108 411.54793752 327.01512397 408.68880595 324.49704058 406.64272613 c
-321.97885553 404.54437671 318.46395984 403.49515412 313.95234299 403.49505521 c
-309.7029512 403.49515412 305.11260236 404.38699333 300.18128269 406.17057549 c
-295.24990999 407.90188901 290.10871929 410.49871493 284.75769516 413.96106103 c
-284.75769516 389.25184427 l
-291.10548075 387.04858999 296.90243557 385.42229497 302.14857702 384.37295434 c
-307.39466149 383.32384978 312.4571605 382.79923849 317.33608923 382.79911888 c
-330.13656118 382.79923849 339.89433129 385.42229497 346.60942883 390.66829619 c
-353.32438047 395.86205976 356.68189277 403.46892356 356.68197579 413.48891039 c
-356.68189277 418.63019002 355.65890074 423.24676942 353.61299664 427.33866246 c
-351.56693263 431.37824451 348.07826751 435.73251827 343.14699081 440.4014968 c
-338.11071733 444.88692787 l
-334.54329607 448.13957543 332.2087758 450.76263191 331.10714953 452.75610518 c
-330.00540836 454.69721663 329.4545665 456.84812294 329.45462229 459.20883057 c
-329.45462229 462.74996036 l
-301.0468922 474.39634278 m
-329.45462229 474.39634278 l
-329.45462229 502.41061401 l
-301.0468922 502.41061401 l
-301.0468922 474.39634278 l
-f
-Q
-q
-1 0 0 rg
-422.94044688 462.74996036 m
-394.53271678 462.74996036 l
-394.53271678 458.89406348 l
-394.5326894 454.59229437 395.39829803 450.78886247 397.12954529 447.48375638 c
-398.86073259 444.12629901 402.5067811 439.87694751 408.06770176 434.73568913 c
-413.10397524 430.17156629 l
-416.09421367 427.44365979 418.27135055 424.87306444 419.63539241 422.45977253 c
-421.05179042 420.04664052 421.76001567 417.63342855 421.76007028 415.2201294 c
-421.76001567 411.54793752 420.50094856 408.68880595 417.98286517 406.64272613 c
-415.46468011 404.54437671 411.94978443 403.49515412 407.43816757 403.49505521 c
-403.18877578 403.49515412 398.59842694 404.38699333 393.66710728 406.17057549 c
-388.73573457 407.90188901 383.59454387 410.49871493 378.24351975 413.96106103 c
-378.24351975 389.25184427 l
-384.59130533 387.04858999 390.38826016 385.42229497 395.6344016 384.37295434 c
-400.88048608 383.32384978 405.94298509 382.79923849 410.82191382 382.79911888 c
-423.62238577 382.79923849 433.38015588 385.42229497 440.09525342 390.66829619 c
-446.81020506 395.86205976 450.16771735 403.46892356 450.16780037 413.48891039 c
-450.16771735 418.63019002 449.14472533 423.24676942 447.09882122 427.33866246 c
-445.05275722 431.37824451 441.5640921 435.73251827 436.6328154 440.4014968 c
-431.59654192 444.88692787 l
-428.02912066 448.13957543 425.69460039 450.76263191 424.59297411 452.75610518 c
-423.49123294 454.69721663 422.94039108 456.84812294 422.94044688 459.20883057 c
-422.94044688 462.74996036 l
-394.53271678 474.39634278 m
-422.94044688 474.39634278 l
-422.94044688 502.41061401 l
-394.53271678 502.41061401 l
-394.53271678 474.39634278 l
-f
-Q
-Q
-Q
-Q
-endstream
-endobj
-7 0 obj
-5406
-endobj
-5 0 obj
-<<
- /ProcSet [/PDF /Text /ImageB /ImageC /ImageI]
->>
-endobj
-1 0 obj
-<<
- /Title(otazniky.pdf)
- /Author(Robert Marik)
- /Creator(www.inkscape.org)
- /Producer(Inkscape inkscape 0.44.1)
- /CreationDate(D:20070215231922Z)
->>
-endobj
-2 0 obj
-<<
- /Type /Pages
- /Count 1
- /Kids [
- 4 0 R
- ]
->>
-endobj
-xref
-0 8
-0000000000 65535 f
-0000005733 00000 n
-0000005903 00000 n
-0000000015 00000 n
-0000000068 00000 n
-0000005664 00000 n
-0000000184 00000 n
-0000005644 00000 n
-trailer
-<<
- /Size 7
- /Root 3 0 R
- /Info 1 0 R
->>
-startxref
-5974
-%%EOF
diff --git a/Master/texmf-dist/doc/latex/fancytooltips/tip.pdf b/Master/texmf-dist/doc/latex/fancytooltips/tip.pdf
index feb1643ce5e..993649d3577 100644
--- a/Master/texmf-dist/doc/latex/fancytooltips/tip.pdf
+++ b/Master/texmf-dist/doc/latex/fancytooltips/tip.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/fancytooltips/tip.tex b/Master/texmf-dist/doc/latex/fancytooltips/tip.tex
index 8df3daa088b..e34f9584c98 100644
--- a/Master/texmf-dist/doc/latex/fancytooltips/tip.tex
+++ b/Master/texmf-dist/doc/latex/fancytooltips/tip.tex
@@ -1,29 +1,30 @@
\documentclass{article}
\usepackage[papersize={2cm,2cm},margin=1pt]{geometry}
\usepackage{color}
-\definecolor{yellow}{rgb}{1,1,0.9}
-\def\cislo#1{
- \begin{flushright}
- \fcolorbox{red}{yellow}{
- \begin{minipage}{0.3\linewidth}
- \LARGE #1
- \end{minipage}}
- \end{flushright}
+
+\long\def\strankaB#1{
+\setbox0=\hbox{\fboxsep 0 pt
+\color{red}
+\shadowbox{{\fboxsep 4pt\colorbox{yellow}
+ {\color{black}#1
+ }}}}
+\pdfpagewidth=\wd0
+\pdfpageheight=\ht0
+\advance \pdfpageheight by \dp0
+\copy0
\newpage
}
+
+\usepackage{fancybox}
\begin{document}
-\begin{flushright}
- \fcolorbox{red}{yellow}{{\begin{minipage}{0.8\linewidth}
- Einstein:\\[4pt]
- $E=mc^2$
- \end{minipage}}}
-\end{flushright}
-\newpage
- \cislo{1}
- \cislo{2}
- \cislo{3}
- \cislo{4}
- \cislo{5}
- \cislo{6}
+
+\strankaB{\Huge $E=mc^2$}
+
+\strankaB{\LARGE number $ 1$}
+\strankaB{\LARGE number $ 2$}
+\strankaB{\LARGE number $ 3$}
+\strankaB{\LARGE number $ 4$}
+\strankaB{\LARGE number $ 5$}
+\strankaB{\LARGE number $ 6$}
\end{document}
diff --git a/Master/texmf-dist/source/latex/fancytooltips/fancytooltips.dtx b/Master/texmf-dist/source/latex/fancytooltips/fancytooltips.dtx
index 1738def53a6..2c6824d699f 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/02/20 v1.1 fancytooltips.dtx file]
+ [2007/03/01 v1.2 fancytooltips.dtx file]
%</package>
%
%<*driver>
@@ -32,7 +32,7 @@
\RecordChanges
\usepackage[pdftex]{eforms}
\usepackage[pdftex]{color}
-\usepackage[filename=tip]{fancytooltips}
+\usepackage[filename=tip,movetips]{fancytooltips}
\buttontipwidth=2cm
\buttontipheight=2cm
\begin{document}
@@ -44,7 +44,7 @@
%</driver>
% \fi
%
-% \CheckSum{332}
+% \CheckSum{353}
%
% \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
@@ -64,9 +64,16 @@
%
%
% \changes{v1.0}{2007/02/15}{Initial version}
+%
% \changes{v1.1}{2007/02/20}{Clener code, better documentation, fix
% for bug with delayinterval macro, support for dvips and DIstiller
-% users.}
+% users.}
+%
+% \changes{v1.2}{2007/03/01}{Better support for dvips users, buttons
+% 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.}
%
% \GetFileInfo{fancytooltips.dtx}
%
@@ -81,27 +88,24 @@
%
% \section{Introduction}
%
-% \null\hfill\TooltipHidden\frametip\\
% The package |fancytooltips| is a package for \LaTeX. The pdf can be
% created by pdflatex or by latex + dvips +
% AdobeDistiller\footnote{not free ps2pdf} + Adobe
% Acrobat\footnote{not free Adobe Reader.}. It allows to create
% tooltips in a similar way like |cooltooltips| package, but the
% tooltip is a page from another PDF file. In this way you can use
-% also mathematics, pictures and animations in your tooltips. The
+% mathematics, pictures and animations in your tooltips. The
% resulting PDF file can be used also with free Abobe Reader.
%
-% The \color{black}tooltips are activated by |MouseOver| action with
-% pressed |Shift| button down or by |MouseDown| action. The tooltips
-% are deactivated after closing page or by moving mouse outside the
-% link. You can try the links \tooltip{here}{1} (Einstein's formula)
-% and also \tooltipanim{here}{2}{7} (animation -- numbers from 1 to
-% 6). Tooltip appears on the right boundary of the first paragraph.
-% You have to use the free Adobe Reader or nonfree Adobe Acrobat to
-% see the effect (xpdf, evince and others fail to work with
-% JavaScripts). For more examples how the presentation may look like
-% see the |example.pdf| and |example-min.pdf| files in the |examples|
-% subdirectory.
+% The \color{black}tooltips are activated by clicking the active area
+% on the screen and deactivated after closing page or by moving mouse
+% outside the link. You can try the links \tooltip{here}{1}
+% (Einstein's formula) and also \tooltipanim{here}{2}{7} (animation --
+% numbers from 1 to 6). You have to use the free Adobe Reader or
+% nonfree Adobe Acrobat to see the effect (xpdf, evince and others
+% fail to work with JavaScripts). For more examples how the
+% presentation may look like see the |example.pdf| and
+% |example-min.pdf| files in the |examples| subdirectory.
%
% The buttons are created using |eforms.sty| which is a part of
% AcroTeX bundle.
@@ -110,57 +114,49 @@
% \subsection{The file with tooltips}
% The file with tooltips is an ordinary pdf file, one tooltip per
% page, tooltips should be in the top right corner at the page, in a
-% colored box and the rest of the page should be
-% transparent\footnote{See the example file \texttt{tooltipy.tex} and
-% \texttt{tooltipy.pdf} which make use of \texttt{geometry.sty}
-% package to set the page dimensions and \texttt{\string\colorbox}
-% and \texttt{minipage} to make the box with tooltip}. We also
-% provide simple cross referencing mechanism to reffer to the
-% tooltips. If the pdf file is created by \LaTeX,
-% \DescribeMacro{\keytip} you can define keywords to reffer to the
-% pages using |\keytip| command. Simply put
-% |\usepackage[createtips]{fancytooltips}| into preamble and write
-% \texttt{\string\keytip}\marg{foo} in document. This writes
+% colored box and the rest of the page should be transparent. If you
+% consider to use |movetips| option (see below), then every page
+% should have the dimensions equal to the dimensions of the colored
+% box with tooltip\footnote{Look at the files \texttt{tooltipy.tex} and
+% \texttt{tooltipy.pdf} from |examples| subdirectory for a simple example
+% how to meet this condition under pdf\LaTeX}. We also provide
+% simple cross referencing mechanism to reffer to the tooltips. If the
+% pdf file is created by \LaTeX, \DescribeMacro{\keytip} you can
+% define keywords to reffer to the pages using |\keytip| command.
+% Simply put |\usepackage[createtips]{fancytooltips}| into preamble
+% and write \texttt{\string\keytip}\marg{foo} in document. This writes
% information about keyword \meta{foo} and the pagenumber into file
% |fancytips.tex|.
%
% \subsection{The file with presentation -- pdf\LaTeX users}
% In the file with presentation, the user is responsible
% \begin{itemize}
-% \item to include package |eforms| with |pdftex| option before
-% loading fancytooltips package, and
+% \item to load package |eforms| with |pdftex| option before
+% loading fancytooltips package,
% \item input either |color| or |xcolor| package in the
-% preamble.
+% preamble
+% \item \LaTeX{} the file two times (we write some macros into |aux|
+% file).
% \end{itemize}
-% This is not convenient for the user, but everybody uses different
-% package and from this reason, this part is left to the user. (And
-% among others, the |color| or |xcolor| package is probably inputted
-% by the package which is used to build the presentation.)
+% This is not comfortable for the user, but everybody uses different
+% set of packages and from this reason, this part is left to the user.
+% (And among others, the |color| or |xcolor| package is probably
+% inputted by the package which is used to build the presentation.)
%
-% To input the tooltips from file \meta{foo.pdf} call the package with
-% \meta{filename} option |\usepackage[filename=foo]{fancytooltips}|,
-% input images for tooltips somewhere in the document using
-% \DescribeMacro{\TooltipHidden} macro |\TooltipHidden|
-% \DescribeMacro{\frametip} and put the macro |\frametip| on every
-% page\footnote{In the current document the \texttt{\string\frametip}
-% command was used only once in the first paragraph, since we have
-% tooltips in this paragraph only and the tooltips in the top right
-% corner of the page would be outside of the screen in most cases.}
-% in the right top corner of your document\footnote{See the file
-% \texttt{example.tex} and \texttt{example-min.tex} to know how to
-% achieve this with the \texttt{pdfscrren.sty} presentation bundle
-% and pure \texttt{article.cls} class, respectively.}.
-% \DescribeMacro{\buttontipwidth} \DescribeMacro{\buttontipheight} The
-% dimensions of button with tooltips (created by |\frametip| macro)
-% are stored in the |\buttontipwidth| and |\buttontipheight| length
-% variables. If the page with tooltip is bigger, it is resized to fit
-% into the button. You can change it for example by
-% |\buttontipwidth=4in|. To get expected results (tooltips in the top
-% right corner) these lengths should be equal or constant multiples of
-% the page dimensions of the file with tooltips. The button is inside
-% a box with zero dimensions and hence the box produced by |\frametip|
-% command has zero dimensions.
+% \DescribeMacro{filename option} To input the tooltips from file
+% \meta{foo.pdf} call the package with |filename| option:
+% |\usepackage[filename=foo]{fancytooltips}|.
%
+% \DescribeMacro{movetips option} By default, tooltip appears in the
+% top right corner of the page (use View--PageLayout-Single Page in
+% your Adobe Reader, please). If the option |movetips| is used, then
+% tooltip appears close to the mouse pointer. More preciselly, tooltip
+% appears with left down corner at the mouse position, if there is
+% enough place. If not, tooltip appears with right down corner at the
+% mouse position. Finally, the tooltip is shifted down to fit the
+% page, if nesessary\footnote{This option works in this way if every
+% page of the file with tooltips has dimensions of the box with
+% tooltip. See the \texttt{examples} subdirectory.}.
%
% \DescribeMacro{\tooltip} The user can put the tooltip into her or
% his presentation using the command
@@ -173,7 +169,7 @@
% value is small blue soap in a box with zero dimensions, as you have
% seen in the second paragraph of this documentation. There is a
% package option |noextratext| which defines |\TooltipExtratext| to be
-% empty.
+% empty. \DescribeMacro{noextratext option}
%
% \DescribeMacro{\tooltipanim} The user can put a series (animation) of
% tooltips into the presentation by using
@@ -183,23 +179,30 @@
% The delay between two frames is |\delayinterval| milliseconds. The
% default value is 200, you can change it by command
% |\def\delayinterval{100}|.
+%
+% The file |example.tex| from |exmaples| subdirectory shows, how to
+% redefine these macros to gain different behavior, see the demo file
+% |example.pdf|.
+%
% \subsection{Changes for dvips users}
% dvips users have to specify option |dvips| in both |fancytips| and
-% |eforms| packages. 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
+% |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
% something like this:\\
% |\usepackage[dvips]{eforms}|\\
% |\usepackage[dvips,filename=tooltipy,pages=27]{fancytooltips}|
%
-% You have to |latex| and |dvips| your file. This produces
-% |filename.ps| and |Tooltipsdljs.fdf| files. Distill the pdf file
-% into |filename.pdf| and open this file by Adobe Acrobat - this
-% imports macros from |Tooltipsdljs.fdf| file. In Acrobat's JavaScript
-% console (|Crtl+J|) run (|Ctrl+Enter|) the command |ImportIcons();|
-% which is defined for the document and it imports the icons and
-% returns 1. The file with pdf icon must be in the working directory.
-% Then save the file under another name.
+% You have to |latex| (two times) and |dvips| your file first. This
+% produces |filename.ps| and |Tooltipsdljs.fdf| files. Distill the pdf
+% file into |filename.pdf| and open this file by Adobe Acrobat - this
+% imports macros from |Tooltipsdljs.fdf| file. In Acrobat's
+% JavaScript console (|Crtl+J|) run (|Ctrl+Enter|) the command
+% |ImportTooltips();| which is defined for the document and it creates
+% invisible buttons on the first page, imports icons (the file with
+% icons specified as \meta{filename} parameter when loading
+% fancytooltips must be in working directory) and returns 1. Then
+% save the file under another name.
%
% \StopEventually{}
%
@@ -209,6 +212,7 @@
\RequirePackage{everyshi}
\RequirePackage{graphicx}
\RequirePackage{xkeyval}
+\RequirePackage{eso-pic}
\newif\ifcreatetips\createtipsfalse
\DeclareOptionX{createtips}{\createtipstrue}
@@ -219,6 +223,9 @@
\newif\ifextratext\extratexttrue
\DeclareOptionX{noextratext}{\extratextfalse}
+\newif\ifmovetips\movetipsfalse
+\DeclareOptionX{movetips}{\movetipstrue}
+
\DeclareOptionX{filename}{\xdef\TooltipFilename{#1}}
\DeclareOptionX{pages}{\xdef\TooltipPages{#1}}
@@ -230,12 +237,12 @@
\ifTooltip@usepdftex
\def\TooltipExtratext{\hbox to 0 pt{\smash
- {\raisebox{0.5em}{\includegraphics[width=1em]%
- {fancytooltipsmark.pdf}}}\hss}}
+ {\raisebox{0.5em}{\includegraphics[width=0.7em]%
+ {fancytipmark.pdf}}}\hss}}
\else
\def\TooltipExtratext{\hbox to 0 pt{\smash
- {\raisebox{0.5em}{\includegraphics[width=1em]%
- {fancytooltipsmark.eps}}}\hss}}
+ {\raisebox{0.5em}{\includegraphics[width=0.7em]%
+ {fancytipmark.eps}}}\hss}}
\fi%\ifTooltip@usepdftex
\ifextratext\else\let\TooltipExtratext\relax\fi
@@ -250,111 +257,108 @@
\def\keytip#1{\write\tipfile{\string\tooltipname{#1}{\arabic{page}}}}
\else
% \end{macrocode}
-% If dvips is used, we define icons by the command |\eqIcon| stolen
-% from |exerquiz.sty|. The following definitions are verbatim copy from
-% |exerquiz.sty|. The definition of |\eqIconDefaults| contains some
-% customizations.
+% This part is processed if the option |createtips| is not used. We
+% define macros which put the hidden button with the name |ikona.n| in
+% the backgoud of the page |n|, if one of the commands |\tooltip| or
+% |\tooltipanim| has been used on this page. Javascripts defined by
+% |\tooltip| and |\tooltipanim| commands then unhide this button and
+% show the corresponding picture.
% \begin{macrocode}
-\ifTooltip@usepdftex\else
-\ifx\everyeqIcon\undefined
-\newcommand\everyeqIcon[1]{\def\every@eqIcon{#1}}
+
+\newdimen\buttontipwidth
+\newdimen\buttontipheight
+\AtBeginDocument{
+\buttontipwidth=\paperwidth
+\buttontipheight=\paperheight
+}
+
+\ifTooltip@usepdftex
+\def\frametip@{%
+ \pdfstartlink user{%
+ /Subtype /Widget
+ /F 6
+ /T (ikona.\thepage)
+ /FT /Btn
+ /Ff 65536
+ /H /N
+ /BS << /W 1 /S /S >>
+ /MK << /TP 1 /IF <</A[1.0 1.0]/SW /B>> >>
+ }%
+ \vbox to \buttontipheight {\vss\hbox to \buttontipwidth{\hss}}\pdfendlink}
+\else
+% \end{macrocode}
+% For dvips users we use the macros from eqxerquiz.sty package.
+% \begin{macrocode}
+\def\everyeqIcon#1{\def\every@eqIcon{#1}}
\def\every@eqIcon{}
-\newcommand\eqIcon[4][]
+\newcommand\eqIconFTT[4][]
{%
\push@@Button{#1}{#2}{#3}{#4}{}{\eq@setButtonProps\eq@Button@driver}%
{\eqIconDefaults\every@ButtonField\every@eqIcon}%
}
-\fi%\ifx\everyeqIcon\undefined
\def\eqIconDefaults
{%
- \rawPDF{}\S{}\mkIns{/TP 1 /IF<</A[1.0 1.0]/SW/B>>}\R{270}
+ \rawPDF{}\S{}\mkIns{/TP 1 /IF<</A[1.0 1.0]/SW/B>>}\R{0}
\CA{}\RC{}\AC{}\BC{}\BG{}\H{B}
\textColor{0 g}\Ff{\FfReadOnly}
}
+\def\frametip@{\eqIconFTT[\BC{}\BG{}\F{\FHidden}]%
+ {ikona.\thepage}{\paperwidth}{\paperheight}}%
\fi%\ifTooltip@usepdftex
-% \end{macrocode}
-% Macro |\frametip| creates button in which tooltips appear. You have
-% to use macro |\frametip| on every page in your presentation in right
-% top corner (see the directory |examples|).
-% \begin{macrocode}
-\def\frametip{\vbox to 0 pt{\hbox to 0 pt{\hss\buttontip}\vss}}
-\newdimen\buttontipwidth \buttontipwidth=5in
-\newdimen\buttontipheight \buttontipheight=5in
-\ifTooltip@usepdftex
-\def\buttontip{%
-\pdfstartlink user{%
- /Subtype /Widget
- /F 6
- /T (ikona)
- /FT /Btn
- /Ff 65536
- /H /N
- /BS << /W 1 /S /S >>
- /MK << /TP 1 /IF <</SW /B>> >>
-}%
-\vbox to \buttontipheight {\vss\hbox to \buttontipwidth{\hss}}\pdfendlink}
-\else
-\def\buttontip{%
- \eqIcon[\BC{}\BG{}\F{\FHidden}]{ikona}{\buttontipwidth}{\buttontipheight}
- }
-\fi%\ifTooltip@usepdftex
+
+\def\frametip{%
+ \expandafter\ifx \csname TooltipPage\thepage\endcsname\relax
+ \else
+ \setbox0=\hbox{\frametip@}%
+ \hbox{\raise \dp0 \box0}
+ \fi}%
+\AddToShipoutPicture{\hbox to 0 pt{\frametip\hss}}
% \end{macrocode}
% In the macros |\tooltip| and |\tooltipanim| we print the text into
% box with zero dimensions and then we build a button which covers
-% this text and has an associated JavaScript action.
+% this text and has an associated JavaScript action. The important
+% part is the |\PushButton| macro. You can adjust these macros or
+% write similar macros which do what you need. For some exmaples see
+% the file |example.tex| from the examples directory.
% \begin{macrocode}
\definecolor{tooltipcolor}{rgb}{0,0,1}
-\def\tooltip#1#2{\checkTipNumber{#2}%
- \edef\TipNumber{\FindTipNumber{#2}}%
+\def\TooltipPage#1{\expandafter\gdef\csname TooltipPage#1\endcsname{#1}}
+\def\tooltip#1#2{%
+ \write\@auxout{\noexpand\TooltipPage{\thepage}}%
+ \checkTipNumber{#2}\edef\TipNumber{\FindTipNumber{#2}}%
+ \leavevmode
\setbox0=\hbox{{\color{tooltipcolor}{#1}}}\hbox to 0 pt{{\copy0\TooltipExtratext\hss}}%
- \pushButton[\BC{}\BG{}\S{}\AA{
- \AAMouseExit{\JS{CloseTooltips();}}
- \AAMouseEnter{\JS{
- try {app.clearInterval(animace);}catch (e) {}
- if (event.shift) {this.getField("ikona").hidden=false;
- this.getField('ikona').buttonSetIcon(this.getField("animtiph\TipNumber").buttonGetIcon());}}}
- }
- \A{\JS{this.getField("ikona").hidden=false;
+ \pushButton[\BC{}\BG{}\S{}\AA{\AAMouseExit{\JS{CloseTooltips();}}}
+ \A{\JS{this.getField("ikona."+(this.pageNum+1)).hidden=false;
try {app.clearInterval(animace);}catch (e) {}
- this.getField('ikona').buttonSetIcon(this.getField("animtiph\TipNumber").buttonGetIcon());}}]
+ \ifmovetips nastav(\TipNumber);\fi
+ zobraz(\TipNumber);
+ }}]
{TooltipField}{\wd0}{\ht0}}
\def\delayinterval{200}
\def\tooltipanim#1#2#3{%
+ \write\@auxout{\noexpand\TooltipPage{\thepage}}%
\checkTipNumber{#2}\edef\TipNumberA{\FindTipNumber{#2}}%
\checkTipNumber{#3}\edef\TipNumberB{\FindTipNumber{#3}}%
+ \leavevmode
\setbox0=\hbox{{\color{tooltipcolor}{#1}}}\hbox to 0 pt{{\copy0\TooltipExtratext\hss}}%
- \pushButton[\BC{}\BG{}\S{}\AA{
- \AAMouseExit{\JS{CloseTooltips();}}
- \AAMouseEnter{\JS{
- var cislo=\TipNumberA;
- try {app.clearInterval(animace);}catch (e) {}
- function animuj()
- {
- if (cislo<\TipNumberB) cislo=cislo+1;
- this.getField('ikona').buttonSetIcon(this.getField("animtiph"+cislo).buttonGetIcon());
- };
- if (event.shift) {
- this.getField('ikona').buttonSetIcon(this.getField("animtiph"+\TipNumberA).buttonGetIcon());
- this.getField("ikona").hidden=false;
- animace=app.setInterval('animuj();', \delayinterval);
- }
- }}
- }
+ \pushButton[\BC{}\BG{}\S{}\AA{\AAMouseExit{\JS{CloseTooltips();}}}
\A{\JS{
try {app.clearInterval(animace);}catch (e) {}
var cislo=\TipNumberA;
+ \ifmovetips nastav(\TipNumberA);\fi
function animuj()
{
if (cislo<\TipNumberB) cislo=cislo+1;
- this.getField('ikona').buttonSetIcon(this.getField("animtiph"+cislo).buttonGetIcon());
+ this.getField('ikona.'+(this.pageNum+1)).buttonSetIcon(this.getField("animtiph."+cislo).buttonGetIcon());
};
- this.getField('ikona').buttonSetIcon(this.getField("animtiph"+\TipNumberA).buttonGetIcon());
- this.getField("ikona").hidden=false;
+ this.getField('ikona.'+(this.pageNum+1)).buttonSetIcon(this.getField("animtiph."+\TipNumberA).buttonGetIcon());
+ this.getField("ikona."+(this.pageNum+1)).hidden=false;
animace=app.setInterval('animuj();', \delayinterval);
}}
]{TooltipField}{\wd0}{\ht0}}
% \end{macrocode}
-% This code for |pdftex| closes tooltip if the page is closed.
+% This code closes tooltip if the page is closed.
% \begin{macrocode}
\ifTooltip@usepdftex
\def\TooltipPageopencloseJS{ \global\pdfpageattr{%
@@ -377,24 +381,89 @@
var animace;
function CloseTooltips()
{
- this.getField("ikona").hidden=true;
+ try {this.getField("ikona").hidden=true;}catch (e) {}
try {app.clearInterval(animace);}catch (e) {}
}
+
+ function nastav(cislo)
+ {
+ var f=this.getField("ikona."+(this.pageNum+1));
+ var g=this.getField("animtiph."+cislo);
+ var sourf=f.rect;
+ var sourg=g.rect;
+ if ((mouseX+sourg[2]-sourg[0])<sourf[2])
+ var percX=100*(mouseX-sourf[0])/((sourf[2]-sourf[0])-(sourg[2]-sourg[0]));
+ else
+ var percX=100*(mouseX-sourf[0]-(sourg[2]-sourg[0]))/((sourf[2]-sourf[0])-(sourg[2]-sourg[0]));
+ var percY=100*(mouseY-sourf[3])/((sourf[1]-sourf[3])-(sourg[1]-sourg[3]));
+ if (percX>100) percX=100;
+ if (percY>100) percY=100;
+ if (percX<0) percX=0;
+ if (percY<0) percY=0;
+ f.buttonAlignX=percX;
+ f.buttonAlignY=percY;
+ }
+
+ function zobraz(cislo)
+ {
+ var f=this.getField("ikona."+(this.pageNum+1));
+ var g=this.getField("animtiph."+cislo);
+ f.hidden=false;
+ f.buttonSetIcon(g.buttonGetIcon());
+ }
\end{insDLJS}
\else
\begin{insDLJS}[clearTooltips]{Tooltipsdljs}{My Private DLJS for Tooltips}
var animace;
function CloseTooltips()
{
- this.getField("ikona").hidden=true;
+ try {this.getField("ikona").hidden=true;}catch (e) {}
try {app.clearInterval(animace);}catch (e) {}
}
+
function ImportTooltips()
{
+ console.println("importing pictures");
for (var i=1;i<=\TooltipPages;i++)
- {this.getField("animtiph"+i).buttonImportIcon("\TooltipFilename.pdf",(i-1));}
+ {
+ this.insertPages(this.numPages-1,"\TooltipFilename.pdf",(i-1),(i-1));
+ var rozm=this.getPageBox("Crop",this.numPages-1);
+ this.deletePages(this.numPages-1);
+ var p=this.addField("animtiph."+i,"button",0,rozm);
+ p.buttonPosition=position.iconOnly;
+ p.hidden=true;
+ this.getField("animtiph."+i).buttonImportIcon("\TooltipFilename.pdf",(i-1));
+ }
+ console.println("imported \TooltipPages pictures");
return(1);
}
+
+ function nastav(cislo)
+ {
+ var f=this.getField("ikona."+(this.pageNum+1));
+ var g=this.getField("animtiph."+cislo);
+ var sourf=f.rect;
+ var sourg=g.rect;
+ if ((mouseX+sourg[2]-sourg[0])<sourf[2])
+ var percX=100*(mouseX-sourf[0])/((sourf[2]-sourf[0])-(sourg[2]-sourg[0]));
+ else
+ var percX=100*(mouseX-sourf[0]-(sourg[2]-sourg[0]))/((sourf[2]-sourf[0])-(sourg[2]-sourg[0]));
+ var percY=100*(mouseY-sourf[3])/((sourf[1]-sourf[3])-(sourg[1]-sourg[3]));
+ if (percX>100) percX=100;
+ if (percY>100) percY=100;
+ if (percX<0) percX=0;
+ if (percY<0) percY=0;
+ f.buttonAlignX=percX;
+ f.buttonAlignY=percY;
+ }
+
+ function zobraz(cislo)
+ {
+ var f=this.getField("ikona."+(this.pageNum+1));
+ var g=this.getField("animtiph."+cislo);
+ f.hidden=false;
+ f.buttonSetIcon(g.buttonGetIcon());
+ }
\end{insDLJS}
\fi
% \end{macrocode}
@@ -408,16 +477,15 @@
\count@=0
\@whilenum\count@<\TooltipPages \do{%
\tooltip@count=\count@
- \advance \tooltip@count by 1
+ \advance \tooltip@count by 1%
\bgroup
\immediate\pdfximage
- width 0 pt height 0 pt depth 0 pt
page \the\tooltip@count{\TooltipFilename.pdf}%
\mbox{\leavevmode
- \pdfstartlink user{
+ \vbox to 0 pt{\vss\hbox to 0 pt{\pdfstartlink user{%
/Subtype /Widget
/F 6
- /T (animtiph\the\tooltip@count)
+ /T (animtiph.\the\tooltip@count)
/FT /Btn
/Ff 65536
/H /N
@@ -428,22 +496,14 @@
/IF << /SW /A >>
>>
}%
- \pdfendlink}%
+ \phantom{\pdfrefximage \pdflastximage}%
+ \pdfendlink\hss}}}%
\egroup
\advance\count@\@ne}%
}
+\AddToShipoutPicture*{\hbox to 0 pt{\TooltipHidden}}
\else
-\def\TooltipHidden{%
- \count@=0
- \@whilenum\count@<\TooltipPages \do{%
- \tooltip@count=\count@
- \advance \tooltip@count by 1
- \bgroup
- \eqIcon[\BC{}\BG{}\F{\FHidden}]
- {animtiph\the\tooltip@count}{0cm}{0cm}%
- \egroup
- \advance\count@\@ne}%
-}
+\let\TooltipHidden\relax
\fi
% \end{macrocode}
% The keywords for the tooltips can be stored in the file
@@ -472,3 +532,6 @@
%
% \Finale
\endinput
+
+
+
diff --git a/Master/texmf-dist/source/latex/fancytooltips/fancytooltips.ins b/Master/texmf-dist/source/latex/fancytooltips/fancytooltips.ins
index 4559bb89318..03c6ac387eb 100644
--- a/Master/texmf-dist/source/latex/fancytooltips/fancytooltips.ins
+++ b/Master/texmf-dist/source/latex/fancytooltips/fancytooltips.ins
@@ -45,8 +45,8 @@ and version 1.2 or later is part of all distributions of LaTeX version
\Msg{* files into a directory searched by TeX: *}
\Msg{* *}
\Msg{* fancytooltips.sty *}
-\Msg{* fancytooltipsmark.pdf *}
-\Msg{* fancytooltipsmark.eps *}
+\Msg{* fancytipmark.pdf *}
+\Msg{* fancytipmark.eps *}
\Msg{* *}
\Msg{* To produce the documentation run the file *}
\Msg{* fancytooltips.dtx through LaTeX. *}
diff --git a/Master/texmf-dist/tex/latex/fancytooltips/fancytooltips.sty b/Master/texmf-dist/tex/latex/fancytooltips/fancytooltips.sty
index 63e25d98e78..a4c2ee3a24e 100644
--- a/Master/texmf-dist/tex/latex/fancytooltips/fancytooltips.sty
+++ b/Master/texmf-dist/tex/latex/fancytooltips/fancytooltips.sty
@@ -22,10 +22,11 @@
%%
\NeedsTeXFormat{LaTeX2e}[1999/12/01]
\ProvidesPackage{fancytooltips}
- [2007/02/20 v1.1 fancytooltips.dtx file]
+ [2007/03/01 v1.2 fancytooltips.dtx file]
\RequirePackage{everyshi}
\RequirePackage{graphicx}
\RequirePackage{xkeyval}
+\RequirePackage{eso-pic}
\newif\ifcreatetips\createtipsfalse
\DeclareOptionX{createtips}{\createtipstrue}
@@ -36,6 +37,9 @@
\newif\ifextratext\extratexttrue
\DeclareOptionX{noextratext}{\extratextfalse}
+\newif\ifmovetips\movetipsfalse
+\DeclareOptionX{movetips}{\movetipstrue}
+
\DeclareOptionX{filename}{\xdef\TooltipFilename{#1}}
\DeclareOptionX{pages}{\xdef\TooltipPages{#1}}
@@ -47,12 +51,12 @@
\ifTooltip@usepdftex
\def\TooltipExtratext{\hbox to 0 pt{\smash
- {\raisebox{0.5em}{\includegraphics[width=1em]%
- {fancytooltipsmark.pdf}}}\hss}}
+ {\raisebox{0.5em}{\includegraphics[width=0.7em]%
+ {fancytipmark.pdf}}}\hss}}
\else
\def\TooltipExtratext{\hbox to 0 pt{\smash
- {\raisebox{0.5em}{\includegraphics[width=1em]%
- {fancytooltipsmark.eps}}}\hss}}
+ {\raisebox{0.5em}{\includegraphics[width=0.7em]%
+ {fancytipmark.eps}}}\hss}}
\fi%\ifTooltip@usepdftex
\ifextratext\else\let\TooltipExtratext\relax\fi
@@ -61,91 +65,85 @@
\immediate\openout\tipfile fancytips.tex
\def\keytip#1{\write\tipfile{\string\tooltipname{#1}{\arabic{page}}}}
\else
-\ifTooltip@usepdftex\else
-\ifx\everyeqIcon\undefined
-\newcommand\everyeqIcon[1]{\def\every@eqIcon{#1}}
+
+\newdimen\buttontipwidth
+\newdimen\buttontipheight
+\AtBeginDocument{
+\buttontipwidth=\paperwidth
+\buttontipheight=\paperheight
+}
+
+\ifTooltip@usepdftex
+\def\frametip@{%
+ \pdfstartlink user{%
+ /Subtype /Widget
+ /F 6
+ /T (ikona.\thepage)
+ /FT /Btn
+ /Ff 65536
+ /H /N
+ /BS << /W 1 /S /S >>
+ /MK << /TP 1 /IF <</A[1.0 1.0]/SW /B>> >>
+ }%
+ \vbox to \buttontipheight {\vss\hbox to \buttontipwidth{\hss}}\pdfendlink}
+\else
+\def\everyeqIcon#1{\def\every@eqIcon{#1}}
\def\every@eqIcon{}
-\newcommand\eqIcon[4][]
+\newcommand\eqIconFTT[4][]
{%
\push@@Button{#1}{#2}{#3}{#4}{}{\eq@setButtonProps\eq@Button@driver}%
{\eqIconDefaults\every@ButtonField\every@eqIcon}%
}
-\fi%\ifx\everyeqIcon\undefined
\def\eqIconDefaults
{%
- \rawPDF{}\S{}\mkIns{/TP 1 /IF<</A[1.0 1.0]/SW/B>>}\R{270}
+ \rawPDF{}\S{}\mkIns{/TP 1 /IF<</A[1.0 1.0]/SW/B>>}\R{0}
\CA{}\RC{}\AC{}\BC{}\BG{}\H{B}
\textColor{0 g}\Ff{\FfReadOnly}
}
+\def\frametip@{\eqIconFTT[\BC{}\BG{}\F{\FHidden}]%
+ {ikona.\thepage}{\paperwidth}{\paperheight}}%
\fi%\ifTooltip@usepdftex
-\def\frametip{\vbox to 0 pt{\hbox to 0 pt{\hss\buttontip}\vss}}
-\newdimen\buttontipwidth \buttontipwidth=5in
-\newdimen\buttontipheight \buttontipheight=5in
-\ifTooltip@usepdftex
-\def\buttontip{%
-\pdfstartlink user{%
- /Subtype /Widget
- /F 6
- /T (ikona)
- /FT /Btn
- /Ff 65536
- /H /N
- /BS << /W 1 /S /S >>
- /MK << /TP 1 /IF <</SW /B>> >>
-}%
-\vbox to \buttontipheight {\vss\hbox to \buttontipwidth{\hss}}\pdfendlink}
-\else
-\def\buttontip{%
- \eqIcon[\BC{}\BG{}\F{\FHidden}]{ikona}{\buttontipwidth}{\buttontipheight}
- }
-\fi%\ifTooltip@usepdftex
+
+\def\frametip{%
+ \expandafter\ifx \csname TooltipPage\thepage\endcsname\relax
+ \else
+ \setbox0=\hbox{\frametip@}%
+ \hbox{\raise \dp0 \box0}
+ \fi}%
+\AddToShipoutPicture{\hbox to 0 pt{\frametip\hss}}
\definecolor{tooltipcolor}{rgb}{0,0,1}
-\def\tooltip#1#2{\checkTipNumber{#2}%
- \edef\TipNumber{\FindTipNumber{#2}}%
+\def\TooltipPage#1{\expandafter\gdef\csname TooltipPage#1\endcsname{#1}}
+\def\tooltip#1#2{%
+ \write\@auxout{\noexpand\TooltipPage{\thepage}}%
+ \checkTipNumber{#2}\edef\TipNumber{\FindTipNumber{#2}}%
+ \leavevmode
\setbox0=\hbox{{\color{tooltipcolor}{#1}}}\hbox to 0 pt{{\copy0\TooltipExtratext\hss}}%
- \pushButton[\BC{}\BG{}\S{}\AA{
- \AAMouseExit{\JS{CloseTooltips();}}
- \AAMouseEnter{\JS{
- try {app.clearInterval(animace);}catch (e) {}
- if (event.shift) {this.getField("ikona").hidden=false;
- this.getField('ikona').buttonSetIcon(this.getField("animtiph\TipNumber").buttonGetIcon());}}}
- }
- \A{\JS{this.getField("ikona").hidden=false;
+ \pushButton[\BC{}\BG{}\S{}\AA{\AAMouseExit{\JS{CloseTooltips();}}}
+ \A{\JS{this.getField("ikona."+(this.pageNum+1)).hidden=false;
try {app.clearInterval(animace);}catch (e) {}
- this.getField('ikona').buttonSetIcon(this.getField("animtiph\TipNumber").buttonGetIcon());}}]
+ \ifmovetips nastav(\TipNumber);\fi
+ zobraz(\TipNumber);
+ }}]
{TooltipField}{\wd0}{\ht0}}
\def\delayinterval{200}
\def\tooltipanim#1#2#3{%
+ \write\@auxout{\noexpand\TooltipPage{\thepage}}%
\checkTipNumber{#2}\edef\TipNumberA{\FindTipNumber{#2}}%
\checkTipNumber{#3}\edef\TipNumberB{\FindTipNumber{#3}}%
+ \leavevmode
\setbox0=\hbox{{\color{tooltipcolor}{#1}}}\hbox to 0 pt{{\copy0\TooltipExtratext\hss}}%
- \pushButton[\BC{}\BG{}\S{}\AA{
- \AAMouseExit{\JS{CloseTooltips();}}
- \AAMouseEnter{\JS{
- var cislo=\TipNumberA;
- try {app.clearInterval(animace);}catch (e) {}
- function animuj()
- {
- if (cislo<\TipNumberB) cislo=cislo+1;
- this.getField('ikona').buttonSetIcon(this.getField("animtiph"+cislo).buttonGetIcon());
- };
- if (event.shift) {
- this.getField('ikona').buttonSetIcon(this.getField("animtiph"+\TipNumberA).buttonGetIcon());
- this.getField("ikona").hidden=false;
- animace=app.setInterval('animuj();', \delayinterval);
- }
- }}
- }
+ \pushButton[\BC{}\BG{}\S{}\AA{\AAMouseExit{\JS{CloseTooltips();}}}
\A{\JS{
try {app.clearInterval(animace);}catch (e) {}
var cislo=\TipNumberA;
+ \ifmovetips nastav(\TipNumberA);\fi
function animuj()
{
if (cislo<\TipNumberB) cislo=cislo+1;
- this.getField('ikona').buttonSetIcon(this.getField("animtiph"+cislo).buttonGetIcon());
+ this.getField('ikona.'+(this.pageNum+1)).buttonSetIcon(this.getField("animtiph."+cislo).buttonGetIcon());
};
- this.getField('ikona').buttonSetIcon(this.getField("animtiph"+\TipNumberA).buttonGetIcon());
- this.getField("ikona").hidden=false;
+ this.getField('ikona.'+(this.pageNum+1)).buttonSetIcon(this.getField("animtiph."+\TipNumberA).buttonGetIcon());
+ this.getField("ikona."+(this.pageNum+1)).hidden=false;
animace=app.setInterval('animuj();', \delayinterval);
}}
]{TooltipField}{\wd0}{\ht0}}
@@ -170,24 +168,89 @@
var animace;
function CloseTooltips()
{
- this.getField("ikona").hidden=true;
+ try {this.getField("ikona").hidden=true;}catch (e) {}
try {app.clearInterval(animace);}catch (e) {}
}
+
+ function nastav(cislo)
+ {
+ var f=this.getField("ikona."+(this.pageNum+1));
+ var g=this.getField("animtiph."+cislo);
+ var sourf=f.rect;
+ var sourg=g.rect;
+ if ((mouseX+sourg[2]-sourg[0])<sourf[2])
+ var percX=100*(mouseX-sourf[0])/((sourf[2]-sourf[0])-(sourg[2]-sourg[0]));
+ else
+ var percX=100*(mouseX-sourf[0]-(sourg[2]-sourg[0]))/((sourf[2]-sourf[0])-(sourg[2]-sourg[0]));
+ var percY=100*(mouseY-sourf[3])/((sourf[1]-sourf[3])-(sourg[1]-sourg[3]));
+ if (percX>100) percX=100;
+ if (percY>100) percY=100;
+ if (percX<0) percX=0;
+ if (percY<0) percY=0;
+ f.buttonAlignX=percX;
+ f.buttonAlignY=percY;
+ }
+
+ function zobraz(cislo)
+ {
+ var f=this.getField("ikona."+(this.pageNum+1));
+ var g=this.getField("animtiph."+cislo);
+ f.hidden=false;
+ f.buttonSetIcon(g.buttonGetIcon());
+ }
\end{insDLJS}
\else
\begin{insDLJS}[clearTooltips]{Tooltipsdljs}{My Private DLJS for Tooltips}
var animace;
function CloseTooltips()
{
- this.getField("ikona").hidden=true;
+ try {this.getField("ikona").hidden=true;}catch (e) {}
try {app.clearInterval(animace);}catch (e) {}
}
+
function ImportTooltips()
{
+ console.println("importing pictures");
for (var i=1;i<=\TooltipPages;i++)
- {this.getField("animtiph"+i).buttonImportIcon("\TooltipFilename.pdf",(i-1));}
+ {
+ this.insertPages(this.numPages-1,"\TooltipFilename.pdf",(i-1),(i-1));
+ var rozm=this.getPageBox("Crop",this.numPages-1);
+ this.deletePages(this.numPages-1);
+ var p=this.addField("animtiph."+i,"button",0,rozm);
+ p.buttonPosition=position.iconOnly;
+ p.hidden=true;
+ this.getField("animtiph."+i).buttonImportIcon("\TooltipFilename.pdf",(i-1));
+ }
+ console.println("imported \TooltipPages pictures");
return(1);
}
+
+ function nastav(cislo)
+ {
+ var f=this.getField("ikona."+(this.pageNum+1));
+ var g=this.getField("animtiph."+cislo);
+ var sourf=f.rect;
+ var sourg=g.rect;
+ if ((mouseX+sourg[2]-sourg[0])<sourf[2])
+ var percX=100*(mouseX-sourf[0])/((sourf[2]-sourf[0])-(sourg[2]-sourg[0]));
+ else
+ var percX=100*(mouseX-sourf[0]-(sourg[2]-sourg[0]))/((sourf[2]-sourf[0])-(sourg[2]-sourg[0]));
+ var percY=100*(mouseY-sourf[3])/((sourf[1]-sourf[3])-(sourg[1]-sourg[3]));
+ if (percX>100) percX=100;
+ if (percY>100) percY=100;
+ if (percX<0) percX=0;
+ if (percY<0) percY=0;
+ f.buttonAlignX=percX;
+ f.buttonAlignY=percY;
+ }
+
+ function zobraz(cislo)
+ {
+ var f=this.getField("ikona."+(this.pageNum+1));
+ var g=this.getField("animtiph."+cislo);
+ f.hidden=false;
+ f.buttonSetIcon(g.buttonGetIcon());
+ }
\end{insDLJS}
\fi
\newcount\tooltip@count
@@ -196,16 +259,15 @@
\count@=0
\@whilenum\count@<\TooltipPages \do{%
\tooltip@count=\count@
- \advance \tooltip@count by 1
+ \advance \tooltip@count by 1%
\bgroup
\immediate\pdfximage
- width 0 pt height 0 pt depth 0 pt
page \the\tooltip@count{\TooltipFilename.pdf}%
\mbox{\leavevmode
- \pdfstartlink user{
+ \vbox to 0 pt{\vss\hbox to 0 pt{\pdfstartlink user{%
/Subtype /Widget
/F 6
- /T (animtiph\the\tooltip@count)
+ /T (animtiph.\the\tooltip@count)
/FT /Btn
/Ff 65536
/H /N
@@ -216,22 +278,14 @@
/IF << /SW /A >>
>>
}%
- \pdfendlink}%
+ \phantom{\pdfrefximage \pdflastximage}%
+ \pdfendlink\hss}}}%
\egroup
\advance\count@\@ne}%
}
+\AddToShipoutPicture*{\hbox to 0 pt{\TooltipHidden}}
\else
-\def\TooltipHidden{%
- \count@=0
- \@whilenum\count@<\TooltipPages \do{%
- \tooltip@count=\count@
- \advance \tooltip@count by 1
- \bgroup
- \eqIcon[\BC{}\BG{}\F{\FHidden}]
- {animtiph\the\tooltip@count}{0cm}{0cm}%
- \egroup
- \advance\count@\@ne}%
-}
+\let\TooltipHidden\relax
\fi
\AtBeginDocument{\IfFileExists{fancytips.tex}{\input{fancytips.tex}
\PackageInfo{fancytooltips}{Inputting fancytips.tex.}}%
diff --git a/Master/texmf-dist/tpm/fancytooltips.tpm b/Master/texmf-dist/tpm/fancytooltips.tpm
index 2715bcfee15..ad4020094fc 100644
--- a/Master/texmf-dist/tpm/fancytooltips.tpm
+++ b/Master/texmf-dist/tpm/fancytooltips.tpm
@@ -3,21 +3,20 @@
<rdf:Description about="http://texlive.dante.de/texlive/Package/fancytooltips.zip">
<TPM:Name>fancytooltips</TPM:Name>
<TPM:Type>Package</TPM:Type>
- <TPM:Date>2007/02/19 17:27:00</TPM:Date>
+ <TPM:Date>2007/03/12 14:27:00</TPM:Date>
<TPM:Version></TPM:Version>
<TPM:Creator>karl</TPM:Creator>
<TPM:Title>The fancytooltips package.</TPM:Title>
<TPM:Description></TPM:Description>
<TPM:Author></TPM:Author>
- <TPM:Size>1370820</TPM:Size>
+ <TPM:Size>1372788</TPM:Size>
<TPM:License></TPM:License>
<TPM:Build/>
- <TPM:RunFiles size="9846">
+ <TPM:RunFiles size="11540">
texmf-dist/tex/latex/fancytooltips/fancytooltips.sty
texmf-dist/tpm/fancytooltips.tpm
</TPM:RunFiles>
- <TPM:DocFiles size="1343156">
-texmf-dist/doc/latex/fancytooltips/README
+ <TPM:DocFiles size="1326498">
texmf-dist/doc/latex/fancytooltips/examples/blackpanel.tex
texmf-dist/doc/latex/fancytooltips/examples/example-min.pdf
texmf-dist/doc/latex/fancytooltips/examples/example-min.tex
@@ -29,13 +28,14 @@ texmf-dist/doc/latex/fancytooltips/examples/pdfscreen.cfg
texmf-dist/doc/latex/fancytooltips/examples/tecna2.pdf
texmf-dist/doc/latex/fancytooltips/examples/tooltipy.pdf
texmf-dist/doc/latex/fancytooltips/examples/tooltipy.tex
+texmf-dist/doc/latex/fancytooltips/fancytipmark.eps
+texmf-dist/doc/latex/fancytooltips/fancytipmark.pdf
+texmf-dist/doc/latex/fancytooltips/fancytipmark.svg
texmf-dist/doc/latex/fancytooltips/fancytooltips.pdf
-texmf-dist/doc/latex/fancytooltips/fancytooltipsmark.eps
-texmf-dist/doc/latex/fancytooltips/fancytooltipsmark.pdf
texmf-dist/doc/latex/fancytooltips/tip.pdf
texmf-dist/doc/latex/fancytooltips/tip.tex
</TPM:DocFiles>
- <TPM:SourceFiles size="19786">
+ <TPM:SourceFiles size="21675">
texmf-dist/source/latex/fancytooltips/fancytooltips.dtx
texmf-dist/source/latex/fancytooltips/fancytooltips.ins
</TPM:SourceFiles>
diff --git a/Master/texmf/lists/fancytooltips b/Master/texmf/lists/fancytooltips
index 9b061f6856a..90181f43cef 100644
--- a/Master/texmf/lists/fancytooltips
+++ b/Master/texmf/lists/fancytooltips
@@ -1,4 +1,3 @@
-texmf-dist/doc/latex/fancytooltips/README
texmf-dist/doc/latex/fancytooltips/examples/blackpanel.tex
texmf-dist/doc/latex/fancytooltips/examples/example-min.pdf
texmf-dist/doc/latex/fancytooltips/examples/example-min.tex
@@ -10,9 +9,10 @@ texmf-dist/doc/latex/fancytooltips/examples/pdfscreen.cfg
texmf-dist/doc/latex/fancytooltips/examples/tecna2.pdf
texmf-dist/doc/latex/fancytooltips/examples/tooltipy.pdf
texmf-dist/doc/latex/fancytooltips/examples/tooltipy.tex
+texmf-dist/doc/latex/fancytooltips/fancytipmark.eps
+texmf-dist/doc/latex/fancytooltips/fancytipmark.pdf
+texmf-dist/doc/latex/fancytooltips/fancytipmark.svg
texmf-dist/doc/latex/fancytooltips/fancytooltips.pdf
-texmf-dist/doc/latex/fancytooltips/fancytooltipsmark.eps
-texmf-dist/doc/latex/fancytooltips/fancytooltipsmark.pdf
texmf-dist/doc/latex/fancytooltips/tip.pdf
texmf-dist/doc/latex/fancytooltips/tip.tex
texmf-dist/source/latex/fancytooltips/fancytooltips.dtx