summaryrefslogtreecommitdiff
path: root/support/TeX4ht/source/tex4ht-info-html4.tex
blob: 4c3859498ed2960d29308988c5b9ed413f06da92 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
% $Id: tex4ht-info-html4.tex 314 2017-05-14 18:30:18Z karl $
% compile 3 times: latex tex4ht-info-html4   
%           or   xhlatex tex4ht-info-html4 "html,3,sections+"
%
% Copyright 2009-2017 TeX Users Group
% Copyright 2000-2009 Eitan M. Gurari
% Released under LPPL 1.3c+.
% See tex4ht-cpright.tex for license text.

\ifx \HTML\UnDef
   \def\HTML{infoht4}
   \def\CONFIG{\jobname}
   \def\MAKETITLE{\author{Eitan M. Gurari}}
   \def\next{\input mktex4ht.4ht   \endinput}
   \expandafter\next
\fi

\input{common-info}
\input{common}


\expandafter\ifx \csname YES\HTML\endcsname\relax
\else
    \def\CleanComment#1tex4ht-info-html4#2#3#4.#5>#6//{[#4%     <--jobname
                  \if,\ifnum \FIRST=#6 .\else ,0\fi\fi]#6//}
\fi
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\chapter{INFO}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%


\<infoht4\><<<
% infoht4.4ht (|version), generated from |jobname.tex
% Copyright 2009-2017 TeX Users Group
% Copyright |CopyYear.2000. Eitan M. Gurari
%
% This work may be distributed and/or modified under the
% conditions of the LaTeX Project Public License, either
% version 1.3c 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.3c or later is part of all distributions
% of LaTeX version 2005/12/01 or later.
%
% This work has the LPPL maintenance status "maintained".
%
% The Current Maintainer of this work
% is the TeX4ht Project <http://tug.org/tex4ht>.
% 
% If you modify this program, changing the 
% version identification would be appreciated.
\immediate\write-1{version |version}
{          \catcode`\@=0 \catcode`\\=11 @relax
  @gdef@infoIVht[#1]#2//{%
    @ifnum #1>1
      @def@infoIVht[##1]##2//{%
        @ifnum ##1>1 @ifnum ##1<#1
           @bgroup 
             @no:catcodes0{255}{11}%
             @no:catcodes{91}{91}{12}% [
             @no:catcodes{47}{47}{12}% /
             @newlinechar13 %   
             @long@def@infoIVht####1\ifx\infoIVht####2infoIVht[####3//{%
               @def@infoIVht{******************************************}%
               @immediate@write-1{@infoIVht}%
               @immediate@write-1{****** @csname :Hin@endcsname.4ht}%
               @immediate@write-1{@infoIVht}%
               @bgroup
                @def@infoIVht{~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*}%
                @let~=@space   @immediate@write-1{@infoIVht}%
               @egroup   
               @immediate@write-1{####1}%
               @bgroup
                @def@infoIVht{~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*}%
                @let~=@space   @immediate@write-1{@infoIVht}%
               @egroup
               @immediate@write-1{@infoIVht}%
             @egroup}%
           @expandafter@expandafter@expandafter@infoIVht
     @fi@fi }%
  @fi }
}
>>>







\chapter{The Code}
                
\<configure infoht4 tex4ht\><<<
Cascade Style Sheets and Character Sets
---------------------------------------

\Configure{CssFile}.....................2

   #1  name for css file
   #2  comment in css file

\Configure{Css}

\Configure{charset}..................1
   
   #1  override information for the charset entry in the link element
       
   To be noticed, the configuration should be encountered early in the
   complation.

      Example:
   
        \Preamble{}
          \Configure{charset}{iso-8859-15}
        \begin{document} 
        \EndPreamble
   
   In the case of TeX, the configuration instruction should precede 
   the \Preamble command, and a declaration of the hook should also
   be provided.

      Example:
   
          \NewConfigure{charset}{1}
          \Configure{charset}{iso-8859-15}
        \Preamble{}
        \begin{document} 
        \EndPreamble

\Configure{dtd-lang}..................1

    #1 language specification for the DTD identifier

Paragraphs
----------

Three types of paragraphs are produced by \Configure{HtmlPar}:

   <p class="indent">....</p>
   <p class="noindent">....</p>
   <p class="nopar">....</p>

The third one handles degenerated cases which don't call for a
separate paragraph in the source code. For instance, an inline
display math code of the form

     ..........
     $$......$$
     ..........

translates into a markup similar to

     <p class="...">..........</p>
     <math>......</math>
     <p class="nopar">..........</p>

Frames
------

   May be requested with the command line option `frames'
   
   \Configure{frames}.....................2
   
      #1  The frames structure
      #2  Content for the frame of the table of contents
   
   Example:
   
      \Configure{frames}
         {\HorFrames[frameborder="no" border="0"
               framespacing="0" rows="*"]{*,3*}
           \Frame[ name="tex4ht-menu" ]{tex4ht-toc}
           \Frame[ name="tex4ht-main" ]{tex4ht-body}}
         {\let\contentsname=\empty \tableofcontents}
>>>

%%%%%%%%%%%%%%%
\section{latex}
%%%%%%%%%%%%%%%


\<configure infoht4 latex\><<<
Hypertext Title
---------------
\Configure{@HTML}.........................1

   Environment for setting \title material in <title>. The contributions
   are accumulative; an empty argument reinitializes the contribution.

Tables
------

Properties of tabular and array tables can be locally redefined with
instructions of the following forms.

   \Css{\#TBL-\TableNo-  {....}}           % within tables
   \Css{\#TBL-\TableNo-\HRow- {....}}      % within rows
   \Css{\#TBL-\TableNo-\HCol  {....}}      % within columns
   \Css{\#TBL-\TableNo-\HRow-\HCol {....}} % within cells
   \Css{\#TBL-\TableNo-<i>g  {....}}       % column group; <i> 

\Configure{enumerate}..............1
   Contribution into <ol>

>>>

%  \Configure{enumerate}{1aiA}

\>>>maketitleInfo<<<
Wrapper for the Document
------------------------

   \Tag{TITLE+}......................1

   #1  Content submitted to the <TITLE> element of the leading
       web page.

   This instruction should be used at most once in a document.
   In particular, it shouldn't be used when the \maketitle command
   is present, since the latter command invokes this feature.
>>>

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\section{book}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%





\<configure infoht4 book\><<<
Package options
---------------

   1   cut-off document into pages at the \part level
   2   cut-off document into pages at the \chapter and higher levels
   3   cut-off document into pages at the \section and higher levels
   4   cut-off document into pages at the \subsection and higher levels

       The chapter of \tableofcontents  is created only
       if \contentsname is not empty

  Macros sensitive to edef commands in sectioning titles
  should be neutralize within \Configure{@TITLE}{....}

|maketitleInfo
>>>


\section{report}

\<configure infoht4 report\><<<
Package options:

   1   cut-off document into pages at the \part level
   2   cut-off document into pages at the \section and higher levels
   3   cut-off document into pages at the \subsection and higher levels
   4   cut-off document into pages at the \subsubsection and higher levels

       The section of \tableofcontents  is created only

       if \contentsname is not empty

  Macros sensitive to edef commands in sectioning titles
  should be neutralize within \Configure{@TITLE}{....}

|maketitleInfo
>>>



\section{article}

\<configure infoht4 article\><<<
Package options:

   1   cut-off document into pages at the \part level
   2   cut-off document into pages at the \section and higher levels
   3   cut-off document into pages at the \subsection and higher levels
   4   cut-off document into pages at the \subsubsection and higher levels

       The section of \tableofcontents  is created only
       if \contentsname is not empty

  Macros sensitive to edef commands in sectioning titles
  should be neutralize within \Configure{@TITLE}{....}

|maketitleInfo
>>>

\<configure infoht4 amsart\><<<

|maketitleInfo
>>>


\endinput