Debian Codegraph @

texmf-dist/source/generic/tex4ht/tex4ht-info-javahelp.tex

raw
1 % $Id: tex4ht-info-javahelp.tex 237 2017-01-29 18:20:42Z karl $
2 % compile 3 times: latex tex4ht-info-javahelp
3 % or htlatex tex4ht-info-javahelp "html,sections+"
4 % or ht latex tex4ht-info
5 %
6 % Copyright 2009-2017 TeX Users Group
7 % Copyright 2006--2009 Eitan M. Gurari
8 % Released under LPPL 1.3c+.
9 % See tex4ht-cpright.tex for license text.
10
11 \ifx \HTML\UnDef
12 \def\HTML{infojh}
13 \def\CONFIG{\jobname}
14 \def\MAKETITLE{\author{Eitan M. Gurari}}
15 \def\next{\input mktex4ht.4ht \endinput}
16 \expandafter\next
17 \fi
18
19
20 \input{common-info}
21 \input{common}
22
23
24 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
25 \chapter{INFO}
26 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
27
28
29 \<infojh\><<<
30 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
31 % infojh.4ht |version %
32 % Copyright (C) |CopyYear.2000. Eitan M. Gurari %
33 % %
34 % This program can redistributed and/or modified under %
35 % the terms of the LaTeX Project Public License %
36 % Distributed from CTAN archives in directory %
37 % macros/latex/base/lppl.txt; either version 1 of the %
38 % License, or (at your option) any later version. %
39 % %
40 % If you modify this program your changing its signature %
41 % with a directive of the following form will be %
42 % appreciated. %
43 % \message{signature} %
44 % %
45 % [email protected] %
46 % http://www.cse.ohio-state.edu/~gurari %
47 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
48 \immediate\write-1{version |version}
49 { \catcode`\@=0 \catcode`\\=11 @relax
50 @gdef@infoIVht[#1]#2//{%
51 @ifnum #1>1
52 @def@infoIVht[##1]##2//{%
53 @ifnum ##1>1 @ifnum ##1<#1
54 @bgroup
55 @no:catcodes0{255}{11}%
56 @no:catcodes{91}{91}{12}% [
57 @no:catcodes{47}{47}{12}% /
58 @newlinechar13 %
59 @long@def@infoIVht####1\ifx\infoIVht####2infoIVht[####3//{%
60 @def@infoIVht{******************************************}%
61 @immediate@write-1{@infoIVht}%
62 @immediate@write-1{****** @csname :[email protected]}%
63 @immediate@write-1{@infoIVht}%
64 @bgroup
65 @def@infoIVht{~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*}%
66 @let~=@space @immediate@write-1{@infoIVht}%
67 @egroup
68 @immediate@write-1{####1}%
69 @bgroup
70 @def@infoIVht{~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*}%
71 @let~=@space @immediate@write-1{@infoIVht}%
72 @egroup
73 @immediate@write-1{@infoIVht}%
74 @egroup}%
75 @expandafter@expandafter@expandafter@infoIVht
76 @fi@fi }%
77 @fi }
78 }
79 >>>
80
81
82
83
84
85
86
87 \chapter{The Code}
88
89 \section{tex4ht}
90
91 \<configure infojh tex4ht\><<<
92 \Configure{mapIdTarget}....................2
93
94 #1 target
95 #2 definitions
96
97 Given: \sectionType, \sectionId, \sectionName
98
99 Examples:
100
101 \Configure{mapIdTarget}
102 {\sectionName}
103 {}
104
105 \Configure{mapIdTarget}
106 {\spacelessName}
107 {\immediate\openout15=\jobname .tmp
108 \immediate\write15{\def\string\spacelessName{\sectionName}}%
109 \immediate\closeout15
110 \catcode`\ =9
111 \input \jobname .tmp
112 \catcode`\ =10
113 }
114 >>>
115
116
117
118
119
120
121 \endinput
122
123