diff options
Diffstat (limited to 'Master/texmf-dist/tex/generic/tex4ht/javahelp-a.4ht')
-rw-r--r-- | Master/texmf-dist/tex/generic/tex4ht/javahelp-a.4ht | 28 |
1 files changed, 20 insertions, 8 deletions
diff --git a/Master/texmf-dist/tex/generic/tex4ht/javahelp-a.4ht b/Master/texmf-dist/tex/generic/tex4ht/javahelp-a.4ht index 6b6d9200d04..f00ff97d081 100644 --- a/Master/texmf-dist/tex/generic/tex4ht/javahelp-a.4ht +++ b/Master/texmf-dist/tex/generic/tex4ht/javahelp-a.4ht @@ -1,5 +1,5 @@ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% -% javahelp-a.4ht 2008-07-05-09:27 % +% javahelp-a.4ht 2008-07-23-00:03 % % Copyright (C) 2003--2008 Eitan M. Gurari % % % % This work may be distributed and/or modified under the % @@ -24,7 +24,7 @@ % gurari@cse.ohio-state.edu % % http://www.cse.ohio-state.edu/~gurari % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% -\immediate\write-1{version 2008-07-05-09:27} +\immediate\write-1{version 2008-07-23-00:03} \NextFile{\jobname.tmp} \HPage{} @@ -37,6 +37,7 @@ \Configure{tableofcontents}{}{}{}{}{} \Configure{htf}{0}{+}{}{}{}{}{}{}{} \ScriptEnv{dito}{\IgnorePar}{} + \a:jhxml \def\set:endtocitem#1{% \csname catchAt:#1\endcsname \expandafter\ifx\csname a:end#1\endcsname\relax @@ -128,7 +129,7 @@ \IgnorePar\par\leavevmode\special{t4ht<\jobname.hs} \bgroup -\immediatetrue +%\immediatetrue \Configure{TocLink} {\HCode{<tocitem target="\a:mapIdTarget"\Hnewline text="}\hbox{#4}\HCode{ ">\Hnewline}} @@ -201,15 +202,26 @@ <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 + \let\indexname\empty +\def\gobbleLnk#1, \LNK#2#3#4#5{#1\HCode{" target="indexentry-#5"}} +\Configure{theindex} + {}{} + {\hbox\bgroup\HCode{<\string !--index-item--><indexitem + text="}\gobbleLnk} + {\HCode{/>}\egroup\hfill\break} + {\hbox\bgroup\HCode{<\string !--subex-item--><indexitem + text="}\gobbleLnk} + {\HCode{/>}\egroup\hfill\break} + {\hbox\bgroup\HCode{<\string !--subsubitem--><indexitem + text="}\gobbleLnk} + {\HCode{/>}\egroup\hfill\break} + {} +\immediate\openin15=\jobname.ind \ifeof15 \immediate\closein15 \else \immediate\closein15 - \input \jobname.4dx + \input \jobname.ind \fi % \begin{dito} |