1
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
2
% javahelp.4ht 2005-03-30-23:36 %
3
% Copyright (C) 2003--2005 Eitan M. Gurari %
5
% This work may be distributed and/or modified under the %
6
% conditions of the LaTeX Project Public License, either %
7
% version 1.3 of this license or (at your option) any %
8
% later version. The latest version of this license is %
10
% http://www.latex-project.org/lppl.txt %
11
% and version 1.3 or later is part of all distributions %
12
% of LaTeX version 2003/12/01 or later. %
14
% This work has the LPPL maintenance status "maintained".%
16
% This Current Maintainer of this work %
17
% is Eitan M. Gurari. %
19
% If you modify this program your changing its signature %
20
% with a directive of the following form will be %
22
% \message{signature} %
24
% gurari@cse.ohio-state.edu %
25
% http://www.cse.ohio-state.edu/~gurari %
26
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
27
\immediate\write-1{version 2005-03-30-23:36}
29
\immediate\write-1{--------------- JavaHelp -----------------}
30
\immediate\write-1{The entry (HelpSet) file for the java program
32
\immediate\write-1{Generate a search database
33
with, for instance, the command}
34
\immediate\write-1{ java -jar
35
...../jh1.1.3/javahelp/bin/jhindexer.jar
36
-db \jobname-jhs \jobname*.html}
37
\immediate\write-1{Compile the java program with a command similar to}
38
\immediate\write-1{ javac -classpath
39
...../jh1.1.3/javahelp/lib/jh.jar program.java}
40
\immediate\write-1{Run the java program with a command similar to}
41
\immediate\write-1{ java -classpath
42
...../jh1.1.3/javahelp/lib/jh.jar;. program}
43
\immediate\write-1{JavaHelp might require a compilation for HTML 3.2,
45
\immediate\write-1{ htlatex \jobname\space "html,javahelp,3.2,3"}
46
\immediate\write-1{------------------------------------------}
56
(http://java.sun.com/products/javahelp/)\Hnewline
57
by TeX4ht (http://www.cse.ohio-state.edu/\string
58
~gurari/TeX4ht/)\Hnewline from \jobname.tex at \:today \space
60
\Configure{crosslinks}{}{}{}{}{}{}{}{}{}
61
\def\dTdLaNg{\expandafter
62
\ifx \csname a:dtd-lang\endcsname\relax EN\else
63
\csname a:dtd-lang\endcsname
68
\expandafter\append:defI\csname tableofcontents*\endcsname{%
69
\global\let\jh:toc=\auto:toc }%
72
\append:defI\@wrindex{%
73
\gHAdvance\mapEntry by 1
76
{<mapID target="indexentry-\mapEntry"
77
url="\RefFileNumber\FileNumber
78
\#\title:chs {dx\last:haddr}{\cur:th\:currentlabel}%
82
\:CheckOption{jh1.0} \if:Option
84
\def\subVersion{1\string_0}
87
\def\subVersion{2\string_0}
94
{<?xml version="1.0" encoding="ISO-8859-1" ?>\Hnewline
95
<!DOCTYPE map PUBLIC\Hnewline
96
"-//Sun Microsystems Inc.//DTD
97
JavaHelp Map Version \dotVersion//\dTdLaNg"\Hnewline
98
"http://java.sun.com/products/javahelp/map_\subVersion.dtd">
99
\Hnewline <!-- \jhNote
101
<map version="\dotVersion">\Hnewline
102
<mapID target="\jobname" url="\jobname.html"/>\Hnewline
108
\input javahelp-a.4ht