summaryrefslogtreecommitdiff
path: root/Master
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2007-02-22 19:55:16 +0000
committerKarl Berry <karl@freefriends.org>2007-02-22 19:55:16 +0000
commit2f5894cda3e5c9c65f3a7c15097ccab670381247 (patch)
tree53c749decfdbb74760a33b4861a93d3cc0562458 /Master
parent7144b710518294eb640d7f28ff4ff08b656fd35d (diff)
new latex package fancytooltips, 19feb07
git-svn-id: svn://tug.org/texlive/trunk@3982 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master')
-rw-r--r--Master/texmf-dist/doc/latex/fancytooltips/README9
-rw-r--r--Master/texmf-dist/doc/latex/fancytooltips/examples/blackpanel.tex26
-rw-r--r--Master/texmf-dist/doc/latex/fancytooltips/examples/example-min.pdfbin0 -> 340347 bytes
-rw-r--r--Master/texmf-dist/doc/latex/fancytooltips/examples/example-min.tex36
-rw-r--r--Master/texmf-dist/doc/latex/fancytooltips/examples/example.pdfbin0 -> 376873 bytes
-rw-r--r--Master/texmf-dist/doc/latex/fancytooltips/examples/example.tex138
-rw-r--r--Master/texmf-dist/doc/latex/fancytooltips/examples/fancytips.tex2
-rw-r--r--Master/texmf-dist/doc/latex/fancytooltips/examples/logomu.pdfbin0 -> 12287 bytes
-rw-r--r--Master/texmf-dist/doc/latex/fancytooltips/examples/pdfscreen.cfg42
-rw-r--r--Master/texmf-dist/doc/latex/fancytooltips/examples/tecna2.pdfbin0 -> 86631 bytes
-rw-r--r--Master/texmf-dist/doc/latex/fancytooltips/examples/tooltipy.pdfbin0 -> 308947 bytes
-rw-r--r--Master/texmf-dist/doc/latex/fancytooltips/examples/tooltipy.tex75
-rw-r--r--Master/texmf-dist/doc/latex/fancytooltips/fancytooltips.pdfbin0 -> 168736 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.pdfbin0 -> 19660 bytes
-rw-r--r--Master/texmf-dist/doc/latex/fancytooltips/tip.tex29
-rw-r--r--Master/texmf-dist/source/latex/fancytooltips/fancytooltips.dtx474
-rw-r--r--Master/texmf-dist/source/latex/fancytooltips/fancytooltips.ins58
-rw-r--r--Master/texmf-dist/tex/latex/fancytooltips/fancytooltips.sty255
-rw-r--r--Master/texmf-dist/tpm/fancytooltips.tpm45
-rw-r--r--Master/texmf/lists/fancytooltips23
-rw-r--r--Master/texmf/tpm/collection-latexextra.tpm1
23 files changed, 1958 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/latex/fancytooltips/README b/Master/texmf-dist/doc/latex/fancytooltips/README
new file mode 100644
index 00000000000..74b696c6c5a
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/fancytooltips/README
@@ -0,0 +1,9 @@
+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/blackpanel.tex b/Master/texmf-dist/doc/latex/fancytooltips/examples/blackpanel.tex
new file mode 100644
index 00000000000..e29da914575
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/fancytooltips/examples/blackpanel.tex
@@ -0,0 +1,26 @@
+\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-min.pdf b/Master/texmf-dist/doc/latex/fancytooltips/examples/example-min.pdf
new file mode 100644
index 00000000000..aa676e6bb0a
--- /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
new file mode 100644
index 00000000000..e25741d0ce1
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/fancytooltips/examples/example-min.tex
@@ -0,0 +1,36 @@
+\documentclass{article}
+
+\usepackage[a5paper,landscape]{geometry}
+
+\usepackage{color}
+\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 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{derivative}{derivace}.
+
+This is a geometric \tooltipanim{idea}{3}{27} which is behind the
+definition of derivative.
+
+
+\newpage
+page 2 \TooltipHidden
+
+\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..e9fafae7606
--- /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
new file mode 100644
index 00000000000..098c0e77770
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/fancytooltips/examples/example.tex
@@ -0,0 +1,138 @@
+\documentclass{article}
+
+\usepackage[screen,panelright]{pdfscreen}
+
+\usepackage[pdftex]{eforms}
+
+\usepackage[filename=tooltipy]{fancytooltips}
+
+% \buttontipwidth=3in
+% \buttontipheight=3in
+% \def\delayinterval{50}
+% \def\TooltipExtratext{}
+% \definecolor{tooltipcolor}{rgb}{1,0,0}
+
+\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}}\\
+}
+
+\makeatother
+
+
+\let\rmdefault\sfdefault
+
+
+\usepackage{amsmath}
+\usepackage[shadein]{shadethm}
+
+\newshadetheorem{definice}{Definice}
+
+\usepackage{graphicx}
+
+\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 first links are tooltips, the third one is animated tooltip.
+ have a fun
+\end{itemize}
+\begin{definice}
+ This is definition of \tooltip{rank}{hodnost}. bla bla bla.
+\end{definice}
+
+
+\begin{definice}
+ This is definition of \tooltip{derivative}{derivace}.
+\end{definice}
+
+This is a geometric \tooltipanim{idea}{3}{27} which is behind the definition of derivative.
+
+\newpage
+Page 2
+
+Here we speak more about \tooltip{rank}{hodnost}
+\newpage
+Page 3
+\TooltipHidden
+\end{document}
diff --git a/Master/texmf-dist/doc/latex/fancytooltips/examples/fancytips.tex b/Master/texmf-dist/doc/latex/fancytooltips/examples/fancytips.tex
new file mode 100644
index 00000000000..ba438bfb5b7
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/fancytooltips/examples/fancytips.tex
@@ -0,0 +1,2 @@
+\tooltipname{derivace}{1}
+\tooltipname{hodnost}{2}
diff --git a/Master/texmf-dist/doc/latex/fancytooltips/examples/logomu.pdf b/Master/texmf-dist/doc/latex/fancytooltips/examples/logomu.pdf
new file mode 100644
index 00000000000..1f67464d89e
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/fancytooltips/examples/logomu.pdf
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
new file mode 100644
index 00000000000..c2f6e86497d
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/fancytooltips/examples/pdfscreen.cfg
@@ -0,0 +1,42 @@
+\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/tecna2.pdf b/Master/texmf-dist/doc/latex/fancytooltips/examples/tecna2.pdf
new file mode 100644
index 00000000000..b4f69baa0f8
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/fancytooltips/examples/tecna2.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/fancytooltips/examples/tooltipy.pdf b/Master/texmf-dist/doc/latex/fancytooltips/examples/tooltipy.pdf
new file mode 100644
index 00000000000..0b1009d2759
--- /dev/null
+++ 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
new file mode 100644
index 00000000000..3fff46ebb60
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/fancytooltips/examples/tooltipy.tex
@@ -0,0 +1,75 @@
+\documentclass{article}
+% \usepackage[czech]{babel}
+% \usepackage[IL2]{fontenc}
+
+\usepackage[createtips]{fancytooltips}
+
+\usepackage{fancybox}
+\parindent 0 pt
+
+\usepackage{color}
+\definecolor{gray}{rgb}{0.8, 0.8, 0.8}
+\definecolor{lightblue}{rgb}{0.7, 0.7, 1}
+\definecolor{lightgreen}{rgb}{0.7, 1, 0.7}
+
+\usepackage{multido,graphicx}
+\usepackage[papersize={5in,5in},margin=1pt]{geometry}
+\long\def\stranka#1#2{
+ \begin{flushright}
+\fboxsep 0 pt
+\color{red}
+\shadowbox{{\fboxsep 4pt\colorbox{yellow}
+ {\begin{minipage}{0.5\linewidth}
+ \color{black}#2
+ \end{minipage}}}}
+ \end{flushright}
+\keytip{#1}
+ \newpage
+}
+
+\def\definice#1{
+ \begin{center}
+ \colorbox{gray}{\begin{minipage}{0.9\linewidth} #1
+ \end{minipage}}
+ \end{center}
+}
+\def\vyuziti#1{
+ \begin{center}
+ \colorbox{lightblue}{\begin{minipage}{0.9\linewidth} #1
+ \end{minipage}}
+ \end{center}
+}
+\def\vypocet#1{
+ \begin{center}
+ \colorbox{lightgreen}{\begin{minipage}{0.9\linewidth} #1
+ \end{minipage}}
+ \end{center}
+}
+
+
+\begin{document}
+
+\stranka{derivace}{ \definice{The \textbf{derivative} is the limit
+ $$\lim_{h\to0}\frac{f(x+h)-f(x)}h,$$ if this limit exists as a finite number.} \vyuziti{ The derivative
+ has important applications in physics as a rate of change and as a
+ 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.}}
+
+
+
+\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}
+\newpage}
+
+
+\multido{\i=1+1}{25}{\obrazek{\i}}
+
+\end{document}
diff --git a/Master/texmf-dist/doc/latex/fancytooltips/fancytooltips.pdf b/Master/texmf-dist/doc/latex/fancytooltips/fancytooltips.pdf
new file mode 100644
index 00000000000..6ab1af60d9c
--- /dev/null
+++ 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
new file mode 100644
index 00000000000..8e70df560d8
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/fancytooltips/fancytooltipsmark.eps
@@ -0,0 +1,553 @@
+%!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
new file mode 100644
index 00000000000..367156ff3e7
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/fancytooltips/fancytooltipsmark.pdf
@@ -0,0 +1,192 @@
+%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
new file mode 100644
index 00000000000..feb1643ce5e
--- /dev/null
+++ 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
new file mode 100644
index 00000000000..8df3daa088b
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/fancytooltips/tip.tex
@@ -0,0 +1,29 @@
+\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}
+\newpage
+}
+\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}
+
+\end{document}
diff --git a/Master/texmf-dist/source/latex/fancytooltips/fancytooltips.dtx b/Master/texmf-dist/source/latex/fancytooltips/fancytooltips.dtx
new file mode 100644
index 00000000000..1738def53a6
--- /dev/null
+++ b/Master/texmf-dist/source/latex/fancytooltips/fancytooltips.dtx
@@ -0,0 +1,474 @@
+% \iffalse meta-comment
+%
+% Copyright (C) 2004 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
+% of this license or (at your option) any later version.
+% The latest version of this license is in:
+%
+% http://www.latex-project.org/lppl.txt
+%
+% and version 1.2 or later is part of all distributions of LaTeX
+% version 1999/12/01 or later.
+%
+% \fi
+%
+% \iffalse
+%<*driver>
+\ProvidesFile{fancytooltips.dtx}
+%</driver>
+%<package>\NeedsTeXFormat{LaTeX2e}[1999/12/01]
+%<package>\ProvidesPackage{fancytooltips}
+%<*package>
+ [2007/02/20 v1.1 fancytooltips.dtx file]
+%</package>
+%
+%<*driver>
+\documentclass{ltxdoc}
+\EnableCrossrefs
+\CodelineIndex
+\RecordChanges
+\usepackage[pdftex]{eforms}
+\usepackage[pdftex]{color}
+\usepackage[filename=tip]{fancytooltips}
+\buttontipwidth=2cm
+\buttontipheight=2cm
+\begin{document}
+\color{black}
+ \DocInput{fancytooltips.dtx}
+ \PrintChanges
+ \PrintIndex
+\end{document}
+%</driver>
+% \fi
+%
+% \CheckSum{332}
+%
+% \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
+% Lower-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
+% Digits \0\1\2\3\4\5\6\7\8\9
+% Exclamation \! Double quote \" Hash (number) \#
+% Dollar \$ Percent \% Ampersand \&
+% Acute accent \' Left paren \( Right paren \)
+% Asterisk \* Plus \+ Comma \,
+% Minus \- Point \. Solidus \/
+% Colon \: Semicolon \; Less than \<
+% Equals \= Greater than \> Question mark \?
+% Commercial at \@ Left bracket \[ Backslash \\
+% Right bracket \] Circumflex \^ Underscore \_
+% Grave accent \` Left brace \{ Vertical bar \|
+% Right brace \} Tilde \~}
+%
+%
+% \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.}
+%
+% \GetFileInfo{fancytooltips.dtx}
+%
+% \DoNotIndex{\newcommand,\newenvironment}
+%
+%
+% \title{The \textsf{fancytooltips} package\thanks{This document
+% corresponds to \textsf{fancytooltips}~\fileversion, dated \filedate.}}
+% \author{Robert Marik \\ \texttt{marik@mendelu.cz}}
+%
+% \maketitle
+%
+% \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
+% 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 buttons are created using |eforms.sty| which is a part of
+% AcroTeX bundle.
+%
+% \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\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
+% 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 input either |color| or |xcolor| package in the
+% preamble.
+% \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.)
+%
+% 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{\tooltip} The user can put the tooltip into her or
+% his presentation using the command
+% \texttt{\string\tooltip}{\marg{stuff}\marg{keyword-or-pagenumber}}
+% where \meta{stuff} is the printed text in \meta{tooltipcolor} color
+% and \meta{keyword-or-pagenumber} is either the pagenumber of the
+% tooltip in the external file or the keyword defined by |\keytip|
+% command. \DescribeMacro{\TooltipExtratext} The printed text
+% \meta{stuff} is followed by |\TooltipExtratext| command. The default
+% 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.
+%
+% \DescribeMacro{\tooltipanim} The user can put a series (animation) of
+% tooltips into the presentation by using
+% \texttt{\string\tooltipanim}\marg{stuff}\marg{start}\marg{end}
+% command, where \meta{start} and \meta{end} are keywords defined by
+% |\keytip| command or page numbers. \DescribeMacro{\delayinterval}
+% The delay between two frames is |\delayinterval| milliseconds. The
+% default value is 200, you can change it by command
+% |\def\delayinterval{100}|.
+% \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
+% 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.
+%
+% \StopEventually{}
+%
+% \section{Implementation}
+% \begin{macrocode}
+%<*package>
+\RequirePackage{everyshi}
+\RequirePackage{graphicx}
+\RequirePackage{xkeyval}
+
+\newif\ifcreatetips\createtipsfalse
+\DeclareOptionX{createtips}{\createtipstrue}
+
+\newif\ifTooltip@usepdftex\Tooltip@usepdftextrue
+\DeclareOptionX{dvips}{\Tooltip@usepdftexfalse}
+
+\newif\ifextratext\extratexttrue
+\DeclareOptionX{noextratext}{\extratextfalse}
+
+\DeclareOptionX{filename}{\xdef\TooltipFilename{#1}}
+\DeclareOptionX{pages}{\xdef\TooltipPages{#1}}
+
+\ProcessOptionsX
+
+\ifx\TooltipFilename\undefined
+\PackageWarning{fancytooltips}{** The filename with tooltips is not given. **}
+\fi
+
+\ifTooltip@usepdftex
+\def\TooltipExtratext{\hbox to 0 pt{\smash
+ {\raisebox{0.5em}{\includegraphics[width=1em]%
+ {fancytooltipsmark.pdf}}}\hss}}
+\else
+\def\TooltipExtratext{\hbox to 0 pt{\smash
+ {\raisebox{0.5em}{\includegraphics[width=1em]%
+ {fancytooltipsmark.eps}}}\hss}}
+\fi%\ifTooltip@usepdftex
+\ifextratext\else\let\TooltipExtratext\relax\fi
+
+\ifcreatetips
+% \end{macrocode}
+% This part (three lines) is processed if the option |createtips| is
+% used. In the opposite case we process the second part, up to the end
+% of the package.
+% \begin{macrocode}
+\newwrite\tipfile
+\immediate\openout\tipfile fancytips.tex
+\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.
+% \begin{macrocode}
+\ifTooltip@usepdftex\else
+\ifx\everyeqIcon\undefined
+\newcommand\everyeqIcon[1]{\def\every@eqIcon{#1}}
+\def\every@eqIcon{}
+\newcommand\eqIcon[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}
+ \CA{}\RC{}\AC{}\BC{}\BG{}\H{B}
+ \textColor{0 g}\Ff{\FfReadOnly}
+}
+\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
+% \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.
+% \begin{macrocode}
+\definecolor{tooltipcolor}{rgb}{0,0,1}
+\def\tooltip#1#2{\checkTipNumber{#2}%
+ \edef\TipNumber{\FindTipNumber{#2}}%
+ \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;
+ try {app.clearInterval(animace);}catch (e) {}
+ this.getField('ikona').buttonSetIcon(this.getField("animtiph\TipNumber").buttonGetIcon());}}]
+ {TooltipField}{\wd0}{\ht0}}
+\def\delayinterval{200}
+\def\tooltipanim#1#2#3{%
+ \checkTipNumber{#2}\edef\TipNumberA{\FindTipNumber{#2}}%
+ \checkTipNumber{#3}\edef\TipNumberB{\FindTipNumber{#3}}%
+ \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);
+ }
+ }}
+ }
+ \A{\JS{
+ try {app.clearInterval(animace);}catch (e) {}
+ var cislo=\TipNumberA;
+ function animuj()
+ {
+ if (cislo<\TipNumberB) cislo=cislo+1;
+ this.getField('ikona').buttonSetIcon(this.getField("animtiph"+cislo).buttonGetIcon());
+ };
+ this.getField('ikona').buttonSetIcon(this.getField("animtiph"+\TipNumberA).buttonGetIcon());
+ this.getField("ikona").hidden=false;
+ animace=app.setInterval('animuj();', \delayinterval);
+ }}
+ ]{TooltipField}{\wd0}{\ht0}}
+% \end{macrocode}
+% This code for |pdftex| closes tooltip if the page is closed.
+% \begin{macrocode}
+\ifTooltip@usepdftex
+\def\TooltipPageopencloseJS{ \global\pdfpageattr{%
+ /AA << /O << /S /JavaScript /JS (CloseTooltips();) >> >>}%
+}
+\pdfximage{\TooltipFilename.pdf}%
+\edef\TooltipPages{\the\pdflastximagepages}%
+\else
+\def\TooltipPageopencloseJS{
+\literalps@out{%
+ [ {ThisPage} << /AA <<
+ /O << /S /JavaScript /JS (CloseTooltips();) >>
+ >> >> /PUT pdfmark}}
+\OpenAction{/S /JavaScript /JS (CloseTooltips();)}
+\fi%\ifTooltip@usepdftex
+\EveryShipout{\TooltipPageopencloseJS}%
+
+\ifTooltip@usepdftex
+\begin{insDLJS}[clearTooltips]{Tooltipsdljs}{My Private DLJS for Tooltips}
+ var animace;
+ function CloseTooltips()
+ {
+ this.getField("ikona").hidden=true;
+ try {app.clearInterval(animace);}catch (e) {}
+ }
+\end{insDLJS}
+\else
+\begin{insDLJS}[clearTooltips]{Tooltipsdljs}{My Private DLJS for Tooltips}
+ var animace;
+ function CloseTooltips()
+ {
+ this.getField("ikona").hidden=true;
+ try {app.clearInterval(animace);}catch (e) {}
+ }
+ function ImportTooltips()
+ {
+ for (var i=1;i<=\TooltipPages;i++)
+ {this.getField("animtiph"+i).buttonImportIcon("\TooltipFilename.pdf",(i-1));}
+ return(1);
+ }
+\end{insDLJS}
+\fi
+% \end{macrocode}
+% A cycle is used to create hidden buttons. Each button has associated a page
+% from the file with tooltips as icon. These icons are invoked by JavaScripts
+% defined in |\tooltip| and |\tooltipanim| macros.
+% \begin{macrocode}
+\newcount\tooltip@count
+\ifTooltip@usepdftex
+\newcommand*{\TooltipHidden}{%
+ \count@=0
+ \@whilenum\count@<\TooltipPages \do{%
+ \tooltip@count=\count@
+ \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{
+ /Subtype /Widget
+ /F 6
+ /T (animtiph\the\tooltip@count)
+ /FT /Btn
+ /Ff 65536
+ /H /N
+ /BS << /W 1 /S /S >>
+ /MK <<
+ /TP 1
+ /I \the\pdflastximage\space 0 R
+ /IF << /SW /A >>
+ >>
+ }%
+ \pdfendlink}%
+ \egroup
+ \advance\count@\@ne}%
+}
+\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}%
+}
+\fi
+% \end{macrocode}
+% The keywords for the tooltips can be stored in the file
+% |fancytips.tex|. The topics in this file are created by |\keytip|
+% macro (see the first part of the code).
+% \begin{macrocode}
+\AtBeginDocument{\IfFileExists{fancytips.tex}{\input{fancytips.tex}
+\PackageInfo{fancytooltips}{Inputting fancytips.tex.}}%
+ {\PackageWarning{fancytooltips}{No file fancytips.tex!
+ Your keywords for tooltips will not work!}}}
+
+\def\tooltipname#1#2{\expandafter\xdef\csname FancyToolTip@#1\endcsname{#2}}
+
+\def\FindTipNumber#1{\expandafter\ifx \csname FancyToolTip@#1\endcsname\relax
+ #1\else\csname FancyToolTip@#1\endcsname\fi}
+
+\def\checkTipNumber#1{\expandafter\ifx
+ \csname FancyToolTip@#1\endcsname\relax \PackageWarning{fancytooltips}{No
+ framenumber is assigned to keyword #1. I assume that #1 is the
+ number of the frame.}%
+ \fi}
+
+\fi
+%</package>
+% \end{macrocode}
+%
+% \Finale
+\endinput
diff --git a/Master/texmf-dist/source/latex/fancytooltips/fancytooltips.ins b/Master/texmf-dist/source/latex/fancytooltips/fancytooltips.ins
new file mode 100644
index 00000000000..4559bb89318
--- /dev/null
+++ b/Master/texmf-dist/source/latex/fancytooltips/fancytooltips.ins
@@ -0,0 +1,58 @@
+%%
+%% Copyright (C) 2007 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 of this license
+%% or (at your option) any later version. The latest version of this
+%% license is in:
+%%
+%% http://www.latex-project.org/lppl.txt
+%%
+%% and version 1.2 or later is part of all distributions of LaTeX version
+%% 1999/12/01 or later.
+%%
+
+\input docstrip.tex
+\keepsilent
+
+\usedir{tex/latex/fancytooltips}
+
+\preamble
+
+This is a generated file.
+
+Copyright (C) 2007 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 of this license
+or (at your option) any later version. The latest version of this
+license is in:
+
+ http://www.latex-project.org/lppl.txt
+
+and version 1.2 or later is part of all distributions of LaTeX version
+1999/12/01 or later.
+
+\endpreamble
+
+\generate{\file{fancytooltips.sty}{\from{fancytooltips.dtx}{package}}
+}
+
+\obeyspaces
+\Msg{*************************************************************}
+\Msg{* *}
+\Msg{* To finish the installation you have to move the following *}
+\Msg{* files into a directory searched by TeX: *}
+\Msg{* *}
+\Msg{* fancytooltips.sty *}
+\Msg{* fancytooltipsmark.pdf *}
+\Msg{* fancytooltipsmark.eps *}
+\Msg{* *}
+\Msg{* To produce the documentation run the file *}
+\Msg{* fancytooltips.dtx through LaTeX. *}
+\Msg{* *}
+\Msg{* Happy TeXing! *}
+\Msg{* *}
+\Msg{*************************************************************}
+
+\endbatchfile
diff --git a/Master/texmf-dist/tex/latex/fancytooltips/fancytooltips.sty b/Master/texmf-dist/tex/latex/fancytooltips/fancytooltips.sty
new file mode 100644
index 00000000000..63e25d98e78
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/fancytooltips/fancytooltips.sty
@@ -0,0 +1,255 @@
+%%
+%% This is file `fancytooltips.sty',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% fancytooltips.dtx (with options: `package')
+%%
+%% This is a generated file.
+%%
+%% Copyright (C) 2007 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 of this license
+%% or (at your option) any later version. The latest version of this
+%% license is in:
+%%
+%% http://www.latex-project.org/lppl.txt
+%%
+%% and version 1.2 or later is part of all distributions of LaTeX version
+%% 1999/12/01 or later.
+%%
+\NeedsTeXFormat{LaTeX2e}[1999/12/01]
+\ProvidesPackage{fancytooltips}
+ [2007/02/20 v1.1 fancytooltips.dtx file]
+\RequirePackage{everyshi}
+\RequirePackage{graphicx}
+\RequirePackage{xkeyval}
+
+\newif\ifcreatetips\createtipsfalse
+\DeclareOptionX{createtips}{\createtipstrue}
+
+\newif\ifTooltip@usepdftex\Tooltip@usepdftextrue
+\DeclareOptionX{dvips}{\Tooltip@usepdftexfalse}
+
+\newif\ifextratext\extratexttrue
+\DeclareOptionX{noextratext}{\extratextfalse}
+
+\DeclareOptionX{filename}{\xdef\TooltipFilename{#1}}
+\DeclareOptionX{pages}{\xdef\TooltipPages{#1}}
+
+\ProcessOptionsX
+
+\ifx\TooltipFilename\undefined
+\PackageWarning{fancytooltips}{** The filename with tooltips is not given. **}
+\fi
+
+\ifTooltip@usepdftex
+\def\TooltipExtratext{\hbox to 0 pt{\smash
+ {\raisebox{0.5em}{\includegraphics[width=1em]%
+ {fancytooltipsmark.pdf}}}\hss}}
+\else
+\def\TooltipExtratext{\hbox to 0 pt{\smash
+ {\raisebox{0.5em}{\includegraphics[width=1em]%
+ {fancytooltipsmark.eps}}}\hss}}
+\fi%\ifTooltip@usepdftex
+\ifextratext\else\let\TooltipExtratext\relax\fi
+
+\ifcreatetips
+\newwrite\tipfile
+\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}}
+\def\every@eqIcon{}
+\newcommand\eqIcon[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}
+ \CA{}\RC{}\AC{}\BC{}\BG{}\H{B}
+ \textColor{0 g}\Ff{\FfReadOnly}
+}
+\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
+\definecolor{tooltipcolor}{rgb}{0,0,1}
+\def\tooltip#1#2{\checkTipNumber{#2}%
+ \edef\TipNumber{\FindTipNumber{#2}}%
+ \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;
+ try {app.clearInterval(animace);}catch (e) {}
+ this.getField('ikona').buttonSetIcon(this.getField("animtiph\TipNumber").buttonGetIcon());}}]
+ {TooltipField}{\wd0}{\ht0}}
+\def\delayinterval{200}
+\def\tooltipanim#1#2#3{%
+ \checkTipNumber{#2}\edef\TipNumberA{\FindTipNumber{#2}}%
+ \checkTipNumber{#3}\edef\TipNumberB{\FindTipNumber{#3}}%
+ \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);
+ }
+ }}
+ }
+ \A{\JS{
+ try {app.clearInterval(animace);}catch (e) {}
+ var cislo=\TipNumberA;
+ function animuj()
+ {
+ if (cislo<\TipNumberB) cislo=cislo+1;
+ this.getField('ikona').buttonSetIcon(this.getField("animtiph"+cislo).buttonGetIcon());
+ };
+ this.getField('ikona').buttonSetIcon(this.getField("animtiph"+\TipNumberA).buttonGetIcon());
+ this.getField("ikona").hidden=false;
+ animace=app.setInterval('animuj();', \delayinterval);
+ }}
+ ]{TooltipField}{\wd0}{\ht0}}
+\ifTooltip@usepdftex
+\def\TooltipPageopencloseJS{ \global\pdfpageattr{%
+ /AA << /O << /S /JavaScript /JS (CloseTooltips();) >> >>}%
+}
+\pdfximage{\TooltipFilename.pdf}%
+\edef\TooltipPages{\the\pdflastximagepages}%
+\else
+\def\TooltipPageopencloseJS{
+\literalps@out{%
+ [ {ThisPage} << /AA <<
+ /O << /S /JavaScript /JS (CloseTooltips();) >>
+ >> >> /PUT pdfmark}}
+\OpenAction{/S /JavaScript /JS (CloseTooltips();)}
+\fi%\ifTooltip@usepdftex
+\EveryShipout{\TooltipPageopencloseJS}%
+
+\ifTooltip@usepdftex
+\begin{insDLJS}[clearTooltips]{Tooltipsdljs}{My Private DLJS for Tooltips}
+ var animace;
+ function CloseTooltips()
+ {
+ this.getField("ikona").hidden=true;
+ try {app.clearInterval(animace);}catch (e) {}
+ }
+\end{insDLJS}
+\else
+\begin{insDLJS}[clearTooltips]{Tooltipsdljs}{My Private DLJS for Tooltips}
+ var animace;
+ function CloseTooltips()
+ {
+ this.getField("ikona").hidden=true;
+ try {app.clearInterval(animace);}catch (e) {}
+ }
+ function ImportTooltips()
+ {
+ for (var i=1;i<=\TooltipPages;i++)
+ {this.getField("animtiph"+i).buttonImportIcon("\TooltipFilename.pdf",(i-1));}
+ return(1);
+ }
+\end{insDLJS}
+\fi
+\newcount\tooltip@count
+\ifTooltip@usepdftex
+\newcommand*{\TooltipHidden}{%
+ \count@=0
+ \@whilenum\count@<\TooltipPages \do{%
+ \tooltip@count=\count@
+ \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{
+ /Subtype /Widget
+ /F 6
+ /T (animtiph\the\tooltip@count)
+ /FT /Btn
+ /Ff 65536
+ /H /N
+ /BS << /W 1 /S /S >>
+ /MK <<
+ /TP 1
+ /I \the\pdflastximage\space 0 R
+ /IF << /SW /A >>
+ >>
+ }%
+ \pdfendlink}%
+ \egroup
+ \advance\count@\@ne}%
+}
+\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}%
+}
+\fi
+\AtBeginDocument{\IfFileExists{fancytips.tex}{\input{fancytips.tex}
+\PackageInfo{fancytooltips}{Inputting fancytips.tex.}}%
+ {\PackageWarning{fancytooltips}{No file fancytips.tex!
+ Your keywords for tooltips will not work!}}}
+
+\def\tooltipname#1#2{\expandafter\xdef\csname FancyToolTip@#1\endcsname{#2}}
+
+\def\FindTipNumber#1{\expandafter\ifx \csname FancyToolTip@#1\endcsname\relax
+ #1\else\csname FancyToolTip@#1\endcsname\fi}
+
+\def\checkTipNumber#1{\expandafter\ifx
+ \csname FancyToolTip@#1\endcsname\relax \PackageWarning{fancytooltips}{No
+ framenumber is assigned to keyword #1. I assume that #1 is the
+ number of the frame.}%
+ \fi}
+
+\fi
+\endinput
+%%
+%% End of file `fancytooltips.sty'.
diff --git a/Master/texmf-dist/tpm/fancytooltips.tpm b/Master/texmf-dist/tpm/fancytooltips.tpm
new file mode 100644
index 00000000000..2715bcfee15
--- /dev/null
+++ b/Master/texmf-dist/tpm/fancytooltips.tpm
@@ -0,0 +1,45 @@
+<!DOCTYPE rdf:RDF SYSTEM "../../support/tpm.dtd">
+<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:TPM="http://texlive.dante.de/">
+ <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: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:License></TPM:License>
+ <TPM:Build/>
+ <TPM:RunFiles size="9846">
+texmf-dist/tex/latex/fancytooltips/fancytooltips.sty
+texmf-dist/tpm/fancytooltips.tpm
+ </TPM:RunFiles>
+ <TPM:DocFiles size="1343156">
+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
+texmf-dist/doc/latex/fancytooltips/examples/example.pdf
+texmf-dist/doc/latex/fancytooltips/examples/example.tex
+texmf-dist/doc/latex/fancytooltips/examples/fancytips.tex
+texmf-dist/doc/latex/fancytooltips/examples/logomu.pdf
+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/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">
+texmf-dist/source/latex/fancytooltips/fancytooltips.dtx
+texmf-dist/source/latex/fancytooltips/fancytooltips.ins
+ </TPM:SourceFiles>
+ <TPM:Provides>Package/fancytooltips</TPM:Provides>
+ </rdf:Description>
+</rdf:RDF>
+
diff --git a/Master/texmf/lists/fancytooltips b/Master/texmf/lists/fancytooltips
new file mode 100644
index 00000000000..9b061f6856a
--- /dev/null
+++ b/Master/texmf/lists/fancytooltips
@@ -0,0 +1,23 @@
+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
+texmf-dist/doc/latex/fancytooltips/examples/example.pdf
+texmf-dist/doc/latex/fancytooltips/examples/example.tex
+texmf-dist/doc/latex/fancytooltips/examples/fancytips.tex
+texmf-dist/doc/latex/fancytooltips/examples/logomu.pdf
+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/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
+texmf-dist/source/latex/fancytooltips/fancytooltips.ins
+texmf-dist/tex/latex/fancytooltips/fancytooltips.sty
+texmf-dist/tpm/fancytooltips.tpm
+
+texmf/lists/fancytooltips
diff --git a/Master/texmf/tpm/collection-latexextra.tpm b/Master/texmf/tpm/collection-latexextra.tpm
index db612ac42ea..2c7a06876f3 100644
--- a/Master/texmf/tpm/collection-latexextra.tpm
+++ b/Master/texmf/tpm/collection-latexextra.tpm
@@ -159,6 +159,7 @@ A large collection of add-on packages for LaTeX.
<TPM:Package name="facsimile"/>
<TPM:Package name="fancybox"/>
<TPM:Package name="fancynum"/>
+ <TPM:Package name="fancytooltips"/>
<TPM:Package name="fax"/>
<TPM:Package name="figbib"/>
<TPM:Package name="figsize"/>