summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/generic/tex4ht/javahelp-a.4ht
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/generic/tex4ht/javahelp-a.4ht')
-rw-r--r--Master/texmf-dist/tex/generic/tex4ht/javahelp-a.4ht246
1 files changed, 246 insertions, 0 deletions
diff --git a/Master/texmf-dist/tex/generic/tex4ht/javahelp-a.4ht b/Master/texmf-dist/tex/generic/tex4ht/javahelp-a.4ht
new file mode 100644
index 00000000000..3551c0f77f2
--- /dev/null
+++ b/Master/texmf-dist/tex/generic/tex4ht/javahelp-a.4ht
@@ -0,0 +1,246 @@
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% javahelp-a.4ht 2005-03-30-23:36 %
+% Copyright (C) 2003--2005 Eitan M. Gurari %
+% %
+% This work may be distributed and/or modified under the %
+% conditions of the LaTeX Project Public License, either %
+% version 1.3 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.3 or later is part of all distributions %
+% of LaTeX version 2003/12/01 or later. %
+% %
+% This work has the LPPL maintenance status "maintained".%
+% %
+% This Current Maintainer of this work %
+% is Eitan M. Gurari. %
+% %
+% If you modify this program your changing its signature %
+% with a directive of the following form will be %
+% appreciated. %
+% \message{signature} %
+% %
+% gurari@cse.ohio-state.edu %
+% http://www.cse.ohio-state.edu/~gurari %
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+\immediate\write-1{version 2005-03-30-23:36}
+
+\NextFile{\jobname.tmp}
+\HPage{}
+\bgroup
+ \catcode`\:=11
+ \catcode`\@=11
+ \catcode`\"=12
+ \Configure{PROLOG}{}
+ \Configure{HtmlPar}{}{}{}{}
+ \Configure{tableofcontents}{}{}{}{}{}
+ \Configure{htf}{0}{+}{}{}{}{}{}{}{}
+ \ScriptEnv{dito}{\IgnorePar}{}
+ \def\set:endtocitem#1{%
+ \csname catchAt:#1\endcsname
+ \expandafter\ifx\csname a:end#1\endcsname\relax
+ \HCode{</tocitem>}%
+ \else
+ \expandafter\ifx \csname jh:#1\endcsname\relax
+ \append:def\end:jhhook{%
+ \csname jh:#1\endcsname
+ \expandafter\global\expandafter
+ \let\csname jh:#1\endcsname\:UnDef}%
+\global\let\end:jhhook\end:jhhook
+%
+ \def\:tempc##1,{\if ,##1,%
+ \expandafter\gob:pardel
+ \else
+ \expandafter\ifx \csname catchAt:##1\endcsname \relax
+ \expandafter\gdef\csname
+ catchAt:##1\endcsname{\csname jh:#1\endcsname}%
+\else
+ \expandafter\pend:def\csname
+ catchAt:##1\endcsname{\csname jh:#1\endcsname}%
+ \expandafter\global\expandafter\let\csname
+ catchAt:##1\expandafter\endcsname\csname catchAt:##1\endcsname
+\fi
+%
+ \expandafter\:tempc
+ \fi}%
+ \expandafter\expandafter\expandafter
+ \:tempc\csname a:end#1\endcsname,,!*?: %
+ \fi
+ \csname jh:#1\endcsname
+\expandafter\gdef\csname jh:#1\endcsname{%
+ \expandafter\global\expandafter\let\csname jh:#1\endcsname=\empty
+ \HCode{</tocitem><!--/#1-->}}%
+%
+ \fi
+}
+\def\gob:pardel#1!*?: {}
+
+ \edef\tocLabel{\ifx\contentsname\:UnDef Table Of Contents\else
+ \ifx\contentsname\empty Table Of Contents\else
+ \contentsname\fi\fi}
+\edef\indexLabel{\ifx\indexname\:UnDef Index\else
+ \ifx\indexname\empty Index\else \indexname\fi\fi}
+\ifTag{TITLE+}
+ {\edef\titleLabel{\LikeRef{TITLE+}}}
+ {\def\titleLabel{\jobname}}
+
+\IgnorePar\par\leavevmode\special{t4ht>\jobname.hs}%
+\begin{dito}-\
+<?xml version="1.0" encoding="ISO-8859-1" ?>
+\end{dito}
+\begin{dito}-\
+ <!DOCTYPE helpset PUBLIC
+ "-//Sun Microsystems Inc.//DTD JavaHelp HelpSet Version \dotVersion//\dTdLaNg"
+ "http://java.sun.com/products/javahelp/helpset_\subVersion.dtd">
+\end{dito}
+
+\begin{dito}-\
+<!-\relax- \jhNote
+ -\relax->
+<helpset version="\dotVersion">
+ <title>\titleLabel</title>
+ <maps>
+ <homeID>\jobname</homeID>
+ <mapref location="\jobname.jhm"/>
+ </maps>
+ <view>
+ <name>TOC</name>
+ <label>\tocLabel</label>
+ <type>javax.help.TOCView</type>
+ <data>\jobname-jht.xml</data>
+ </view>
+ <view>
+ <name>Index</name>
+ <label>\indexLabel</label>
+ <type>javax.help.IndexView</type>
+ <data>\jobname-jhi.xml</data>
+ </view>
+ <view>
+ <name>Search</name>
+ <label>Search</label>
+ <type>javax.help.SearchView</type>
+ <data
+ engine="com.sun.java.help.search.DefaultSearchEngine">\jobname-jhs</data>
+ </view>
+</helpset>
+\end{dito}
+\IgnorePar\par\leavevmode\special{t4ht<\jobname.hs}
+
+ \bgroup
+\Configure{TocLink}
+ {\HCode{<tocitem target="\sectioningKey-\TocCount"\Hnewline\space
+ text="}#4\HCode{ ">\Hnewline}}
+\let\jh:doTocEntry\:doTocEntry
+\def\:doTocEntry#1{%
+ \edef\sectioningKey{\expandafter\gob:IV\string#1}%
+ \edef\:temp{\noexpand\ConfigureToc{\sectioningKey}
+ {}{\noexpand\set:endtocitem{\sectioningKey}}{}{}}\:temp
+ \jh:doTocEntry#1}
+\def\gob:IV#1#2#3#4{}
+\def\sectioningKey{NoToc}
+
+\IgnorePar\par\leavevmode\special{t4ht>\jobname-jht.xml}%
+\begin{dito}-\
+<?xml version="1.0" encoding="ISO-8859-1" ?>
+\end{dito}
+\begin{dito}-\
+ <!DOCTYPE toc PUBLIC
+ "-//Sun Microsystems Inc.//DTD JavaHelp TOC Version \dotVersion//\dTdLaNg"
+ "http://java.sun.com/products/javahelp/toc_\subVersion.dtd">
+\end{dito}
+
+\begin{dito}-\
+<!-\relax- \jhNote
+ -\relax->
+<toc version="\dotVersion">
+ <tocitem target="\jobname" text="\titleLabel ">
+\end{dito}
+\let\end:jhhook=\empty
+\catcode`\:=12 \catcode`\@=12 \let\contentsname\empty
+
+ \expandafter\ifx \csname jh:toc\endcsname\relax
+ \tableofcontents
+\else
+ \expandafter\expandafter\expandafter\tableofcontents
+ \expandafter\expandafter\expandafter[\csname
+ jh:toc\endcsname]%
+\fi
+%
+\catcode`\:=11 \catcode`\@=11
+\end:jhhook
+\begin{dito}
+ </tocitem>
+</toc>
+\end{dito}
+\special{t4ht<\jobname-jht.xml}
+
+\egroup
+
+ \bgroup
+
+\IgnorePar\par\leavevmode\special{t4ht>\jobname-jhi.xml}%
+\begin{dito}-\
+<?xml version="1.0" encoding="ISO-8859-1" ?>
+\end{dito}
+\begin{dito}-\
+ <!DOCTYPE index PUBLIC
+ "-//Sun Microsystems Inc.//DTD JavaHelp Index Version \dotVersion//\dTdLaNg"
+ "http://java.sun.com/products/javahelp/index_\subVersion.dtd">
+\end{dito}
+
+\begin{dito}-\
+<!-\relax- \jhNote
+ -\relax->
+<index version="\dotVersion">
+\end{dito}
+
+ \def\beforeindex#1|LNK#2#3{#1}%
+\def\indexentry#1#2{\HCode{<indexitem target="indexentry-#2"
+ text="}\beforeindex#1\HCode{ " />\Hnewline}}%
+\immediate\openin15=\jobname.4dx
+\ifeof15
+ \immediate\closein15
+\else
+ \immediate\closein15
+ \input \jobname.4dx
+\fi
+%
+\begin{dito}
+</index>
+\end{dito}
+\special{t4ht<\jobname-jhi.xml}%
+
+\egroup
+
+ \special{t4ht>\jobname.jhm}%
+\bgroup
+ \Configure{Link}{mapID}{target="\sectioningKey-\TocCount" url=}{}{}
+\Configure{TocLink}{\Link{#2}{}\EndLink}
+\let\jh:doTocEntry\:doTocEntry
+\def\:doTocEntry#1{%
+ \edef\sectioningKey{\expandafter\gob:IV\string#1}%
+ \edef\:temp{\noexpand\ConfigureToc{\sectioningKey}
+ {}{\relax}{}{}}\:temp
+ \jh:doTocEntry#1}
+\def\gob:IV#1#2#3#4{}
+\def\sectioningKey{NoToc}
+
+ \bgroup \catcode`\:=12 \catcode`\@=12 \let\contentsname\empty
+ \expandafter\ifx \csname jh:toc\endcsname\relax
+ \tableofcontents
+\else
+ \expandafter\expandafter\expandafter\tableofcontents
+ \expandafter\expandafter\expandafter[\csname
+ jh:toc\endcsname]%
+\fi
+%
+ \egroup
+ \HCode {</map>\Hnewline}
+\egroup
+\special{t4ht*>\jobname.jhm}%
+\special{t4ht*>}%
+
+\egroup
+\EndHPage{}
+