summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Master/texmf-dist/doc/latex/fancytooltips/README5
-rw-r--r--Master/texmf-dist/doc/latex/fancytooltips/examples/blackpanel.tex26
-rw-r--r--Master/texmf-dist/doc/latex/fancytooltips/examples/example-dvips.pdfbin0 -> 391802 bytes
-rw-r--r--Master/texmf-dist/doc/latex/fancytooltips/examples/example-dvips.tex65
-rw-r--r--Master/texmf-dist/doc/latex/fancytooltips/examples/example-min-dvips.pdfbin0 -> 370453 bytes
-rw-r--r--Master/texmf-dist/doc/latex/fancytooltips/examples/example-min-dvips.tex34
-rw-r--r--Master/texmf-dist/doc/latex/fancytooltips/examples/example-min.pdfbin0 -> 327470 bytes
-rw-r--r--Master/texmf-dist/doc/latex/fancytooltips/examples/example-min.tex10
-rw-r--r--Master/texmf-dist/doc/latex/fancytooltips/examples/example.pdfbin0 -> 352862 bytes
-rw-r--r--Master/texmf-dist/doc/latex/fancytooltips/examples/example.tex284
-rw-r--r--Master/texmf-dist/doc/latex/fancytooltips/examples/fancytips.tex3
-rw-r--r--Master/texmf-dist/doc/latex/fancytooltips/examples/logomu.pdfbin12287 -> 0 bytes
-rw-r--r--Master/texmf-dist/doc/latex/fancytooltips/examples/pdfscreen.cfg42
-rw-r--r--Master/texmf-dist/doc/latex/fancytooltips/examples/tex4ht/tooltips2html-js.js5
-rw-r--r--Master/texmf-dist/doc/latex/fancytooltips/examples/tex4ht/tooltips2html-js.tex5
-rw-r--r--Master/texmf-dist/doc/latex/fancytooltips/examples/tex4ht/tooltips2html.css110
-rw-r--r--Master/texmf-dist/doc/latex/fancytooltips/examples/tex4ht/tooltips2html.html11
-rw-r--r--Master/texmf-dist/doc/latex/fancytooltips/examples/tex4ht/tooltips2html.tex2
-rw-r--r--Master/texmf-dist/doc/latex/fancytooltips/examples/tex4ht/tooltips2html2.html2
-rw-r--r--Master/texmf-dist/doc/latex/fancytooltips/fancytooltips.pdfbin163317 -> 166124 bytes
-rw-r--r--Master/texmf-dist/source/latex/fancytooltips/fancytooltips.dtx164
-rw-r--r--Master/texmf-dist/tex/latex/fancytooltips/fancytooltips.sty108
-rwxr-xr-xMaster/tlpkg/libexec/ctan2tds1
23 files changed, 381 insertions, 496 deletions
diff --git a/Master/texmf-dist/doc/latex/fancytooltips/README b/Master/texmf-dist/doc/latex/fancytooltips/README
index 84db9ea3315..68081c9db17 100644
--- a/Master/texmf-dist/doc/latex/fancytooltips/README
+++ b/Master/texmf-dist/doc/latex/fancytooltips/README
@@ -6,4 +6,7 @@ cooltooltips, fancytooltips allows inclusion of tooltips which contain
arbitrary TeX material or a series of TeX materials (aminated
graphics) from an external PDF file. To see the tooltips, you have to
open the files in Adobe Reader. The links and JavaScripts are inserted
-using eforms package from the AcroTeX bundle. \ No newline at end of file
+using eforms package from the AcroTeX bundle.
+
+Some tips and Frequently Asked Questions to this package are at
+http://user.mendelu.cz/marik/latex/fancytooltips \ No newline at end of file
diff --git a/Master/texmf-dist/doc/latex/fancytooltips/examples/blackpanel.tex b/Master/texmf-dist/doc/latex/fancytooltips/examples/blackpanel.tex
deleted file mode 100644
index e29da914575..00000000000
--- a/Master/texmf-dist/doc/latex/fancytooltips/examples/blackpanel.tex
+++ /dev/null
@@ -1,26 +0,0 @@
-\definecolor{panelbackground}{rgb}{0,0,0}
-\definecolor{stara}{rgb}{.992, .96187, .902}
-\definecolor{svetlehneda}{rgb}{0.93, 0.73, 0.49}
-\definecolor{svetlehnedaB}{rgb}{0.92, 0.87, 0.79}
-\definecolor{vybledlazluta}{rgb}{0.97,0.87,0.52}
-\backgroundcolor{vybledlazluta}
-\backgroundcolor{svetlehnedaB}
-\edef\restoreAtCatcode{\noexpand\catcode64 =\the\catcode64 }%
-
-
-\makeatletter
-\long\def\contentsline#1#2#3#4{\def\@@cHead{#1}%
- \ifx\@@cHead\@@secHead\stepcounter{NUM}%
- \ifnum\thepanel@section=\theNUM%
- {\definecolor{panelbackground}{gray}{0}%
- \definecolor{fgcolor}{rgb}{1,0,0}%
- \hyperlink{#4}{\,\scrNormalButton{.965\panelwidth}{\truncate{.9\panelwidth}{#2}}}%
- }\par\vskip1truept%
- \else
- {\definecolor{panelbackground}{gray}{0}%%
- \definecolor{fgcolor}{gray}{0.5}%
- \hyperlink{#4}{\,\scrNormalButton{.965\panelwidth}{\truncate{.9\panelwidth}{#2}}}%
- }\par\vskip1truept%
- \fi\fi}
-
-\restoreAtCatcode
diff --git a/Master/texmf-dist/doc/latex/fancytooltips/examples/example-dvips.pdf b/Master/texmf-dist/doc/latex/fancytooltips/examples/example-dvips.pdf
new file mode 100644
index 00000000000..28501aac21b
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/fancytooltips/examples/example-dvips.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/fancytooltips/examples/example-dvips.tex b/Master/texmf-dist/doc/latex/fancytooltips/examples/example-dvips.tex
new file mode 100644
index 00000000000..6175a2c0180
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/fancytooltips/examples/example-dvips.tex
@@ -0,0 +1,65 @@
+\documentclass{article}
+
+\usepackage{color}
+\usepackage[dvips,designiii]{web}
+\usepackage[display]{texpower}
+\usepackage[dvips,filename=tooltipy,movetips,pages=28]{fancytooltips}
+
+\let\rmdefault\sfdefault
+
+\usepackage{amsmath}
+\usepackage[shadein]{shadethm}
+
+\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 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}{2}. bla bla bla.
+\end{definice}
+
+\begin{definice}
+ This is \tooltip{definition}3 of \tooltip{derivative}{1}\hfill
+ \tooltip{derivative}{1}.
+\end{definice}
+
+\pause
+This is a geometric \tooltipanim{idea}{4}{28} which is behind the
+definition of derivative.
+
+
+\pause
+\vfill
+\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/example-min-dvips.pdf b/Master/texmf-dist/doc/latex/fancytooltips/examples/example-min-dvips.pdf
new file mode 100644
index 00000000000..4f0190fea07
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/fancytooltips/examples/example-min-dvips.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/fancytooltips/examples/example-min-dvips.tex b/Master/texmf-dist/doc/latex/fancytooltips/examples/example-min-dvips.tex
new file mode 100644
index 00000000000..843dddd2ad8
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/fancytooltips/examples/example-min-dvips.tex
@@ -0,0 +1,34 @@
+\documentclass{article}
+
+\usepackage[a5paper]{geometry}
+
+\usepackage{color}
+\usepackage[filename=tooltipy,dvips,pages=28,movetips,mouseover]{fancytooltips}
+
+\begin{document}
+
+\parindent 0 pt
+
+\begin{itemize}
+\item The blue text is active button. If you move your mouse over 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}{2}.
+
+
+ This is definition of \tooltip{derivative}{1}.
+
+This is a geometric \tooltipanim{idea}{4}{28} which is behind the
+definition of derivative.
+
+
+\newpage
+page 2
+
+This is once more definition of \tooltip{rank}{2}.
+
+\end{document}
diff --git a/Master/texmf-dist/doc/latex/fancytooltips/examples/example-min.pdf b/Master/texmf-dist/doc/latex/fancytooltips/examples/example-min.pdf
new file mode 100644
index 00000000000..0fc781330ba
--- /dev/null
+++ 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 22878053728..e214c02796a 100644
--- a/Master/texmf-dist/doc/latex/fancytooltips/examples/example-min.tex
+++ b/Master/texmf-dist/doc/latex/fancytooltips/examples/example-min.tex
@@ -3,24 +3,24 @@
\usepackage[a5paper,landscape]{geometry}
\usepackage{color}
-\usepackage[filename=tooltipy]{fancytooltips}
+\usepackage[filename=tooltipy,movetips,mouseover]{fancytooltips}
\begin{document}
\parindent 0 pt
\begin{itemize}
-\item The blue text is active button. If you press this button,
+\item The blue text is active button. If you move your mouse to 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}{1}. bla bla bla.
+ This is definition of \tooltip{rank}{2}.
- This is definition of \tooltip{derivative}{2}.
+ This is definition of \tooltip{derivative}{1}.
This is a geometric \tooltipanim{idea}{4}{28} which is behind the
definition of derivative.
@@ -29,4 +29,6 @@ definition of derivative.
\newpage
page 2
+Another \tooltip{one}{22}.
+
\end{document}
diff --git a/Master/texmf-dist/doc/latex/fancytooltips/examples/example.pdf b/Master/texmf-dist/doc/latex/fancytooltips/examples/example.pdf
new file mode 100644
index 00000000000..816d3533c13
--- /dev/null
+++ 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 5b964f60093..e109e13593a 100644
--- a/Master/texmf-dist/doc/latex/fancytooltips/examples/example.tex
+++ b/Master/texmf-dist/doc/latex/fancytooltips/examples/example.tex
@@ -1,95 +1,11 @@
\documentclass{article}
-\usepackage[screen,panelright]{pdfscreen}
-
-\usepackage[filename=tooltipy,movetips]{fancytooltips}
-
-
-
-\panelwidth=0.73in
-\setlength\buttonwidth{.9\panelwidth}
-\setlength\smallbuttonwidth{.45\panelwidth}
-\addtolength{\smallbuttonwidth}{-1.2pt}
-
-\margins{0.1in}{0.1in}{0.1in}{0.1in}
-\urlid{www.mendelu.cz/user/marik}
-\screensize{4in}{5.2in}
-\definecolor{buttonbackground}{gray}{.6}
-\definecolor{buttonshadow}{gray}{.2}
-\emblema{logomu.pdf}
-
-% \definecolor{panelbackground}{rgb}{1,1,0.9}
-\definecolor{lightyellow}{rgb}{1,1,0.9}
-\backgroundcolor{lightyellow}
-\makeatletter
-
-%%% uprava panelu tak abych do praveho horniho rohu kazde stranky
-%%% vpasoval tlacitko s animacemi. Bude se jmenovat porad stejne, ale
-%%% zda se ze to nevadi.
-%%%
-%%% This is a trick which puts \frametip on every page
-
-\def\@@logo#1{%
-% \hfill\frametip \\%%%%% tady je to tlacitko
- \global\setbox0=\hbox{
- \includegraphics{#1}}%
- \ifdim\ht0>\wd0%
- \includegraphics[height=0.9\hsize]{#1}%
- \else%
- \ifdim\wd0>\ht0%
- \includegraphics[width=0.9\hsize]{#1}%
- \else%
- \ifdim\wd0=\ht0%%
- \includegraphics[width=0.9\hsize]{#1}%
- \fi\fi\fi
-}
-
-
-\def\panel{%
- \begin{minipage}[t][\paperheight][c]{\panelwidth}%
- \normalsfcodes%
- \centering%
- %\null
- \vspace*{3pt}%\vfill%
- \ifx\@emblema\@empty\relax\else%
- \@@logo{\@emblema}\par\vfill\fi%
- \ifx\logoB\undefined\else\logoB\fi
- \if@paneltoc%
- \@panel@toc\par\vfill\else\relax\fi%
- \color{blue}%
- \NavigationPanel%
- \par%\vfill
- %\null
- \vspace*{1pt}%
- \end{minipage}%
-}
-
-
-%%% odstaranim polozku Contents z panelu
-%%% we remove the contents from panel
-
-\def\NavigationPanel{\normalsfcodes%
- \href{\@urlid}{\addButton{\buttonwidth}{\@Panelhomepagename}}\\ \pfill
- \Acrobatmenu{Print}{\addButton{\buttonwidth}{Print}}\\\pfill
- \Acrobatmenu{FirstPage}{\addButton{\buttonwidth}{\FBlack\@Paneltitlepagename}}\\\pfill
- \Acrobatmenu{FirstPage}{\addButton{\smallbuttonwidth}{\FBlack\scalebox{.8}[1.4]{\btl\btl}}}\hspace*{-2pt}
- \Acrobatmenu{LastPage}{\addButton{\smallbuttonwidth}{\LBlack\scalebox{.8}[1.4]{\rtl\rtl}}}\\\pfill
- \Acrobatmenu{PrevPage}{\addButton{\smallbuttonwidth}{\FBlack\scalebox{.8}[1.4]{\btl}}}\hspace*{-2pt}
- \Acrobatmenu{NextPage}{\addButton{\smallbuttonwidth}{\LBlack\scalebox{.8}[1.4]{\rtl}}}\\\pfill
- \Acrobatmenu{GoToPage}{\addButton{\buttonwidth}{\@Panelpagename\space
- \textcolor{red}{\thepage}\space\@Panelofname\space
- \textcolor{red}{\ScreenLastPage}}}\\\pfill
- \Acrobatmenu{GoBack}{\addButton{\buttonwidth}{\@Panelgobackname}}\\\pfill
- \Acrobatmenu{FullScreen}{\addButton{\buttonwidth}{\@Panelfullscreenname}}\\\pfill
- \Acrobatmenu{Close}{\addButton{\buttonwidth}{\@Panelclosename}}\\\pfill
- \Acrobatmenu{Quit}{\addButton{\buttonwidth}{\@Panelquitname}}\\
-}
-
-
+\usepackage[display]{texpower}
+\usepackage[pdftex,designiii]{web}
+\usepackage[filename=tooltipy,movetips]{fancytooltips}
-\makeatother
\let\rmdefault\sfdefault
@@ -134,209 +50,21 @@
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}
-
-\newpage
-\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}
-
-\newpage
-
-\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}
-
-
+\pause
\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}
-
+\pause
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.
-
+\pause
\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
deleted file mode 100644
index d0f37ddb0e7..00000000000
--- a/Master/texmf-dist/doc/latex/fancytooltips/examples/fancytips.tex
+++ /dev/null
@@ -1,3 +0,0 @@
-\tooltipname{derivace}{1}
-\tooltipname{hodnost}{2}
-\tooltipname{definition}{3}
diff --git a/Master/texmf-dist/doc/latex/fancytooltips/examples/logomu.pdf b/Master/texmf-dist/doc/latex/fancytooltips/examples/logomu.pdf
deleted file mode 100644
index 1f67464d89e..00000000000
--- a/Master/texmf-dist/doc/latex/fancytooltips/examples/logomu.pdf
+++ /dev/null
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/fancytooltips/examples/pdfscreen.cfg b/Master/texmf-dist/doc/latex/fancytooltips/examples/pdfscreen.cfg
deleted file mode 100644
index c2f6e86497d..00000000000
--- a/Master/texmf-dist/doc/latex/fancytooltips/examples/pdfscreen.cfg
+++ /dev/null
@@ -1,42 +0,0 @@
-\def\@@logo#1{%
- \global\setbox0=\hbox{\includegraphics{#1}}%
- \ifdim\ht0>\wd0%
- \includegraphics[height=0.9\hsize]{#1}%
- \else%
- \ifdim\wd0>\ht0%
- \includegraphics[width=0.9\hsize]{#1}%
- \else%
- \ifdim\wd0=\ht0%%
- \includegraphics[width=0.9\hsize]{#1}%
- \fi\fi\fi
-}
-
-\def\panel{%
- \begin{minipage}[t][\paperheight][c]{\panelwidth}%
- \normalsfcodes%
- \centering%
- %\null
- \vspace*{3pt}%\vfill%
- \ifx\@emblema\@empty\relax\else%
- \@@logo{\@emblema}\par\vfill\fi%
- \ifx\logoB\undefined\else\logoB\fi
- \if@paneltoc%
- \@panel@toc\par\vfill\else\relax\fi%
- \color{blue}%
- \NavigationPanel%
- \par%\vfill
- %\null
- \vspace*{1pt}%
- \end{minipage}%
-}
-
-\def\pfill{\vskip 0.5pt}
-\emblema{logo-bc.jpg}
-\urlid{www.mendelu.cz/user/marik}
-
-\hypersetup{pdfpagemode=Window, pdfnewwindow=true, pdfmenubar=true,%
- pdftoolbar=true,colorlinks, pdfwindowui=true,
- pdfpagemode=UseOutlines}
-
-\input blackpanel
-\endinput
diff --git a/Master/texmf-dist/doc/latex/fancytooltips/examples/tex4ht/tooltips2html-js.js b/Master/texmf-dist/doc/latex/fancytooltips/examples/tex4ht/tooltips2html-js.js
new file mode 100644
index 00000000000..dccc039ec11
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/fancytooltips/examples/tex4ht/tooltips2html-js.js
@@ -0,0 +1,5 @@
+tex4ht=new Array() ; //2009-05-04 09:42:00
+tex4ht.fn1x0="<div class=\"js\"><span class=\"footnote-mark\"><a id=\"fn1x0\"> <sup class=\"textsuperscript\">1</sup></a></span><span class=\"cmr-8\">just to show conversion into html</span></div>";
+ ol_hauto = 1;
+
+
diff --git a/Master/texmf-dist/doc/latex/fancytooltips/examples/tex4ht/tooltips2html-js.tex b/Master/texmf-dist/doc/latex/fancytooltips/examples/tex4ht/tooltips2html-js.tex
new file mode 100644
index 00000000000..56d753c099e
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/fancytooltips/examples/tex4ht/tooltips2html-js.tex
@@ -0,0 +1,5 @@
+\def\jstoday{2009-05-04 09:42:00} \input onmouseover.4ht <js><footnote>fn1x0=<div class="js"><span class="footnote-mark"><a
+ id="fn1x0"> <sup class="textsuperscript">1</sup></a></span><span
+class="cmr-8">just to show conversion into html</span></div></footnote>
+
+ <> ol_hauto = 1; </></js> \ No newline at end of file
diff --git a/Master/texmf-dist/doc/latex/fancytooltips/examples/tex4ht/tooltips2html.css b/Master/texmf-dist/doc/latex/fancytooltips/examples/tex4ht/tooltips2html.css
new file mode 100644
index 00000000000..715dd6a5a66
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/fancytooltips/examples/tex4ht/tooltips2html.css
@@ -0,0 +1,110 @@
+
+/* start css.sty */
+.cmr-17{font-size:170%;}
+.cmr-12{font-size:120%;}
+.cmr-8{font-size:80%;}
+.cmr-9{font-size:90%;}
+p.noindent { text-indent: 0em }
+td p.noindent { text-indent: 0em; margin-top:0em; }
+p.nopar { text-indent: 0em; }
+p.indent{ text-indent: 1.5em }
+@media print {div.crosslinks {visibility:hidden;}}
+a img { border-top: 0; border-left: 0; border-right: 0; }
+center { margin-top:1em; margin-bottom:1em; }
+td center { margin-top:0em; margin-bottom:0em; }
+.Canvas { position:relative; }
+img.math{vertical-align:middle;}
+li p.indent { text-indent: 0em }
+.enumerate1 {list-style-type:decimal;}
+.enumerate2 {list-style-type:lower-alpha;}
+.enumerate3 {list-style-type:lower-roman;}
+.enumerate4 {list-style-type:upper-alpha;}
+div.newtheorem { margin-bottom: 2em; margin-top: 2em;}
+.obeylines-h,.obeylines-v {white-space: nowrap; }
+div.obeylines-v p { margin-top:0; margin-bottom:0; }
+.overline{ text-decoration:overline; }
+.overline img{ border-top: 1px solid black; }
+td.displaylines {text-align:center; white-space:nowrap;}
+.centerline {text-align:center;}
+.rightline {text-align:right;}
+div.verbatim {font-family: monospace; white-space: nowrap; text-align:left; clear:both; }
+.fbox {padding-left:3.0pt; padding-right:3.0pt; text-indent:0pt; border:solid black 0.4pt; }
+div.fbox {display:table}
+div.center div.fbox {text-align:center; clear:both; padding-left:3.0pt; padding-right:3.0pt; text-indent:0pt; border:solid black 0.4pt; }
+div.minipage{width:100%;}
+div.center, div.center div.center {text-align: center; margin-left:1em; margin-right:1em;}
+div.center div {text-align: left;}
+div.flushright, div.flushright div.flushright {text-align: right;}
+div.flushright div {text-align: left;}
+div.flushleft {text-align: left;}
+.underline{ text-decoration:underline; }
+.underline img{ border-bottom: 1px solid black; margin-bottom:1pt; }
+.framebox-c, .framebox-l, .framebox-r { padding-left:3.0pt; padding-right:3.0pt; text-indent:0pt; border:solid black 0.4pt; }
+.framebox-c {text-align:center;}
+.framebox-l {text-align:left;}
+.framebox-r {text-align:right;}
+span.thank-mark{ vertical-align: super }
+span.footnote-mark sup.textsuperscript, span.footnote-mark a sup.textsuperscript{ font-size:80%; }
+div.tabular, div.center div.tabular {text-align: center; margin-top:0.5em; margin-bottom:0.5em; }
+table.tabular td p{margin-top:0em;}
+table.tabular {margin-left: auto; margin-right: auto;}
+div.td00{ margin-left:0pt; margin-right:0pt; }
+div.td01{ margin-left:0pt; margin-right:5pt; }
+div.td10{ margin-left:5pt; margin-right:0pt; }
+div.td11{ margin-left:5pt; margin-right:5pt; }
+table[rules] {border-left:solid black 0.4pt; border-right:solid black 0.4pt; }
+td.td00{ padding-left:0pt; padding-right:0pt; }
+td.td01{ padding-left:0pt; padding-right:5pt; }
+td.td10{ padding-left:5pt; padding-right:0pt; }
+td.td11{ padding-left:5pt; padding-right:5pt; }
+table[rules] {border-left:solid black 0.4pt; border-right:solid black 0.4pt; }
+.hline hr, .cline hr{ height : 1px; margin:0px; }
+.tabbing-right {text-align:right;}
+span.TEX {letter-spacing: -0.125em; }
+span.TEX span.E{ position:relative;top:0.5ex;left:-0.0417em;}
+a span.TEX span.E {text-decoration: none; }
+span.LATEX span.A{ position:relative; top:-0.5ex; left:-0.4em; font-size:85%;}
+span.LATEX span.TEX{ position:relative; left: -0.4em; }
+div.float img, div.float .caption {text-align:center;}
+div.figure img, div.figure .caption {text-align:center;}
+.marginpar {width:20%; float:right; text-align:left; margin-left:auto; margin-top:0.5em; font-size:85%; text-decoration:underline;}
+.marginpar p{margin-top:0.4em; margin-bottom:0.4em;}
+table.equation {width:100%;}
+.equation td{text-align:center; }
+td.equation { margin-top:1em; margin-bottom:1em; }
+td.equation-label { width:5%; text-align:center; }
+td.eqnarray4 { width:5%; white-space: normal; }
+td.eqnarray2 { width:5%; }
+table.eqnarray-star, table.eqnarray {width:100%;}
+div.eqnarray{text-align:center;}
+div.array {text-align:center;}
+div.pmatrix {text-align:center;}
+table.pmatrix {width:100%;}
+span.pmatrix img{vertical-align:middle;}
+div.pmatrix {text-align:center;}
+table.pmatrix {width:100%;}
+img.cdots{vertical-align:middle;}
+.partToc a, .partToc, .likepartToc a, .likepartToc {line-height: 200%; font-weight:bold; font-size:110%;}
+.index-item, .index-subitem, .index-subsubitem {display:block}
+.caption td.id{font-weight: bold; white-space: nowrap; }
+table.caption {text-align:center;}
+h1.partHead{text-align: center}
+p.bibitem { text-indent: -2em; margin-left: 2em; margin-top:0.6em; margin-bottom:0.6em; }
+p.bibitem-p { text-indent: 0em; margin-left: 2em; margin-top:0.6em; margin-bottom:0.6em; }
+.paragraphHead, .likeparagraphHead { margin-top:2em; font-weight: bold;}
+.subparagraphHead, .likesubparagraphHead { font-weight: bold;}
+.quote {margin-bottom:0.25em; margin-top:0.25em; margin-left:1em; margin-right:1em; text-align:justify;}
+.verse{white-space:nowrap; margin-left:2em}
+div.maketitle {text-align:center;}
+h2.titleHead{text-align:center;}
+div.maketitle{ margin-bottom: 2em; }
+div.author, div.date {text-align:center;}
+div.thanks{text-align:left; margin-left:10%; font-size:85%; font-style:italic; }
+div.author{white-space: nowrap;}
+.quotation {margin-bottom:0.25em; margin-top:0.25em; margin-left:1em; }
+.abstract p {margin-left:5%; margin-right:5%;}
+div.abstract {width:100%;}
+.js {text-indent:0; background-color:aqua; color:black; border:solid 1px black; margin:2pt; width:99%;}
+.js p, .js p.bibitem , .js p.bibitem-p {text-indent:0; background-color:aqua; color:black; margin:2pt;}
+/* end css.sty */
+
diff --git a/Master/texmf-dist/doc/latex/fancytooltips/examples/tex4ht/tooltips2html.html b/Master/texmf-dist/doc/latex/fancytooltips/examples/tex4ht/tooltips2html.html
index 409bc4a5924..19bbfb7fc1c 100644
--- a/Master/texmf-dist/doc/latex/fancytooltips/examples/tex4ht/tooltips2html.html
+++ b/Master/texmf-dist/doc/latex/fancytooltips/examples/tex4ht/tooltips2html.html
@@ -10,7 +10,7 @@
<meta name="originator" content="TeX4ht (http://www.cse.ohio-state.edu/~gurari/TeX4ht/)" />
<!-- xhtml,mouseover,html -->
<meta name="src" content="tooltips2html.tex" />
-<meta name="date" content="2008-05-09 22:57:00" />
+<meta name="date" content="2009-05-04 09:42:00" />
<link rel="stylesheet" type="text/css" href="tooltips2html.css" />
<script type="text/javascript" src="tooltips2html-js.js"></script>
<script type="text/javascript" src="overlib.js"><!-- overLIB (c) Erik Bosrup --></script> <!--http://www.bosrup.com/web/overlib/--></head><body
@@ -27,19 +27,18 @@
<div class="author" ><span
class="cmr-12">Robert Ma</span><span
class="cmr-12">&#x0159;</span><span
-class="cmr-12">ík</span></div>
-<br />
+class="cmr-12">ík</span></div><br />
<div class="date" ><span
-class="cmr-12">May 9, 2008</span></div>
+class="cmr-12">May 4, 2009</span></div>
</div>
-<!--l. 54--><p class="indent" > This is the sample document<span class="footnote-mark"><!--\def\jstoday{2008-05-09 22:57:00} \input onmouseover.4ht <js>--> <a
+<!--l. 54--><p class="indent" > This is the sample document<span class="footnote-mark"><!--\def\jstoday{2009-05-04 09:42:00} \input onmouseover.4ht <js>--> <a
href="tooltips2html2.html#fn1x0"
onmouseover="tex4ht.body=tex4ht.fn1x0; tex4ht.caption='1'; return overlib(tex4ht.body,FULLHTML);"
onmouseout="nd();"
><sup class="textsuperscript">1</sup></a></span><a
id="x1-2f1"></a> .
-</p><!--l. 56--><p class="indent" > Here we use small <a href="javascript:void(0);" onmouseover="picturettp='&lt;img src=images/ttp-1.jpg&gt;'; return overlib(picturettp, RELX,10, RELY, 10, FULLHTML, STICKY, MOUSEOFF);" onmouseout="nd();">tooltip</a> . </p>
+</p><!--l. 56--><p class="indent" > Here we use small <a href="javascript:void(0);" onmouseover="picturettp='&lt;img src=images/ttp-1.jpg&gt;'; return overlib(picturettp, FULLHTML);" onmouseout="nd();">tooltip</a> . </p>
</body></html>
<!--</js>-->
diff --git a/Master/texmf-dist/doc/latex/fancytooltips/examples/tex4ht/tooltips2html.tex b/Master/texmf-dist/doc/latex/fancytooltips/examples/tex4ht/tooltips2html.tex
index ef0b8d7536e..5499f7af5d7 100644
--- a/Master/texmf-dist/doc/latex/fancytooltips/examples/tex4ht/tooltips2html.tex
+++ b/Master/texmf-dist/doc/latex/fancytooltips/examples/tex4ht/tooltips2html.tex
@@ -37,7 +37,7 @@
\expandafter\tipnumbercount\TipNumber
\edef\temp{images/ttp-\the\tipnumbercount.jpg}
\HCode{
-<a href="javascript:void(0);" onmouseover="picturettp='&lt;img src=\temp&gt;'; return overlib(picturettp, RELX,10, RELY, 10, FULLHTML, STICKY, MOUSEOFF);" onmouseout="nd();">#1</a>
+<a href="javascript:void(0);" onmouseover="picturettp='&lt;img src=\temp&gt;'; return overlib(picturettp, FULLHTML);" onmouseout="nd();">#1</a>
}
}
%%%%%%
diff --git a/Master/texmf-dist/doc/latex/fancytooltips/examples/tex4ht/tooltips2html2.html b/Master/texmf-dist/doc/latex/fancytooltips/examples/tex4ht/tooltips2html2.html
index d712f7016cd..4a3747f6ae5 100644
--- a/Master/texmf-dist/doc/latex/fancytooltips/examples/tex4ht/tooltips2html2.html
+++ b/Master/texmf-dist/doc/latex/fancytooltips/examples/tex4ht/tooltips2html2.html
@@ -10,7 +10,7 @@
<meta name="originator" content="TeX4ht (http://www.cse.ohio-state.edu/~gurari/TeX4ht/)" />
<!-- xhtml,mouseover,html -->
<meta name="src" content="tooltips2html.tex" />
-<meta name="date" content="2008-05-09 22:57:00" />
+<meta name="date" content="2009-05-04 09:42:00" />
<link rel="stylesheet" type="text/css" href="tooltips2html.css" />
<script type="text/javascript" src="tooltips2html-js.js"></script>
<script type="text/javascript" src="overlib.js"><!-- overLIB (c) Erik Bosrup --></script> <!--http://www.bosrup.com/web/overlib/--></head><body
diff --git a/Master/texmf-dist/doc/latex/fancytooltips/fancytooltips.pdf b/Master/texmf-dist/doc/latex/fancytooltips/fancytooltips.pdf
index 0231facffb2..0359cc39956 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/source/latex/fancytooltips/fancytooltips.dtx b/Master/texmf-dist/source/latex/fancytooltips/fancytooltips.dtx
index 9381e87ca4e..1ec6dbf244c 100644
--- a/Master/texmf-dist/source/latex/fancytooltips/fancytooltips.dtx
+++ b/Master/texmf-dist/source/latex/fancytooltips/fancytooltips.dtx
@@ -1,7 +1,7 @@
% \iffalse meta-comment
%
-% Copyright (C) 2004 by Robert Marik <marik@mendelu.cz>
-% -----------------------------------------------------
+% Copyright (C) 2004-2009 by Robert Marik <marik@mendelu.cz>
+% ----------------------------------------------------------
%
% This file may be distributed and/or modified under the
% conditions of the LaTeX Project Public License, either version 1.2
@@ -22,7 +22,7 @@
%<package>\NeedsTeXFormat{LaTeX2e}[1999/12/01]
%<package>\ProvidesPackage{fancytooltips}
%<*package>
- [2007/07/28 v1.3a fancytooltips.dtx file]
+ [2009/05/05 v1.5 fancytooltips.dtx file]
%</package>
%
%<*driver>
@@ -31,7 +31,7 @@
\CodelineIndex
\RecordChanges
\usepackage[pdftex]{color}
-\usepackage[filename=tip,movetips]{fancytooltips}
+\usepackage[filename=tip,mouseover,movetips]{fancytooltips}
\buttontipwidth=2cm
\buttontipheight=2cm
\begin{document}
@@ -43,7 +43,7 @@
%</driver>
% \fi
%
-% \CheckSum{441}
+% \CheckSum{445}
%
% \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
@@ -78,12 +78,12 @@
% Improved documentation -- added a note about the required version
% of eforms.sty}
%
-% \changes{v1.3a}{2007/07/28}{Fixed app.focusRect, thanks to Lud\v{e}k
-% Nechv\'atal.}
-%
-% \changes{v1.4}{2008/05/10}{Added mouseover option. Fixed the end of
-% animation.}
+% \changes{v1.4}{2009/04/29}{Added support for presentations (like
+% |pause| command for texpower).}
%
+% \changes{v1.5}{2009/05/05}{Handling number of pages via aux file
+% (fixes some problems issued by previous modification and page
+% break near tooltip).}
%
% \GetFileInfo{fancytooltips.dtx}
%
@@ -91,8 +91,10 @@
%
%
% \title{The \textsf{fancytooltips} package\thanks{This document
-% corresponds to \textsf{fancytooltips}~\fileversion, dated \filedate.}}
-% \author{Robert Marik \\ \texttt{marik@mendelu.cz}}
+% corresponds to \textsf{fancytooltips}~\fileversion, dated
+% \filedate.} \thanks{Supported by grants 18/2006 and 99/2008 of Higher
+% Education Development Fund (FRV\v S) }} \author{Robert Ma\v r\'\i k \\
+% \texttt{marik@mendelu.cz}}
%
% \maketitle
%
@@ -109,11 +111,11 @@
%
% 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}
+% 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
+% 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.
%
@@ -123,22 +125,20 @@
% \section{Usage}
% \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. If you
+% 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. 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
+% 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|. If you use option |mouseover|, the tooltips are
-% activated by mouseover action.
+% |fancytips.tex|.
%
% \subsection{The file with presentation -- pdf\LaTeX users}
% In the file with presentation, the user is responsible
@@ -168,6 +168,10 @@
% page of the file with tooltips has dimensions of the box with
% tooltip. See the \texttt{examples} subdirectory.}.
%
+% \DescribeMacro{mouseover option} If you use |mouseover| option, then
+% tooltip appears if you move the mouse pointer to the active area (no
+% clicking is necessary).
+%
% \DescribeMacro{\tooltip} The user can put the tooltip into her or
% his presentation using the command
% \texttt{\string\tooltip}{\marg{stuff}\marg{keyword-or-pagenumber}}
@@ -343,80 +347,82 @@
% the file |example.tex| from the examples directory.
% \begin{macrocode}
\definecolor{tooltipcolor}{rgb}{0,0,1}
-\def\TooltipPage#1{\expandafter\gdef\csname TooltipPage#1\endcsname{#1}}
-\ifmouseover
+
+\newcount\tooltip@count
+\newtoks\tooltip@toks
+\newtoks\tooltip@pagetoks
+\tooltip@pagetoks={\thepage}
+\def\tooltippage{}
+
+\def\TooltipPage#1#2{%
+\expandafter\gdef\csname TooltipPage#2\endcsname{#2}%
+\expandafter\gdef\csname Tooltipcount2page#1\endcsname{#2}%
+}
+
\def\tooltip#1#2{%
- \write\@auxout{\noexpand\TooltipPage{\thepage}}%
+ \global\advance\tooltip@count by 1%
+ \edef\act{\write\@auxout{\noexpand\string\noexpand\TooltipPage{\the\tooltip@count}{\the\tooltip@pagetoks}}}\act
+ \edef\tooltippage{\csname Tooltipcount2page\the\tooltip@count \endcsname}%
\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;
+ \def\tempfancytooltips{}%
+ \ifmovetips\edef\tempfancytooltips{nastav(\TipNumber,\tooltippage);}\fi
+ \pushButton[\BC{}\BG{}\S{}\AA{\AAMouseExit{\JS{CloseTooltips();}}%
+ \ifmouseover
+ \AAMouseEnter{\JS{this.getField("ikona."+(\tooltippage)).hidden=false;
try {app.clearInterval(animace);}catch (e) {}
- \ifmovetips nastav(\TipNumber);\fi
- zobraz(\TipNumber);
- }}}]
- {TooltipField}{\wd0}{\ht0}}
-\else
-\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();}}}
- \A{\JS{this.getField("ikona."+(this.pageNum+1)).hidden=false;
+ \tempfancytooltips
+ zobraz(\TipNumber,\tooltippage);
+ }}
+ \fi}
+ \A{\JS{this.getField("ikona."+(\tooltippage)).hidden=false;
try {app.clearInterval(animace);}catch (e) {}
- \ifmovetips nastav(\TipNumber);\fi
- zobraz(\TipNumber);
+ \tempfancytooltips
+ zobraz(\TipNumber,\tooltippage);
}}]
{TooltipField}{\wd0}{\ht0}}
-\fi
\def\delayinterval{200}
-\ifmouseover
\def\tooltipanim#1#2#3{%
- \write\@auxout{\noexpand\TooltipPage{\thepage}}%
+ \global\advance\tooltip@count by 1%
+ \edef\act{\write\@auxout{\noexpand\string\noexpand\TooltipPage{\the\tooltip@count}{\the\tooltip@pagetoks}}}\act
+ \edef\tooltippage{\csname Tooltipcount2page\the\tooltip@count \endcsname}%
\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}}%
+ \def\tempfancytooltips{}%
+ \ifmovetips\edef\tempfancytooltips{nastav(\TipNumberA,\tooltippage);}\fi
\pushButton[\BC{}\BG{}\S{}\AA{\AAMouseExit{\JS{CloseTooltips();}}
+ \ifmouseover
\AAMouseEnter{\JS{
try {app.clearInterval(animace);}catch (e) {}
var cislo=\TipNumberA;
- \ifmovetips nastav(\TipNumberA);\fi
+ \tempfancytooltips
function animuj()
{
- if (cislo<\TipNumberB) cislo=cislo+1; else {try {app.clearInterval(animace);}catch (e) {};}
- this.getField('ikona.'+(this.pageNum+1)).buttonSetIcon(this.getField("animtiph."+cislo).buttonGetIcon());
+ if (cislo<\TipNumberB) cislo=cislo+1;
+ this.getField('ikona.'+(\tooltippage)).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;
+ this.getField('ikona.'+(\tooltippage)).buttonSetIcon(this.getField("animtiph."+\TipNumberA).buttonGetIcon());
+ this.getField("ikona."+(\tooltippage)).hidden=false;
animace=app.setInterval('animuj();', \delayinterval);
- }}}
- ]{TooltipField}{\wd0}{\ht0}}
-\else
-\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();}}}
+ }}
+ \fi}
\A{\JS{
try {app.clearInterval(animace);}catch (e) {}
var cislo=\TipNumberA;
- \ifmovetips nastav(\TipNumberA);\fi
+ \tempfancytooltips
function animuj()
{
- if (cislo<\TipNumberB) cislo=cislo+1; else {try {app.clearInterval(animace);}catch (e) {};}
- this.getField('ikona.'+(this.pageNum+1)).buttonSetIcon(this.getField("animtiph."+cislo).buttonGetIcon());
+ if (cislo<\TipNumberB) cislo=cislo+1;
+ this.getField('ikona.'+(\tooltippage)).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;
+ this.getField('ikona.'+(\tooltippage)).buttonSetIcon(this.getField("animtiph."+\TipNumberA).buttonGetIcon());
+ this.getField("ikona."+(\tooltippage)).hidden=false;
animace=app.setInterval('animuj();', \delayinterval);
}}
]{TooltipField}{\wd0}{\ht0}}
-\fi
% \end{macrocode}
% This code closes tooltip if the page is closed.
% \begin{macrocode}
@@ -439,7 +445,6 @@
\ifTooltip@usepdftex
\begin{insDLJS}[fancyTooltipsLoaded]{Tooltipsdljs}{DLJS for Tooltips}
var animace;
- app.focusRect = false;
var fancyTooltipsLoaded = true;
function CloseTooltips()
@@ -448,9 +453,9 @@
try {app.clearInterval(animace);}catch (e) {}
}
- function nastav(cislo)
+ function nastav(cislo,strana)
{
- var f=this.getField("ikona."+(this.pageNum+1));
+ var f=this.getField("ikona."+(strana));
var g=this.getField("animtiph."+cislo);
var sourf=f.rect;
var sourg=g.rect;
@@ -467,9 +472,9 @@
f.buttonAlignY=percY;
}
- function zobraz(cislo)
+ function zobraz(cislo,strana)
{
- var f=this.getField("ikona."+(this.pageNum+1));
+ var f=this.getField("ikona."+(strana));
var g=this.getField("animtiph."+cislo);
f.hidden=false;
f.buttonSetIcon(g.buttonGetIcon());
@@ -478,7 +483,6 @@
\else
\begin{insDLJS}[fancyTooltipsLoaded]{Tooltipsdljs}{DLJS for Tooltips}
var animace;
- app.focusRect = false;
var fancyTooltipsLoaded = true;
function CloseTooltips()
@@ -504,9 +508,9 @@
return(1);
}
- function nastav(cislo)
+ function nastav(cislo,strana)
{
- var f=this.getField("ikona."+(this.pageNum+1));
+ var f=this.getField("ikona."+(strana));
var g=this.getField("animtiph."+cislo);
var sourf=f.rect;
var sourg=g.rect;
@@ -523,9 +527,9 @@
f.buttonAlignY=percY;
}
- function zobraz(cislo)
+ function zobraz(cislo,strana)
{
- var f=this.getField("ikona."+(this.pageNum+1));
+ var f=this.getField("ikona."+(strana));
var g=this.getField("animtiph."+cislo);
f.hidden=false;
f.buttonSetIcon(g.buttonGetIcon());
diff --git a/Master/texmf-dist/tex/latex/fancytooltips/fancytooltips.sty b/Master/texmf-dist/tex/latex/fancytooltips/fancytooltips.sty
index 3a4011f9c50..83fb819cd1d 100644
--- a/Master/texmf-dist/tex/latex/fancytooltips/fancytooltips.sty
+++ b/Master/texmf-dist/tex/latex/fancytooltips/fancytooltips.sty
@@ -22,7 +22,7 @@
%%
\NeedsTeXFormat{LaTeX2e}[1999/12/01]
\ProvidesPackage{fancytooltips}
- [2007/07/28 v1.3a fancytooltips.dtx file]
+ [2009/05/05 v1.5 fancytooltips.dtx file]
\RequirePackage{everyshi}
\RequirePackage{graphicx}
\RequirePackage{xkeyval}
@@ -117,80 +117,82 @@
\fi}%
\AddToShipoutPicture{\hbox to 0 pt{\frametip\hss}}
\definecolor{tooltipcolor}{rgb}{0,0,1}
-\def\TooltipPage#1{\expandafter\gdef\csname TooltipPage#1\endcsname{#1}}
-\ifmouseover
+
+\newcount\tooltip@count
+\newtoks\tooltip@toks
+\newtoks\tooltip@pagetoks
+\tooltip@pagetoks={\thepage}
+\def\tooltippage{}
+
+\def\TooltipPage#1#2{%
+\expandafter\gdef\csname TooltipPage#2\endcsname{#2}%
+\expandafter\gdef\csname Tooltipcount2page#1\endcsname{#2}%
+}
+
\def\tooltip#1#2{%
- \write\@auxout{\noexpand\TooltipPage{\thepage}}%
+ \global\advance\tooltip@count by 1%
+ \edef\act{\write\@auxout{\noexpand\string\noexpand\TooltipPage{\the\tooltip@count}{\the\tooltip@pagetoks}}}\act
+ \edef\tooltippage{\csname Tooltipcount2page\the\tooltip@count \endcsname}%
\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;
+ \def\tempfancytooltips{}%
+ \ifmovetips\edef\tempfancytooltips{nastav(\TipNumber,\tooltippage);}\fi
+ \pushButton[\BC{}\BG{}\S{}\AA{\AAMouseExit{\JS{CloseTooltips();}}%
+ \ifmouseover
+ \AAMouseEnter{\JS{this.getField("ikona."+(\tooltippage)).hidden=false;
try {app.clearInterval(animace);}catch (e) {}
- \ifmovetips nastav(\TipNumber);\fi
- zobraz(\TipNumber);
- }}}]
- {TooltipField}{\wd0}{\ht0}}
-\else
-\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();}}}
- \A{\JS{this.getField("ikona."+(this.pageNum+1)).hidden=false;
+ \tempfancytooltips
+ zobraz(\TipNumber,\tooltippage);
+ }}
+ \fi}
+ \A{\JS{this.getField("ikona."+(\tooltippage)).hidden=false;
try {app.clearInterval(animace);}catch (e) {}
- \ifmovetips nastav(\TipNumber);\fi
- zobraz(\TipNumber);
+ \tempfancytooltips
+ zobraz(\TipNumber,\tooltippage);
}}]
{TooltipField}{\wd0}{\ht0}}
-\fi
\def\delayinterval{200}
-\ifmouseover
\def\tooltipanim#1#2#3{%
- \write\@auxout{\noexpand\TooltipPage{\thepage}}%
+ \global\advance\tooltip@count by 1%
+ \edef\act{\write\@auxout{\noexpand\string\noexpand\TooltipPage{\the\tooltip@count}{\the\tooltip@pagetoks}}}\act
+ \edef\tooltippage{\csname Tooltipcount2page\the\tooltip@count \endcsname}%
\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}}%
+ \def\tempfancytooltips{}%
+ \ifmovetips\edef\tempfancytooltips{nastav(\TipNumberA,\tooltippage);}\fi
\pushButton[\BC{}\BG{}\S{}\AA{\AAMouseExit{\JS{CloseTooltips();}}
+ \ifmouseover
\AAMouseEnter{\JS{
try {app.clearInterval(animace);}catch (e) {}
var cislo=\TipNumberA;
- \ifmovetips nastav(\TipNumberA);\fi
+ \tempfancytooltips
function animuj()
{
- if (cislo<\TipNumberB) cislo=cislo+1; else {try {app.clearInterval(animace);}catch (e) {};}
- this.getField('ikona.'+(this.pageNum+1)).buttonSetIcon(this.getField("animtiph."+cislo).buttonGetIcon());
+ if (cislo<\TipNumberB) cislo=cislo+1;
+ this.getField('ikona.'+(\tooltippage)).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;
+ this.getField('ikona.'+(\tooltippage)).buttonSetIcon(this.getField("animtiph."+\TipNumberA).buttonGetIcon());
+ this.getField("ikona."+(\tooltippage)).hidden=false;
animace=app.setInterval('animuj();', \delayinterval);
- }}}
- ]{TooltipField}{\wd0}{\ht0}}
-\else
-\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();}}}
+ }}
+ \fi}
\A{\JS{
try {app.clearInterval(animace);}catch (e) {}
var cislo=\TipNumberA;
- \ifmovetips nastav(\TipNumberA);\fi
+ \tempfancytooltips
function animuj()
{
- if (cislo<\TipNumberB) cislo=cislo+1; else {try {app.clearInterval(animace);}catch (e) {};}
- this.getField('ikona.'+(this.pageNum+1)).buttonSetIcon(this.getField("animtiph."+cislo).buttonGetIcon());
+ if (cislo<\TipNumberB) cislo=cislo+1;
+ this.getField('ikona.'+(\tooltippage)).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;
+ this.getField('ikona.'+(\tooltippage)).buttonSetIcon(this.getField("animtiph."+\TipNumberA).buttonGetIcon());
+ this.getField("ikona."+(\tooltippage)).hidden=false;
animace=app.setInterval('animuj();', \delayinterval);
}}
]{TooltipField}{\wd0}{\ht0}}
-\fi
\ifTooltip@usepdftex
\def\TooltipPageopencloseJS{ \global\pdfpageattr{%
/AA << /O << /S /JavaScript /JS (CloseTooltips();) >> >>}%
@@ -210,7 +212,6 @@
\ifTooltip@usepdftex
\begin{insDLJS}[fancyTooltipsLoaded]{Tooltipsdljs}{DLJS for Tooltips}
var animace;
- app.focusRect = false;
var fancyTooltipsLoaded = true;
function CloseTooltips()
@@ -219,9 +220,9 @@
try {app.clearInterval(animace);}catch (e) {}
}
- function nastav(cislo)
+ function nastav(cislo,strana)
{
- var f=this.getField("ikona."+(this.pageNum+1));
+ var f=this.getField("ikona."+(strana));
var g=this.getField("animtiph."+cislo);
var sourf=f.rect;
var sourg=g.rect;
@@ -238,9 +239,9 @@
f.buttonAlignY=percY;
}
- function zobraz(cislo)
+ function zobraz(cislo,strana)
{
- var f=this.getField("ikona."+(this.pageNum+1));
+ var f=this.getField("ikona."+(strana));
var g=this.getField("animtiph."+cislo);
f.hidden=false;
f.buttonSetIcon(g.buttonGetIcon());
@@ -249,7 +250,6 @@
\else
\begin{insDLJS}[fancyTooltipsLoaded]{Tooltipsdljs}{DLJS for Tooltips}
var animace;
- app.focusRect = false;
var fancyTooltipsLoaded = true;
function CloseTooltips()
@@ -275,9 +275,9 @@
return(1);
}
- function nastav(cislo)
+ function nastav(cislo,strana)
{
- var f=this.getField("ikona."+(this.pageNum+1));
+ var f=this.getField("ikona."+(strana));
var g=this.getField("animtiph."+cislo);
var sourf=f.rect;
var sourg=g.rect;
@@ -294,9 +294,9 @@
f.buttonAlignY=percY;
}
- function zobraz(cislo)
+ function zobraz(cislo,strana)
{
- var f=this.getField("ikona."+(this.pageNum+1));
+ var f=this.getField("ikona."+(strana));
var g=this.getField("animtiph."+cislo);
f.hidden=false;
f.buttonSetIcon(g.buttonGetIcon());
diff --git a/Master/tlpkg/libexec/ctan2tds b/Master/tlpkg/libexec/ctan2tds
index da83affb056..9b7766d9434 100755
--- a/Master/tlpkg/libexec/ctan2tds
+++ b/Master/tlpkg/libexec/ctan2tds
@@ -171,6 +171,7 @@ chdir $startdir || die "chdir($startdir) failed: $!"; # back to raw
'dogma', "die 'skipping, requires nonfree font'",
'dot2tex', "die 'skipping, only useful with supporting python setup'",
'dps', "die 'skipping, requires acrotex'",
+ 'draftmark', "die 'skipping, nosell license'",
'dropping', "die 'skipping, nosell license'",
'dtk', "&MAKEflatten",
'dtxtut', "&setup", # straight copy