File: mn3.html

package info (click to toggle)
tex4ht 20011214-2
  • links: PTS
  • area: main
  • in suites: woody
  • size: 8,272 kB
  • ctags: 992
  • sloc: xml: 17,548; ansic: 9,389; makefile: 129; sh: 43; sed: 8
file content (1298 lines) | stat: -rw-r--r-- 62,120 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
<?xml version="1.0"?> 
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 
  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">  
<html xmlns="http://www.w3.org/TR/xhtml1/transitional"  
> 
<head><title>Within</title> 
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> 
<meta name="generator" content="TeX4ht (http://www.cis.ohio-state.edu/~gurari/TeX4ht/mn.html)" /> 
<!--xhtml,th4,index--> 
<meta name="src" content="mn.tex" /> 
<meta name="date" content="2001-02-28 17:02:00" /> 
<link rel="stylesheet" type="text/css" href="mn.css" /> 
</head><body 
>
    <p align="right" 
class="rightline"><a 
 href="mn.html#mn3.html" >up</a></p>
    <h2 class="ChapterHead"><a 
   name="QQ1-3-4"></a>Features</h2>
    <div class="TableOfContents"><span class="DocChapter"><span 
class="cmsy-10">&#8226;</span><a 
 href="#QQ1-3-5"  name="QQ2-3-5">From LaTeX to HTML</a></span> <span class="DocChapter"><span 
class="cmsy-10">&#8226;</span><a 
 href="#QQ1-3-10"  name="QQ2-3-10">Low-Level Features</a></span> <span class="DocChapter"><span 
class="cmsy-10">&#8226;</span><a 
 href="#QQ1-3-11"  name="QQ2-3-11">Sectioning and Tables
of Contents</a></span> <span class="DocChapter"><span 
class="cmsy-10">&#8226;</span><a 
 href="#QQ1-3-12"  name="QQ2-3-12">Tables</a></span> <span class="DocChapter"><span 
class="cmsy-10">&#8226;</span><a 
 href="#QQ1-3-13"  name="QQ2-3-13">Lists and Environments</a></span> <span class="DocChapter"><span 
class="cmsy-10">&#8226;</span><a 
 href="#QQ1-3-14"  name="QQ2-3-14">Pictures</a></span> <span class="DocChapter"><span 
class="cmsy-10">&#8226;</span><a 
 href="#QQ1-3-15"  name="QQ2-3-15">Mathematical
Formulas</a></span> <span class="DocChapter"><span 
class="cmsy-10">&#8226;</span><a 
 href="#QQ1-3-16"  name="QQ2-3-16">Paragraphs</a></span> <span class="DocChapter"><span 
class="cmsy-10">&#8226;</span><a 
 href="#QQ1-3-17"  name="QQ2-3-17">Private Configuration Files</a></span> <span class="DocChapter"><span 
class="cmsy-10">&#8226;</span><a 
 href="#QQ1-3-18"  name="QQ2-3-18">XHTML, MathML,
DocBook, TEI, and Unicode</a></span> <span class="DocChapter"><span 
class="cmsy-10">&#8226;</span><a 
 href="#QQ1-3-20"  name="QQ2-3-20">Cascade Style Sheets (CSS)</a></span> <span class="DocChapter"><span 
class="cmsy-10">&#8226;</span><a 
 href="#QQ1-3-21"  name="QQ2-3-21">Fonts</a></span> <span class="DocChapter"><span 
class="cmsy-10">&#8226;</span><a 
 href="#QQ1-3-23"  name="QQ2-3-23">Configurable
Hooks</a></span> <span class="DocChapter"><span 
class="cmsy-10">&#8226;</span><a 
 href="#QQ1-3-24"  name="QQ2-3-24">Literate Programs (with ProTeX) and Scripts</a></span> <span class="DocChapter"><span 
class="cmsy-10">&#8226;</span><a 
 href="#QQ1-3-25"  name="QQ2-3-25">TeX</a></span>
    </div>
    <h2 class="ChapterHead"><a 
   name="QQ1-3-5"></a>From LaTeX to HTML</h2>
<!--l. 1226--><p class="noindent"><a 
   name="features"></a>The translation of a LaTeX source file into HTML consists of loading the style package <span 
class="cmtt-10">tex4ht.sty </span>into the
source file, choosing the desirable options for the translation, compiling the source into <span 
class="cmtt-10">dvi </span>code with
the native LaTeX engine, and postprocessing the outcome with the <span 
class="cmtt-10">tex4ht </span>and <span 
class="cmtt-10">t4ht </span>programs (see
<a 
 href="mn29.html" >overview</a>).
</p><!--l. 1235--><p class="indent">    <a 
   name="index3-5001"></a>The <span 
class="cmtt-10">htlatex </span>command loads a script which takes on itself to invoke the different steps of the process, without
user intervention. The command assumes the form
</p>
    <div align="center" 
class="centerline"><span 
class="cmtt-10">htlatex filename &#34;</span><span 
class="cmti-10">options1</span><span 
class="cmtt-10">&#34; &#34;</span><span 
class="cmti-10">option2</span><span 
class="cmtt-10">&#34; &#34;</span><span 
class="cmti-10">options3</span><span 
class="cmtt-10">&#34;</span></div>
<!--l. 1243--><p class="noindent"> <a 
   name="index3-5002"></a>where the first set of options is for the <span 
class="cmtt-10">tex4ht.sty </span>and <span 
class="cmtt-10">*.4ht </span>style files, the second option is for the <span 
class="cmtt-10">tex4ht</span>
postprocessor, and the third set for the <span 
class="cmtt-10">t4ht </span>postprocessor. If not empty, the second option should be a path, from
the root directory ht-fonts of the hypertext fonts to a subdirectory. For instance,
</p><!--l. 1258--><p class="indent">
</p><dl > <dt><span 
class="cmtt-10">htlatex foo</span></dt><dd>
This command requests a translation according to the default conditions, which are set to produce HTML
transtional 4.0 code. </dd><dt><span 
class="cmtt-10">htlatex foo &#34;html,2,info&#34;</span></dt><dd>
This command is equivalent to the previous one, specifying explicitly the option <span 
class="cmtt-10">html </span>for <span 
class="cmtt-10">tex4ht.sty </span>instead of
doing so implicitly.
<!--l. 1266--><p class="indent">    In addition, the command requests a break up of the output into separate web pages, in accordance to the two
top sectioning levels of the document. Moreover, it asks for a listing in the log file of the information available for
the style files in use. </p></dd><dt><span 
class="cmtt-10">htlatex foo &#34;&#34; &#34;dbcs/!&#34;</span></dt><dd>
This command requests the loading of the dbcs branch of Chinese hypertext fonts (on top of those already requested
by the default setting). </dd><dt> <a 
   name="index3-5003"></a> <a 
   name="index3-5004"></a> <a 
   name="index3-5005"></a> <a 
   name="index3-5006"></a> <a 
   name="index3-5007"></a> <a 
   name="index3-5008"></a><span 
class="cmtt-10">htlatex foo &#34;foo,frames&#34; &#34;&#34; &#34;-p&#34;</span></dt><dd>
This command requests (La)TeX to load a private configuration file, named <span 
class="cmtt-10">foo.cfg</span>, and to place the content and
table of contents in separate frames. In addition, it asks <span 
class="cmtt-10">t4ht </span>not to produce bitmaps for pictures. </dd><dt><span 
class="cmtt-10">wlatex</span>
<span 
class="cmtt-10">foo</span></dt><dd>
This command requests HTML transtional 4.0 output, tuned for loading by Microsoft Word.
    </dd></dl>
    <h3 class="SectionHead"><a 
   name="QQ1-3-6"></a>An Alternative Script</h3>
    The base style file <span 
class="cmtt-10">tex4ht.sty </span>of TeX4ht can be explicitly loaded into the source file, throught the instruction
&#8216;<span 
class="cmtt-10">\usepackage{tex4ht}</span>&#8217;. In such a case, the translation may be activated with a command of the form &#8216;<span 
class="cmtt-10">ht latex</span>
<span 
class="cmti-10">filename</span>&#8217;.
      <div class="ShowCode"><pre>
      &nbsp;<span 
class="cmtt-10">\documentclass{article}</span>
      &nbsp;   <span class="showcode"><span 
class="cmtt-10">\usepackage{tex4ht}</span></span>
      &nbsp;<span 
class="cmtt-10">\begin{document}</span>
      &nbsp;   <span 
class="cmtt-10">..................</span>
      &nbsp;<span 
class="cmtt-10">\end{document}</span>
</pre></div>
    <a 
   name="index3-6001"></a> <a 
   name="index3-6002"></a> <a 
   name="index3-6003"></a> <a 
   name="index3-6004"></a> <a 
   name="index3-6005"></a>Variations to the default outcome may be requested through parameters of the <span 
class="cmtt-10">\usepackage </span>command. The

package parameters invoke built-in options of TeX4ht.
      <div class="ShowCode"><pre>
      &nbsp;<span 
class="cmtt-10">\documentclass{article}</span>
      &nbsp;   <span 
class="cmtt-10">\usepackage</span><span class="showcode"><span 
class="cmtt-10">[html,mouseover]</span></span><span 
class="cmtt-10">{tex4ht}</span>
      &nbsp;<span 
class="cmtt-10">\begin{document}</span>
      &nbsp;   <span 
class="cmtt-10">..................</span>
      &nbsp;<span 
class="cmtt-10">\end{document}</span>
</pre></div>
    The &#8216;<span 
class="cmtt-10">html</span>&#8217; parameter requests HTML output. The &#8216;<span 
class="cmtt-10">mouseover</span>&#8217; parameter asks for JavaScript-driven pop-up
messages, upon dragging the mouse over pointers to footnotes and bibliography entries.
<!--l. 1351--><p class="indent">    <a 
   name="index3-6006"></a>The first package parameter is distinguished in that it may refer to &#8216;<span 
class="cmtt-10">html</span>&#8217;, to &#8216;<span 
class="cmtt-10">xhtml</span>&#8217;, or to a user-provided
configuration file; other values are ignored. An extension &#8216;<span 
class="cmtt-10">cfg</span>&#8217; is assumed, if the file name is provided without an
extension.
      </p><div class="ShowCode"><pre>
      &nbsp;<span 
class="cmtt-10">\documentclass{article}</span>
      &nbsp;   <span 
class="cmtt-10">\usepackage[</span><span class="showcode"><span 
class="cmtt-10">myconfig</span></span><span 
class="cmtt-10">,html,3.2]{tex4ht}</span>
      &nbsp;<span 
class="cmtt-10">\begin{document}</span>
      &nbsp;   <span 
class="cmtt-10">..................</span>
      &nbsp;<span 
class="cmtt-10">\end{document}</span>
</pre></div>
    The default environment loaded by the command &#8216;<span 
class="cmtt-10">\usepackage{tex4ht}</span>&#8217; implicitly assumes an empty
configuration file, and a &#8216;<span 
class="cmtt-10">html</span>&#8217; parameter.
    <h3 class="SubSectionHead"><a 
   name="QQ1-3-7"></a>More on &#8216;htlatex&#8217;</h3>
<!--l. 1377--><p class="noindent"> <a 
   name="index3-7001"></a>Given a LaTeX file
      </p><div class="ShowCode"><pre>
      &nbsp;<span 
class="cmtt-10">\documentclass{article}</span>
      &nbsp;<span 
class="cmtt-10">\begin{document}</span>
      &nbsp;   <span 
class="cmtt-10">..................</span>
      &nbsp;<span 
class="cmtt-10">\end{document}</span>
</pre></div>
    the &#8216;htlatex <span 
class="cmti-10">filename</span>&#8217; command produces a call to &#8216;ht latex <span 
class="cmti-10">filename</span>&#8217; on an implicit file of the following
form.
      <div class="ShowCode"><pre>
      &nbsp;<span 
class="cmtt-10">\documentclass{article}</span>
      &nbsp;   <span class="showcode"><span 
class="cmtt-10">\usepackage{tex4ht}</span></span>
      &nbsp;<span 
class="cmtt-10">\begin{document}</span>
      &nbsp;   <span 
class="cmtt-10">..................</span>
      &nbsp;<span 
class="cmtt-10">\end{document}</span>
</pre></div>
    On the other hand, the command &#8216;htlatex <span 
class="cmti-10">filename </span><span 
class="cmtt-10">&#34;</span><span 
class="cmti-10">options</span><span 
class="cmtt-10">&#34;</span>&#8217; produces a call to &#8216;ht latex <span 
class="cmti-10">filename</span>&#8217; on an
implicit file of the following form.
      <div class="ShowCode"><pre>
      &nbsp;<span 
class="cmtt-10">\documentclass{article}</span>
      &nbsp;   <span 
class="cmtt-10">\usepackage[</span><span class="showcode"><span 
class="cmtt-10">options</span></span><span 
class="cmtt-10">]{tex4ht}</span>
      &nbsp;<span 
class="cmtt-10">\begin{document}</span>
      &nbsp;   <span 
class="cmtt-10">..................</span>
      &nbsp;<span 
class="cmtt-10">\end{document}</span>
</pre></div>
    <a 
   name="index3-7002"></a> <a 
   name="index3-7003"></a> <a 
   name="index3-7004"></a> <a 
   name="index3-7005"></a>TeX sources may use commands of the form &#8216;<span 
class="cmtt-10">httex </span><span 
class="cmti-10">filename</span>&#8217; and &#8216;<span 
class="cmtt-10">ht tex </span><span 
class="cmti-10">filename</span>&#8217;, TeXsources may use
commands of the forms &#8216;<span 
class="cmtt-10">httexi </span><span 
class="cmti-10">filename</span>&#8217; and &#8216;<span 
class="cmtt-10">ht tex </span><span 
class="cmti-10">filename</span>&#8217;.
<!--l. 1430--><p class="indent">    Quite a few <a 
 href="mn68.html#scripts">variants</a> of the htlatex script are included in the distribution, and many others can be easily

tailored.
</p>
    <h3 class="SubSectionHead"><a 
   name="QQ1-3-8"></a>Validation</h3>
<!--l. 1435--><p class="noindent"><a 
   name="index3-8001"></a>The output of TeX4ht can be easily broken. Hence, it is very important to validate the outcome.
</p><!--l. 1440--><p class="indent">    TeX4ht doesn&#8217;t offer a built-in parser to verify the correctness of the outcome. However, external validator(s)
can quite easily be integrated into the compilation process.
</p>
    <h3 class="SubSectionHead"><a 
   name="QQ1-3-9"></a>Recommendations</h3>
<!--l. 1451--><p class="noindent">Most applications might require the knowledge of just a few additional simple features of TeX4ht, if any. Hence, it is
strongly advised to check the output obtained from the default configuration, before trying to work with other
settings.
</p><!--l. 1456--><p class="indent">    The remainder of this document provides much more than that, with an eye directed toward users that want to
customize their outcome. Therefore, the reader is encouraged to skim the information provided below for acquiring
a general understanding of the system, leaving the tedious learning of the details to when the need
arises.
</p><!--l. 1463--><p class="indent">    To keep with the spirit of LaTeX and hypertext, in which style is assumed to be separated from content, the
users are encouraged to avoid inserting TeX4ht code into their source files. Instead, they should place their
modifications, to the default settings, within private configuration files to be loaded by htlatex-like
commands.
</p>
    <h2 class="ChapterHead"><a 
   name="QQ1-3-10"></a>Low-Level Features</h2>
<!--l. 1475--><p class="noindent">The following are some of the more useful underlying commands of TeX4ht.
</p><!--l. 1478--><p class="indent">
</p>
    <table class="button-list">
    <tr valign="top" class="button-list"><td class="button-list"><a 
 href="mn4.html#mn4-1"  name="mn4-1" >1</a></td><td 
class="button-list">  <a 
   name="index3-10001"></a><span 
class="cmtt-10">\HCode{...}</span>
    </td></tr>
    <tr valign="top" class="button-list"><td class="button-list"><a 
 href="mn4.html#mn4-2"  name="mn4-2" >2</a></td><td 
class="button-list">  <a 
   name="index3-10003"></a>  <span 
class="cmtt-10">\HPage{</span><span 
class="cmti-10">anchor</span><span 
class="cmtt-10">}</span><span 
class="cmti-10">content</span><span 
class="cmtt-10">\EndHPage{}</span>
    </td></tr>

    <tr valign="top" class="button-list"><td class="button-list"><a 
 href="mn4.html#mn4-3"  name="mn4-3" >3</a></td><td 
class="button-list">  <a 
   name="index3-10006"></a><span 
class="cmtt-10">\Link[</span><span 
class="cmti-10">target-file arguments</span><span 
class="cmtt-10">]{</span><span 
class="cmti-10">target-loc</span><span 
class="cmtt-10">}{</span><span 
class="cmti-10">cur-loc</span><span 
class="cmtt-10">}</span><span 
class="cmti-10">anchor</span><span 
class="cmtt-10">\EndLink</span>
    </td></tr>
    <tr valign="top" class="button-list"><td class="button-list"><a 
 href="mn4.html#mn4-4"  name="mn4-4" >4</a></td><td 
class="button-list">  <a 
   name="index3-10011"></a><span 
class="cmtt-10">\ifHtml...  \else...  \fi</span>
    </td></tr>
    <tr valign="top" class="button-list"><td class="button-list"><a 
 href="mn4.html#mn4-5"  name="mn4-5" >5</a></td><td 
class="button-list">  <a 
   name="index3-10013"></a><span 
class="cmtt-10">\ifOption{...}{</span><span 
class="cmti-10">true-part</span><span 
class="cmtt-10">}{</span><span 
class="cmti-10">false-part</span><span 
class="cmtt-10">}</span>
    </td></tr></table>
    <h2 class="ChapterHead"><a 
   name="QQ1-3-11"></a>Sectioning and Tables of Contents</h2>
<!--l. 1564--><p class="noindent"><a 
   name="index3-11001"></a> <a 
   name="index3-11002"></a> <a 
   name="index3-11003"></a> <a 
   name="index3-11004"></a> <a 
   name="index3-11005"></a>A non-leading package parameter &#8216;<span 
class="cmtt-10">1</span>&#8217;, &#8216;<a 
 href="mn5.html"  name="mn5.html" ><span 
class="cmtt-10">2</span></a>&#8217;, &#8216;<span 
class="cmtt-10">3</span>&#8217;, or &#8216;<span 
class="cmtt-10">4</span>&#8217;, in <span 
class="cmtt-10">\usepackage</span>, asks for a tree-structured
set of files, reflecting on the sectioning of the document to the specified depth. Sequential prev-next
links within the hierarchy, instead of the default hierarchical ones, can be requested with the &#8216;<span 
class="cmtt-10">next</span>&#8217;
parameter. The parameter &#8216;<span 
class="cmtt-10">sections+</span>&#8217; creates titles for the sectioning commands that link to the tables of
contents.
</p><!--l. 1593--><p class="indent">    Finer control is possible with the following commands.
</p><!--l. 1595--><p class="indent">
</p>
    <table class="button-list">
    <tr valign="top" class="button-list"><td class="button-list"><a 
 href="mn6.html#mn6-1"  name="mn6-1" >1</a></td><td 
class="button-list">  <a 
   name="index3-11006"></a><span 
class="cmtt-10">\CutAt{</span><span 
class="cmti-10">at-unit</span><span 
class="cmtt-10">,</span><span 
class="cmti-10">until-unit-1</span><span 
class="cmtt-10">,</span><span 
class="cmti-10">until-unit-2</span><span 
class="cmtt-10">,...}</span>
    </td></tr>
    <tr valign="top" class="button-list"><td class="button-list"><a 
 href="mn6.html#mn6-2"  name="mn6-2" >2</a></td><td 
class="button-list">  <a 
   name="index3-11008"></a><span 
class="cmtt-10">\tableofcontents[</span><span 
class="cmti-10">unit-1</span><span 
class="cmtt-10">,</span><span 
class="cmti-10">unit-2</span><span 
class="cmtt-10">,...]</span>
    </td></tr>
    <tr valign="top" class="button-list"><td class="button-list"><a 
 href="mn6.html#mn6-3"  name="mn6-3" >3</a></td><td 
class="button-list">  <a 
   name="index3-11010"></a><span 
class="cmtt-10">\TocAt{</span><span 
class="cmti-10">at-unit</span><span 
class="cmtt-10">,</span><span 
class="cmti-10">unit-1</span><span 
class="cmtt-10">,</span><span 
class="cmti-10">unit-2</span><span 
class="cmtt-10">,...,/</span><span 
class="cmti-10">until-unit-1</span><span 
class="cmtt-10">,/</span><span 
class="cmti-10">until-unit-2</span><span 
class="cmtt-10">,...}</span>
    </td></tr>
    <tr valign="top" class="button-list"><td class="button-list"><a 
 href="mn6.html#mn6-4"  name="mn6-4" >4</a></td><td 
class="button-list">  <a 
   name="index3-11013"></a><span 
class="cmtt-10">\ConfigureToc{</span><span 
class="cmti-10">unit</span><span 
class="cmtt-10">}  {</span><span 
class="cmti-10">before-mark</span><span 
class="cmtt-10">} {</span><span 
class="cmti-10">before-title</span><span 
class="cmtt-10">} {</span><span 
class="cmti-10">before-page-number</span><span 
class="cmtt-10">} {</span><span 
class="cmti-10">at-end</span><span 
class="cmtt-10">}</span>
    </td></tr>
    <tr valign="top" class="button-list"><td class="button-list"><a 
 href="mn6.html#mn6-5"  name="mn6-5" >5</a></td><td 
class="button-list">  <a 
   name="index3-11015"></a><span 
class="cmtt-10">\Configure{tableofcontents}  {</span><span 
class="cmti-10">before-toc</span><span 
class="cmtt-10">} {</span><span 
class="cmti-10">end-of-toc</span><span 
class="cmtt-10">} {</span><span 
class="cmti-10">after-toc</span><span 
class="cmtt-10">} {</span><span 
class="cmti-10">before-nonindented-par</span><span 
class="cmtt-10">}</span>
<span 
class="cmtt-10">{</span><span 
class="cmti-10">before-indented-par</span><span 
class="cmtt-10">}</span>
    </td></tr>
    <tr valign="top" class="button-list"><td class="button-list"><a 
 href="mn6.html#mn6-6"  name="mn6-6" >6</a></td><td 
class="button-list">  <a 
   name="index3-11017"></a><span 
class="cmtt-10">\Configure{TocAt}  {</span><span 
class="cmti-10">before-toc</span><span 
class="cmtt-10">} {</span><span 
class="cmti-10">after-toc</span><span 
class="cmtt-10">}</span>
    </td></tr>
    <tr valign="top" class="button-list"><td class="button-list"><a 
 href="mn6.html#mn6-7"  name="mn6-7" >7</a></td><td 
class="button-list">  <a 
   name="index3-11019"></a><span 
class="cmtt-10">\Configure{TocAt*}  {</span><span 
class="cmti-10">before-toc</span><span 
class="cmtt-10">} {</span><span 
class="cmti-10">after-toc</span><span 
class="cmtt-10">}</span>
    </td></tr>
    <tr valign="top" class="button-list"><td class="button-list"><a 
 href="mn6.html#mn6-8"  name="mn6-8" >8</a></td><td 
class="button-list">  <a 
   name="index3-11021"></a><span 
class="cmtt-10">\Configure{</span><span 
class="cmti-10">unit</span><span 
class="cmtt-10">}  {</span><span 
class="cmti-10">top</span><span 
class="cmtt-10">}  {</span><span 
class="cmti-10">bottom</span><span 
class="cmtt-10">}  {</span><span 
class="cmti-10">before-title</span><span 
class="cmtt-10">}  {</span><span 
class="cmti-10">after-title</span><span 
class="cmtt-10">}</span>
    </td></tr>
    <tr valign="top" class="button-list"><td class="button-list"><a 
 href="mn6.html#mn6-9"  name="mn6-9" >9</a></td><td 
class="button-list">  <a 
   name="index3-11023"></a><span 
class="cmtt-10">\Configure{CutAt}  {</span><span 
class="cmti-10">unit</span><span 
class="cmtt-10">}  {</span><span 
class="cmti-10">before-button</span><span 
class="cmtt-10">} {</span><span 
class="cmti-10">after-button</span><span 
class="cmtt-10">}</span>
    </td></tr>
    <tr valign="top" class="button-list"><td class="button-list"><a 
 href="mn6.html#mn6-10"  name="mn6-10" >10</a></td><td 
class="button-list">  <a 
   name="index3-11025"></a><span 
class="cmtt-10">\Configure{+CutAt}  {</span><span 
class="cmti-10">unit</span><span 
class="cmtt-10">}  {</span><span 
class="cmti-10">before-button</span><span 
class="cmtt-10">} {</span><span 
class="cmti-10">after-button</span><span 
class="cmtt-10">}</span>
    </td></tr>
    <tr valign="top" class="button-list"><td class="button-list"><a 
 href="mn6.html#mn6-11"  name="mn6-11" >11</a></td><td 
class="button-list">  <a 
   name="index3-11027"></a><span 
class="cmtt-10">\NewSection\</span><span 
class="cmti-10">unit  </span><span 
class="cmtt-10">{</span><span 
class="cmti-10">mark-for-toc</span><span 
class="cmtt-10">}</span>
    </td></tr>
    <tr valign="top" class="button-list"><td class="button-list"><a 
 href="mn6.html#mn6-12"  name="mn6-12" >12</a></td><td 
class="button-list">  <a 
   name="index3-11029"></a><span 
class="cmtt-10">\Configure{crosslinks}  {</span><span 
class="cmti-10">left-delimiter</span><span 
class="cmtt-10">}  {</span><span 
class="cmti-10">right-delimiter</span><span 
class="cmtt-10">}  {</span><span 
class="cmti-10">next</span><span 
class="cmtt-10">}  {</span><span 
class="cmti-10">prev</span><span 
class="cmtt-10">}  {</span><span 
class="cmti-10">prev-tail</span><span 
class="cmtt-10">}  {</span><span 
class="cmti-10">front</span><span 
class="cmtt-10">}  {</span><span 
class="cmti-10">tail</span><span 
class="cmtt-10">}</span>
<span 
class="cmtt-10">{</span><span 
class="cmti-10">up</span><span 
class="cmtt-10">}</span>
    </td></tr>
    <tr valign="top" class="button-list"><td class="button-list"><a 
 href="mn6.html#mn6-13"  name="mn6-13" >13</a></td><td 
class="button-list">  <a 
   name="index3-11031"></a><span 
class="cmtt-10">\Configure{crosslinks+}  {</span><span 
class="cmti-10">before-top-links</span><span 
class="cmtt-10">} {</span><span 
class="cmti-10">after-top-links</span><span 
class="cmtt-10">} {</span><span 
class="cmti-10">before-bottom-links</span><span 
class="cmtt-10">} {</span><span 
class="cmti-10">after-bottob-links</span><span 
class="cmtt-10">}</span>
    </td></tr></table>
    <h2 class="ChapterHead"><a 
   name="QQ1-3-12"></a>Tables</h2>
<!--l. 1873--><p class="noindent"><a 
   name="index3-12001"></a>HTML 4.0 offers new opportunities for tables. The following &#8220;large example, illustrating most of the features&#8221; of
tabular and array environments, taken from the <span 
class="cmti-10">LaTeX User&#8217;s Guide</span>, shows some of the current capabilities and
limitations TeX4ht has in dealing with such tables.
</p>
    <table id="TBL-1"  
><tr >
<td 
>     <div align="center"><table class="tabular"
cellspacing="0pt" cellpadding="0" rules="groups"
frame="border" ><colgroup><col
id="TBL-1-1" /></colgroup><colgroup><col
id="TBL-1-2" /><col
id="TBL-1-3" /></colgroup><colgroup><col
id="TBL-1-4" /></colgroup><tr
class="hline"><td><hr /></td><td><hr /></td><td><hr /></td><td><hr /></td></tr><tr
valign="baseline" id="TBL-1-1-"><td colspan="4" align="center" nowrap="nowrap" id="TBL-1-1-1"
><div class="td11">                GG&amp;A Hoofed Stock
</div></td></tr><tr
class="hline"><td><hr /></td><td><hr /></td><td><hr /></td><td><hr /></td></tr><tr
class="hline"><td><hr /></td><td><hr /></td><td><hr /></td><td><hr /></td></tr><tr
valign="baseline" id="TBL-1-2-"><td  align="right"  nowrap="nowrap" id="TBL-1-2-1"
><div class="td11">         </div></td><td colspan="2" align="center"  nowrap="nowrap"
id="TBL-1-2-2"
><div class="td10">     Price    </div></td><td  align="left" id="TBL-1-2-4"
><div class="td11">                           </div></td>
</tr><tr
class="cline"><td></td><td><hr /></td><td><hr /></td><td></td></tr><tr
valign="baseline" id="TBL-1-3-"><td  align="center"  nowrap="nowrap" id="TBL-1-3-1"
><div class="td11">   year</div></td><td  align="left"  nowrap="nowrap" id="TBL-1-3-2"
><div class="td10">high </div></td><td  align="left"  nowrap="nowrap" id="TBL-1-3-3"
><div class="td01">low  </div></td><td  align="center"  nowrap="nowrap" id="TBL-1-3-4"
><div class="td11">       Comments
</div></td></tr><tr
class="hline"><td><hr /></td><td><hr /></td><td><hr /></td><td><hr /></td></tr><tr
valign="baseline" id="TBL-1-4-"><td  align="right"  nowrap="nowrap" id="TBL-1-4-1"
><div class="td11">   1971</div></td><td  align="right"  nowrap="nowrap" id="TBL-1-4-2"
><div class="td10">  97-</div></td><td  align="left"  nowrap="nowrap" id="TBL-1-4-3"
><div class="td01">245  </div></td><td  align="left" id="TBL-1-4-4"
><div class="td11">Bad year for farmers
in the west.            </div></td>
</tr><tr
class="hline"><td><hr /></td><td><hr /></td><td><hr /></td><td><hr /></td></tr><tr
valign="baseline" id="TBL-1-5-"><td  align="right"  nowrap="nowrap" id="TBL-1-5-1"
><div class="td11">      72</div></td><td  align="right"  nowrap="nowrap" id="TBL-1-5-2"
><div class="td10"> 245-</div></td><td  align="left"  nowrap="nowrap" id="TBL-1-5-3"
><div class="td01">245  </div></td><td  align="left" id="TBL-1-5-4"
><div class="td11">Light trading due to
a heavy winter.       </div></td>
</tr><tr
class="hline"><td><hr /></td><td><hr /></td><td><hr /></td><td><hr /></td></tr><tr
valign="baseline" id="TBL-1-6-"><td  align="right"  nowrap="nowrap" id="TBL-1-6-1"
><div class="td11">      73</div></td><td  align="right"  nowrap="nowrap" id="TBL-1-6-2"
><div class="td10"> 245-</div></td><td  align="left"  nowrap="nowrap" id="TBL-1-6-3"

><div class="td01">2001</div></td><td  align="left" id="TBL-1-6-4"
><div class="td11">No  gnus  was  very
good gnus this year. </div></td>
</tr><tr
class="hline"><td><hr /></td><td><hr /></td><td><hr /></td><td><hr /></td></tr><tr
valign="baseline" id="TBL-1-7-"><td  align="right"  nowrap="nowrap" id="TBL-1-7-1"
><div class="td11">         </div></td> </tr></table>
</div>

    </td><td 
>
      <div class="ShowCode"><pre>
      &nbsp;<span 
class="cmtt-10">\begin{tabular}{|r||r@{-{}-}l|p{1.25in}|}</span>
      &nbsp;<span 
class="cmtt-10">\hline</span>
      &nbsp;<span 
class="cmtt-10">\multicolumn{4}{|c|}{GG\&amp;A Hoofed Stock}</span>
      &nbsp;  <span 
class="cmtt-10">\\ \hline\hline</span>
      &nbsp;<span 
class="cmtt-10">&amp; \multicolumn{2}{c|}{Price}&amp; \\ \cline{2-3}</span>
      &nbsp;<span 
class="cmtt-10">\multicolumn{1}{|c||}{year}</span>
      &nbsp;<span 
class="cmtt-10">&amp; \multicolumn{1}{l@{\,\vline\,}}{high}</span>
      &nbsp;<span 
class="cmtt-10">&amp;low &amp; \multicolumn{1}{c|}{Comments}</span>
      &nbsp;  <span 
class="cmtt-10">\\ \hline</span>
      &nbsp;<span 
class="cmtt-10">1971 &amp; 97 &amp; 245 &amp; Bad year for</span>
      &nbsp;           <span 
class="cmtt-10">farmers in the west.   \\ \hline</span>
      &nbsp;  <span 
class="cmtt-10">72 &amp; 245 &amp; 245 &amp; Light trading due to a</span>
      &nbsp;                  <span 
class="cmtt-10">heavy winter.   \\ \hline</span>
      &nbsp;  <span 
class="cmtt-10">73 &amp; 245 &amp; 2001 &amp; No gnus was very</span>
      &nbsp;                  <span 
class="cmtt-10">good gnus this year. \\ \hline</span>
      &nbsp;<span 
class="cmtt-10">\end{tabular}</span>
</pre></div>
    </td></tr></table>
    Tables with <span 
class="cmtt-10">\multicolum </span>entries need a few LaTeX compilations to stabilize.
<!--l. 1977--><p class="indent">
</p>
    <table class="button-list">
    <tr valign="top" class="button-list"><td class="button-list"><a 
 href="mn7.html#mn7-1"  name="mn7-1" >1</a></td><td 
class="button-list">  <a 
   name="index3-12002"></a>  <a 
   name="index3-12003"></a>  <a 
   name="index3-12004"></a><span 
class="cmtt-10">\Configure{</span><span 
class="cmti-10">table</span><span 
class="cmtt-10">}  {</span><span 
class="cmti-10">before-tbl</span><span 
class="cmtt-10">} {</span><span 
class="cmti-10">after-tbl</span><span 
class="cmtt-10">} {</span><span 
class="cmti-10">before-row</span><span 
class="cmtt-10">} {</span><span 
class="cmti-10">after-row</span><span 
class="cmtt-10">} {</span><span 
class="cmti-10">before-entry</span><span 
class="cmtt-10">} {</span><span 
class="cmti-10">after-entry</span><span 
class="cmtt-10">}</span>
    </td></tr></table>
    <h2 class="ChapterHead"><a 
   name="QQ1-3-13"></a>Lists and Environments</h2>
<!--l. 2037--><p class="noindent"><a 
   name="index3-13001"></a> <a 
   name="index3-13002"></a>The appearances of lists and <span 
class="cmtt-10">\begin</span>-<span 
class="cmtt-10">\end </span>environments are configured with the following commands.
</p><!--l. 2043--><p class="indent">
</p>
    <table class="button-list">
    <tr valign="top" class="button-list"><td class="button-list"><a 
 href="mn8.html#mn8-1"  name="mn8-1" >1</a></td><td 
class="button-list">  <a 
   name="index3-13003"></a><span 
class="cmtt-10">\ConfigureList{</span><span 
class="cmti-10">list-name</span><span 
class="cmtt-10">}  {</span><span 
class="cmti-10">before-list</span><span 
class="cmtt-10">} {</span><span 
class="cmti-10">after-list</span><span 
class="cmtt-10">} {</span><span 
class="cmti-10">before-label</span><span 
class="cmtt-10">} {</span><span 
class="cmti-10">after-label</span><span 
class="cmtt-10">}</span>
    </td></tr>
    <tr valign="top" class="button-list"><td class="button-list"><a 
 href="mn8.html#mn8-2"  name="mn8-2" >2</a></td><td 
class="button-list">  <a 
   name="index3-13015"></a><span 
class="cmtt-10">\ConfigureEnv{</span><span 
class="cmti-10">environment-name</span><span 
class="cmtt-10">}  {</span><span 
class="cmti-10">before-environment</span><span 
class="cmtt-10">}  {</span><span 
class="cmti-10">after-environment</span><span 
class="cmtt-10">}  {</span><span 
class="cmti-10">before-list</span><span 
class="cmtt-10">}</span>
<span 
class="cmtt-10">{</span><span 
class="cmti-10">after-list</span><span 
class="cmtt-10">}</span>
    </td></tr></table>
    <h2 class="ChapterHead"><a 
   name="QQ1-3-14"></a>Pictures</h2>
<!--l. 2140--><p class="noindent"><a 
   name="index3-14001"></a>The next command imports external pictures, and the two commands that follow request pictorial representations
for local content. The attributes, and the replacement parameters with their enclosing rectangular brackets, are
optional.
</p><!--l. 2145--><p class="indent">
</p>
    <table class="button-list">
    <tr valign="top" class="button-list"><td class="button-list"><a 
 href="mn9.html#mn9-1"  name="mn9-1" >1</a></td><td 
class="button-list">  <a 
   name="index3-14002"></a><span 
class="cmtt-10">\Picture[</span><span 
class="cmti-10">replacement-for-textual-browser</span><span 
class="cmtt-10">]{</span><span 
class="cmti-10">file-name attributes</span><span 
class="cmtt-10">}</span></td></tr>
    <tr valign="top" class="button-list"><td class="button-list"><a 
 href="mn9.html#mn9-2"  name="mn9-2" >2</a></td><td 
class="button-list"><span 
class="cmtt-10">\Picture+[</span><span 
class="cmti-10">replacement-for-text-browsers</span><span 
class="cmtt-10">]{</span><span 
class="cmti-10">file-name attributes</span><span 
class="cmtt-10">}</span><span 
class="cmti-10">content</span><span 
class="cmtt-10">\EndPicture</span>
    </td></tr>
    <tr valign="top" class="button-list"><td class="button-list"><a 
 href="mn9.html#mn9-3"  name="mn9-3" >3</a></td><td 
class="button-list"><span 
class="cmtt-10">\Picture*[</span><span 
class="cmti-10">replacement-for-text-browsers</span><span 
class="cmtt-10">]{</span><span 
class="cmti-10">file-name attributes</span><span 
class="cmtt-10">}</span><span 
class="cmti-10">content</span><span 
class="cmtt-10">\EndPicture</span>
    </td></tr></table>
    <h2 class="ChapterHead"><a 
   name="QQ1-3-15"></a>Mathematical Formulas</h2>
<!--l. 2203--><p class="noindent"><a 
   name="index3-15001"></a> <a 
   name="index3-15002"></a> <a 
   name="index3-15003"></a> <a 
   name="index3-15004"></a> <a 
   name="index3-15005"></a>In the default setting, the math environments &#8216;<span 
class="cmtt-10">\(...\)</span>&#8217;, and the display math environments &#8216;<span 
class="cmtt-10">\[...\]</span>&#8217; and
&#8216;<span 
class="cmtt-10">$$...$$</span>&#8217;, request pictorial representations for their content. On the other hand, the math environments &#8216;<span 
class="cmtt-10">$...$</span>&#8217; ask
for no special treatment. Simple features like mathematical symbols, subscripts, and superscripts, are
translated into html, and more complex entities like roots and fractions are translated into pictures
(<a 
 href="mn10.html"  name="mn10.html" >example</a>).
</p><!--l. 2227--><p class="indent">
</p>
    <table class="button-list">
    <tr valign="top" class="button-list"><td class="button-list"><a 
 href="mn11.html#mn11-1"  name="mn11-1" >1</a></td><td 
class="button-list">  <a 
   name="index3-15006"></a>  <a 
   name="index3-15007"></a>  <a 
   name="index3-15008"></a>  <a 
   name="index3-15009"></a><span 
class="cmtt-10">\Configure{[]}  {</span><span 
class="cmti-10">before</span><span 
class="cmtt-10">$$</span><span 
class="cmti-10">at-start</span><span 
class="cmtt-10">} {</span><span 
class="cmti-10">at-end</span><span 
class="cmtt-10">$$</span><span 
class="cmti-10">after</span><span 
class="cmtt-10">}</span>,
<span 
class="cmtt-10">\Configure{()}{</span><span 
class="cmti-10">before</span><span 
class="cmtt-10">$</span><span 
class="cmti-10">at-start</span><span 
class="cmtt-10">}{</span><span 
class="cmti-10">at-end</span><span 
class="cmtt-10">$</span><span 
class="cmti-10">after</span><span 
class="cmtt-10">}</span><br /><span 
class="cmtt-10">\Configure{$$}{</span><span 
class="cmti-10">before</span><span 
class="cmtt-10">}{</span><span 
class="cmti-10">after</span><span 
class="cmtt-10">}{</span><span 
class="cmti-10">at-start</span><span 
class="cmtt-10">}</span><br /><span 
class="cmtt-10">\Configure{$}{</span><span 
class="cmti-10">before</span><span 
class="cmtt-10">}{</span><span 
class="cmti-10">after</span><span 
class="cmtt-10">}{</span><span 
class="cmti-10">at-start</span><span 
class="cmtt-10">}</span>
    </td></tr>
    <tr valign="top" class="button-list"><td class="button-list"><a 
 href="mn11.html#mn11-2"  name="mn11-2" >2</a></td><td 
class="button-list">  <a 
   name="index3-15016"></a>  <a 
   name="index3-15017"></a>  <a 
   name="index3-15018"></a><span 
class="cmtt-10">\Configure{SUB}{</span><span 
class="cmti-10">before</span><span 
class="cmtt-10">}{</span><span 
class="cmti-10">after</span><span 
class="cmtt-10">}</span><br /><span 
class="cmtt-10">\Configure{SUP}{</span><span 
class="cmti-10">before</span><span 
class="cmtt-10">}{</span><span 
class="cmti-10">after</span><span 
class="cmtt-10">}</span><br /><span 
class="cmtt-10">\Configure{SUBSUP}{</span><span 
class="cmti-10">before</span><span 
class="cmtt-10">}{</span><span 
class="cmti-10">between</span><span 
class="cmtt-10">}{</span><span 
class="cmti-10">after</span><span 
class="cmtt-10">}</span>
    </td></tr>
    <tr valign="top" class="button-list"><td class="button-list"><a 
 href="mn11.html#mn11-3"  name="mn11-3" >3</a></td><td 
class="button-list">  <a 
   name="index3-15022"></a>  <a 
   name="index3-15023"></a>  <a 
   name="index3-15024"></a>  <a 
   name="index3-15025"></a><span 
class="cmtt-10">no_</span>, <span 
class="cmtt-10">no^ </span></td></tr></table>
    <h2 class="ChapterHead"><a 
   name="QQ1-3-16"></a>Paragraphs</h2>
<!--l. 2334--><p class="noindent"><a 
   name="index3-16001"></a>The insertions of code at paragraph breaks are controlled by the following commands.
</p><!--l. 2337--><p class="indent">
</p>
    <table class="button-list">
    <tr valign="top" class="button-list"><td class="button-list"><a 
 href="mn12.html#mn12-1"  name="mn12-1" >1</a></td><td 
class="button-list">  <a 
   name="index3-16002"></a>  <a 
   name="index3-16003"></a><span 
class="cmtt-10">\Configure{HtmlPar}  {</span><span 
class="cmti-10">noindent-P</span><span 
class="cmtt-10">}  {</span><span 
class="cmti-10">indent-P</span><span 
class="cmtt-10">}  {</span><span 
class="cmti-10">from-noindent-P</span><span 
class="cmtt-10">}  {</span><span 
class="cmti-10">from-indent-P</span><span 
class="cmtt-10">} </span><br /><span 
class="cmtt-10">\EndP</span>
    </td></tr>
    <tr valign="top" class="button-list"><td class="button-list"><a 
 href="mn12.html#mn12-2"  name="mn12-2" >2</a></td><td 
class="button-list">  <a 
   name="index3-16006"></a>  <span 
class="cmtt-10">\IgnorePar </span></td></tr>
    <tr valign="top" class="button-list"><td class="button-list"><a 
 href="mn12.html#mn12-3"  name="mn12-3" >3</a></td><td 
class="button-list">  <a 
   name="index3-16008"></a>  <span 
class="cmtt-10">\ShowPar </span></td></tr>
    <tr valign="top" class="button-list"><td class="button-list"><a 
 href="mn12.html#mn12-4"  name="mn12-4" >4</a></td><td 
class="button-list">  <a 
   name="index3-16010"></a>  <span 
class="cmtt-10">\NoIndent </span></td></tr>
    <tr valign="top" class="button-list"><td class="button-list"><a 
 href="mn12.html#mn12-5"  name="mn12-5" >5</a></td><td 
class="button-list">  <a 
   name="index3-16012"></a>  <span 
class="cmtt-10">\Indent </span></td></tr></table>
    <h2 class="ChapterHead"><a 
   name="QQ1-3-17"></a>Private Configuration Files</h2>
<!--l. 2443--><p class="noindent"><a 
   name="index3-17001"></a> <a 
   name="index3-17002"></a> <a 
   name="index3-17003"></a>The <span 
class="cmtt-10">\usepackage{tex4ht} </span>implicitly assumes a private configuration file of the following form.
</p><!--l. 2447--><p class="indent">    <span 
class="cmtt-10">\Preamble{html}\begin{document}\EndPreamble</span>
</p><!--l. 2449--><p class="indent">    Similarly, a command of the form &#8216;<span 
class="cmtt-10">\usepackage[html,</span><span 
class="cmti-10">option</span><span 
class="cmtt-10">,</span><span 
class="cmti-10">option</span><span 
class="cmtt-10">,...]{tex4ht}</span>&#8217; implicitly assumes a file
of the following form.
</p><!--l. 2453--><p class="indent">    <span 
class="cmtt-10">\Preamble{html,</span><span 
class="cmti-10">option</span><span 
class="cmtt-10">,</span><span 
class="cmti-10">option</span><span 
class="cmtt-10">,...}\begin{document}\EndPreamble</span>
</p><!--l. 2456--><p class="indent">    On the other hand, a command of the form &#8216;<span 
class="cmtt-10">\usepackage[</span><span 
class="cmti-10">file</span><span 
class="cmtt-10">,</span><span 
class="cmti-10">options</span><span 
class="cmtt-10">]{tex4ht}</span>&#8217; assumes a configuration file
obeying the following format (<a 
 href="mn13.html"  name="mn13.html" >example</a>). The extension &#8216;<span 
class="cmtt-10">cfg</span>&#8217; is assumed for names of configuration files that are listed without their
extension.
</p>
    <div class="Template">   <span 
class="cmtt-10">...</span><span 
class="cmti-10">early definitions</span><span 
class="cmtt-10">...</span><br />
<span 
class="cmtt-10">\Preamble{</span><span 
class="cmti-10">options</span><span 
class="cmtt-10">}</span><br />
<span 
class="cmtt-10">...</span><span 
class="cmti-10">definitions</span><span 
class="cmtt-10">...</span><br />
<span 
class="cmtt-10">\begin{document}</span><br />
<span 
class="cmtt-10">...</span><span 
class="cmti-10">insertions into the header of the html file</span><span 
class="cmtt-10">...</span><br />
<span 
class="cmtt-10">\EndPreamble </span></div>
    It is up to the user to decide the distribution of parameters between the <span 
class="cmtt-10">\Preamble </span>and the <span 
class="cmtt-10">\usepackage</span>
commands.
<!--l. 2510--><p class="indent">    One can avoid using configuration files, by including their implicit and explicit content within the source files.
In such a case, the &#8216;<span 
class="cmtt-10">\begin{document}</span>&#8217; of the source file should be replaced with a code segment of the following
format (<a 
 href="mn14.html"  name="mn14.html" >example</a>).
</p>
    <div class="Template">   <span 
class="cmtt-10">\input tex4ht.sty</span><br />
<span 
class="cmtt-10">...</span><span 
class="cmti-10">early definitions</span><span 
class="cmtt-10">...</span><br />
<span 
class="cmtt-10">\Preamble{</span><span 
class="cmti-10">options</span><span 
class="cmtt-10">}</span><br />
<span 
class="cmtt-10">...</span><span 
class="cmti-10">definitions</span><span 
class="cmtt-10">...</span><br />
<span 
class="cmtt-10">\begin{document}</span><br />
<span 
class="cmtt-10">...</span><span 
class="cmti-10">insertions into the header of the html file</span><span 
class="cmtt-10">...</span><br />
<span 
class="cmtt-10">\EndPeamble </span></div>
    Listed below are a few additional parameters available for LaTeX.
<!--l. 2562--><p class="indent">
</p>
    <table class="button-list">
    <tr valign="top" class="button-list"><td class="button-list"><a 
 href="mn15.html#mn15-1"  name="mn15-1" >1</a></td><td 
class="button-list">  <a 
   name="index3-17004"></a>  <a 
   name="index3-17005"></a>  <a 
   name="index3-17006"></a>  <a 
   name="index3-17007"></a><span 
class="cmtt-10">pic-array</span>,  <span 
class="cmtt-10">pic-eqnarray</span>,  <span 
class="cmtt-10">pic-tabbing</span>,  <span 
class="cmtt-10">pic-tabular </span></td></tr>
    <tr valign="top" class="button-list"><td class="button-list"><a 
 href="mn15.html#mn15-2"  name="mn15-2" >2</a></td><td 
class="button-list">  <a 
   name="index3-17014"></a><span 
class="cmtt-10">pic-displaylines </span></td></tr>
    <tr valign="top" class="button-list"><td class="button-list"><a 
 href="mn15.html#mn15-3"  name="mn15-3" >3</a></td><td 
class="button-list">  <a 
   name="index3-17016"></a><span 
class="cmtt-10">no-halign </span></td></tr>
    <tr valign="top" class="button-list"><td class="button-list"><a 
 href="mn15.html#mn15-4"  name="mn15-4" >4</a></td><td 
class="button-list">  <a 
   name="index3-17018"></a><span 
class="cmtt-10">pictex </span></td></tr>
    <tr valign="top" class="button-list"><td class="button-list"><a 
 href="mn15.html#mn15-5"  name="mn15-5" >5</a></td><td 
class="button-list">  <a 
   name="index3-17020"></a>  <a 
   name="index3-17021"></a>  <a 
   name="index3-17022"></a>  <a 
   name="index3-17023"></a><span 
class="cmtt-10">jpg</span>,  <span 
class="cmtt-10">png </span></td></tr></table>
    <h2 class="ChapterHead"><a 
   name="QQ1-3-18"></a>XHTML, MathML, DocBook, TEI, and Unicode</h2>
<!--l. 2670--><p class="noindent"><a 
   name="index3-18001"></a> <a 
   name="index3-18002"></a> <a 
   name="index3-18003"></a> <a 
   name="index3-18004"></a> <a 
   name="index3-18005"></a> <a 
   name="index3-18006"></a> <a 
   name="index3-18007"></a> <a 
   name="index3-18008"></a>Scripts similar to htlatex are <a 
 href="mn68.html#scripts">available</a> for the different modes of output under support. Variants of these scripts
may be produced in the following manner.
</p><!--l. 2684--><p class="indent">
</p><ol type="a" >
<li>Create a new file named &#8216;<span 
class="cmtt-10">tex4ht.usr</span>&#8217;, and group there references to <span 
class="cmtt-10">*.4ht </span>configuration files under new option
names of your choice. For that purpose, employ <span 
class="cmtt-10">\Configure </span>commands similar to those provided in <a 
 href="share/all4ht/tex4ht.4ht" >tex4ht.4ht</a>.
</li>
<li>Adjust the &#8216;<span 
class="cmtt-10">latex</span>&#8217; (&#8216;<span 
class="cmtt-10">tex</span>&#8217;, &#8216;<span 
class="cmtt-10">texi</span>&#8217;) command of a <a 
 href="mn68.html#scripts">given script</a> to use the new option, and rename the new script.
</li>
<li>Make sure the &#8216;<span 
class="cmtt-10">tex4ht</span>&#8217; and &#8216;<span 
class="cmtt-10">t4ht</span>&#8217; commands receive appropriate switches in the new script. </li></ol>
    The outcome of the translations should be checked by validators for proper syntax. Typically, with the presence
of validators, errors are easy to detect and correct, but they require human intervention.
<!--l. 2707--><p class="indent">    In particular, it might be worthwhile to notice some of the more <a 
 href="mn17.html"  name="mn17.html" >common sources of problems</a> for MathML.
</p>
    <h2 class="ChapterHead"><a 
   name="QQ1-3-20"></a>Cascade Style Sheets (CSS)</h2>
<!--l. 2761--><p class="noindent"><a 
   name="index3-20001"></a>Cascade style sheets attach presentations to the content of hypertext pages, in a manner similar to the way
that &#8216;<span 
class="cmtt-10">.sty</span>&#8217; files define the presentations to the content of source LaTeX files. TeX4ht produces a CSS
file for each document that is translated to HTML transitional 4.0 code. The following are related
commands.
</p><!--l. 2769--><p class="indent">
</p>
    <table class="button-list">
    <tr valign="top" class="button-list"><td class="button-list"><a 
 href="mn18.html#mn18-1"  name="mn18-1" >1</a></td><td 
class="button-list"><span 
class="cmtt-10">\Css{</span><span 
class="cmti-10">content</span><span 
class="cmtt-10">}</span>
    </td></tr>
    <tr valign="top" class="button-list"><td class="button-list"><a 
 href="mn18.html#mn18-2"  name="mn18-2" >2</a></td><td 
class="button-list">  <a 
   name="index3-20002"></a><span 
class="cmtt-10">\Css  </span><span 
class="cmti-10">content</span><span 
class="cmtt-10">\EndCss</span>
    </td></tr>
    <tr valign="top" class="button-list"><td class="button-list"><a 
 href="mn18.html#mn18-3"  name="mn18-3" >3</a></td><td 
class="button-list">  <a 
   name="index3-20004"></a><span 
class="cmtt-10">\CssFile[</span><span 
class="cmti-10">list-of-css-files</span><span 
class="cmtt-10">]</span><span 
class="cmti-10">content</span><span 
class="cmtt-10">\EndCssFile</span>
    </td></tr></table>
    <h2 class="ChapterHead"><a 
   name="QQ1-3-21"></a>Fonts</h2>
<!--l. 2845--><p class="noindent"><a 
   name="index3-21001"></a>TeX4ht has an elaborated machinery for handling fonts, through special virtual hypertext fonts stored in &#8216;<span 
class="cmtt-10">.htf</span>&#8217; files.
Instead of providing a design for each symbol, as is the case in standard fonts, the virtual fonts provide a content for
each symbol. The following commands offer some control, from within the source LaTeX documents, over the
content provided to the symbols.
</p><!--l. 2854--><p class="indent">
</p>
    <table class="button-list">
    <tr valign="top" class="button-list"><td class="button-list"><a 
 href="mn19.html#mn19-1"  name="mn19-1" >1</a></td><td 
class="button-list">  <a 
   name="index3-21002"></a><span 
class="cmtt-10">\NoFonts </span></td></tr>
    <tr valign="top" class="button-list"><td class="button-list"><a 
 href="mn19.html#mn19-2"  name="mn19-2" >2</a></td><td 
class="button-list">  <a 
   name="index3-21004"></a><span 
class="cmtt-10">\EndNoFonts </span></td></tr>
    <tr valign="top" class="button-list"><td class="button-list"><a 
 href="mn19.html#mn19-3"  name="mn19-3" >3</a></td><td 
class="button-list">  <a 
   name="index3-21006"></a><span 
class="cmtt-10">\Configure{htf}  {</span><span 
class="cmti-10">class</span><span 
class="cmtt-10">}  {</span><span 
class="cmti-10">delimiter</span><span 
class="cmtt-10">}  {</span><span 
class="cmti-10">template-1</span><span 
class="cmtt-10">}  {</span><span 
class="cmti-10">template-2</span><span 
class="cmtt-10">}  {</span><span 
class="cmti-10">template-3</span><span 
class="cmtt-10">}  {</span><span 
class="cmti-10">template-4</span><span 
class="cmtt-10">}  {</span><span 
class="cmti-10">template-5</span><span 
class="cmtt-10">}</span>
<span 
class="cmtt-10">{</span><span 
class="cmti-10">template-6</span><span 
class="cmtt-10">} {</span><span 
class="cmti-10">template-7</span><span 
class="cmtt-10">} </span></td></tr>
    <tr valign="top" class="button-list"><td class="button-list"><a 
 href="mn19.html#mn19-4"  name="mn19-4" >4</a></td><td 
class="button-list">  <a 
   name="index3-21008"></a><span class="cmtt-10">\Configure{htf-sty}  {</span><span class="cmti-10">class/font</span><span class="cmtt-10">}  {</span><span class="cmti-10">CSS-instructions</span><span class="cmtt-10">} </span></td></tr></table>
<!--l. 3012--><p class="indent">    The <span class="cmtt-10">htf </span>fonts might request pictorial representations for symbols. In such cases, the sizes of the pictures
depend on the sizes of the TeX fonts in use. Size changes through the <span class="cmtt-10">\magnification </span>command should be made
before loading the <span class="cmtt-10">tex4ht.sty </span>package.
</p><!--l. 3019--><p class="indent">    The design of a virtual hypertext font might take some labor, but it does not <a 
 href="mn20.html"  name="mn20.html" >require</a> too much sophistication.
</p>
    <h2 class="ChapterHead"><a 
   name="QQ1-3-23"></a>Configurable Hooks</h2>
<!--l. 3356--><p class="noindent">Much of the look and feel of TeX4ht is achieved through configurable hooks which are defined with the following
commands.
</p><!--l. 3360--><p class="indent">
</p>
    <table class="button-list">
    <tr valign="top" class="button-list"><td class="button-list"><a 
 href="mn21.html#mn21-1"  name="mn21-1" >1</a></td><td 
class="button-list">  <a 
   name="index3-23001"></a><span class="cmtt-10">\NewConfigure{</span><span class="cmti-10">name</span><span class="cmtt-10">}[</span><span class="cmti-10">i</span><span class="cmtt-10">]{</span><span class="cmti-10">body</span><span class="cmtt-10">} </span></td></tr>
    <tr valign="top" class="button-list"><td class="button-list"><a 
 href="mn21.html#mn21-2"  name="mn21-2" >2</a></td><td 
class="button-list">  <a 
   name="index3-23003"></a><span class="cmtt-10">\Configure{</span><span class="cmti-10">name</span><span class="cmtt-10">}{</span><span class="cmti-10">parameter-1</span><span class="cmtt-10">}...{</span><span class="cmti-10">parameter-i</span><span class="cmtt-10">}</span>
    </td></tr></table>
<!--l. 3403--><p class="indent">    For help configuring hooks already seeded in the system, compile the source files in use with the &#8216;<span class="cmtt-10">info</span>&#8217; option
active and review the information in log files. Much of the information in the log files may also be obtained by
running &#8216;<span class="cmtt-10">xhlatex mktex4ht</span>&#8217; and reviewing the entries in the outcome page &#8216;<span class="cmtt-10">mktex4ht.html =&gt; index =&gt;</span>
<span class="cmtt-10">mktex4ht</span>&#8217;.
</p><!--l. 3412--><p class="indent">    The following features can become handy for tailoring markups in LaTeX documents.
</p><!--l. 3415--><p class="indent">
</p>
    <table class="button-list">
    <tr valign="top" class="button-list"><td class="button-list"><a 
 href="mn22.html#mn22-1"  name="mn22-1" >1</a></td><td 
class="button-list"> <a 
   name="index3-23005"></a>Package parameter &#8216;<span class="cmtt-10">0.0</span>&#8217; </td></tr>
    <tr valign="top" class="button-list"><td class="button-list"><a 
 href="mn22.html#mn22-2"  name="mn22-2" >2</a></td><td 
class="button-list"> <a 
   name="index3-23007"></a>Parameter &#8216;<span class="cmtt-10">hooks</span>&#8217; </td></tr>
    <tr valign="top" class="button-list"><td class="button-list"><a 
 href="mn22.html#mn22-3"  name="mn22-3" >3</a></td><td 
class="button-list"> <a 
   name="index3-23009"></a>Option &#8216;<span class="cmtt-10">hooks+</span>&#8217; </td></tr>
    <tr valign="top" class="button-list"><td class="button-list"><a 
 href="mn22.html#mn22-4"  name="mn22-4" >4</a></td><td 
class="button-list"> <a 
   name="index3-23011"></a> <a 
   name="index3-23012"></a>Package parameter &#8216;<span class="cmtt-10">edit</span>&#8217;<br /><span class="cmtt-10">\Tg&lt;...&gt;</span><br /><span class="cmtt-10">\Tg&lt;/...&gt;</span><br /><span class="cmtt-10">\Tg&lt;.../&gt; </span></td></tr>
    <tr valign="top" class="button-list"><td class="button-list"><a 
 href="mn22.html#mn22-5"  name="mn22-5" >5</a></td><td 
class="button-list"><span class="cmtt-10">\Configure{edit} {</span><span class="cmti-10">before</span><span class="cmtt-10">} {</span><span class="cmti-10">after</span><span class="cmtt-10">} </span><br /><span class="cmtt-10">\Configure{hooks} {</span><span class="cmti-10">before</span><span class="cmtt-10">} {</span><span class="cmti-10">after</span><span class="cmtt-10">} {}{}</span>
    </td></tr>
    <tr valign="top" class="button-list"><td class="button-list"><a 
 href="mn22.html#mn22-6"  name="mn22-6" >6</a></td><td 
class="button-list"> <a 
   name="index3-23015"></a> <span class="cmtt-10">\Configure&lt;...&gt;{</span><span class="cmti-10">before</span><span class="cmtt-10">}{</span><span class="cmti-10">after</span><span class="cmtt-10">}</span><br /><span class="cmtt-10">\Configure&lt;/...&gt;{</span><span class="cmti-10">before</span><span class="cmtt-10">}{</span><span class="cmti-10">after</span><span class="cmtt-10">}</span><br /><span class="cmtt-10">\Configure&lt;.../&gt;{</span><span class="cmti-10">before</span><span class="cmtt-10">}{</span><span class="cmti-10">after</span><span class="cmtt-10">}</span>
</td></tr>
    <tr valign="top" class="button-list"><td class="button-list"><a 
 href="mn22.html#mn22-7"  name="mn22-7" >7</a></td><td 
class="button-list"> <span class="cmtt-10">\Configure&lt;...&gt;-{</span><span class="cmti-10">replacement</span><span class="cmtt-10">}</span><br /><span class="cmtt-10">\Configure&lt;/...&gt;-{</span><span class="cmti-10">replacement</span><span class="cmtt-10">}</span><br /><span class="cmtt-10">\Configure&lt;.../&gt;-{</span><span class="cmti-10">replacement</span><span class="cmtt-10">}</span>
</td></tr>
    <tr valign="top" class="button-list"><td class="button-list"><a 
 href="mn22.html#mn22-8"  name="mn22-8" >8</a></td><td 
class="button-list"> <a 
   name="index3-23017"></a>Package parameter &#8216;<span class="cmtt-10">edit+</span>&#8217;
<!--l. 5--><p class="indent">    This parameter is a generalization of the &#8216;<span class="cmtt-10">edit</span>&#8217; parameter, which introduces configuration information into the
log file. </p></td></tr>
    <tr valign="top" class="button-list"><td class="button-list"><a 
 href="mn22.html#mn22-9"  name="mn22-9" >9</a></td><td 
class="button-list"> <a 
   name="index3-23019"></a> <a 
   name="index3-23020"></a>Package parameter &#8216;<span class="cmtt-10">verify</span>&#8217;<br /><span class="cmtt-10">\Verify...\EndVerify </span></td></tr>
    <tr valign="top" class="button-list"><td class="button-list"><a 
 href="mn22.html#mn22-10"  name="mn22-10" >10</a></td><td 
class="button-list"> <a 
   name="index3-23023"></a>Package parameter &#8216;<span class="cmtt-10">verify+</span>&#8217; </td></tr></table>
    <h2 class="ChapterHead"><a 
   name="QQ1-3-24"></a>Literate Programs (with ProTeX) and Scripts</h2>
<!--l. 3874--><p class="noindent"><a 
   name="index3-24001"></a>Literate programming is a discipline that promotes the writing of programs the way one explains them to human
beings. ProTeX is a literate programming system fully implemented in terms of TeX, and it is compatible with
LaTeX and other TeX-base systems. TeX4ht, and ProTeX itself, are examples of applications written in
ProTeX.
</p><!--l. 3883--><p class="indent">
</p>
    <table class="button-list">
    <tr valign="top" class="button-list"><td class="button-list"><a 
 href="mn23.html#mn23-1"  name="mn23-1" >1</a></td><td 
class="button-list"><span class="cmtt-10">\input ProTex.sty</span><br /><span class="cmtt-10">\AlProTex{</span><span class="cmti-10">extension</span><span class="cmtt-10">,&lt;&lt;&lt;&gt;&gt;&gt;,list,title,</span><span class="cmti-10">escape-character</span><span class="cmtt-10">} </span></td></tr>
    <tr valign="top" class="button-list"><td class="button-list"><a 
 href="mn23.html#mn23-2"  name="mn23-2" >2</a></td><td 
class="button-list"><span class="cmtt-10">\&lt;</span><span class="cmti-10">title</span><span class="cmtt-10">\&gt;&lt;&lt;&lt;</span><br /><span class="cmti-10">code fragment</span><br /><span class="cmtt-10">&gt;&gt;&gt;  </span></td></tr>
    <tr valign="top" class="button-list"><td class="button-list"><a 
 href="mn23.html#mn23-3"  name="mn23-3" >3</a></td><td 
class="button-list"><span class="cmtt-10">`&lt;</span><span class="cmti-10">title</span><span class="cmtt-10">`&gt;  </span></td></tr>
    <tr valign="top" class="button-list"><td class="button-list"><a 
 href="mn23.html#mn23-4"  name="mn23-4" >4</a></td><td 
class="button-list"><span class="cmtt-10">\OutputCode\&lt;...\&gt; </span></td></tr></table>
<!--l. 4115--><p class="indent">    Scripts produce the content in verbatim format with no decorations.
</p><!--l. 4119--><p class="indent">
</p>
    <table class="button-list">
    <tr valign="top" class="button-list"><td class="button-list"><a 
 href="mn25.html#mn25-1"  name="mn25-1" >1</a></td><td 
class="button-list">  <a 
   name="index3-24002"></a><span class="cmtt-10">\ScriptEnv{</span><span class="cmti-10">environment</span><span class="cmtt-10">}  {</span><span class="cmti-10">prefix</span><span class="cmtt-10">}  {</span><span class="cmti-10">postfix</span><span class="cmtt-10">}  </span></td></tr>
    <tr valign="top" class="button-list"><td class="button-list"><a 
 href="mn25.html#mn25-2"  name="mn25-2" >2</a></td><td 
class="button-list">  <a 
   name="index3-24004"></a><span class="cmtt-10">\ScriptCommand{\</span><span class="cmti-10">command</span><span class="cmtt-10">}  {</span><span class="cmti-10">prefix</span><span class="cmtt-10">}  {</span><span class="cmti-10">postfix</span><span class="cmtt-10">}  </span></td></tr>
    <tr valign="top" class="button-list"><td class="button-list"><a 
 href="mn25.html#mn25-3"  name="mn25-3" >3</a></td><td 
class="button-list">  <a 
   name="index3-24006"></a><span class="cmtt-10">\JavaScript...\EndJavaScript </span></td></tr></table>
    <h2 class="ChapterHead"><a 
   name="QQ1-3-25"></a>TeX</h2>
<!--l. 4209--><p class="noindent"><a 
   name="index3-25001"></a> <a 
   name="index3-25002"></a> <a 
   name="index3-25003"></a> <a 
   name="index3-25004"></a>Source TeX files are treated in a manner similar to the way LaTeX source files are treated, with the obvious
restriction that only TeX commands are allowed. In particular, the <span class="cmtt-10">\usepackage </span>command is not
valid in TeX. A counter part of the <span class="cmtt-10">htlatex </span>system command is called <span class="cmtt-10">httex </span>and it takes a similar
format.
</p>
    <div align="center" 
class="centerline"><span class="cmtt-10">httex filename &#34;</span><span class="cmti-10">options1</span><span class="cmtt-10">&#34; &#34;</span><span class="cmti-10">option2</span><span class="cmtt-10">&#34; &#34;</span><span class="cmti-10">options3</span><span class="cmtt-10">&#34;</span></div>
<!--l. 4219--><p class="indent">    The <span class="cmtt-10">htlatex </span>implies a loading of an implicit or an explicit configuration file when the command
<span class="cmtt-10">\begin{document} </span>is encountered. The <span class="cmtt-10">httex </span>command, on the other hand, requires the insertion of the code
&#8216;<span class="cmtt-10">\csname tex4ht\endcsname</span>&#8217; into the source TeX file, at the location where the implicit or explicit configuration
file is to be loaded (<a 
 href="mn26.html"  name="mn26.html" >example</a>).
</p><!--l. 4239--><p class="indent">    The configuration files for TeX are similar to those for LaTeX, with the only exception of not including the
&#8216;<span class="cmtt-10">\begin{document}</span>&#8217; instruction.
</p>
    <div align="center" 
class="centerline"><span class="cmtt-10">\Preamble{...}...\EndPreamble</span></div>
<!--l. 4245--><p class="indent">    The compilation, of sources which explicitly include the configuration files, can be invoked with a command of
the form &#8216;<span class="cmtt-10">ht tex filename</span>&#8217; (<a 
 href="mn27.html"  name="mn27.html" >example</a>).
</p><!--l. 4266--><p class="indent">    The following are package options are available for TeX only.
</p>
    <table class="button-list">
    <tr valign="top" class="button-list"><td class="button-list"><a 
 href="mn28.html#mn28-1"  name="mn28-1" >1</a></td><td 
class="button-list">  <a 
   name="index3-27001"></a><span class="cmtt-10">plain- </span></td></tr>
    <tr valign="top" class="button-list"><td class="button-list"><a 
 href="mn28.html#mn28-2"  name="mn28-2" >2</a></td><td 
class="button-list">  <a 
   name="index3-27003"></a><span class="cmtt-10">pic-eqalign </span></td></tr></table>
<!--l. 4289--><p class="indent">    <a 
   name="index3-27005"></a> <a 
   name="index3-27006"></a> A <span class="cmtt-10">\TableOfContents </span>command, similar to the generalized command of <span class="cmtt-10">\tableofcontents </span>offered to LaTeX,
is also provided for TeX.

</p>
     
</body></html>