diff options
Diffstat (limited to 'Master/texmf-dist/doc/latex/fancytooltips/examples/tex4ht/tooltips2html.tex')
-rw-r--r-- | Master/texmf-dist/doc/latex/fancytooltips/examples/tex4ht/tooltips2html.tex | 58 |
1 files changed, 0 insertions, 58 deletions
diff --git a/Master/texmf-dist/doc/latex/fancytooltips/examples/tex4ht/tooltips2html.tex b/Master/texmf-dist/doc/latex/fancytooltips/examples/tex4ht/tooltips2html.tex deleted file mode 100644 index f94558fa2f3..00000000000 --- a/Master/texmf-dist/doc/latex/fancytooltips/examples/tex4ht/tooltips2html.tex +++ /dev/null @@ -1,58 +0,0 @@ -% compile with the following command to get html: -% htlatex tooltips2html.tex "xhtml,mouseover" -% -% compile with the following command to get pdf: -% pdflatex tooltips2html.tex && pdflatex tooltips2html.tex -% - -\documentclass{article} -\usepackage{color} - -\ifx\ifHtml\undefined -\usepackage[mouseover,movetips,filename=logo]{fancytooltips} -\hypersetup{pdfborder=0 0 0} -\else -%%%%% here we define necessary macros for translatio into html -\makeatletter -\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} - -\makeatother -\newcommand\TooltipPage[2]{\relax} - -\IfFileExists{\jobname.tips}{\input{\jobname.tips}}% - {\PackageWarning{fancytooltips}{No file \jobname.tips! - Your keywords for tooltips will not work!}} - -\newcount\tipnumbercount - -\def\tooltip#1#2{\edef\TipNumber{\FindTipNumber{#2}} -\expandafter\tipnumbercount\TipNumber -\edef\temp{images/ttp-\the\tipnumbercount.jpg} -\HCode{ -<a href="javascript:void(0);" onmouseover="picturettp='<img src=\temp>'; return overlib(picturettp, FULLHTML);" onmouseout="nd();">#1</a> -} -} -%%%%%% -\fi - - -\begin{document} - -\title{Sample for conversion into html} -\author{Robert Ma\v r\'\i k} -\date{\today} -\maketitle - -This is the sample document\footnote{just to show conversion into html}. - -Here we use small \tooltip{tooltip}{logo}. -\end{document} |