~ubuntu-branches/debian/sid/tex4ht/sid

« back to all changes in this revision

Viewing changes to src/tex4ht-info.tex

  • Committer: Bazaar Package Importer
  • Author(s): Kapil Hari Paranjape
  • Date: 2005-04-05 14:14:41 UTC
  • mfrom: (1.2.1 upstream) (2.1.2 hoary)
  • Revision ID: james.westby@ubuntu.com-20050405141441-x4dojdgz3frkfyet
Tags: 20050402.1817-1
* New upstream release (2005-04-02-18:17). Closes: #299934.
* See README.src, README.validate, README.Debian and copyright
  for information on minor changes.
* This upload fixes a some .htf files. Closes: #295109.
* Updated the description to reflect recent changes.
* Fixed some typos in src/tex4ht-mkht.tex and consequently
  in the mk4ht script.
* Updated the man page to include mk4ht. 
* Updated the description of options for the scripts in the man page.
  Put more information in the man page about the way the system works.
  Closes: #219348, #219347.
* Added debian/watch file.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
% compile 3 timws: latex tex4ht-info   
 
2
%           or   xhlatex tex4ht-info "html,3,sections+"
 
3
%
 
4
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
 
5
% tex4ht-info.tex                                        %
 
6
% Copyright (C) 2000--            Eitan M. Gurari        %
 
7
%                                                        %
 
8
% This work may be distributed and/or modified under the %
 
9
% conditions of the LaTeX Project Public License, either %
 
10
% version 1.3 of this license or (at your option) any    %
 
11
% later version. The latest version of this license is   %
 
12
% in                                                     %
 
13
%   http://www.latex-project.org/lppl.txt                %
 
14
% and version 1.3 or later is part of all distributions  %
 
15
% of LaTeX version 2003/12/01 or later.                  %
 
16
%                                                        %
 
17
% This work has the LPPL maintenance status "maintained".%
 
18
%                                                        %
 
19
% This Current Maintainer of this work                   %
 
20
% is Eitan M. Gurari.                                    %
 
21
%                                                        %
 
22
% If you modify this file your changing the signature    %
 
23
% in \message{(signature)} below will be appreciated.    %
 
24
%                                                        %
 
25
%                             gurari@cse.ohio-state.edu  %
 
26
%                 http://www.cse.ohio-state.edu/~gurari  %
 
27
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%   
 
28
\message{(<signature>)}
 
29
 
 
30
% Compile with the command `ht latex tex4ht-info'
 
31
 
 
32
\ifx \HTML\UnDef
 
33
   \def\HTML{info4ht}
 
34
   \def\CONFIG{\jobname}
 
35
   \def\MAKETITLE{\author{Eitan M. Gurari}}
 
36
   \def\next{\input mktex4ht.4ht   \endinput}
 
37
   \expandafter\next
 
38
\fi
 
39
 
 
40
 
 
41
%%%%%%%%%%%%%%%%%% definitions %%%%%%%%%%%%%%%%%%%%%%%%%
 
42
 
 
43
\expandafter\ifx \csname YES\HTML\endcsname\relax
 
44
    \def\CleanComment{[0]}
 
45
\else
 
46
    \let\saveCd=\<
 
47
    \def\<{\edef\FIRST{\the\inputlineno}\let\<\saveCd \saveCd}
 
48
    \def\CleanComment#1tex4ht-info#2#3#4.#5>#6//{[#4%     <--jobname
 
49
                  \if,\ifnum \FIRST=#6 .\else ,0\fi\fi]#6//}
 
50
\fi
 
51
 
 
52
\Comment{
 
53
 
 
54
\string\ifx\string\infoIVht\string\UnDeF\string\def\string\infoIVht#1//{}\string\fi\string\infoIVht\CleanComment}{//
 
55
 
 
56
}
 
57
 
 
58
 
 
59
 
 
60
 
 
61
 
 
62
\def\>>>#1<<<{\bgroup\csname no:catcodes\endcsname0{255}{12}%
 
63
   \csname no:catcodes\endcsname{13}{13}{13}% ^^M
 
64
   \def\temp##1>>>{\egroup
 
65
      \expandafter \def\csname #1\endcsname{##1}}\temp}
 
66
 
 
67
\newcount\tmpcnt  \tmpcnt\time  \divide\tmpcnt  60
 
68
\edef\temp{\the\tmpcnt}
 
69
\multiply\tmpcnt  -60 \advance\tmpcnt  \time
 
70
 
 
71
\edef\version{\the\year-\ifnum \month<10 0\fi
 
72
  \the\month-\ifnum \day<10 0\fi\the\day
 
73
   -\ifnum \temp<10 0\fi \temp
 
74
   :\ifnum \tmpcnt<10 0\fi\the\tmpcnt}
 
75
 
 
76
\def\CopyYear.#1.{%
 
77
   \ifnum #1=\year #1\space\space\space\space\space\space
 
78
    \else          #1--\the\year\fi
 
79
}
 
80
 
 
81
 
 
82
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
 
83
\chapter{INFO}
 
84
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
 
85
 
 
86
 
 
87
\<info4ht\><<<
 
88
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%  
 
89
% info4ht.4ht                           |version %
 
90
% Copyright (C) |CopyYear.2000.       Eitan M. Gurari         %
 
91
%                                                        %
 
92
% This program can redistributed and/or modified under   %
 
93
% the terms of the LaTeX Project Public License          %
 
94
% Distributed from CTAN archives in directory            %
 
95
% macros/latex/base/lppl.txt; either version 1 of the    %
 
96
% License, or (at your option) any later version.        %
 
97
%                                                        %
 
98
% If you modify this program your changing its signature %
 
99
% with a directive of the following form will be         %
 
100
% appreciated.                                           %
 
101
%            \message{signature}                         %
 
102
%                                                        %
 
103
%                              gurari@cis.ohio-state.edu %
 
104
%                  http://www.cis.ohio-state.edu/~gurari %
 
105
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
 
106
\immediate\write-1{version |version}
 
107
{          \catcode`\@=0 \catcode`\\=11 @relax
 
108
  @gdef@infoIVht[#1]#2//{%
 
109
    @ifnum #1>1
 
110
      @def@infoIVht[##1]##2//{%
 
111
        @ifnum ##1>1 @ifnum ##1<#1
 
112
           @bgroup 
 
113
             @no:catcodes0{255}{11}%
 
114
             @no:catcodes{91}{91}{12}% [
 
115
             @no:catcodes{47}{47}{12}% /
 
116
             @newlinechar13 %   
 
117
             @long@def@infoIVht####1\ifx\infoIVht####2infoIVht[####3//{%
 
118
               @def@infoIVht{******************************************}%
 
119
               @immediate@write-1{@infoIVht}%
 
120
               @immediate@write-1{****** @csname :Hin@endcsname.4ht}%
 
121
               @immediate@write-1{@infoIVht}%
 
122
               @bgroup
 
123
                @def@infoIVht{~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*}%
 
124
                @let~=@space   @immediate@write-1{@infoIVht}%
 
125
               @egroup   
 
126
               @immediate@write-1{####1}%
 
127
               @bgroup
 
128
                @def@infoIVht{~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*}%
 
129
                @let~=@space   @immediate@write-1{@infoIVht}%
 
130
               @egroup
 
131
               @immediate@write-1{@infoIVht}%
 
132
             @egroup}%
 
133
           @expandafter@expandafter@expandafter@infoIVht
 
134
     @fi@fi }%
 
135
  @fi }
 
136
}
 
137
>>>
 
138
 
 
139
 
 
140
 
 
141
 
 
142
 
 
143
 
 
144
 
 
145
 
 
146
 
 
147
 
 
148
 
 
149
\chapter{The Code}
 
150
 
 
151
 
 
152
\section{tex4ht}
 
153
                
 
154
\<configure info4ht Preamble\><<<
 
155
\Configure{PROLOG}.........1
 
156
 
 
157
   #1 Comma separated list of hooks to appear before HTML.
 
158
 
 
159
      Each hook E is declared to be configurable by an
 
160
      instruction of the form \NewConfigure{E}{1}
 
161
 
 
162
      A star '*' prefix calls for accumulative configurations
 
163
 
 
164
   Example:
 
165
 
 
166
      \Configure{PROLOG}{VERSION,DOCTYPE,*XML-STYLESHEET}
 
167
      \Configure{VERSION}
 
168
         {\HCode{<?xml version="1.0"?>}}
 
169
 
 
170
\Configure{html}............1
 
171
 
 
172
   #1: default extension name for target files  (recorded in \:html)
 
173
 
 
174
\Preamble...................0
 
175
 
 
176
   Records the list of the requested options.  Defined upon entering
 
177
   the environment \Preamble{...}....\EndPreamble, to replace the 
 
178
   earlier version of \Preamble.
 
179
 
 
180
\ifOption ................. 3
 
181
 
 
182
   #1  Argument to be checked  wheteher it is a given option.
 
183
   #2  True part
 
184
   #3  False part
 
185
>>>
 
186
 
 
187
 
 
188
                
 
189
\<configure info4ht tex4ht\><<<
 
190
Wrapper for the Document
 
191
------------------------
 
192
 
 
193
\Configure{DOCTYPE}.........1
 
194
\Configure{HTML}............2
 
195
\Configure{HEAD}............2
 
196
\Configure{@HEAD}...........1
 
197
\Configure{BODY}............2
 
198
\Configure{TITLE+}..........1
 
199
\Configure{TITLE}...........2
 
200
\Configure{@TITLE}..........1
 
201
\Configure{Preamble}........2
 
202
 
 
203
    <DOCTYPE>
 
204
    <HTML 1>
 
205
      <HEAD 1>
 
206
         <TITLE 1>
 
207
            <@TITLE>
 
208
            <TITLE+>
 
209
         <TITLE 2>
 
210
         <@HEAD>
 
211
      <HEAD 2>
 
212
      <BODY 1>
 
213
      ......
 
214
      <BODY 2>
 
215
    <HTML 2>
 
216
    
 
217
The \Configure{@HEAD}{...} command is additive, concatenating the
 
218
content of all of its appearances.  An empty parameter requests
 
219
the cancellation of the earlier contributions.  
 
220
 
 
221
For instance,
 
222
 
 
223
  \Configure{@HEAD}{A}
 
224
  \Configure{@HEAD}{}
 
225
  \Configure{@HEAD}{B}
 
226
  \Configure{@HEAD}{C}
 
227
 
 
228
contributes `BC'.
 
229
 
 
230
The \Configure{TITLE+} provides the content for the title,
 
231
\Configure{TITLE} sets the envelop, and \Configure{@TITLE} acts as a
 
232
hook for introducing localized configurations. As is the case for
 
233
\Configure{@HEAD}, the contribution of \Configure{@TITLE} is also
 
234
additive.
 
235
 
 
236
These configurations should be introduced early enough in the
 
237
compilation. For instance, in the case of LaTeX, between \Preamble
 
238
and \begin{document} of a local configuration file.
 
239
 
 
240
           \Preamble
 
241
             %%% here %%%
 
242
           \begin{document}
 
243
             ...
 
244
           \EndPreamble
 
245
 
 
246
 
 
247
\Configure{@BODY}...........1
 
248
\Configure{@/BODY}..........1
 
249
 
 
250
   Variants of \Configure{@HEAD} which contribute their content,
 
251
   respectively, after <body> and before </body>.
 
252
 
 
253
\Configure{CutAtTITLE+}.....1
 
254
\Configure{HPageTITLE+}.....1
 
255
 
 
256
   #1 an insertion just before the content of <TITLE>;
 
257
 
 
258
   If #1 is a one parametric macro, it gets the title content for
 
259
   an argument.
 
260
 
 
261
 
 
262
Support for Sectioning Commands
 
263
-------------------------------
 
264
 
 
265
\Configure{unit-name} ......................4
 
266
 
 
267
   #1 start
 
268
   #2 end
 
269
   #3 before title
 
270
   #4 after title
 
271
 
 
272
   Example:
 
273
 
 
274
        \Configure{section}
 
275
           {\HCode{<section>}}    {\HCode{</section>}}
 
276
           {\HCode{<title>}}      {\HCode{</title>}}
 
277
 
 
278
 
 
279
\ConfigureMark{unit-name}...................1
 
280
 
 
281
   Defines a macro \<<unit-name>>HMark to hold the given argument.  
 
282
   Upon entering the unit, \TitleMark gets the content of this macro.
 
283
   
 
284
   Some built-in configurations of TeX4ht require an argument for the
 
285
   \<<unit-name>>HMark commands. For safety, these commands should
 
286
   always be followed by a, possiblely empty, argument.  The argument
 
287
   should be a separator between the title mark and its content.
 
288
 
 
289
   Example: 
 
290
 
 
291
        \Configure{section}
 
292
           {}{}
 
293
           {\HCode{<h3>}\TitleMark\space}    {\HCode{</h3>}}
 
294
        \ConfigureMark{section}{\thesection}
 
295
 
 
296
 
 
297
\Configure{toTocLink}.......................2
 
298
 
 
299
   Each unit title contains a \Link{...}{...}...\EndLink command.
 
300
   The first argument of \Link points to the first table of contents
 
301
   referencing the title. The second argument provides an anchor
 
302
   for references to the title (mainly from tables of contents). 
 
303
   
 
304
   The package option `section+' requests the inclusion of the
 
305
   title within the anchor.  Without this option, the link command
 
306
   resides between the title mark and its content.
 
307
 
 
308
   The \Configure{toTocLink} command is provided for configuring
 
309
   the \Link and \EndLink  instructions.  In the default setting,
 
310
   when the `sections+' option is not activated, the \Link 
 
311
   command is altered to replace its first argument with an empty
 
312
   argument.  
 
313
 
 
314
     Example:
 
315
 
 
316
          \Configure{toTocLink}
 
317
             {\Link}
 
318
             {\ifx \TitleMark\sectionHMark
 
319
                \Picture[\up]{haut.jpg align="right"}%
 
320
                \EndLink 
 
321
                \TitleMark\space
 
322
              \else \EndLink \fi
 
323
             }
 
324
          \def\up{[up]}
 
325
 
 
326
\Configure{toToc}...........................2
 
327
 
 
328
    #1  unit type
 
329
    #2  desired contents type  (if empty, `unit type' is assumed)
 
330
     
 
331
  Example: \Configure{toToc}{likechapter}{chapter}
 
332
 
 
333
    #1  empty: stop adding entries of `unit type' to toc
 
334
            @: add entries of `unit type' to toc
 
335
            ?: resume mode in effect before the last stop
 
336
    #2  unit type
 
337
 
 
338
  Example: \Configure{toToc}{}{chapter}
 
339
           \chapter{...}
 
340
           \Configure{toToc}{@}{chapter}
 
341
 
 
342
\Configure{writetoc}.........................1
 
343
 
 
344
    #1  Configuration material for the insertion instruction.  
 
345
        New configurations are added to those request earlier
 
346
        by the command.  An empty argument cancels the earlier
 
347
        contributions.
 
348
 
 
349
\NoLink.......................1
 
350
 
 
351
   Ignore option `section+' for sections of type #1   
 
352
 
 
353
\TitleCount
 
354
 
 
355
   Count of entries submitted to the toc file
 
356
 
 
357
\Configure{NoSection}.........2
 
358
 
 
359
   Insertions around the parameters of sectioning commands, applied when 
 
360
   the parameters are not used to create titles for the divisions.
 
361
 
 
362
 
 
363
\CutAt{#1,#2,#3,...}
 
364
 
 
365
    #1           section type to be placed in a separate web page
 
366
    #2,#3,...    end delimiting section types, other than #1, for
 
367
                 the web pages
 
368
    A `+' before #1 requests hypertext buttons for the web pages
 
369
 
 
370
    Examples:  
 
371
 
 
372
          \CutAt{mychapter,myappendix,mypart}
 
373
          \CutAt{+myappendix,mychapter,mypart}
 
374
 
 
375
\Configure{+CutAt}.................................3
 
376
 
 
377
     #1 sectioning type
 
378
     #2 before
 
379
     #3 after
 
380
 
 
381
     Requests delimiters for the \CutAt buttons of the specified
 
382
     sectioning type
 
383
 
 
384
    Example:   \Configure{+CutAt}{mysection}{[}{]}         
 
385
 
 
386
\PauseCutAt{#1}
 
387
\ContCutAt{#1}
 
388
 
 
389
    #1  section type
 
390
 
 
391
 
 
392
Tables of Contents
 
393
------------------
 
394
 
 
395
Created from the entries collected in the previous compilation within
 
396
a jobname.4tc file.
 
397
 
 
398
\ConfigureToc{unit-name} ......................4
 
399
 
 
400
   #1 before unit number
 
401
   #2 before content
 
402
   #3 before page number
 
403
   #4 at end
 
404
 
 
405
   * Empty arguments request the omission of the corresponding field.
 
406
 
 
407
   * \TocCount  Specifies the entry count withing the jobname.4tc file.
 
408
 
 
409
   * An alternative to \ConfigureToc{unit-name}:
 
410
 
 
411
      \def\<unit-name>#1#2#3{<before unit number>#1<before content>#2%
 
412
                             <before page number>#3<at end>}
 
413
 
 
414
 
 
415
   Example:
 
416
 
 
417
        \ConfigureToc{section}
 
418
           {}
 
419
           {\Picture[*]{pic.jpg width="13"  height="13"}~}
 
420
           {}
 
421
           {\HCode{<br />}}
 
422
   
 
423
 
 
424
\Configure{TocLink}..................#1
 
425
 
 
426
   Configures the link offered in the third arguments of \ConfigureToc
 
427
 
 
428
   Example:   \Configure{TocLink}{\Link{#2}{#3}#4\EndLink}   
 
429
 
 
430
\TocAt{#1,#2,#3,...}
 
431
 
 
432
    #1           section type for which local tables of contents
 
433
                 \Toc#1 are requested
 
434
    #2,#3,...    sectioning types to be included in the tables of 
 
435
                 contents
 
436
 
 
437
    The non-leading arguments may be preceded by slashes '/', in
 
438
    which cases the arguments specify end points for the tables.
 
439
 
 
440
    The default setting requests automatic insertion of the local
 
441
    tables immediately after the sectioning heads.
 
442
 
 
443
    A star `*' character may be introduced, between the  \TocAt and
 
444
    the left brace, to request the appearances of the tables of
 
445
    contents at the end of the units' prefaces.
 
446
 
 
447
    A hyphen `-' character, on the other hand, disables the automatic
 
448
    insertions of the local tables.
 
449
 
 
450
    In case of a single argument, the command removes the 
 
451
    existing definition of \Toc#1.
 
452
 
 
453
    Example:  
 
454
      \TocAt{mychapter,mysection,mysubsection,/myappendix,/mypart}
 
455
      \TocAt-{mysection,mysubsection,/mylikesection}
 
456
      \section{...}...\Tocmysection
 
457
 
 
458
\Configure{TocAt}......................
 
459
\Configure{TocAt*}.....................
 
460
 
 
461
 
 
462
Navigation Links for Sectioning Divisions
 
463
-----------------------------------------
 
464
 
 
465
\Configure{crosslinks}.....................8
 
466
 
 
467
   #1  left delimiter
 
468
   #2  right delimiter
 
469
   #3  next 
 
470
   #4  previous
 
471
   #5  previous-tail
 
472
   #6  front
 
473
   #7  tail
 
474
   #8  up
 
475
   
 
476
  The content to be displayed in the pointers
 
477
 
 
478
\Configure{crosslinks*}.................1--7
 
479
 
 
480
  Links to be included and their order. Available 
 
481
  options: next, prev, prevtail, tail, front, up.
 
482
  The last argument must be empty.
 
483
 
 
484
  Default:
 
485
      
 
486
      \Configure{crosslinks*}
 
487
         {next}
 
488
         {prev}
 
489
         {prevtail}
 
490
         {tail} {front}
 
491
         {up}
 
492
         {}
 
493
 
 
494
\Configure{crosslinks+}.....................4
 
495
   
 
496
   #1  before top menu
 
497
   #2  after top menu
 
498
   #3  before bottom menu
 
499
   #4  after bottom menu
 
500
 
 
501
  The top cross links are omitted, if both #1 and #2 are empty.
 
502
  The bottom cross links are omitted, if both #3 and #4 are empty.
 
503
 
 
504
\Configure{next}.............................2
 
505
 
 
506
   #1  before the next button of the front page, when the `next'
 
507
       option is active.
 
508
   #2  after the button
 
509
 
 
510
Paragraphs
 
511
----------
 
512
 
 
513
\Configure{HtmlPar}..........4
 
514
 
 
515
   #1 content at the start non-indented paragraphs
 
516
   #2 content at the start indented paragraphs
 
517
   #3 insertion into \EndP, at the start of non-indented paragraphs
 
518
   #4 insertion into \EndP, at the start of indented paragraphs
 
519
 
 
520
   \HtmlParOff
 
521
   \HtmlParOn
 
522
 
 
523
   \IgnorePar     Asks to ignore the next paragraph
 
524
   \ShowPar       Asks to take into account the following paragraphs
 
525
 
 
526
   \IgnoreIndent  asks to ignore indentation in the next paragraph
 
527
   \ShowIndent    asks to check indentation in the following paragraphs
 
528
 
 
529
   \SaveEndP      Saves the content of \EndP, and sets it to empty content
 
530
   \RecallEndP
 
531
 
 
532
   \SaveHtmlPar
 
533
   \RecallHtmlPar
 
534
 
 
535
Cross-Linking
 
536
-------------
 
537
 
 
538
\Link[@1 @2]{@3}{@4}...\EndLink
 
539
 
 
540
  Creates
 
541
 
 
542
     <a href="@1#@3" name="@4" @2>...</a>   
 
543
 
 
544
  * When @1 is empty, tex4ht will derive its value automatically.
 
545
    The derived value will be the file name containing the target @3.
 
546
 
 
547
  * \Link may be followed by `-', if tex4ht needs not automatically
 
548
    determine (for other \link commands) the file containing @4. 
 
549
    In the present of such a flag, tex4ht can spare a definition of
 
550
    one macro.
 
551
 
 
552
  * The component [@1 @2] is optional. If omitted, @1 and @2 are
 
553
    assumed to be empty
 
554
 
 
555
  * The href attribute is omitted when @1 and @3 are empty
 
556
 
 
557
  * The name attribute is omitted when @4 is empty
 
558
 
 
559
  Examples:
 
560
 
 
561
      \Link{a}{}...\Endlink .....  \Link{}{b}...\EndLink
 
562
      \Link[http://foo  id="fooo"]{a}{b}...\EndLink
 
563
 
 
564
\Configure{Link}..............4
 
565
 
 
566
   Configures \Link...\EndLink so that
 
567
 
 
568
     #1 replaces `a'
 
569
     #2 replaces `href='
 
570
     #3 replaces `name='
 
571
     #4 replaces `#'.  If empty, the older value remains in effect.
 
572
 
 
573
  Examples:
 
574
 
 
575
   \Configure{Link}{a}{href=}{name=}{}   
 
576
   \Configure{Link}{ref}{target=}{id=}{\empty}   
 
577
 
 
578
\Configure{?Link}..............1
 
579
 
 
580
   #1 insertion before broken links
 
581
 
 
582
   To help with debugging 
 
583
 
 
584
\LinkCommand...................1 <= i <= 6
 
585
 
 
586
   Creates a \Link-like command
 
587
 
 
588
   #1   tag name
 
589
   #2   href-like attribute
 
590
   #3   name-like attribute
 
591
   #4   insertion
 
592
   #5   /, if empty element
 
593
   #6  replacement for #  (ignored if absent)
 
594
 
 
595
  Example:
 
596
  
 
597
    \LinkCommand\JSLink{a,\noexpand\jsref,name}
 
598
    \def\jsref="#1"{href="javascript:window.open('#1')"}
 
599
  
 
600
    \JSLink{a}{}xx\EndJSLink    
 
601
    \Link{}{a}\EndLink       % or \JSLink{}{a}\EndJSLink
 
602
 
 
603
\Configure{XrefFile}.....................1
 
604
 
 
605
   #1 names cross-references of files (appends #1 to `)F' and `)Q'
 
606
      entries of the .xref files). Applicable mainly implicitly 
 
607
      within \Link commands
 
608
 
 
609
\Tag.....................................2
 
610
 
 
611
   #1  label
 
612
   #2  content
 
613
 
 
614
\Ref.....................................1
 
615
\LikeRef.................................1
 
616
 
 
617
   #1  label
 
618
   
 
619
   \Tag and \Ref are tex4ht.sty commands introduced cross-referencing
 
620
   content through .xref auxiliary files.  
 
621
 
 
622
   \LikeRef is a variant of \Ref which doesn't verify whether the 
 
623
   labels exit.  It is mainly used in \Link and \edef environments.
 
624
 
 
625
\ifTag ..................................3
 
626
 
 
627
   #1  quetioned tag
 
628
   #2  true part
 
629
   #3  false part
 
630
 
 
631
\LoadRef-[prefix]+{filename.ext}{pattern}
 
632
 
 
633
   Load the named xref-type file
 
634
 
 
635
   .xref      optional--`.xref' is assume for a default
 
636
   +          optional-- asks \Ref and \LikeRef commands
 
637
              to use expanded tags `filename::tag', instead of just `tag'
 
638
   [prefix]   optional--asks just for tags starting with the 
 
639
              specified prefix. 
 
640
   -          optional--deletes the prefixes from the loaded tags
 
641
   {pattern}  to be included only when `[prefix]' or `+' are included.
 
642
              States how tags are to be addressed, with the parameter
 
643
              symbol `#1'  specifying the loaded part.
 
644
 
 
645
   Example:
 
646
 
 
647
        % a.tex
 
648
        \LoadRef-[to:]{b}{from:#1}      \Ref{from:filename}
 
649
                                        \LikeRef{from:filename}
 
650
 
 
651
        % b.tex
 
652
        \Tag{to:filename}{\FileName}
 
653
 
 
654
   Example:
 
655
 
 
656
        \LoadRef-[)F]{file}{)Ffoo##1}
 
657
        \LoadRef-[)Q]{file}{)Qfoo##1}
 
658
        \Configure{XrefFile}{foo}   \Link...\EndLink
 
659
 
 
660
        \LoadRef{another-file}
 
661
 
 
662
 
 
663
Files
 
664
-----
 
665
 
 
666
\FileName    Holds the name of the current hypertext file
 
667
\FileNumber  Holds the internal number of the current hypertext file
 
668
\RefFileNumber...........................1
 
669
    #1  File number
 
670
 
 
671
    Provides the file name
 
672
 
 
673
\NextFile.................................1
 
674
    #1 Requested name for the next file
 
675
 
 
676
\Hinput{#1}     
 
677
 
 
678
    The command asks to load the configuration files associated
 
679
    with mark #1. 
 
680
 
 
681
\Hinclude[#1]{#2}
 
682
 
 
683
    The command associates configuration file #2 with mark #1.  If
 
684
    the mark is the star character `*', the configuration files is
 
685
    associated to all marks.  The command is applicable until the
 
686
    \Preamble command is processed
 
687
 
 
688
    For instance,  \Hinclude[*]{html4.4ht}....\Hinput{latex}
 
689
 
 
690
\Hinclude{#1}{#2}  
 
691
    
 
692
    The command is applicable while the \Preamble command is 
 
693
    processed. Its purpose is to load *4ht hook files within
 
694
    the fragments of code specified in #1.
 
695
 
 
696
    For instance, \Hinclude{\input plain.4ht}{plain}  
 
697
 
 
698
 
 
699
Fonts
 
700
-----
 
701
 
 
702
\Configure{htf}...............................9
 
703
 
 
704
    #1         label (integer 0--255) 
 
705
    #2         delimiter (a character not appearing in #3,...,#9)
 
706
           even label             odd label
 
707
    #3       start opening tag      start empty tag
 
708
    #4       name                   alt
 
709
    #5       size                   name
 
710
    #6       mag                    size
 
711
    #7                              mag
 
712
    #8       end the tag            ord
 
713
    #9       closing tag            end the tag
 
714
 
 
715
    The htf fonts assign a content and a label to each symbol (possibly
 
716
    followed by a comment).  For instance,
 
717
    
 
718
        'e'    '1'    epsilon
 
719
        'z'    '3'    zeta   
 
720
    
 
721
    An even label asks that the content itself will be used for the
 
722
    symbol, and an odd label asks that the symbol will be represented by a
 
723
    bitmap.  In the later case,  the content serves as a substitution for
 
724
    browsers which don't exhibit bitmaps.
 
725
    
 
726
    The \Configure{htf}... command provides label-dependent wrappers to
 
727
    chosen representations.
 
728
    
 
729
    If they are not empty, `mag' and `ord' must be c-type 
 
730
    patterns for integer arguments, and `name' and `size' 
 
731
    should be a patterns for strings.  The `mag' entry is 
 
732
    ignored for fonts of the default dimension. Together
 
733
    they specify a attribute-value format, mainly for references
 
734
    in the css code.
 
735
 
 
736
  Examples:
 
737
 
 
738
     \Configure{htf}{0}{+}{<span\Hnewline
 
739
        class="}{\%s}{-\%s}{x-x-\%d}{}{">}{</span>}
 
740
     \Configure{htf}{1}{+}{<img\Hnewline
 
741
        src="}{" alt="}{" class="}{\%s}{-\%d}{x-x-\%x}{" />}
 
742
 
 
743
\Configure{htf-attr}....................... 2
 
744
 
 
745
     #1  c-pattern for the font name and size
 
746
     #2  c-pattern for font magnification
 
747
 
 
748
     Specify the format of the selectors within the css files.
 
749
 
 
750
   Example:
 
751
     \Configure{htf-attr}{.\%s-%s}{--\%s}
 
752
 
 
753
\Configure{htf-css}....................... 2
 
754
    
 
755
    #1  font name or label 
 
756
    #2  css entry
 
757
 
 
758
    A variant of the \Css command. If #1 is a font name, 
 
759
    the contribution replaces the one given within the
 
760
    htf font definition. If #1 is a label for an entry
 
761
    of a htf font, the contribution is added to the css
 
762
    file.  The contribution is offered, only when the
 
763
    font is in use.
 
764
 
 
765
  Example:
 
766
 
 
767
   \Configure{htf-css}{4}{.small-caps{font-variant: small-caps;}}  
 
768
 
 
769
    
 
770
Bitmaps
 
771
-------
 
772
 
 
773
\Configure{Picture}....................... #1
 
774
 
 
775
  #1  Extension name for bitmap files of dvi pictures,
 
776
      stored in \PictExt
 
777
 
 
778
  Default: \Configure{Picture}{.png}
 
779
  
 
780
  The extension names of bitmap files of glyphs of htf fonts may be
 
781
  determined within a g-entry in the environment file tex4ht.env, or a
 
782
  g-flag of the tex4ht.c utility.
 
783
 
 
784
\Configure{Picture-alt}......................1
 
785
 
 
786
  #1  alt value for \Picture+{...}  and \Picture*{...} 
 
787
 
 
788
\Configure{Picture+}.........................2
 
789
\Configure{Picture*}.........................2
 
790
 
 
791
  #1  before the dvi picture code
 
792
  #2  after the dvi picture code
 
793
 
 
794
  Typically, the plus `+' variant is introduced as an inline
 
795
  contribution into paragraphs, and the star `*' variant as an
 
796
  independent block between paragraphs.
 
797
 
 
798
\Configure{PictureAlt}........................2
 
799
\Configure{PictureAlt*+}......................2
 
800
\Configure{PictureAlt*+[]}....................2
 
801
 
 
802
  #1 definitions before alt 
 
803
  #2 definitions after alt
 
804
 
 
805
 Apply to \Picture{...}, \Picture*+{...}, and \Picture*+[...]{...}
 
806
 
 
807
\Configure{PictureAlt}........................1
 
808
\Configure{PictureAlt*+}......................1
 
809
\Configure{PictureAlt*+[]}....................1
 
810
 
 
811
  #1 definition for attributes (introduced through 
 
812
     a parameter named `#1')
 
813
 
 
814
   Apply to \Picture{...}, \Picture*+{...}, and \Picture*+[...]{...}
 
815
 
 
816
\Configure{IMG}...............................5
 
817
 
 
818
  #1 before file name
 
819
  #2 between file name and alt
 
820
  #3 close alt for  \Picture without * or +
 
821
  #4 close alt for  \Picture with * and +
 
822
  #5 right delimiter
 
823
 
 
824
  Example:
 
825
 
 
826
     \Configure{IMG}
 
827
        {\ht:special{t4ht=<img src="}}
 
828
        {\ht:special{t4ht=" alt="}}
 
829
        {" }
 
830
        {\ht:special{t4ht=" }}
 
831
        {\ht:special{t4ht=/>}}
 
832
 
 
833
\NextPictureFile.............................1
 
834
 
 
835
   Requests a file name for the next created picture.
 
836
 
 
837
\PictureFile.............................0
 
838
 
 
839
   Records the filename of the most recent created picture.
 
840
 
 
841
Math
 
842
----
 
843
 
 
844
\Configure{$}................................2
 
845
\Configure{$$}...............................2
 
846
\Configure{DviMath}..........................2
 
847
 
 
848
\DviMath ... \EndDviMath
 
849
\MathClass ... \EndMathClass
 
850
\PicMath ... \EndPicMath
 
851
\DisplayMath ... \EndDispalyMath
 
852
 
 
853
   Example:
 
854
 
 
855
     \Configure{$} {\Tg<math>\DviMath} {\EndDviMath\Tg</math>} {}
 
856
 
 
857
 
 
858
 
 
859
\Configure{PicMath}..........................4
 
860
 
 
861
   Example:
 
862
 
 
863
       \Configure{PicMath}{}{}{}{ class="math" }
 
864
 
 
865
     \Configure{()}{\protect\PicMath$}{$\protect\EndPicMath}
 
866
 
 
867
\Configure{SUB}..............................2
 
868
\Configure{SUP}..............................2
 
869
\Configure{SUBSUP}...........................3
 
870
\Configure{SUPSUB}...........................3
 
871
\Configure{SUB/SUP}..........................6
 
872
 
 
873
\Configure{putSUB}...........................1
 
874
\Configure{putSUP}...........................1
 
875
 
 
876
     #1 the code to be used for realizing subscripts and postcripts
 
877
 
 
878
\Configure{afterSUB}.........................2
 
879
 
 
880
     #1 look ahead token after subscript
 
881
     #2 the code to be used for realizing subscripts having #1 for
 
882
        lookahead token
 
883
 
 
884
\Configure{over}.............................2
 
885
\Configure{atop}.............................2
 
886
\Configure{above}............................2
 
887
\Configure{overwithdelims}...................2
 
888
\Configure{atopwithdelims}...................2
 
889
\Configure{abovewithdelims}..................2
 
890
 
 
891
   #1 before \over, \atop, \above
 
892
             \overwithdelims, \atopwithdelims, \abovewithdelims
 
893
   #2 after  \over, \atop, \above <dimension>
 
894
             \overwithdelims <del1> <del2>
 
895
             \atopwithdelims <del1> <del2>
 
896
             \abovewithdelims <del1> <del2> <dimension>
 
897
 
 
898
   Example:
 
899
 
 
900
     \Configure{over}
 
901
         {\Send{GROUP}{0}{[before]}[before-rule]}
 
902
         {[before-argument]\Send{EndGROUP}{0}{[after]}}
 
903
 
 
904
 
 
905
\Configure{MathClass}........................5
 
906
 
 
907
   #1  class number
 
908
          0: mathord, 1: mathop, 2: mathbin, 3: mathrel,
 
909
          4: mathopen, 5: mathclose, 6: mathpunc
 
910
   #2  delimiter
 
911
   #3  before
 
912
   #4  after
 
913
   #5  characters
 
914
   
 
915
   Extra support:
 
916
   
 
917
      \PauseMathClass
 
918
      \EndPauseMathClass
 
919
      \NewMathClass<new control sequence>  (7, 8, ...)
 
920
 
 
921
\Configure{FormulaClass}.....................4
 
922
 
 
923
   #1  class number
 
924
          0: mathord, 1: mathop, 2: mathbin, 3: mathrel,
 
925
          4: mathopen, 5: mathclose, 6: mathpunc
 
926
   #2  a character not in #3 and #4
 
927
   #3  before
 
928
   #4  after
 
929
 
 
930
   If #2 is empty, the formula gets the same marking as a 
 
931
   single character of the specified type
 
932
 
 
933
\Configure{FormulaClass*}....................4
 
934
   
 
935
   Like the previous case, but allow marking in the
 
936
   nested content.
 
937
 
 
938
\Configure{MathDelimiters}...................2
 
939
  
 
940
   #1  left
 
941
   #2  right
 
942
 
 
943
\Configure{mathbin*}.........................4
 
944
\Configure{mathclose*}.......................4
 
945
\Configure{mathop*}..........................4
 
946
\Configure{mathopen*}........................4
 
947
\Configure{mathord*}.........................4
 
948
\Configure{mathpunct*}.......................4
 
949
\Configure{mathrel*}.........................4
 
950
 
 
951
   #1  a character not presented in #2#3#4
 
952
   #2  code before
 
953
   #3  code after
 
954
   #4  possible definitions for successive cases
 
955
 
 
956
  Example:
 
957
     \Configure{mathop*}{*}{}{}
 
958
        {\Configure{mathop}{*}{<mo>}{</mo>}{}}
 
959
     \mathop{\overline{x \mathop{op} y}} \limits^{a=3}
 
960
 
 
961
\Configure{mathbin}..........................4
 
962
\Configure{mathclose}........................4
 
963
\Configure{mathopen}.........................4
 
964
\Configure{mathop}...........................4
 
965
\Configure{mathord}..........................4
 
966
\Configure{mathpunct}........................4
 
967
\Configure{mathrel}..........................4
 
968
 
 
969
Variants of the above group, requesting to supress nested marks.
 
970
 
 
971
\Configure{nolimits}.........................1
 
972
 
 
973
\MathSymbol
 
974
 
 
975
AtBeginDocument
 
976
---------------
 
977
 
 
978
\Configure{AtBeginDocument}..................2
 
979
 
 
980
    #1  before the corresponding hook of latex
 
981
    #2  after
 
982
 
 
983
   Insertions are accumulative, and can be erased by providing
 
984
   two empty arguments
 
985
 
 
986
Other Hooks
 
987
-----------
 
988
 
 
989
  \Configure{HChar}...................1
 
990
 
 
991
    #1  a character
 
992
 
 
993
    The \HChar{i} instruction inserts the character code i with the 
 
994
    font information of character #1, when i is positive. If i is
 
995
    negative, the font info is not included.
 
996
 
 
997
 
 
998
\Configure{Canvas}
 
999
\Configure{ExitHPage}
 
1000
\Configure{LinkHPage}......................1
 
1001
\Configure{FontCss}
 
1002
\Configure{HVerbatim+}
 
1003
\Configure{MiniHalign}
 
1004
\Configure{Needs-}
 
1005
\Configure{Needs}
 
1006
 
 
1007
 
 
1008
\Configure{TraceTables}
 
1009
\Configure{edit}
 
1010
\Configure{halignTB}
 
1011
\Configure{halignTD}
 
1012
\Configure{halign}
 
1013
\Configure{hooks}
 
1014
\Configure{moveright}
 
1015
 
 
1016
\Configure{noalign-}
 
1017
\Configure{pic-halign}
 
1018
 
 
1019
\Configure{accent}
 
1020
\Configure{mathaccent}
 
1021
\Configure{accented}
 
1022
\Configure{accenting}
 
1023
 
 
1024
 
 
1025
Back-end Specials
 
1026
-----------------
 
1027
                                                    insertions
 
1028
                                                    ----------
 
1029
  =    \special{t4ht=...content...}
 
1030
           Insert the specified content to the html output, under 
 
1031
           edef mode of processing, and without using the mapping
 
1032
           of the htf fonts.  Used in \HCode{...}.
 
1033
  @    \special{t4ht@...integer...}
 
1034
           Insert the absolute value as character code to the output.
 
1035
           Positve values ask the insertion to be included in place
 
1036
           of the next chracter, together with the font information
 
1037
           of that character.
 
1038
                                                    files
 
1039
                                                    -----
 
1040
  >    \special{t4ht>...file-name...}
 
1041
           Open a new file, if needed, and direct future output
 
1042
           to the specified file.  Used in \File{...}.
 
1043
  <    \special{t4ht<...file-name...}
 
1044
           Close the specified file.  If it is the current file,
 
1045
           activate the youngest file. Used in \EndFile{...}.
 
1046
  >*   \special{t4ht*>...file-name...}
 
1047
           Declare the file to be the oldest.
 
1048
       \special{t4ht*>}
 
1049
           Reactivate the file that activated the current file.
 
1050
  *<   \special{t4ht*<file}
 
1051
           Input file (with no processing)
 
1052
  +    \special{t4ht++file-name}...dvi...\special{t4ht+}
 
1053
           Pipe the dvi code into a dvi page in the secondary dvi file
 
1054
           `jobname.idv'.  Used by \Picture{...}, e.g., for requesting 
 
1055
           gif's.
 
1056
  +    \special{t4ht+embeded-specials within idv}
 
1057
  .    \special{t4ht.ext}
 
1058
           Change default ext of root file
 
1059
  @D   \special{t4ht@D....} Writes the content, augmented with a
 
1060
           loc stamp, to the .lg file.  The locations stamp consists
 
1061
           a byte-address in a named output file.
 
1062
 
 
1063
                                                    character maps
 
1064
                                                    --------------
 
1065
  !    \special{t4ht!...optional-parameters....}...dvi...\special{t4ht!}
 
1066
           Create an approximated character map for the dvi code.
 
1067
           Used in \Picture{...}, e.g., for ALT of IMG
 
1068
  ||    \special{t4ht||}...\special{t4ht||}
 
1069
           Use the non-pictorial characters of the htf fonts.
 
1070
           Used for character maps of \Picture{....}
 
1071
  @    \special{t4ht@-}....\special{t4ht@-}
 
1072
           Remove left margin from character map.  Used in \Picture{...}.
 
1073
 
 
1074
                                                    character settings
 
1075
                                                    ------------------
 
1076
  @    \special{t4ht@@}....\special{t4ht@@}
 
1077
           Insert the character codes, instead of their mappings through
 
1078
           the htf fonts.  Used in \JavaScript...
 
1079
  @    \special{t4ht@...integer...}, \special{t4ht@-...integer...}
 
1080
           Introduce the character code into the output.
 
1081
           Used by \HChar{...} and \HChar{-...}. The earlier one
 
1082
           also inherites the current font info.
 
1083
  @    \special{t4ht@+...string...}
 
1084
           Replace the character code introduced by the next character
 
1085
           with the specified string.  The decoration of the character 
 
1086
           code is inherited, when the string is not empty. The string
 
1087
           might include character codes by enclosing them between braces.  
 
1088
  @    \special{t4ht@*...string...}
 
1089
           A variant \special{t4ht@+...string...} that inserts the content
 
1090
           after the character instead of replacing it.
 
1091
  @    \special{t4ht@(}
 
1092
           Ignore spaces
 
1093
  @    \special{t4ht@)} 
 
1094
           End ignore spaces
 
1095
  @    \special{t4ht@[}
 
1096
           Ignore chs and spaces
 
1097
  @    \special{t4ht@]}
 
1098
           End ignore chs and spaces
 
1099
  @    \special{t4ht@[...}...\special{t4ht@]...}\special{t4ht@?...}
 
1100
           Ignore chs and spaces, if the specials  have the above
 
1101
           syntax on identical strings.
 
1102
  @    \special{t4ht@!}
 
1103
           Get the last ignored spaces (none, if from previous lines).
 
1104
  @    \special{t4ht@_....}
 
1105
           Output character for rulers. Empty string is also allowed.
 
1106
  @    \special{t4ht@.''''}
 
1107
           Output for line break characters (empty content resets the default).
 
1108
  @    \special{t4ht@,''''}
 
1109
           Output for space characters (empty content resets the default).
 
1110
 
 
1111
                                                    dvi tracing
 
1112
                                                    -----------
 
1113
  @    \special{t4ht@%X}...\special{t4ht@%x}
 
1114
           Request dvi tracing.
 
1115
 
 
1116
               X  x
 
1117
               P  p      groups
 
1118
               C  c      characters
 
1119
               H  h      horizontal spaces
 
1120
               V  v      vertical spaces
 
1121
               R  r      rulers
 
1122
         
 
1123
       \special{t4ht@%%X*...open-del....*...close-del....}
 
1124
       \special{t4ht@%%x*...open-del....*...close-del....}
 
1125
           Tailor dvi tracing
 
1126
 
 
1127
  @    \special{t4ht@/}  
 
1128
           On/off tracing of specials.
 
1129
  @    \special{t4ht@e...} 
 
1130
           String for tracing errors into the output.
 
1131
  ;    \special{t4ht;....}         
 
1132
           Decorations for htf characters (e.g., css)
 
1133
              8    pause
 
1134
              9    end pause
 
1135
              |... pattern
 
1136
              =... show font name of char
 
1137
              %... show font size of char
 
1138
              ,    don't report next htf class to lg
 
1139
              -    set default font info
 
1140
              +    unset default font info
 
1141
  ^    \special{t4ht^i}$symbols$\special{t4ht^}}' 
 
1142
           Requests math class i for the listed math symbols.
 
1143
           
 
1144
           Tex assignes class numbers 0--7 to the atoms of math
 
1145
           formulas: 0--ordinary symbol, 1--large operator, 2--binary
 
1146
           operation, 3--relational operation, 4--math delimiter,
 
1147
           5--right delimiter, 6--punctuation mark, and 7--adjustable.
 
1148
           TeX4ht adds classes  8 and 9, while using 
 
1149
           class 7 independently
 
1150
       \special{t4ht^}
 
1151
           on/off processing delimiters
 
1152
       \special{t4ht^-} 
 
1153
           pause processing delimeters
 
1154
       \special{t4ht^+} 
 
1155
           continue processing delimeters
 
1156
       \special{t4ht^i} 
 
1157
           on/off processing delimiters of class i   
 
1158
       \special{t4ht^i*...*...}
 
1159
           configure delimiters for class i. * can be any 
 
1160
           character distinguished for the group.
 
1161
       \special{t4ht^i(}
 
1162
           put delimiters of class i on next group
 
1163
       \special{t4ht^i)}
 
1164
           As before, but ignore the delimeters within the sub-group.
 
1165
       \special{t4ht^)*...*...}
 
1166
           put the specified delimiters on next group.
 
1167
           Ignore delimeters within the group.
 
1168
       \special{t4ht^<*...*...}
 
1169
           put the specified delimiters on the next group.
 
1170
           Don't ignore delimeters within the group.
 
1171
                                                    dvi arithmetic
 
1172
                                                    --------------
 
1173
  :    \special{t4ht:....}
 
1174
           Dvi-mode arithmetics.  
 
1175
             :+...  increment by 1( define, if not defined)
 
1176
             :-...  decrement by 1
 
1177
             :>...  push current value
 
1178
             :<...  pop current value
 
1179
             :!...  display current value
 
1180
             :|...  display top value
 
1181
 
 
1182
                                                    messages to lg file
 
1183
                                                    -------------------
 
1184
  +    \special{t4ht+@...message...}
 
1185
           Send message to the lg file.  Used in the \Needs{...} command. 
 
1186
  @    \special{t4ht@D....}
 
1187
           Send message to the lg file, together with location and file
 
1188
           stamp.
 
1189
 
 
1190
                                                    positional code
 
1191
                                                    -------------------
 
1192
  "    \special{t4ht"}
 
1193
           Start/end positional env
 
1194
       \special{t4ht"* before-all * after-all ...** before-char 
 
1195
                     * after-char * rect 
 
1196
                     *%A*%B*%C*%D*%E
 
1197
                     * optional
 
1198
           Configure positioned code
 
1199
             * before-all
 
1200
             * after-all      %...
 
1201
             ** before-char  %x %y
 
1202
             * after-char    
 
1203
             * rect          %x1 %y1 ...
 
1204
             * x,x1-coefficients %A(x) + %B     
 
1205
             * y1-coefficients %C(y1 - %E(height)) + %D
 
1206
             * y-coefficients  %C(y) + %D
 
1207
             * optional: 1, 2
 
1208
 
 
1209
               %x1 %y1 %length %thickness          default
 
1210
               %x1 %y1 %x1+length %y1+thickness    1
 
1211
               %x1 %y1 %x1+length %y1 %thickness   2
 
1212
 
 
1213
           A-magnification, B-displacement
 
1214
           C-magnification, D-displacement, 
 
1215
           E- origin (0: top, 0.5: mid, 1: bot)
 
1216
 
 
1217
           The %...'s should be c-type templates (e.g., "%.2f"; "%.0f"
 
1218
              gives an integer)
 
1219
 
 
1220
           Multiple after-all templates are allowed. The leading 
 
1221
             character is a code specifying the dimension type.
 
1222
                x           min x
 
1223
                X           max x
 
1224
                y           min y
 
1225
                Y           max y
 
1226
                d           dx
 
1227
                D           dy
 
1228
                otherwise   a string with no values
 
1229
           The delimiter `*' can be substitued by another character.
 
1230
 
 
1231
 
 
1232
  ~    \special{t4ht~...}
 
1233
           Grouped-base two-way delivery for content created by
 
1234
           inline commands like \over.  
 
1235
 
 
1236
       \special{t4ht~}...\special{t4ht~}   on/off
 
1237
 
 
1238
       ~<i...  send forward to the start of the group nested
 
1239
                                                at relative level i.
 
1240
       ~>i...  send forward to the end of the group nested
 
1241
                                                at relative level i.
 
1242
               i=0, current group
 
1243
 
 
1244
 
 
1245
       ~<*...  send back to start of previous token / group.
 
1246
       \special{t4ht~<)}...\special{t4ht~<(}
 
1247
           activate / deactivate  back token / group submissions
 
1248
       \special{~<[}...\special{t4ht~<]}'  
 
1249
           hide region from back submissions over token / group
 
1250
       \special{t4ht~<-} ... \special{t4ht~<+}
 
1251
           latex back token / group
 
1252
 
 
1253
       \special{t4ht\string~!...path...<...content}
 
1254
           insertion at the start of the group reached by the path
 
1255
       \special{t4ht\string~!...path...>...content}  
 
1256
           insertion at the end of the group reached by the path
 
1257
       \special{t4ht\string~!...path.../} 
 
1258
           ignore content within the group reached by the path
 
1259
       \special{t4ht\string~!...path...-}       
 
1260
           ignore rulers from the group reached by the path
 
1261
           until the start of the next group
 
1262
        A path may consist only of `e' and `s' characters for,
 
1263
        respectively, entering and skipping groups
 
1264
 
 
1265
  *!   \special{t4ht*! system command}
 
1266
           System call
 
1267
  *^   accent specials
 
1268
  *@   halign specials
 
1269
 
 
1270
\HCode...............................1
 
1271
 
 
1272
   A wrapper for \special{t4ht=...}
 
1273
 
 
1274
\Hnewline............................0
 
1275
 
 
1276
   Requests new lines within specials
 
1277
>>>
 
1278
 
 
1279
%%%%%%%%%%%%%%%
 
1280
\section{latex}
 
1281
%%%%%%%%%%%%%%%
 
1282
 
 
1283
 
 
1284
 
 
1285
 
 
1286
 
 
1287
\>>>VBorder<<<   
 
1288
\Configure{VBorder}...................4
 
1289
 
 
1290
    Break points, when scanning the pattern of column desriptions, at
 
1291
 
 
1292
    #1  at start of pattern
 
1293
    #2  at |
 
1294
    #3  at a non-@ entry
 
1295
    #4  at a @ entry
 
1296
 
 
1297
  Applies to \begin{tabular / array}{...pattern...} 
 
1298
 
 
1299
    \ar:cnt    index of entry in pattern
 
1300
    \ch:class  records the current alignment type: -,<,>,p,...
 
1301
    \HColAlign produces the \Configure{halignTD} contribution 
 
1302
               for the current alignment type
 
1303
    \HColWidth holds the width of the current p column
 
1304
 
 
1305
\Configure{HBorder}..................10
 
1306
   
 
1307
   hline:
 
1308
    #1  insert at start of row (e.g., <tr>)
 
1309
    #2  insert at each cell    (e.g., <td><hr/></td>)
 
1310
    #3  insert at end of row   (e.g., </tr>)     
 
1311
 
 
1312
   cline:
 
1313
    #4  insert at start of row         (e.g., <tr>)
 
1314
    #5  insert at each `extra' cell    (e.g., <td></td>)
 
1315
    #6  insert at each cell            (e.g., <td><hr/></td>)
 
1316
    #7  insert at end of row           (e.g., </tr>)     
 
1317
 
 
1318
   vspace:
 
1319
    #8  insert at start of row (e.g., <tr>)
 
1320
    #9  insert at each cell    (e.g., <td>&nbsp;</td>)
 
1321
    #10 insert at end of row   (e.g., </tr>)     
 
1322
 
 
1323
   The contributions are collected into \HBorder.  (The \InitHBorder
 
1324
   clears \HBorder.)
 
1325
 
 
1326
\Configure{putHBorder}...............1
 
1327
    #1 Specifies how \HBorder is to be used.
 
1328
 
 
1329
   Example: \Configure{putHBorder}{\HCode{\HBorder}}
 
1330
 
 
1331
>>>
 
1332
                
 
1333
\<configure info4ht latex\><<<
 
1334
Sectioning
 
1335
----------
 
1336
 
 
1337
\Configure{@sec @ssect}
 
1338
 
 
1339
 
 
1340
Tables of Contents
 
1341
------------------
 
1342
 
 
1343
 
 
1344
\Configure{tableofcontents}........................5
 
1345
   
 
1346
   #1 before
 
1347
   #2 at end
 
1348
   #3 after
 
1349
   #4 at paragraph break
 
1350
   #5
 
1351
   
 
1352
   The \tableofcontents command may be followed by a comma separated
 
1353
   list of sectioning unit names to be included in the table of
 
1354
   contents.  The list should be enclosed within square brackets.
 
1355
   Alternatively, a command of the form \TableOfContents[...] might
 
1356
   be used.
 
1357
 
 
1358
Lists
 
1359
-----
 
1360
 
 
1361
\ConfigureList.....................5
 
1362
 
 
1363
   #1   type of list (e.g., itemize, description, enumerate, 
 
1364
                            list, trivlist)
 
1365
   #2   before list
 
1366
   #3   after  list
 
1367
   #4   before label 
 
1368
   #5   after label
 
1369
 
 
1370
   \DeleteMark   removes latex's label; to be placed at the end of #4
 
1371
   \AnchorLabel  defines an anchor for \label in current item; to
 
1372
                 be placed in #5
 
1373
 
 
1374
 
 
1375
Tables
 
1376
------
 
1377
 
 
1378
\Configure{tabular}...................6
 
1379
\Configure{array}.....................6
 
1380
 
 
1381
    #1   before table         #2   after table
 
1382
    #3   before row           #4   after row
 
1383
    #5   before cell          #6   after cell
 
1384
 
 
1385
    \HRow         current row number
 
1386
    \HCol         current column number
 
1387
    \HMultispan   number of cells covered by the current cell
 
1388
    \ar:cnt       number of columns in table
 
1389
 
 
1390
  NOTE: Table require a number of compilations that depends
 
1391
        on the number of columns.
 
1392
  
 
1393
|VBorder
 
1394
 
 
1395
\Configure{halignTD}..................2 + 2i + {}
 
1396
 
 
1397
  interpretation for character codes referenced in \HAlign
 
1398
 
 
1399
  e.g.,
 
1400
 
 
1401
   \Configure{halignTD}
 
1402
   {}{}
 
1403
   {<}{\HCode{align="left"}}
 
1404
   {-}{\HCode{align="center"}}
 
1405
   {>}{\HCode{align="right"}}
 
1406
   {^}{\HCode{valign="top"}}
 
1407
   {=}{\HCode{valign="baseline"}}
 
1408
   {||}{\HCode{valign="middle"}}
 
1409
   {_}{\HCode{valign="bottom"}}
 
1410
   {p}{\HCode{align="left"}}
 
1411
   {}
 
1412
 
 
1413
   \halignTD can be used in td elements to extract the alignment.
 
1414
   It recieves information from \halignTB.
 
1415
 
 
1416
\Configure{halignTB}..................2
 
1417
   
 
1418
   delimiters for \halignTB{tabular}
 
1419
 
 
1420
   Example
 
1421
       \Configure{halignTB}{\HCode{<table }}{\HCode{>}} 
 
1422
 
 
1423
\Configure{tabbing}[mag]..................4
 
1424
 
 
1425
   #1 before each line
 
1426
   #2 after each line
 
1427
   #3 before each entry
 
1428
   #4 after each entry
 
1429
 
 
1430
   [mag] optional parameter specifying the magnification desired
 
1431
         for the dimensions.  When offered, the other parameters
 
1432
         have no effect if all of them are assigned empty arguments
 
1433
 
 
1434
   \TabType   \` or \relax
 
1435
   \TabWidth  Provides the entry width; 0 at trailing entry that is 
 
1436
              not flushed rightward
 
1437
 
 
1438
 
 
1439
Cross References
 
1440
----------------
 
1441
 
 
1442
\Configure{ref}.......................3
 
1443
 
 
1444
  #1   \Link-type command
 
1445
  #2   \EndLink-type command
 
1446
  #3   anchor (the system anchor is 
 
1447
               reachable through the parameter name #1)
 
1448
  \RefArg   Holds the argument of \ref
 
1449
 
 
1450
  If #1 is empty, the hyper links are ignored
 
1451
  If #3 is empty, the anchor is the one provided by the system
 
1452
 
 
1453
  Example:
 
1454
 
 
1455
    \Configure{ref}{\Link}{\EndLink}{{\bf #1}}
 
1456
 
 
1457
\Configure{pageref}...................3
 
1458
 
 
1459
  #1   before
 
1460
  #2   after
 
1461
  #3   anchor (system anchor, if parameter is empty)
 
1462
 
 
1463
\Configure{newlabel}..................2
 
1464
 
 
1465
  #1   address for hyperlink (\cur:th \:currentlabel, if empty)
 
1466
  #2   anchor (the system anchor is 
 
1467
               reachable through the parameter name #1)
 
1468
 
 
1469
\Configure{@newlabel}.................1
 
1470
 
 
1471
   #1  modifications to the newlabel environment
 
1472
 
 
1473
\Configure{newlabel-ref}..............1
 
1474
 
 
1475
   #1  an intermediate link command for the aux file  
 
1476
       (Configured by \Configure{ref}...)
 
1477
 
 
1478
   The default for #1 is \rEfLiNK
 
1479
 
 
1480
\Configure{cite}......................4
 
1481
 
 
1482
  #1   before
 
1483
  #2   after
 
1484
  #3   \Link-type command
 
1485
  #4   \EndLink-type command
 
1486
 
 
1487
  If #3 is empty, the hyper links are ignored.
 
1488
 
 
1489
\Configure{bibitem}...................2
 
1490
 
 
1491
  #1   \Link-type command
 
1492
  #2   \EndLink-type command
 
1493
 
 
1494
\Configure{bibcite}...................1
 
1495
 
 
1496
  #1  configurations for content transfered by bibitem to the aux file
 
1497
 
 
1498
  Example:    
 
1499
       \Configure{bibcite}
 
1500
                 {\def\hookrightarrow{\string\hookrightarrow}}
 
1501
       \bibitem[$\hookrightarrow$...]{...}
 
1502
 
 
1503
 
 
1504
\LoadLabels[#1]{#2}....................
 
1505
 
 
1506
  [#1]   optional group name
 
1507
  #2     aux file name, without the extension
 
1508
  
 
1509
  Loads labels of another file, under the specified group name
 
1510
 
 
1511
\RefLabel.............................2
 
1512
 
 
1513
  #1     group name (for separating files and labels from
 
1514
                     different sources)
 
1515
  #2     label
 
1516
  
 
1517
  A variant of \ref for loading labels produced for other files
 
1518
 
 
1519
  Example:
 
1520
    file1.tex:  \label{foo}
 
1521
 
 
1522
    file2.tex:  \LoadLabels[x]{file1}
 
1523
                \RefLabel{x}{foo}
 
1524
 
 
1525
\SkipRefstepAnchor.....................0
 
1526
 
 
1527
    No \Link anchor for next \refstepcounter
 
1528
 
 
1529
\ShowRefstepAnchor.....................0
 
1530
\AutoRefstepAnchor.....................0
 
1531
 
 
1532
 
 
1533
Bibliography on bibtex2 option: 
 
1534
 
 
1535
  \Configure{bibliography2}........................ 4
 
1536
 
 
1537
     #1 before anchor
 
1538
     #2 anchor
 
1539
     #3 after anchor
 
1540
     #4 link attributes
 
1541
 
 
1542
    Example:
 
1543
    
 
1544
       \Configure{bibliography2}
 
1545
          {\bgroup ~~[\Configure{Link}{a}{target="x"  href=}{ name=}{}}
 
1546
          {more} {]\egroup} 
 
1547
 
 
1548
  \Configure{bibitem2}..............................3
 
1549
 
 
1550
     #1 at start of bibitem 
 
1551
     #2 at end of bibitem
 
1552
     #3 separator after label
 
1553
 
 
1554
  \Configure{bibliographystyle2}....................1
 
1555
   
 
1556
     #1 an empty argument asks for the same style as the 
 
1557
        normal aux file (still bibtex may produce different
 
1558
        output).
 
1559
 
 
1560
Note: Option `bibtex2' requires compilation
 
1561
      of `\jobname j.aux' with bibtex.
 
1562
 
 
1563
Captions
 
1564
--------
 
1565
 
 
1566
refcaption
 
1567
 
 
1568
  An option for \Preamble, requesting anchors at \caption. The default
 
1569
  setting sends them back to the start of the floating environment.
 
1570
 
 
1571
 
 
1572
Theorems
 
1573
--------
 
1574
 
 
1575
\Configure{newtheorem} ......................3
 
1576
 
 
1577
  #1 before theorem
 
1578
  #2 between title and body
 
1579
  #3 after theorem
 
1580
 
 
1581
Math
 
1582
----     
 
1583
\Configure{()}...............................2
 
1584
\Configure{[]}...............................2
 
1585
 
 
1586
   Example:
 
1587
 
 
1588
     \Configure{()}{\protect\PicMath$}{$\protect\EndPicMath}
 
1589
     \Configure{[]} {\Tg<display>\DviMath$$} {$$\EndDviMath\Tg</display>}
 
1590
 
 
1591
\Configure{equation}.........................3
 
1592
 
 
1593
   #1    at start
 
1594
   #2    between the equation and its numbering
 
1595
   #3    at end
 
1596
 
 
1597
  Examples:
 
1598
 
 
1599
      \Configure{equation}
 
1600
           {\IgnorePar\EndP\bgroup \Configure{HtmlPar}{}{}{}{}%
 
1601
                    \HCode{<table class="equation"><tr><td>}\IgnorePar
 
1602
           }
 
1603
           {\HCode{</td><td class="eq-number">}}
 
1604
           {\HCode{</td></tr></table>}\egroup}
 
1605
 
 
1606
      %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
 
1607
 
 
1608
      \Configure{equation}
 
1609
         {\IgnorePar\EndP \bgroup \Configure{$$}{}{}{}%
 
1610
          \Configure{@math}{display="inline"}\DviMath
 
1611
                  \HCode{<mtable class="equation"><mtr><mtd>}\IgnorePar
 
1612
         }
 
1613
         {\IgnorePar\HCode{</mtd><mtd class="eq-number">}}
 
1614
         {\HCode{</mtd></mtr></mtable>}\EndDviMath\egroup}
 
1615
 
 
1616
 
 
1617
\Configure{frac}.............................4
 
1618
\Configure{sqrtsign}.........................2
 
1619
 
 
1620
\Configure{mbox}.............................2
 
1621
 
 
1622
Environments of latex 
 
1623
---------------------
 
1624
 
 
1625
  \ConfigureEnv{...}.........................4
 
1626
 
 
1627
     #1 environment name
 
1628
     #2 before env
 
1629
     #3 after env
 
1630
     #4 before underlying list
 
1631
     #5 after underlying list
 
1632
 
 
1633
    #2 and #3 are ignore when they are both empty as well as
 
1634
    when there is no underlying list
 
1635
 
 
1636
 
 
1637
   array
 
1638
   center
 
1639
   flushleft
 
1640
   flushright
 
1641
   minipage
 
1642
   tabbing
 
1643
   tabular
 
1644
   verbatim*
 
1645
   verbatim
 
1646
 
 
1647
 
 
1648
   \Configure{@begin}........................2
 
1649
 
 
1650
      #1 environment name
 
1651
      #2 insertion before the environment
 
1652
     
 
1653
   Example:
 
1654
      \Configure{@begin}{theindex}{\section*{\indexname}} 
 
1655
 
 
1656
 
 
1657
Verbatim
 
1658
--------
 
1659
 
 
1660
\Configure{verbatim}......................2
 
1661
 
 
1662
   #1 at start of line
 
1663
   #2 space character
 
1664
 
 
1665
\Configure{verb}..........................2
 
1666
   
 
1667
   #1 before
 
1668
   #2 after
 
1669
 
 
1670
\Configure{obeylines}.....................3
 
1671
 
 
1672
   #1 before
 
1673
   #2 at start of line
 
1674
   #3 after
 
1675
 
 
1676
\ScriptEnv................................3
 
1677
 
 
1678
  Introduces a verbatim environent
 
1679
 
 
1680
   #1 name
 
1681
   #2 before
 
1682
   #3 after
 
1683
 
 
1684
  A `-' immediately after \begin{...} designate as an escape symbol
 
1685
  the character following the dash
 
1686
 
 
1687
  Example:
 
1688
 
 
1689
     \ScriptEnv{foo}
 
1690
       {\HCode{<myscript>}\NoFonts\hfill\break }
 
1691
       {\EndNoFonts \HCode{</myscript>}}
 
1692
     
 
1693
     \begin{foo}
 
1694
     ....
 
1695
     ....
 
1696
     \end{foo}
 
1697
 
 
1698
     \begin{foo}-|
 
1699
     ....
 
1700
     ....
 
1701
     \end{foo}
 
1702
 
 
1703
 
 
1704
Fonts
 
1705
-----
 
1706
 
 
1707
\Configure{texttt}........................2
 
1708
\Configure{textit}........................2
 
1709
\Configure{textrm}........................2
 
1710
\Configure{textup}........................2
 
1711
\Configure{textsl}........................2
 
1712
\Configure{textsf}........................2
 
1713
\Configure{textbf}........................2
 
1714
\Configure{textsc}........................2
 
1715
\Configure{emph}..........................2
 
1716
 
 
1717
  #1  before content
 
1718
  #2  after content
 
1719
 
 
1720
 
 
1721
Footnotes
 
1722
---------
 
1723
 
 
1724
\Configure{footnotetext}..................3
 
1725
 
 
1726
    #1 before footnote
 
1727
    #2 between mark and content
 
1728
    #3 after footnote
 
1729
 
 
1730
   \FNnum     footnote number
 
1731
 
 
1732
\Configure{footnotemark}..................2
 
1733
 
 
1734
    #1 before
 
1735
    #2 after
 
1736
 
 
1737
Pictures
 
1738
--------
 
1739
 
 
1740
\Configure{picture}.......................2
 
1741
 
 
1742
    #1  before
 
1743
    #2  after
 
1744
 
 
1745
Other Hooks
 
1746
-----------
 
1747
 
 
1748
\Configure{ }.........................1
 
1749
 
 
1750
   #1 representation for non-breaking space ch
 
1751
 
 
1752
\Configure{hline}.....................1
 
1753
 
 
1754
\Configure{hspace} ...................3
 
1755
 
 
1756
   \tmp:dim      register holding the size
 
1757
   #1            before the space
 
1758
   #2            after the space
 
1759
   #3            after #1 (\tmp:dim mod 6em  copies)
 
1760
 
 
1761
\Configure{vspace} ...................1
 
1762
 
 
1763
   #1 the size of space is prvided in a parameter nmaed `#1'
 
1764
 
 
1765
   Example:
 
1766
 
 
1767
      \Configure{vspace}
 
1768
      {\ifhmode
 
1769
         \HCode{<br />}%
 
1770
         \ifdim #1>1ex \HCode{<br />}\fi
 
1771
       \fi
 
1772
      }
 
1773
 
 
1774
\Configure{fbox} .................................. 2
 
1775
 
 
1776
   Examples:
 
1777
 
 
1778
        \Configure{fbox}
 
1779
          {\HCode{<div class="fbox">}\bgroup \fboxrule=0pt}
 
1780
          {\egroup\HCode{</div>}}
 
1781
        \Css{div.fbox {border: 1pt solid black;}}
 
1782
        
 
1783
        \Configure{fbox}
 
1784
          {\HCode{<table cellspacing="0pt"
 
1785
              border="1"><tr><td>}\bgroup \fboxrule=0pt}
 
1786
          {\egroup\HCode{</td></tr></table>}}
 
1787
 
 
1788
\Configure{'} ..................................... 3
 
1789
 
 
1790
   #1 at entry to math prime environment
 
1791
   #2 at exit 
 
1792
   #3 content of \prime
 
1793
 
 
1794
\Configure{float}....................................
 
1795
   #1 optional, to appear within brakects [ and ].  An anchor for
 
1796
      the links preceeding the float, when option refcaption is
 
1797
      not active
 
1798
   #2 Insertion before the links
 
1799
   #3 at start
 
1800
   #4 at end
 
1801
 
 
1802
\Configure{textcircled}.............................2n+1
 
1803
   2i'th     replaced       i=1,...,n
 
1804
   2i+1'st   replacement
 
1805
   2n+'nd    empty (terminator)
 
1806
 
 
1807
 
 
1808
\Configure{add accent}{#1:#2}{#3}{#4}...{}{}
 
1809
   #1  encoding
 
1810
   #2  font number
 
1811
   #3  character under font
 
1812
   #4  replacement
 
1813
   
 
1814
   Applies to accents that reach \add@accent
 
1815
 
 
1816
  Example:
 
1817
 
 
1818
     \Configure{add accent}{OT4:18}  
 
1819
       {E}{\add:acc{00C8}} 
 
1820
       {e}{\add:acc{00E8}} 
 
1821
       {}{}  
 
1822
  
 
1823
 
 
1824
    
 
1825
 
 
1826
\Configure{//[]}
 
1827
\Configure{AfterTitle}
 
1828
\Configure{HAccent}
 
1829
\Configure{InsertTitle}
 
1830
\Configure{accents}
 
1831
\Configure{accent}
 
1832
\Configure{centercr}
 
1833
\Configure{centerline}
 
1834
 
 
1835
\Configure{displaylines}
 
1836
\Configure{framebox}
 
1837
 
 
1838
\Configure{leftline}
 
1839
\Configure{marginpar}
 
1840
\Configure{mathaccent}
 
1841
\Configure{newline}
 
1842
\Configure{oalign}
 
1843
 
 
1844
\Configure{overline}
 
1845
 
 
1846
\Configure{rightline}
 
1847
\Configure{stackrel}
 
1848
\Configure{tt}
 
1849
\Configure{underline}
 
1850
\Configure{thanks}....................2
 
1851
 
 
1852
>>>
 
1853
 
 
1854
 
 
1855
%%%%%%%%%%%%%%%
 
1856
\section{book}
 
1857
%%%%%%%%%%%%%%
 
1858
             
 
1859
 
 
1860
\>>>maketitleInfo<<<
 
1861
Title Page
 
1862
----------
 
1863
\Configure{maketitle}.....................4
 
1864
 
 
1865
   #1 start of maketitle
 
1866
   #2 end of maketitle
 
1867
   #3 before title
 
1868
   #4 after title
 
1869
 
 
1870
\Configure{thanks author date and}........8
 
1871
 
 
1872
   #1  before thanks
 
1873
   #2  after thanks
 
1874
   #3  before author
 
1875
   #4  after author
 
1876
   #5  before date
 
1877
   #6  after date
 
1878
   #7  representation of `and'
 
1879
   #8  line breaks (= end of rows, for an embedded tabular environment)
 
1880
>>>
 
1881
 
 
1882
\>>>thebibliographyInfo<<<
 
1883
Bibliography
 
1884
------------
 
1885
 
 
1886
\ConfigureList{thebibliography}......4
 
1887
 
 
1888
   #1   before list
 
1889
   #2   after  list
 
1890
   #3   before label 
 
1891
   #4   after label
 
1892
 
 
1893
   \DeleteMark   removes latex's label; to be placed at the end of #3
 
1894
   \AnchorLabel  defines an anchor for \label in current item; to
 
1895
                 be placed in #4
 
1896
 
 
1897
\Configure{cite}        see the
 
1898
\Configure{bibitem}     latex section
 
1899
>>>
 
1900
 
 
1901
 
 
1902
 
 
1903
 
 
1904
 
 
1905
\>>>tableofcontentsStr<<<
 
1906
\Configure{tableofcontents*}.......................1
 
1907
 
 
1908
    #1  A non-empty  parameter asks to implicitly introduce
 
1909
        a \tableofcontents upon reaching the first sectioning
 
1910
        command, if no \tableofcontents command is encountered
 
1911
        earlier. The parameter assumes a colon-separated list
 
1912
        of sectioning types to be included in the output
 
1913
        of \tableofcontents.  Starred variants of sectioning
 
1914
        types should be referenced with the `like' prefix.
 
1915
 
 
1916
        An empty parameter cancels earlier requests for implicit
 
1917
        calls to \tableofcontents (e.g., embedded within requests
 
1918
        to package options 1, 2, 3, 4)
 
1919
 
 
1920
   Example:
 
1921
 
 
1922
      \Configure{tableofcontents*}{part,likepart,%
 
1923
           section,likesection,subsection,likesubsection}
 
1924
 
 
1925
\contentsname
 
1926
 
 
1927
   A LaTeX macro stating the title for a table of contents division.
 
1928
>>>
 
1929
 
 
1930
\>>>theindex<<<
 
1931
\Configure{theindex} ..........................9
 
1932
 
 
1933
     #1    before-env
 
1934
     #2    after-env
 
1935
     #3    before-item
 
1936
     #4    after-item
 
1937
     #5    before-subitem
 
1938
     #6    after-subitem
 
1939
     #7    before-subsubitem
 
1940
     #8    after-subsubitem
 
1941
     #9    at-indexspace
 
1942
 
 
1943
    Example:
 
1944
    
 
1945
       \Configure{theindex}
 
1946
          {\HCode{<ul class="theindex">}\global\let\IndexSpace=\empty}
 
1947
          {\HCode{</ul>}}
 
1948
          {\HCode{<li \IndexSpace>}\global\let\IndexSpace=\empty}
 
1949
                                         {\HCode{</li>\Hnewline}}
 
1950
          {\HCode{<li>}\ \ \ \ }         {\HCode{</li>\Hnewline}}
 
1951
          {\HCode{<li>}\ \ \ \ \ \ \ \ } {\HCode{</li>\Hnewline}}
 
1952
          {\global\def\IndexSpace{class="indexspace"}}
 
1953
       
 
1954
       \Css{.indexspace{margin-top:1em;}}
 
1955
       
 
1956
    The links are indirectly requested in the idx files within 
 
1957
    \beforeentry macros. For instance, a file try.tex
 
1958
    
 
1959
       \documentclass{article}
 
1960
          \makeindex
 
1961
       \begin{document}
 
1962
       
 
1963
       \section{xx}
 
1964
       
 
1965
       \index{a1}  x
 
1966
       \index{a2}  x
 
1967
       \index{a2}  x
 
1968
       \index{b1}  x
 
1969
       \index{b2}  x
 
1970
       \index{b3}  x
 
1971
       
 
1972
       \input \jobname.ind
 
1973
       
 
1974
       \end{document}
 
1975
    
 
1976
    produces a file try.idx of the form
 
1977
    
 
1978
       \beforeentry{try.html}{dx1-1001}{}
 
1979
       \indexentry{a1}{1}
 
1980
       \beforeentry{try.html}{dx1-1002}{}
 
1981
       \indexentry{a2}{1}
 
1982
       \beforeentry{try.html}{dx1-1003}{}
 
1983
       \indexentry{a2}{1}
 
1984
       \beforeentry{try.html}{dx1-1004}{}
 
1985
       \indexentry{b1}{1}
 
1986
       \beforeentry{try.html}{dx1-1005}{}
 
1987
       \indexentry{b2}{1}
 
1988
       \beforeentry{try.html}{dx1-1006}{}
 
1989
       \indexentry{b3}{1}
 
1990
    
 
1991
    where each pair 
 
1992
    
 
1993
        \beforeentry{A}{B}{}\indexetry{C}{D} 
 
1994
    
 
1995
    represents an entry of the form 
 
1996
    
 
1997
        \indexentry{\Link[A]{B}{}C\EndLink}{D}
 
1998
          
 
1999
    The makeindex utility ignores the \beforeentry records.  To compensate
 
2000
    for that, one needs to pre-process the idx file which is introduced to
 
2001
    the makeindex utility and/or post-process the output of the utility.
 
2002
 
 
2003
    A script consisting of two instructions similar to
 
2004
 
 
2005
      tex '\def\filename{{try}{idx}{4dx}{ind}} \input idxmake.4ht'
 
2006
      makeindex -o try.ind try.4dx
 
2007
 
 
2008
    instead of
 
2009
 
 
2010
      makeindex -o try.ind try.idx
 
2011
 
 
2012
    should do the job.
 
2013
 
 
2014
    On some platforms, the quotation marks ' should be
 
2015
    replaced by double quotation marks " or eliminated.
 
2016
 
 
2017
\Configure{makeindex} ..........................1
 
2018
 
 
2019
    The default setting, requests consecutive numbers for the
 
2020
    pointers in the indexes.  The current command provides the
 
2021
    means to configure the pointers to other values.
 
2022
 
 
2023
    Example: \Configure{makeindex}{Sec \arabic{section}}
 
2024
>>>
 
2025
 
 
2026
 
 
2027
 
 
2028
  
 
2029
\<configure info4ht book\><<<
 
2030
|maketitleInfo
 
2031
 
 
2032
Sectioning
 
2033
----------
 
2034
 
 
2035
\Configure{part}
 
2036
\Configure{section}
 
2037
\Configure{subsection}
 
2038
\Configure{subsubsection}
 
2039
\Configure{paragraph}
 
2040
\Configure{subparagraph}
 
2041
 
 
2042
\Configure{likepart}
 
2043
\Configure{likechapter}
 
2044
\Configure{likesection}
 
2045
\Configure{likesubsection}
 
2046
\Configure{likesubsubsection}
 
2047
\Configure{likeparagraph}
 
2048
\Configure{likesubparagraph}
 
2049
|thebibliographyInfo
 
2050
 
 
2051
 
 
2052
\ConfigureToc
 
2053
 
 
2054
 lof, lot, appendix, chapter, likechapter, likeparagraph, likepart,
 
2055
 likesection, likesubparagraph, likesubsection, likesubsubsection,
 
2056
 paragraph, part, section, subparagraph, subsection, subsubsection
 
2057
 
 
2058
 
 
2059
\Configure{appendixTITLE+}........1
 
2060
\Configure{chapterTITLE+}.........1
 
2061
\Configure{partTITLE+}............1
 
2062
\Configure{sectionTITLE+}.........1
 
2063
\Configure{subsectionTITLE+}......1
 
2064
\Configure{subsubsectionTITLE+}...1
 
2065
 
 
2066
   #1 an insertion just before the content of <TITLE>;
 
2067
 
 
2068
   The insertion overrides the one offered by \Configure{CutAtTITLE+}
 
2069
   for the given section type (the `like' counterparts acn also be
 
2070
   configured).
 
2071
 
 
2072
   If #1 is a one parametric macro, it gets the title content for
 
2073
   an argument.
 
2074
 
 
2075
\Configure{endpart}................1
 
2076
\Configure{endchapter}.............1
 
2077
\Configure{endsection}.............1
 
2078
\Configure{endsubsection}..........1
 
2079
\Configure{endsubsubsection}.......1
 
2080
\Configure{endparagraph}...........1
 
2081
\Configure{endsubparagraph}........1
 
2082
\Configure{endappendix}............1
 
2083
\Configure{endlikepart}............1
 
2084
\Configure{endlikechapter}.........1
 
2085
\Configure{endlikesection}.........1
 
2086
\Configure{endlikesubsection}......1
 
2087
\Configure{endlikesubsubsection}...1
 
2088
\Configure{endlikeparagraph}.......1
 
2089
\Configure{endlikesubparagraph}....1
 
2090
 
 
2091
   #1  a comma separated list specifying the end
 
2092
       points for the configured logical unit
 
2093
 
 
2094
   e.g., \Configure{endsection}
 
2095
              {likesection,chapter,likechapter,appendix,part,likepart}
 
2096
 
 
2097
 
 
2098
 
 
2099
|tableofcontentsStr
 
2100
 
 
2101
 
 
2102
Index (\theindex)
 
2103
-----------------
 
2104
 
 
2105
|theindex
 
2106
 
 
2107
 
 
2108
Environments of book:
 
2109
---------------------
 
2110
 
 
2111
  \ConfigureEnv{...}.........................4
 
2112
 
 
2113
   description
 
2114
   figure
 
2115
   figure*
 
2116
   quotation
 
2117
   quote
 
2118
   table
 
2119
   table*
 
2120
   thebibliography
 
2121
   titlepage
 
2122
   verse
 
2123
 
 
2124
\Configure{listof}
 
2125
 
 
2126
\Configure{appendix}
 
2127
\Configure{caption}
 
2128
\Configure{chapter}
 
2129
>>>
 
2130
 
 
2131
 
 
2132
 
 
2133
 
 
2134
 
 
2135
 
 
2136
 
 
2137
 
 
2138
 
 
2139
\section{report}
 
2140
                
 
2141
\<configure info4ht report\><<<
 
2142
|maketitleInfo
 
2143
|thebibliographyInfo
 
2144
 
 
2145
 
 
2146
\ConfigureList{description}%
 
2147
 
 
2148
\ConfigureToc
 
2149
  
 
2150
  lof, lot, appendix, chapter, likechapter, likeparagraph, likepart,
 
2151
  likesection, likesubparagraph, likesubsection, likesubsubsection,
 
2152
  paragraph, part, section, subparagraph, subsection, subsubsection
 
2153
 
 
2154
 
 
2155
\Configure{appendixTITLE+}
 
2156
\Configure{chapterTITLE+}
 
2157
\Configure{partTITLE+}
 
2158
\Configure{sectionTITLE+}
 
2159
\Configure{subsectionTITLE+}
 
2160
\Configure{subsubsectionTITLE+}
 
2161
 
 
2162
   #1 an insertion just before the content of <TITLE>;
 
2163
 
 
2164
   The insertion overrides the one offered by \Configure{CutAtTITLE+}
 
2165
   for the given section type (the `like' counterparts acn also be
 
2166
   configured).
 
2167
 
 
2168
   If #1 is a one parametric macro, it gets the title content for
 
2169
   an argument.
 
2170
 
 
2171
 
 
2172
\Configure{endpart}................1
 
2173
\Configure{endchapter}.............1
 
2174
\Configure{endsection}.............1
 
2175
\Configure{endsubsection}..........1
 
2176
\Configure{endsubsubsection}.......1
 
2177
\Configure{endparagraph}...........1
 
2178
\Configure{endsubparagraph}........1
 
2179
\Configure{endappendix}............1
 
2180
\Configure{endlikepart}............1
 
2181
\Configure{endlikechapter}.........1
 
2182
\Configure{endlikesection}.........1
 
2183
\Configure{endlikesubsection}......1
 
2184
\Configure{endlikesubsubsection}...1
 
2185
\Configure{endlikeparagraph}.......1
 
2186
\Configure{endlikesubparagraph}....1
 
2187
 
 
2188
   #1  a comma separated list specifying the end
 
2189
       points for the configured logical unit
 
2190
 
 
2191
   e.g., \Configure{endsection}
 
2192
              {likesection,chapter,likechapter,appendix,part,likepart}
 
2193
 
 
2194
 
 
2195
|tableofcontentsStr
 
2196
 
 
2197
 
 
2198
\Configure{appendix}................4
 
2199
\Configure{chapter}
 
2200
\Configure{likechapter}
 
2201
\Configure{likeparagraph}
 
2202
\Configure{likepart}
 
2203
\Configure{likesection}
 
2204
\Configure{likesubparagraph}
 
2205
\Configure{likesubsection}
 
2206
\Configure{likesubsubsection}
 
2207
\Configure{paragraph}
 
2208
\Configure{part}
 
2209
\Configure{section}
 
2210
\Configure{subparagraph}
 
2211
\Configure{subsection}
 
2212
\Configure{subsubsection}
 
2213
 
 
2214
 
 
2215
|theindex
 
2216
 
 
2217
Environments of report:
 
2218
----------------------
 
2219
 
 
2220
  \ConfigureEnv{...}.........................4
 
2221
 
 
2222
   abstract
 
2223
   description
 
2224
   figure
 
2225
   figure*
 
2226
   quotation
 
2227
   quote
 
2228
   table
 
2229
   table*
 
2230
   thebibliography
 
2231
   titlepage
 
2232
   verse
 
2233
 
 
2234
\Configure{listof}
 
2235
\Configure{thanks author date and}
 
2236
\Configure{caption}
 
2237
>>>
 
2238
 
 
2239
\section{article}
 
2240
                
 
2241
\<configure info4ht article\><<<
 
2242
|maketitleInfo
 
2243
 
 
2244
Sectioning Commands
 
2245
-------------------
 
2246
\Configure{part}...................4
 
2247
\Configure{section}................4
 
2248
\Configure{subsection}.............4
 
2249
\Configure{subsubsection}..........4
 
2250
\Configure{paragraph}..............4
 
2251
\Configure{subparagraph}...........4
 
2252
 
 
2253
   #1 before division
 
2254
   #2 after division
 
2255
   #3 before title
 
2256
   #4 after title
 
2257
 
 
2258
\Configure{likepart}...............4
 
2259
\Configure{likesection}............4
 
2260
\Configure{likesubsection}.........4
 
2261
\Configure{likesubsubsection}......4
 
2262
\Configure{likeparagraph}..........4
 
2263
\Configure{likesubparagraph}.......4
 
2264
 
 
2265
   starred versions of the sectioning commands
 
2266
 
 
2267
\Configure{endpart}................1
 
2268
\Configure{endsection}.............1
 
2269
\Configure{endsubsection}..........1
 
2270
\Configure{endsubsubsection}.......1
 
2271
\Configure{endparagraph}...........1
 
2272
\Configure{endsubparagraph}........1
 
2273
\Configure{endlikepart}............1
 
2274
\Configure{endlikesection}.........1
 
2275
\Configure{endlikesubsection}......1
 
2276
\Configure{endlikesubsubsection}...1
 
2277
\Configure{endlikeparagraph}.......1
 
2278
\Configure{endlikesubparagraph}....1
 
2279
 
 
2280
   #1  a comma separated list specifying the end
 
2281
       points for the configured logical unit
 
2282
 
 
2283
   e.g., \Configure{endsection}
 
2284
              {likesection,chapter,likechapter,appendix,part,likepart}
 
2285
 
 
2286
\Configure{partTITLE+}
 
2287
\Configure{sectionTITLE+}
 
2288
\Configure{subsectionTITLE+}
 
2289
\Configure{subsubsectionTITLE+}
 
2290
 
 
2291
 
 
2292
   #1 an insertion just before the content of <TITLE>;
 
2293
 
 
2294
   The insertion overrides the one offered by \Configure{CutAtTITLE+}
 
2295
   for the given section type (the `like' counterparts acn also be
 
2296
   configured).
 
2297
 
 
2298
   If #1 is a one parametric macro, it gets the title content for
 
2299
   an argument.
 
2300
 
 
2301
 
 
2302
|thebibliographyInfo
 
2303
 
 
2304
Tables of Content
 
2305
-----------------
 
2306
\ConfigureToc
 
2307
  
 
2308
  lof, lot, appendix, chapter, likechapter, likeparagraph, likepart,
 
2309
  likesection, likesubparagraph, likesubsection, likesubsubsection,
 
2310
  paragraph, part, section, subparagraph, subsection, subsubsection,
 
2311
 
 
2312
|tableofcontentsStr
 
2313
 
 
2314
 
 
2315
Captions
 
2316
--------
 
2317
 
 
2318
\Configure{caption}...............4
 
2319
   
 
2320
   #1   before number          #2    after number
 
2321
   #3   before title           #4    after title
 
2322
 
 
2323
Indexes
 
2324
-------
 
2325
 
 
2326
|theindex
 
2327
 
 
2328
Environments of article:
 
2329
------------------------
 
2330
 
 
2331
  \ConfigureEnv{...}.........................4
 
2332
 
 
2333
   abstract
 
2334
   description
 
2335
   figure
 
2336
   figure*
 
2337
   quotation
 
2338
   quote
 
2339
   table
 
2340
   table*
 
2341
   thebibliography
 
2342
   titlepage
 
2343
   verse
 
2344
 
 
2345
Other Hooks
 
2346
-----------
 
2347
\Configure{listof}
 
2348
>>>
 
2349
 
 
2350
\section{fontmath}
 
2351
                
 
2352
\<configure info4ht fontmath\><<<
 
2353
\Configure{mathbf}........................2
 
2354
\Configure{mathit}........................2
 
2355
\Configure{mathrm}........................2
 
2356
\Configure{mathsf}........................2
 
2357
\Configure{mathtt}........................2
 
2358
 
 
2359
  #1  before content
 
2360
  #2  after content
 
2361
 
 
2362
\Configure{overbrace}.................3
 
2363
\Configure{underbrace}................3
 
2364
>>>
 
2365
 
 
2366
 
 
2367
\section{graphics}
 
2368
                
 
2369
\<configure info4ht graphics\><<<
 
2370
\Configure{graphics}...............2
 
2371
   
 
2372
    #1  before \includegraphics
 
2373
    #2  after \includegraphics
 
2374
 
 
2375
 
 
2376
    Examples:
 
2377
 
 
2378
       \Configure{graphics}
 
2379
          {\Picture+[PIC]{ class="graphics"}}
 
2380
          {\EndPicture }
 
2381
 
 
2382
       \Configure{graphics}
 
2383
         {\bgroup
 
2384
             \Configure{IMG}
 
2385
                {\ht:special{t4ht=<img src="}}
 
2386
                {\ht:special{t4ht=" alt="}}
 
2387
                {" }
 
2388
                {\ht:special{t4ht=" }}
 
2389
                {}%
 
2390
          \Picture+[PIC]{}}
 
2391
         {\EndPicture
 
2392
             \def\temp{.pstex}\expandafter\ifx 
 
2393
                              \csname Gin@ext\endcsname\temp
 
2394
                                         \HCode{ width="75\%" }\fi
 
2395
             \HCode{ />}%
 
2396
          \egroup}
 
2397
 
 
2398
 
 
2399
\Configure{graphics*}..............2
 
2400
   
 
2401
    #1  extension name
 
2402
    #2  insertion
 
2403
 
 
2404
    \Gin@base (file name), \Gin@ext, \Gin@req@width, \Gin@req@height,
 
2405
    \noBoundingBox (defined iff bounding box is unknown)
 
2406
 
 
2407
    Allows to configure tex4ht for graphics files named in
 
2408
    the \includegraphics macro, based on the type of the files.
 
2409
 
 
2410
    Example:
 
2411
 
 
2412
       \Configure{graphics*}
 
2413
         {jpg}
 
2414
         {\Picture[pict]{\csname Gin@base\endcsname.jpg}}
 
2415
 
 
2416
       \Configure{graphics*}
 
2417
         {wmf}
 
2418
         {\Needs{"convert \csname Gin@base\endcsname.wmf
 
2419
                          \csname Gin@base\endcsname.gif"}%
 
2420
          \Picture[pict]{\csname Gin@base\endcsname.gif
 
2421
                      width="\expandafter\the\csname
 
2422
                                Gin@req@width\endcsname"
 
2423
                     height="\expandafter\the\csname
 
2424
                                Gin@req@height\endcsname"}%
 
2425
         }
 
2426
 
 
2427
       \Configure{graphics*}
 
2428
         {eps}
 
2429
         {\openin15=\csname Gin@base\endcsname\PictExt\relax
 
2430
          \ifeof15
 
2431
             \Needs{"convert \csname Gin@base\endcsname.eps
 
2432
                             \csname Gin@base\endcsname\PictExt"}%
 
2433
          \fi
 
2434
          \closein15
 
2435
          \Picture[pict]{\csname Gin@base\endcsname\PictExt}%
 
2436
         }
 
2437
 
 
2438
  Note: Arguments of the \includegraphics command such as angle and
 
2439
    scale in
 
2440
 
 
2441
       \includegraphics[angle=-90,scale=0.5]{fig.eps}
 
2442
 
 
2443
    are not known to the given figure (e.g., to fig.eps). To be
 
2444
    taken into account, the scripts should handle the transformations
 
2445
    they request (e.g., in \csname Grot@angle\endcsname, 
 
2446
    \csname Gscale@x\endcsname, \csname Gscale@y\endcsname)
 
2447
>>>
 
2448
 
 
2449
 
 
2450
 
 
2451
 
 
2452
\section{babel}
 
2453
                
 
2454
\<configure info4ht babel\><<<
 
2455
\Configure{accent}
 
2456
\Configure{quotedblbase}
 
2457
\Configure{quotesinglbase}
 
2458
 
 
2459
>>>
 
2460
 
 
2461
\section{plain}
 
2462
                
 
2463
\<configure info4ht plain\><<<
 
2464
 
 
2465
\Configure{ }
 
2466
\Configure{HAccent}
 
2467
\Configure{TableOfContents}
 
2468
\Configure{accents}
 
2469
\Configure{accent}
 
2470
\Configure{beginsection}
 
2471
\Configure{centerline}
 
2472
\Configure{displaylines}
 
2473
\Configure{eqalignno}
 
2474
\Configure{eqalign}
 
2475
\Configure{insert}
 
2476
\Configure{item}
 
2477
\Configure{leftline}
 
2478
\Configure{leqalignno}
 
2479
\Configure{line}
 
2480
\Configure{mathaccent}
 
2481
\Configure{narrower}
 
2482
\Configure{noalign}
 
2483
\Configure{obeylines}
 
2484
\Configure{overline}
 
2485
\Configure{proclaim}
 
2486
\Configure{rightline}
 
2487
\Configure{settabs}
 
2488
\Configure{underline}
 
2489
\Configure{vfootnote}
 
2490
>>>
 
2491
 
 
2492
 
 
2493
 
 
2494
\section{amsfonts}
 
2495
 
 
2496
 
 
2497
\<configure info4ht amsfonts\><<<
 
2498
\Configure{mathbb}........................2
 
2499
\Configure{mathfrak}......................2
 
2500
 
 
2501
  #1  before content
 
2502
  #2  after content
 
2503
 
 
2504
>>>
 
2505
 
 
2506
 
 
2507
 
 
2508
\section{amsmath}
 
2509
 
 
2510
% \Configure{dbinom}..................4
 
2511
% \Configure{dfrac}..................4
 
2512
% \Configure{frac}..................4
 
2513
% \Configure{binom}..................4
 
2514
                
 
2515
\<configure info4ht amsmath\><<<
 
2516
\Configure{tmspace}...................1
 
2517
    
 
2518
  \mathglue   amount of space in math units
 
2519
  \textspace  amount of space in points
 
2520
 
 
2521
  Example:
 
2522
    \Configure{tmspace}{\mskip\mathglue}
 
2523
 
 
2524
 
 
2525
\Configure{boxed}.....................2
 
2526
\Configure{equations}.................2
 
2527
\Configure{equation}..................3
 
2528
\Configure{gather*}...................6
 
2529
\Configure{gather}....................6
 
2530
\Configure{genfrac}...................6
 
2531
\Configure{measure@}..................1
 
2532
\Configure{multline*}.................4
 
2533
\Configure{multline}..................6
 
2534
 
 
2535
    #5  before the label
 
2536
    #6  after the label
 
2537
\Configure{overset}...................2
 
2538
\Configure{smallmatrix}...............6
 
2539
\Configure{split}.....................6
 
2540
\Configure{subarray}..................4
 
2541
\Configure{substack}..................2
 
2542
\Configure{underset}..................2
 
2543
\Configure{xleftarrow}................2
 
2544
\Configure{xrightarrow}...............2
 
2545
>>>
 
2546
 
 
2547
 
 
2548
 
 
2549
 
 
2550
\section{amstex1}
 
2551
                
 
2552
\<configure info4ht amstex1\><<<
 
2553
\Configure{eqn}
 
2554
\Configure{gather}
 
2555
 
 
2556
 
 
2557
Environments of amstex1:
 
2558
 
 
2559
   Vmatrix
 
2560
   align*
 
2561
   alignat*
 
2562
   alignat
 
2563
   alignedat
 
2564
   aligned
 
2565
   aligned
 
2566
   align
 
2567
   bmatrix
 
2568
   equation*
 
2569
   equation
 
2570
   gather*
 
2571
   gathered
 
2572
   gather
 
2573
   matrix
 
2574
   multline*
 
2575
   multline
 
2576
   pmatrix
 
2577
   vmatrix
 
2578
   xalignat*
 
2579
   xalignat
 
2580
   xxalignat
 
2581
 
 
2582
>>>
 
2583
 
 
2584
\section{amsart}
 
2585
                
 
2586
\<configure info4ht amsart\><<<
 
2587
|tableofcontentsStr
 
2588
 
 
2589
\ConfigureList{thebibliography}%
 
2590
\Configure{HtmlPar}
 
2591
\Configure{HtmlPar}
 
2592
\Configure{Needs}
 
2593
\Configure{abstract}
 
2594
\Configure{authors}
 
2595
\Configure{caption}
 
2596
\Configure{date}
 
2597
\Configure{endlikeparagraph}
 
2598
\Configure{endlikepart}
 
2599
\Configure{endlikesection}
 
2600
\Configure{endlikesubparagraph}
 
2601
\Configure{endlikesubsection}
 
2602
\Configure{endlikesubsubsection}
 
2603
\Configure{endparagraph}
 
2604
\Configure{endpart}
 
2605
\Configure{endsection}
 
2606
\Configure{endsubparagraph}
 
2607
\Configure{endsubsection}
 
2608
\Configure{endsubsubsection}
 
2609
\Configure{keywords}
 
2610
\Configure{likeparagraph}
 
2611
\Configure{likepart}
 
2612
\Configure{likesection}
 
2613
\Configure{likesubparagraph}
 
2614
\Configure{likesubsection}
 
2615
\Configure{likesubsubsection}
 
2616
\Configure{maketitle}
 
2617
\Configure{paragraph}
 
2618
\Configure{partTITLE+}
 
2619
\Configure{part}
 
2620
\Configure{sectionTITLE+}
 
2621
\Configure{section}
 
2622
\Configure{setdate}
 
2623
\Configure{subjclass}
 
2624
\Configure{submaketitle}
 
2625
\Configure{subparagraph}
 
2626
\Configure{subsectionTITLE+}
 
2627
\Configure{subsection}
 
2628
\Configure{subsubsectionTITLE+}
 
2629
\Configure{subsubsection}
 
2630
\Configure{thanks author date and}
 
2631
\Configure{thanks}
 
2632
\Configure{title}
 
2633
 
 
2634
Environments of amsart:
 
2635
 
 
2636
   abstract
 
2637
   abstract
 
2638
   picture
 
2639
   picture
 
2640
   thebibliography
 
2641
 
 
2642
  \ConfigureToc
 
2643
  
 
2644
  likeparagraph likepart, likesection, likesubparagraph,
 
2645
  likesubsection, likesubsubsection, paragraph, part, section,
 
2646
  subparagraph, subsection, subsubsection,
 
2647
 
 
2648
>>>
 
2649
 
 
2650
 
 
2651
\section{amsbook}
 
2652
                
 
2653
\<configure info4ht amsbook\><<<
 
2654
|tableofcontentsStr
 
2655
 
 
2656
\ConfigureList{thebibliography}%
 
2657
\Configure{HtmlPar}
 
2658
\Configure{Needs}
 
2659
\Configure{abstract}
 
2660
\Configure{addresses}
 
2661
\Configure{authors}
 
2662
\Configure{caption}
 
2663
\Configure{date}
 
2664
\Configure{endlikeparagraph}
 
2665
\Configure{endlikepart}
 
2666
\Configure{endlikesection}
 
2667
\Configure{endlikesubparagraph}
 
2668
\Configure{endlikesubsection}
 
2669
\Configure{endlikesubsubsection}
 
2670
\Configure{endparagraph}
 
2671
\Configure{endpart}
 
2672
\Configure{endsection}
 
2673
\Configure{endsubparagraph}
 
2674
\Configure{endsubsection}
 
2675
\Configure{endsubsubsection}
 
2676
\Configure{keywords}
 
2677
\Configure{likeparagraph}
 
2678
\Configure{likepart}
 
2679
\Configure{likesection}
 
2680
\Configure{likesubparagraph}
 
2681
\Configure{likesubsection}
 
2682
\Configure{likesubsubsection}
 
2683
\Configure{maketitle}
 
2684
\Configure{paragraph}
 
2685
\Configure{partTITLE+}
 
2686
\Configure{part}
 
2687
\Configure{sectionTITLE+}
 
2688
\Configure{section}
 
2689
\Configure{subjclass}
 
2690
\Configure{subparagraph}
 
2691
\Configure{subsectionTITLE+}
 
2692
\Configure{subsection}
 
2693
\Configure{subsubsectionTITLE+}
 
2694
\Configure{subsubsection}
 
2695
\Configure{thanks author date and}
 
2696
\Configure{thanks}
 
2697
\Configure{title}
 
2698
\Configure{translators}
 
2699
 
 
2700
Environments of amsbook:
 
2701
 
 
2702
   abstract
 
2703
   picture
 
2704
   thebibliography
 
2705
 
 
2706
  \ConfigureToc
 
2707
  
 
2708
  appendix, chapter, likechapter, likeparagraph, likepart,
 
2709
  likesection, likesubparagraph, likesubsection, likesubsubsection,
 
2710
  paragraph, part, section, subparagraph, subsection, subsubsection
 
2711
 
 
2712
>>>
 
2713
 
 
2714
\section{amsproc}
 
2715
                
 
2716
\<configure info4ht amsproc\><<<
 
2717
|tableofcontentsStr
 
2718
 
 
2719
\ConfigureList{thebibliography}%
 
2720
\Configure{HtmlPar}
 
2721
\Configure{Needs}
 
2722
\Configure{abstract}
 
2723
\Configure{authors}
 
2724
\Configure{caption}
 
2725
\Configure{date}
 
2726
\Configure{endlikeparagraph}
 
2727
\Configure{endlikepart}
 
2728
\Configure{endlikesection}
 
2729
\Configure{endlikesubparagraph}
 
2730
\Configure{endlikesubsection}
 
2731
\Configure{endlikesubsubsection}
 
2732
\Configure{endparagraph}
 
2733
\Configure{endpart}
 
2734
\Configure{endsection}
 
2735
\Configure{endsubparagraph}
 
2736
\Configure{endsubsection}
 
2737
\Configure{endsubsubsection}
 
2738
\Configure{keywords}
 
2739
\Configure{likeparagraph}
 
2740
\Configure{likepart}
 
2741
\Configure{likesection}
 
2742
\Configure{likesubparagraph}
 
2743
\Configure{likesubsection}
 
2744
\Configure{likesubsubsection}
 
2745
\Configure{maketitle}
 
2746
\Configure{paragraph}
 
2747
\Configure{partTITLE+}
 
2748
\Configure{part}
 
2749
\Configure{sectionTITLE+}
 
2750
\Configure{section}
 
2751
\Configure{subparagraph}
 
2752
\Configure{subsectionTITLE+}
 
2753
\Configure{subsection}
 
2754
\Configure{subsubsectionTITLE+}
 
2755
\Configure{subsubsection}
 
2756
\Configure{thanks author date and}
 
2757
\Configure{thanks}
 
2758
\Configure{title}
 
2759
 
 
2760
Environments of amsproc:
 
2761
 
 
2762
   abstract
 
2763
   picture
 
2764
   thebibliography
 
2765
 
 
2766
  \ConfigureToc
 
2767
  
 
2768
  likeparagraph, likepart, likesection, likesubparagraph,
 
2769
  likesubsection, likesubsubsection, paragraph, part, section,
 
2770
  subparagraph, subsection, subsubsection
 
2771
>>>
 
2772
 
 
2773
 
 
2774
\section{amsthm}
 
2775
                
 
2776
\<configure info4ht amsthm\><<<
 
2777
Environments of amsthm:
 
2778
 
 
2779
   proof
 
2780
>>>
 
2781
 
 
2782
 
 
2783
 
 
2784
 
 
2785
\section{amsppt}
 
2786
                
 
2787
\<configure info4ht amsppt\><<<
 
2788
  \ConfigureToc
 
2789
 
 
2790
    head,  specialhead, subhead, subsubhead
 
2791
 
 
2792
\Configure{HtmlPar}
 
2793
\Configure{Refs}
 
2794
\Configure{abstract}
 
2795
\Configure{affil}
 
2796
\Configure{author}
 
2797
\Configure{block}
 
2798
\Configure{book}
 
2799
\Configure{caption}
 
2800
\Configure{date}
 
2801
\Configure{footnote}
 
2802
\Configure{head}
 
2803
\Configure{itemitem}
 
2804
\Configure{keyformat}
 
2805
\Configure{keywords}
 
2806
\Configure{paper}
 
2807
\Configure{ref}
 
2808
\Configure{roster}
 
2809
\Configure{specialhead}
 
2810
\Configure{subhead}
 
2811
\Configure{subjclass}
 
2812
\Configure{subsubhead}
 
2813
\Configure{thanks}
 
2814
\Configure{title}
 
2815
\Configure{vol}
 
2816
 
 
2817
>>>
 
2818
 
 
2819
 
 
2820
 
 
2821
 
 
2822
 
 
2823
 
 
2824
 
 
2825
\section{psfig}
 
2826
                
 
2827
\<configure info4ht psfig\><<<
 
2828
\Configure{psfig}
 
2829
 
 
2830
>>>
 
2831
 
 
2832
\section{epsfig}
 
2833
                
 
2834
\<configure info4ht epsfig\><<<
 
2835
\Configure{epsfig}...........................#1
 
2836
    
 
2837
   #1  before
 
2838
   #2  after
 
2839
 
 
2840
   In LaTeX, epsfig reduces to graphicsx
 
2841
 
 
2842
   Example:
 
2843
 
 
2844
    \Configure{epsfig}
 
2845
       {\Configure{graphics}
 
2846
          {} {\xdef\foo{width="\the\Gin@req@width"
 
2847
              height="\the\Gin@req@height"}}%
 
2848
        \Picture+[epsfig]{}}
 
2849
       {\EndPicture\immediate\write16{..... \foo}}
 
2850
>>>
 
2851
 
 
2852
\section{xy}
 
2853
                
 
2854
\<configure info4ht xy\><<<
 
2855
\Configure{xypic}
 
2856
 
 
2857
>>>
 
2858
 
 
2859
\section{amscd}
 
2860
                
 
2861
\<configure info4ht amscd\><<<
 
2862
 
 
2863
Environments of amscd:
 
2864
 
 
2865
   CD
 
2866
>>>
 
2867
 
 
2868
 
 
2869
\section{array}
 
2870
                
 
2871
\<configure info4ht array\><<<
 
2872
\Configure{tabular}
 
2873
\Configure{array}
 
2874
 
 
2875
|VBorder
 
2876
 
 
2877
\Configure{@{}}{}
 
2878
 
 
2879
 
 
2880
Environments of array:
 
2881
 
 
2882
   array
 
2883
   tabular
 
2884
>>>
 
2885
 
 
2886
\section{minitoc}
 
2887
                
 
2888
\<configure info4ht minitoc\><<<
 
2889
\Configure{minilof}
 
2890
\Configure{minilot}
 
2891
\Configure{minitoc}
 
2892
\Configure{partlof}
 
2893
\Configure{partlot}
 
2894
\Configure{parttoc}
 
2895
\Configure{sectlof}
 
2896
\Configure{sectlot}
 
2897
\Configure{secttoc}
 
2898
\Configure{tableofcontents}
 
2899
 
 
2900
>>>
 
2901
 
 
2902
 
 
2903
\section{index}
 
2904
                
 
2905
\<configure info4ht index\><<<
 
2906
\Configure{NoSection}
 
2907
 
 
2908
>>>
 
2909
 
 
2910
 
 
2911
 
 
2912
 
 
2913
 
 
2914
\section{ntheorem}
 
2915
                
 
2916
\<configure info4ht ntheorem\><<<
 
2917
Environments of ntheorem:
 
2918
 
 
2919
   Anmerkung
 
2920
   Beispiel
 
2921
   Bemerkung
 
2922
   Beweis
 
2923
   Corollary
 
2924
   Definition
 
2925
   Example
 
2926
   Korollar
 
2927
   Lemma
 
2928
   Proof
 
2929
   Proposition
 
2930
   Remark
 
2931
   Satz
 
2932
   Theorem
 
2933
   anmerkung
 
2934
   beispiel
 
2935
   bemerkung
 
2936
   beweis
 
2937
   corollary
 
2938
   definition
 
2939
   example
 
2940
   korollar
 
2941
   lemma
 
2942
   proof
 
2943
   proposition
 
2944
   remark
 
2945
   satz
 
2946
   theorem
 
2947
 
 
2948
 
 
2949
>>>
 
2950
 
 
2951
 
 
2952
\section{longtable}
 
2953
                
 
2954
\<configure info4ht longtable\><<<
 
2955
\Configure{longtable}.............................6
 
2956
 
 
2957
    #1   before table         #2   after table
 
2958
    #3   before row           #4   after row
 
2959
    #5   before cell          #6   after cell
 
2960
>>>
 
2961
 
 
2962
\section{fancyvrb}
 
2963
                
 
2964
\<configure info4ht fancyvrb\><<<
 
2965
\Configure{fancyvrbcolor}
 
2966
\Configure{fancyvrbframe}
 
2967
\Configure{fancyvrb}
 
2968
 
 
2969
Environments of fancyvrb:
 
2970
 
 
2971
   verbatim*
 
2972
   verbatim
 
2973
 
 
2974
>>>
 
2975
 
 
2976
                \section{moreverb}
 
2977
 
 
2978
 
 
2979
\<configure info4ht moreverb\><<<
 
2980
\Configure{verbatimtab}......................2
 
2981
 
 
2982
   #1 at start of line
 
2983
   #2 space character
 
2984
 
 
2985
Environments of moreverb:
 
2986
 
 
2987
   boxedverbatim*
 
2988
   boxedverbatim*
 
2989
   boxedverbatim
 
2990
   boxedverbatim
 
2991
   verbatimtab
 
2992
>>>
 
2993
 
 
2994
 
 
2995
\section{fancybox}
 
2996
                
 
2997
\<configure info4ht fancybox\><<<
 
2998
\Configure{Ovalbox}
 
2999
\Configure{doublebox}
 
3000
\Configure{ovalbox}
 
3001
\Configure{shadowbox}
 
3002
 
 
3003
>>>
 
3004
 
 
3005
\section{color}
 
3006
                
 
3007
\<configure info4ht color\><<<
 
3008
\Configure{HColor}......................2
 
3009
       
 
3010
      #1 color name
 
3011
      #2 color value
 
3012
 
 
3013
  Examples:  \Configure{HColor}{blue}{\#0000FF}
 
3014
             \Configure{HColor}{light}{rgb(122,251,255)}
 
3015
 
 
3016
\Configure{colorbox}
 
3017
\Configure{color}
 
3018
\Configure{textcolor}
 
3019
 
 
3020
>>>
 
3021
 
 
3022
\section{colortbl}
 
3023
                
 
3024
\<configure info4ht colortbl\><<<
 
3025
\Configure{@classz}
 
3026
\Configure{rowcolor}
 
3027
 
 
3028
>>>
 
3029
 
 
3030
\section{alltt}
 
3031
                
 
3032
\<configure info4ht alltt\><<<
 
3033
Environments of alltt:
 
3034
 
 
3035
   alltt
 
3036
>>>
 
3037
 
 
3038
 
 
3039
 
 
3040
 
 
3041
\section{url}
 
3042
                
 
3043
\<configure info4ht url\><<<
 
3044
\Configure{url}
 
3045
 
 
3046
>>>
 
3047
 
 
3048
\section{hyperref}
 
3049
                
 
3050
\<configure info4ht hyperref\><<<
 
3051
A trick like the following one allows a compilation to choose 
 
3052
between a pdf and a html mode automatically.
 
3053
 
 
3054
   \ifx \HCode\UnDef  \usepackage[pdf]{hyperref}  
 
3055
   \else              \usepackage[tex4ht]{hyperref}  \fi 
 
3056
   
 
3057
The trick assumes the compilations for html are invoked by
 
3058
htlatex-like commands.
 
3059
 
 
3060
\Configure{::#1}
 
3061
\Configure{::action}
 
3062
\Configure{::default}
 
3063
\Configure{::menulength}
 
3064
\Configure{::method}
 
3065
\Configure{::name}
 
3066
\Configure{::value}
 
3067
\Configure{CheckBox::checked}
 
3068
\Configure{CheckBox::}
 
3069
\Configure{ChoiceMenu::combo}
 
3070
\Configure{ChoiceMenu::popdown}
 
3071
\Configure{ChoiceMenu::radio}
 
3072
\Configure{ChoiceMenu::}
 
3073
\Configure{Form}
 
3074
\Configure{PushButton::}
 
3075
\Configure{Reset::}
 
3076
\Configure{Submit::}
 
3077
\Configure{TextField::default}
 
3078
\Configure{TextField::multiline}
 
3079
\Configure{TextField::password}
 
3080
\Configure{TextField::width}
 
3081
\Configure{TextField::}
 
3082
\Configure{combo::default}
 
3083
\Configure{multiline::value}
 
3084
\Configure{multiline::width}
 
3085
\Configure{radio::default}
 
3086
 
 
3087
>>>
 
3088
 
 
3089
 
 
3090
\section{CJK}
 
3091
                
 
3092
\<configure info4ht CJK\><<<
 
3093
\Configure{charset}
 
3094
 
 
3095
>>>
 
3096
 
 
3097
\section{vanilla}
 
3098
                
 
3099
\<configure info4ht vanilla\><<<
 
3100
  \ConfigureToc
 
3101
 
 
3102
    heading,  subheading
 
3103
 
 
3104
\Configure{aligned}
 
3105
\Configure{align}
 
3106
\Configure{author}
 
3107
\Configure{demo}
 
3108
\Configure{heading}
 
3109
\Configure{matrix}
 
3110
\Configure{subheading}
 
3111
\Configure{title}
 
3112
 
 
3113
>>>
 
3114
 
 
3115
 
 
3116
 
 
3117
 
 
3118
 
 
3119
 
 
3120
\section{emulateapj}
 
3121
                
 
3122
\<configure info4ht emulateapj\><<<
 
3123
\Configure{affil}
 
3124
\Configure{author}
 
3125
\Configure{keywords}
 
3126
\Configure{section}
 
3127
\Configure{slugcomment}
 
3128
\Configure{subjectheadings}
 
3129
\Configure{submitted}
 
3130
\Configure{subsection}
 
3131
\Configure{subtitle}
 
3132
\Configure{title}
 
3133
 
 
3134
Environments of emulateapj:
 
3135
 
 
3136
   references
 
3137
>>>
 
3138
 
 
3139
\section{aa}
 
3140
                
 
3141
\<configure info4ht aa\><<<
 
3142
\Configure{HtmlPar}
 
3143
\Configure{caption}
 
3144
\Configure{endlikeparagraph}
 
3145
\Configure{endlikepart}
 
3146
\Configure{endlikesection}
 
3147
\Configure{endlikesubparagraph}
 
3148
\Configure{endlikesubsection}
 
3149
\Configure{endlikesubsubsection}
 
3150
\Configure{endparagraph}
 
3151
\Configure{endpart}
 
3152
\Configure{endsection}
 
3153
\Configure{endsubparagraph}
 
3154
\Configure{endsubsection}
 
3155
\Configure{endsubsubsection}
 
3156
\Configure{likeparagraph}
 
3157
\Configure{likepart}
 
3158
\Configure{likesection}
 
3159
\Configure{likesubparagraph}
 
3160
\Configure{likesubsection}
 
3161
\Configure{likesubsubsection}
 
3162
\Configure{makeheadbox}
 
3163
\Configure{maketitle}
 
3164
\Configure{paragraph}
 
3165
\Configure{partTITLE+}
 
3166
\Configure{part}
 
3167
\Configure{sectionTITLE+}
 
3168
\Configure{section}
 
3169
\Configure{subparagraph}
 
3170
\Configure{subsectionTITLE+}
 
3171
\Configure{subsection}
 
3172
\Configure{subsubsectionTITLE+}
 
3173
\Configure{subsubsection}
 
3174
\Configure{subsubsection}
 
3175
\Configure{subtitle institute}
 
3176
\Configure{thanks author date and}
 
3177
 
 
3178
Environments of aa:
 
3179
 
 
3180
   abstract
 
3181
   picture
 
3182
   thebibliography
 
3183
>>>
 
3184
 
 
3185
\section{pictex}
 
3186
                
 
3187
\<configure info4ht pictex\><<<
 
3188
\Configure{pictex}
 
3189
 
 
3190
>>>
 
3191
 
 
3192
 
 
3193
 
 
3194
 
 
3195
\section{diagram}
 
3196
                
 
3197
\<configure info4ht pb-diagram\><<<
 
3198
Environments of pb-diagram:
 
3199
 
 
3200
   diagram
 
3201
>>>
 
3202
 
 
3203
 
 
3204
 
 
3205
\section{ltugboat}
 
3206
                
 
3207
\<configure info4ht ltugboat\><<<
 
3208
Environments of ltugboat:
 
3209
 
 
3210
   quote
 
3211
>>>
 
3212
 
 
3213
 
 
3214
\section{doc}
 
3215
                
 
3216
\<configure info4ht doc\><<<
 
3217
Environments of doc:
 
3218
 
 
3219
   macrocode
 
3220
>>>
 
3221
 
 
3222
 
 
3223
 
 
3224
 
 
3225
 
 
3226
\section{lineno}
 
3227
                
 
3228
\<configure info4ht doc\><<<
 
3229
\Configure{lineno}...................2
 
3230
 
 
3231
   Asks lineno.sty to introduce #1\LineNumber #2, instead of \LineNumber,
 
3232
   into the output
 
3233
>>>
 
3234
 
 
3235
 
 
3236
 
 
3237
 
 
3238
 
 
3239
 
 
3240
\section{elsart}
 
3241
                
 
3242
\<configure info4ht elsart\><<<
 
3243
\Configure{abstract}
 
3244
\Configure{keyword}
 
3245
 
 
3246
Environments of elsart:
 
3247
 
 
3248
   frontmatter
 
3249
>>>
 
3250
 
 
3251
 
 
3252
%%%%%%%%%%%%%%%%%%
 
3253
\section{ProTex}
 
3254
%%%%%%%%%%%%%%%%%%
 
3255
 
 
3256
\<configure info4ht ProTex\><<<
 
3257
\Configure{ShowCode}...................6
 
3258
 
 
3259
   #1  start body
 
3260
   #2  end body
 
3261
   #3  everypar
 
3262
   #4  open comment
 
3263
   #5  close comment
 
3264
   #6  space character
 
3265
>>>
 
3266
 
 
3267
 
 
3268
\section{seminar}
 
3269
                
 
3270
\<configure info4ht seminar\><<<
 
3271
 
 
3272
Environments of seminar:
 
3273
 
 
3274
   slide
 
3275
>>>
 
3276
 
 
3277
 
 
3278
\section{slides}
 
3279
                
 
3280
\<configure info4ht slides\><<<
 
3281
\Configure{slidename}....................................1
 
3282
\CutAt{slide}.............................................0
 
3283
 
 
3284
\ConfigureList{description}%
 
3285
 
 
3286
Environments of slides:
 
3287
 
 
3288
   note
 
3289
   quotation
 
3290
   quote
 
3291
   slide
 
3292
   titlepage
 
3293
   verse
 
3294
>>>
 
3295
 
 
3296
 
 
3297
\section{slidesec}
 
3298
                
 
3299
\<configure info4ht slidesec\><<<
 
3300
    \ConfigureToc
 
3301
 
 
3302
          slidesection
 
3303
>>>
 
3304
 
 
3305
\section{web}
 
3306
                
 
3307
\<configure info4ht web\><<<
 
3308
\Configure{maketitle}
 
3309
\Configure{webuniversity}
 
3310
\Configure{webversion}
 
3311
 
 
3312
>>>
 
3313
 
 
3314
\section{exerquiz}
 
3315
                
 
3316
\<configure info4ht exerquiz\><<<
 
3317
\ConfigureList{questions}%
 
3318
\Configure{@HEAD}
 
3319
\Configure{Form}
 
3320
\Configure{ReturnTo}
 
3321
\Configure{TextField::}
 
3322
\Configure{javascript}
 
3323
\Configure{quiz*}
 
3324
\Configure{quiz}
 
3325
\Configure{shortquiz}
 
3326
 
 
3327
Environments of exerquiz:
 
3328
 
 
3329
   shortquiz
 
3330
>>>
 
3331
 
 
3332
\section{foils}
 
3333
                
 
3334
\<configure info4ht foils\><<<
 
3335
    \ConfigureToc
 
3336
 
 
3337
         foilheads
 
3338
 
 
3339
\Configure{foilheads}
 
3340
 
 
3341
|tableofcontentsStr
 
3342
 
 
3343
Environments of foils:
 
3344
 
 
3345
   Corollary*
 
3346
   Corollary
 
3347
   Definition
 
3348
   Lemma
 
3349
   Proof
 
3350
   Proposition
 
3351
   Theorem
 
3352
   thebibliography
 
3353
 
 
3354
>>>
 
3355
 
 
3356
 
 
3357
 
 
3358
\section{th4}
 
3359
                
 
3360
\<configure info4ht th4\><<<
 
3361
\Configure{JavaScript}............2
 
3362
 
 
3363
   Configures the environments
 
3364
 
 
3365
      \JavaScript
 
3366
         ....
 
3367
      \EndJavaScript
 
3368
 
 
3369
   and
 
3370
 
 
3371
      \javascript{...}
 
3372
 
 
3373
   These environments are activated by the `javascript' option.
 
3374
 
 
3375
  Default:
 
3376
 
 
3377
   \Configure{JavaScript}
 
3378
      {\HCode{<script type="text/JavaScript" ><!--\Hnewline}}
 
3379
      {\HCode{//-->\Hnewline </script>}}
 
3380
 
 
3381
 
 
3382
 
 
3383
    \ConfigureToc
 
3384
 
 
3385
        Chapter,  LikeSection, Section, SubSection
 
3386
 
 
3387
\Configure{Appendix}
 
3388
\Configure{Chapter}
 
3389
\Configure{Columns}
 
3390
\Configure{Columns}
 
3391
\Configure{DList}
 
3392
\Configure{HTable}
 
3393
\Configure{Item}
 
3394
\Configure{LikeChapter}
 
3395
\Configure{LikeSection}
 
3396
\Configure{OList}
 
3397
\Configure{Part}
 
3398
\Configure{Section}
 
3399
\Configure{SubSection}
 
3400
\Configure{UList}
 
3401
\Configure{Verbatim}
 
3402
\Configure{buttonList+}
 
3403
\Configure{buttonList}
 
3404
\Configure{centerline}
 
3405
\Configure{index}
 
3406
 
 
3407
Frames
 
3408
------
 
3409
 
 
3410
When the package option `frames-' or `frames' is up, 
 
3411
TeX4ht introduces the following commands for defining frames.
 
3412
 
 
3413
   \Frame[#1]{#2}
 
3414
 
 
3415
       A variant of the \Link[#1]{#2} portion of the
 
3416
       \Link[#1]{#2}{#3}#4\EndLink, for specifying a frame.
 
3417
 
 
3418
   \HorFrames[#1]{#2}, \VerFrames[#1]{#2}
 
3419
 
 
3420
     #1 attributes  ([#1] is optional)
 
3421
     #2 list of dimensions 
 
3422
 
 
3423
      A container partitioned, respectively, horizontally or
 
3424
      vertically. Each partition may hold a sub-container or
 
3425
      a frame.
 
3426
 
 
3427
      The list of dimensions determine the cardinality of the
 
3428
      partition, and the dimension of each partition.  A dimension
 
3429
      can be specified absolutely by pixels (\HorFrames{80,130,50}),
 
3430
      relatively by percentage (\HorFrames{20\%,30\%,50\%}), and
 
3431
      relatively through ratio (\HorFrames{2*,3*,5*}).
 
3432
 
 
3433
   \EndFrames
 
3434
 
 
3435
      An end delimiter for a container
 
3436
 
 
3437
   \NoFrames
 
3438
 
 
3439
       When used, it should be placed before the outer-most
 
3440
       \EndFrames command.  The region \NoFrames...\EndNoFrames
 
3441
       provides the content for browsers which do not support frames.
 
3442
 
 
3443
Tailoring configurations for frames is a little tricky, but the
 
3444
job is simpler when the configurations don't deal with the root
 
3445
file.
 
3446
 
 
3447
Example 1:
 
3448
..........
 
3449
 
 
3450
     % Requires the command line option `frames-'
 
3451
     \documentclass{article}
 
3452
     
 
3453
     \begin{document}
 
3454
     
 
3455
     \begingroup
 
3456
        \Configure{@HEAD}{}
 
3457
        \Configure{BODY}{}{}
 
3458
        \Configure{DOCTYPE}
 
3459
             {\HCode{<!DOCTYPE html
 
3460
                  PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN"
 
3461
                          "http://www.w3.org/TR/html4/frameset.dtd">}}
 
3462
        \Configure{HEAD}{}{}
 
3463
        \Configure{HTML}
 
3464
            {\HCode{<html><head><title></title></head>}}
 
3465
            {\HCode{</html>}}
 
3466
        \Configure{HtmlPar}{}{}{}{}
 
3467
        \Configure{TITLE}{}{}
 
3468
     
 
3469
        \FileStream+{\jobname f.html}
 
3470
           \HorFrames{*,*}
 
3471
              \Frame[\jobname.html]{}
 
3472
              \VerFrames{3*,*,*}
 
3473
                 \Frame[http://www.tug.org]{}
 
3474
                 \Frame[\RefFile{z} ]{}
 
3475
                 \Frame[ name="y"]{w}
 
3476
              \EndFrames
 
3477
           \EndPreamble
 
3478
           \NoFrames
 
3479
               a comment
 
3480
           \EndFrames
 
3481
        \EndFileStream{\jobname f.html}
 
3482
     \endgroup
 
3483
     
 
3484
     
 
3485
     \HPage[z]{}
 
3486
     \bgroup
 
3487
       \Configure{Link}{a}{target="y"  href=}{ name=}{}
 
3488
       \let\contentsname=\empty   \tableofcontents
 
3489
     \egroup
 
3490
     \EndHPage{z}
 
3491
     
 
3492
     \tableofcontents
 
3493
     
 
3494
     \section{First} Is first.
 
3495
     
 
3496
     \Link{}{w}\EndLink
 
3497
     \section{Second} Is Second.
 
3498
     
 
3499
     \end{document}
 
3500
 
 
3501
Example 1a (allows also compilations for non-html output):
 
3502
..........................................................
 
3503
     % src.tex
 
3504
     \documentclass{article}
 
3505
     \begin{document}
 
3506
 
 
3507
       \tableofcontents
 
3508
 
 
3509
       \section{First} Is first.
 
3510
     
 
3511
       \ifx \Link\undefined \else
 
3512
          \Link{}{w}\EndLink
 
3513
       \fi
 
3514
       \section{Second} Is Second.
 
3515
     
 
3516
     \end{document}
 
3517
 
 
3518
     % src.cfg
 
3519
     \Preamble{html,frames-}
 
3520
     \begin{document}
 
3521
     \EndPreamble
 
3522
       \begingroup
 
3523
          \Configure{@HEAD}{}
 
3524
          \Configure{BODY}{}{}
 
3525
          \Configure{DOCTYPE}{}
 
3526
          \Configure{HEAD}{}{}
 
3527
          \Configure{HTML}{}{}
 
3528
          \Configure{HtmlPar}{}{}{}{}
 
3529
          \Configure{TITLE}{}{}
 
3530
       
 
3531
          \FileStream+{\jobname f.html}
 
3532
             \HorFrames{*,*}
 
3533
                \Frame[\jobname.html]{}
 
3534
                \VerFrames{3*,*,*}
 
3535
                   \Frame[http://www.tug.org]{}
 
3536
                   \Frame[\RefFile{z} ]{}
 
3537
                   \Frame[ name="y"]{w}
 
3538
                \EndFrames
 
3539
          \EndPreamble
 
3540
             \NoFrames
 
3541
                 a comment
 
3542
             \EndFrames
 
3543
          \EndFileStream{\jobname f.html}
 
3544
       \endgroup
 
3545
       
 
3546
       \HPage[z]{}
 
3547
       \bgroup
 
3548
         \Configure{Link}{a}{target="y"  href=}{ name=}{}
 
3549
         \let\contentsname=\empty   \tableofcontents
 
3550
       \egroup
 
3551
       \EndHPage{z}
 
3552
     \endinput
 
3553
 
 
3554
Example 2:
 
3555
..........
 
3556
 
 
3557
         % Source .tex file
 
3558
 
 
3559
         \documentclass{article}
 
3560
           \usepackage{verbatim}
 
3561
         \begin{document}
 
3562
         
 
3563
         \section{The Main File: \jobname.tex}
 
3564
           \verbatiminput{\jobname.tex}
 
3565
         \section{The Configurations File: \jobname.cfg}
 
3566
           \verbatiminput{\jobname.cfg}
 
3567
         \section{The Command Line}
 
3568
           htlatex \jobname\space "\jobname"
 
3569
         
 
3570
         \NextFile{page.html}\HPage{}
 
3571
           Hello!
 
3572
         \EndHPage{}
 
3573
         
 
3574
         \HPage{}\Link{}{anchor}\EndLink
 
3575
           \Link[http://www.ctan.org]{}{}ctan\EndLink
 
3576
         \EndHPage{}
 
3577
         
 
3578
         \end{document}
 
3579
 
 
3580
         % configurations .cfg file
 
3581
 
 
3582
         \Preamble{frames}
 
3583
         
 
3584
         \Configure{frames}
 
3585
           {\VerFrames{*,5*}
 
3586
              \Frame[ name="tex4ht-menu" ]{tex4ht-toc}
 
3587
              \HorFrames{*,3*}
 
3588
                \VerFrames{6*,*,*}
 
3589
                  \Frame[http://www.tug.org]{}
 
3590
                  \Frame[page.html]{}
 
3591
                  \Frame{anchor}
 
3592
                \EndFrames
 
3593
                \Frame[ name="tex4ht-main" ]{tex4ht-body}
 
3594
              \EndFrames
 
3595
            }
 
3596
            {\let\contentsname=\empty \tableofcontents}
 
3597
         
 
3598
         \begin{document}
 
3599
         \EndPreamble
 
3600
>>>
 
3601
 
 
3602
 
 
3603
 
 
3604
 
 
3605
\section{hebtex}
 
3606
                
 
3607
\<configure info4ht hebtex\><<<
 
3608
\Configure{arabtext}
 
3609
\Configure{chireq}
 
3610
\Configure{cholem}
 
3611
\Configure{cholem}
 
3612
\Configure{chpatach}
 
3613
\Configure{chqames}
 
3614
\Configure{chsegol}
 
3615
\Configure{dagesh}
 
3616
\Configure{meteg}
 
3617
\Configure{patachf}
 
3618
\Configure{patach}
 
3619
\Configure{qameschat}
 
3620
\Configure{qames}
 
3621
\Configure{qibbus}
 
3622
\Configure{rdot}
 
3623
\Configure{segol}
 
3624
\Configure{sere}
 
3625
\Configure{shindot}
 
3626
\Configure{shwa}
 
3627
\Configure{sindot}
 
3628
 
 
3629
>>>
 
3630
 
 
3631
 
 
3632
 
 
3633
 
 
3634
%%%%%%%%%%%%%%%%%%%%
 
3635
\section{endnotes}
 
3636
%%%%%%%%%%%%%%%%%%%%
 
3637
 
 
3638
\<configure info4ht endnotes\><<<
 
3639
\Configure{theendnotes}......................2
 
3640
\Configure{enoteformat}......................2
 
3641
\Configure{makeenmark}.......................2
 
3642
 
 
3643
  Provide markups for the mentioned entities.
 
3644
 
 
3645
\endnoteN
 
3646
 
 
3647
  A built-in counter for end notes.
 
3648
>>>
 
3649
 
 
3650
 
 
3651
%%%%%%%%%%%%%%%%%%%%
 
3652
\section{float}
 
3653
%%%%%%%%%%%%%%%%%%%%
 
3654
 
 
3655
\<configure info4ht float\><<<
 
3656
New float environments can be configured with the \ConfigureEnv
 
3657
instruction. For instance,
 
3658
   
 
3659
   \newfloat{myfloat}{htb}{}[section]
 
3660
   
 
3661
   \ConfigureEnv{myfloat}
 
3662
     {BEFORE MYFLOAT}  {AFTER MYFLOAT}
 
3663
     {}{}
 
3664
   
 
3665
   \begin{myfloat}
 
3666
    body
 
3667
    \caption{title}
 
3668
   \end{myfloat}
 
3669
>>>
 
3670
 
 
3671
 
 
3672
%%%%%%%%%%%%%%%%%%%%
 
3673
\section{mktex4ht}
 
3674
%%%%%%%%%%%%%%%%%%%%
 
3675
 
 
3676
 
 
3677
 
 
3678
 
 
3679
\<configure info4ht mktex4ht\><<<
 
3680
Purpose
 
3681
-------
 
3682
 
 
3683
A package to help creating 4ht files for configuring seeded hooks.  
 
3684
 
 
3685
A sample self-explanatory template file make-4ht.tex is shown at the
 
3686
end. The sample file can be retrieved in ascii form from the file
 
3687
info4ht.4ht.
 
3688
 
 
3689
General Information
 
3690
-------------------
 
3691
 
 
3692
To get a better understanding of the structural meaning of some of the
 
3693
available hooks
 
3694
 
 
3695
a. Compile the mktex4ht.4ht file with the `htlatex mktex4ht.4ht' 
 
3696
   command (or, `xhlatex mktex4ht.4ht' for XHTML output).
 
3697
 
 
3698
   Visit the links in the index of the outcome `mktex4ht.html' file.
 
3699
 
 
3700
b. Compile your sorce file with a command similar to
 
3701
 
 
3702
     htlatex filename "html,info" "" "-p"
 
3703
    
 
3704
   and check the source file.
 
3705
 
 
3706
c. Compile your sorce file with a command similar to
 
3707
 
 
3708
     htlatex filename "html,0.0,hooks" "" "-p"
 
3709
    
 
3710
   and view the outcome with a html browser.
 
3711
 
 
3712
d. Take a look at the *.4ht configuration files mentioned in tex4ht.4ht.
 
3713
 
 
3714
Setting up a calling command 
 
3715
----------------------------
 
3716
 
 
3717
i.  Create a tex4ht.usr file, and introduce there \Configure command(s)
 
3718
    similar to those found in tex4ht.4ht.  For instance,
 
3719
 
 
3720
       \Configure{foo}{%
 
3721
          \Hinclude[*]{myhtml.4ht}%
 
3722
          \Hinclude[*]{mymath.4ht}%
 
3723
       }
 
3724
     
 
3725
    Choose arbitrary name in the first argument, and include *.4ht
 
3726
    configuration files of your liking in the second argument.
 
3727
    
 
3728
    You might want to temporarily include also the file html0.4ht, as a
 
3729
    first entry, while constructing new *.4ht configuration files. For
 
3730
    instance,
 
3731
     
 
3732
       \Configure{foo}{%
 
3733
          \Hinclude[*]{html0.4ht}% 
 
3734
          \Hinclude[*]{myhtml.4ht}%
 
3735
          \Hinclude[*]{mymath.4ht}%
 
3736
       }
 
3737
       
 
3738
ii.  A configuration setting may be loaded by mentioning its name
 
3739
     within the option list of the htlatex command. For instance,
 
3740
      
 
3741
        htlatex filename "xhtml,foo" "unicode/!" "-p"
 
3742
     
 
3743
iii. Alternatively, a htlatex-like command can be tailored to
 
3744
     automatically load a configuration setting. That can be done
 
3745
     by including  the name in the argument list of
 
3746
     \csname tex4ht\endcsname,  within the script of the command. For
 
3747
     instance, replace `docbook' with `foo' in the script of dblatex.
 
3748
 
 
3749
 
 
3750
Defining a New Configuration File with mktex4ht.4ht 
 
3751
---------------------------------------------------
 
3752
 
 
3753
1. Define a parameter-less macro \HTML to hold a comma separeted list
 
3754
   of the output file names. Place the definition at the top of the
 
3755
   source document.  For instance
 
3756
 
 
3757
         \def\HTML{myhtml,mymath}
 
3758
 
 
3759
   request the files myhtml.4ht and mymath.4ht.
 
3760
 
 
3761
2. Define a parameter-less macro \CONFIG to hold the name of the file
 
3762
   containing the contributed configurations. Place the definition at
 
3763
   the top of the source document.
 
3764
 
 
3765
3. The configurations contributed to output file YYYY.4ht for style
 
3766
   XXXX should be provided within code fragments of the form
 
3767
 
 
3768
        \<configure XXXX YYYY\><<<
 
3769
          .......
 
3770
        >>|empty>
 
3771
 
 
3772
   Arbitrary valid LaTeX source code may be inserted around the code
 
3773
   fragments.
 
3774
 
 
3775
    Example:
 
3776
 
 
3777
        Configurations for class book.cls:
 
3778
 
 
3779
        \<configure myhtml book\><<<
 
3780
        \Configure{chapter} {...}{...}{...}{...}
 
3781
        \Configure{section} {...}{...}{...}{...}
 
3782
        >>|empty>
 
3783
 
 
3784
        Configurations for class article.cls:
 
3785
  
 
3786
        \<configure mymath article\><<<
 
3787
        \Configure{section} {...}{...}{...}{...}
 
3788
        >>|empty>
 
3789
 
 
3790
        The hooks are provided in book.4ht and article.4ht.
 
3791
 
 
3792
4. Define a parameter-less macro \MAKETITLE with contribution for
 
3793
   the \maketitle command (e.g., \def\MAKETITLE{\title{my name}}). Place
 
3794
   the definition at the top of the source document.
 
3795
 
 
3796
5. A file may reload itself, if it starts with preamble similar to
 
3797
   the following one.
 
3798
 
 
3799
               \ifx \HTML\UnDef
 
3800
                  \def\HTML{...}
 
3801
                  \def\CONFIG{\jobname}
 
3802
                  \def\MAKETITLE{\author{...}}
 
3803
                  \def\next{\input mktex4ht.4ht   \endinput}
 
3804
                  \expandafter\next
 
3805
               \fi
 
3806
 
 
3807
 
 
3808
A Template File make-4ht.tex 
 
3809
-----------------------------
 
3810
 
 
3811
%--------------------- start of template -----------------
 
3812
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
 
3813
%
 
3814
%  make-4ht.4ht                         Eitan M. Gurari
 
3815
%
 
3816
%  A sample file with instructions for creating 4ht 
 
3817
%  configuration files through literate programming.
 
3818
%
 
3819
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
 
3820
%
 
3821
% *  Compile this file twice with the command `latex make-4ht' 
 
3822
%    (or with `htlatex make-4ht')
 
3823
%
 
3824
% *  Inspect the outcome files sample.4ht and example.4ht
 
3825
%
 
3826
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
 
3827
%
 
3828
% *  Change `sample,example' in (1) below to a comma-separated list
 
3829
%    of your choice.  Each entry in the list stands for a name
 
3830
%    of a 4ht configuration file to be created.  The current list 
 
3831
%    requests the configuration files `sample.4ht' and `example.4ht'.
 
3832
%
 
3833
% *  Change `my title' in (2), and `my name' in (3), to a
 
3834
%    content of your choice
 
3835
%
 
3836
% *  Go to (4)
 
3837
%
 
3838
%%%%%%%%%%%%%%%%%% load style files %%%%%%%%%%%%%%%%%%%%%%%%%%
 
3839
 
 
3840
\ifx \HTML\UnDef
 
3841
   \def\HTML{sample,example}                     %<------------ (1)     
 
3842
   \def\CONFIG{\jobname}
 
3843
   \def\MAKETITLE{\title{my title}%              %<------------ (2)
 
3844
        \author{my name}}                        %<------------ (3)
 
3845
   \def\next{\input mktex4ht.4ht  \endinput}
 
3846
   \expandafter\next
 
3847
\fi
 
3848
 
 
3849
%%%%%%%%%%%%%%%%%%%%% useful definitions %%%%%%%%%%%%%%%%%%%%%
 
3850
 
 
3851
\newcount\tmpcnt  \tmpcnt\time  \divide\tmpcnt  60
 
3852
\edef\temp{\the\tmpcnt}
 
3853
\multiply\tmpcnt  -60 \advance\tmpcnt  \time
 
3854
 
 
3855
\edef\version{\the\year-\ifnum \month<10 0\fi
 
3856
  \the\month-\ifnum \day<10 0\fi\the\day
 
3857
   -\ifnum \temp<10 0\fi \temp
 
3858
   :\ifnum \tmpcnt<10 0\fi\the\tmpcnt}
 
3859
 
 
3860
\def\CopyYear.#1.{%
 
3861
   \ifnum #1=\year #1\space\space\space\space\space\space
 
3862
    \else          #1--\the\year\fi
 
3863
}
 
3864
 
 
3865
 
 
3866
%<--------------------------------------------------------------- (4)
 
3867
%
 
3868
% *  The code for the configuration files is to be written within
 
3869
%    fragments of the form
 
3870
%
 
3871
%        \<fragment name\><<<
 
3872
%        fragment content
 
3873
%        >>|empty>
 
3874
%
 
3875
% *  References from code fragments to other code fragments should
 
3876
%    take the form
 
3877
%
 
3878
%        ||<fragment name||>
 
3879
%
 
3880
% *  The character || is treated as an escape character 
 
3881
%    within the code fragments.  References to the
 
3882
%    character should take the form
 
3883
%
 
3884
%        ||||
 
3885
%
 
3886
% *  Insertions outside the code fragments are ignored in the
 
3887
%    configuration files, and they should abide to the latex 
 
3888
%    conventions.
 
3889
%
 
3890
% *  Change all the prose and code fragments below to meet
 
3891
%    your needs.  Make sure to follow the given instructions.
 
3892
 
 
3893
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
 
3894
\chapter{Root Code}
 
3895
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
 
3896
 
 
3897
%<--------------------------------------------------------------- (5)
 
3898
%
 
3899
% *  For each entry in the list of (1), you may have arbitrary many
 
3900
%    code fragments named by the entry.
 
3901
%
 
3902
% *  The order of fragments is relevant only among those having
 
3903
%    identical names.
 
3904
%
 
3905
 
 
3906
 
 
3907
\<sample\><<<
 
3908
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%  
 
3909
% sample.4ht                           ||version %
 
3910
||<copyright statement||>
 
3911
>>|empty>
 
3912
 
 
3913
 
 
3914
\<example\><<<
 
3915
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%  
 
3916
% example.4ht                          ||version %
 
3917
||<copyright statement||>
 
3918
>>|empty>
 
3919
 
 
3920
 
 
3921
\<copyright statement\><<<
 
3922
% Copyright (C) ||CopyYear.2000.              my name         % 
 
3923
%                                                       %
 
3924
% My copyright statement                                %
 
3925
%                                                       %
 
3926
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
 
3927
\immediate\write-1{version ||version}
 
3928
>>|empty>
 
3929
 
 
3930
 
 
3931
%<--------------------------------------------------------------- (6)
 
3932
%  
 
3933
% *  Each configuration of tex4ht requires a base 4ht configuration
 
3934
%    file containing the following `Hinclude' code.  
 
3935
 
 
3936
% *  The supplied  html4.4ht, html32.4ht, html0.4ht, tei.4t, 
 
3937
%    and docbook.4ht files already include such code.
 
3938
%
 
3939
% *  In a compilation of a file, exactly one 4ht configuration
 
3940
%    file should load  `Hinclude' code.   
 
3941
 
3942
% *  Either remove the following three code fragments, or replace 
 
3943
%    `sample' in their titles with an entry from (1)
 
3944
%
 
3945
 
 
3946
\<configure sample tex4ht\><<<
 
3947
\if:latex  ||<Hinclude latex||>
 
3948
\else      ||<Hinclude plain||>  \fi
 
3949
>>|empty>
 
3950
 
 
3951
\<configure sample plain\><<<
 
3952
||<Hinclude plain lib||>
 
3953
||<Hinclude plain + latex lib||>
 
3954
>>|empty>
 
3955
 
 
3956
\<configure sample latex\><<<
 
3957
||<Hinclude latex lib||>
 
3958
||<Hinclude plain + latex lib||>
 
3959
>>|empty>
 
3960
 
 
3961
\endinput
 
3962
%--------------------- end of template -------------------
 
3963
>>>
 
3964
 
 
3965
 
 
3966
 
 
3967
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
 
3968
\chapter{Segment Code}
 
3969
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
 
3970
 
 
3971
%<--------------------------------------------------------------- (7)
 
3972
%
 
3973
% *  A 4ht configuration file is made up of segments which
 
3974
%    correspond to classes and styles of tex, latex, amslatex,
 
3975
%    etc.  Have a look at these code segments in html4.4ht .
 
3976
%
 
3977
% *  You can get additional information about the possible
 
3978
%    configurations in the different segments by compiling
 
3979
%    your file with the `info' switch on.  For instance
 
3980
%
 
3981
%           htlatex foo "html,info"
 
3982
%
 
3983
% *  Code for segment `xxxx' in file `yyyy.4ht' is introduced
 
3984
%    through fragments named `configure  yyyy xxxx'. That is,
 
3985
%    through fragments of the form
 
3986
%
 
3987
%           \<configure yyyy xxxx\><<<
 
3988
%                ..........
 
3989
%           >>|empty>
 
3990
%
 
3991
 
 
3992
 
 
3993
\<configure sample tex4ht\><<<    
 
3994
....tex4ht segment in sample.4ht.....
 
3995
>>|empty>
 
3996
 
 
3997
\<configure sample latex\><<< 
 
3998
....latex segment in sample.4ht.....
 
3999
||<more code||>
 
4000
>>|empty>
 
4001
 
 
4002
 
 
4003
 
 
4004
 
 
4005
\<configure example tex4ht\><<<    
 
4006
....tex4ht segment in example.4ht.....
 
4007
>>|empty>
 
4008
 
 
4009
\<configure example latex\><<< 
 
4010
....latex segment in example.4ht.....
 
4011
>>|empty>
 
4012
 
 
4013
 
 
4014
\<more code\><<<
 
4015
....additional code....
 
4016
>>|empty>
 
4017
 
 
4018
%<--------------------------------------------------------------- (8)
 
4019
%
 
4020
% *  Compile this file twice with the command `latex filename' 
 
4021
%    (or with `ht latex filename')
 
4022
%
 
4023
% *  If you don't have a file named tex4ht.usr, introduce such a file
 
4024
%
 
4025
% *  Insert into tex4ht.usr a file along the following lines, which
 
4026
%    invokes  *.4ht configuration files
 
4027
%
 
4028
%            \Configure{my4hts}{%
 
4029
%               \Hinclude[*]{html4.4ht}%
 
4030
%               \Hinclude[*]{html4-math.4ht}%
 
4031
%               \Hinclude[*]{myflavor.4ht}%
 
4032
%            }
 
4033
%
 
4034
%    For additional examples inspect, but do not change, the 
 
4035
%    tex4ht.4ht file.
 
4036
%
 
4037
% *  Invoke the compilations of you latex files with commands similar to
 
4038
%
 
4039
%            htlatex foo "html,my4hts"
 
4040
%
 
4041
 
 
4042
 
 
4043
\endinput
 
4044
>>>
 
4045
 
 
4046
 
 
4047
 
 
4048
 
 
4049
 
 
4050
 
 
4051
\endinput
 
4052
 
 
4053
 
 
4054
 
 
4055