| 1 |
% $Id: tex4ht-info-html4.tex 314 2017-05-14 18:30:18Z karl $ |
| 2 |
% compile 3 times: latex tex4ht-info-html4 |
| 3 |
% or xhlatex tex4ht-info-html4 "html,3,sections+" |
| 4 |
% |
| 5 |
% Copyright 2009-2017 TeX Users Group |
| 6 |
% Copyright 2000-2009 Eitan M. Gurari |
| 7 |
% Released under LPPL 1.3c+. |
| 8 |
% See tex4ht-cpright.tex for license text. |
| 9 |
|
| 10 |
\ifx \HTML\UnDef |
| 11 |
\def\HTML{infoht4} |
| 12 |
\def\CONFIG{\jobname} |
| 13 |
\def\MAKETITLE{\author{Eitan M. Gurari}} |
| 14 |
\def\next{\input mktex4ht.4ht \endinput} |
| 15 |
\expandafter\next |
| 16 |
\fi |
| 17 |
|
| 18 |
\input{common-info} |
| 19 |
\input{common} |
| 20 |
|
| 21 |
|
| 22 |
\expandafter\ifx \csname YES\HTML\endcsname\relax |
| 23 |
\else |
| 24 |
\def\CleanComment#1tex4ht-info-html4#2#3#4.#5>#6//{[#4% <--jobname |
| 25 |
\if,\ifnum \FIRST=#6 .\else ,0\fi\fi]#6//} |
| 26 |
\fi |
| 27 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
| 28 |
\chapter{INFO} |
| 29 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
| 30 |
|
| 31 |
|
| 32 |
\<infoht4\><<< |
| 33 |
% infoht4.4ht (|version), generated from |jobname.tex |
| 34 |
% Copyright 2009-2017 TeX Users Group |
| 35 |
% Copyright |CopyYear.2000. Eitan M. Gurari |
| 36 |
% |
| 37 |
% This work may be distributed and/or modified under the |
| 38 |
% conditions of the LaTeX Project Public License, either |
| 39 |
% version 1.3c of this license or (at your option) any |
| 40 |
% later version. The latest version of this license is in |
| 41 |
% http://www.latex-project.org/lppl.txt |
| 42 |
% and version 1.3c or later is part of all distributions |
| 43 |
% of LaTeX version 2005/12/01 or later. |
| 44 |
% |
| 45 |
% This work has the LPPL maintenance status "maintained". |
| 46 |
% |
| 47 |
% The Current Maintainer of this work |
| 48 |
% is the TeX4ht Project <http://tug.org/tex4ht>. |
| 49 |
% |
| 50 |
% If you modify this program, changing the |
| 51 |
% version identification would be appreciated. |
| 52 |
\immediate\write-1{version |version} |
| 53 |
{ \catcode`\@=0 \catcode`\\=11 @relax |
| 54 |
@gdef@infoIVht[#1]#2//{% |
| 55 |
@ifnum #1>1 |
| 56 |
@def@infoIVht[##1]##2//{% |
| 57 |
@ifnum ##1>1 @ifnum ##1<#1 |
| 58 |
@bgroup |
| 59 |
@no:catcodes0{255}{11}% |
| 60 |
@no:catcodes{91}{91}{12}% [ |
| 61 |
@no:catcodes{47}{47}{12}% / |
| 62 |
@newlinechar13 % |
| 63 |
@long@def@infoIVht####1\ifx\infoIVht####2infoIVht[####3//{% |
| 64 |
@def@infoIVht{******************************************}% |
| 65 |
@immediate@write-1{@infoIVht}% |
| 66 |
@immediate@write-1{****** @csname :[email protected]}% |
| 67 |
@immediate@write-1{@infoIVht}% |
| 68 |
@bgroup |
| 69 |
@def@infoIVht{~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*}% |
| 70 |
@let~=@space @immediate@write-1{@infoIVht}% |
| 71 |
@egroup |
| 72 |
@immediate@write-1{####1}% |
| 73 |
@bgroup |
| 74 |
@def@infoIVht{~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*}% |
| 75 |
@let~=@space @immediate@write-1{@infoIVht}% |
| 76 |
@egroup |
| 77 |
@immediate@write-1{@infoIVht}% |
| 78 |
@egroup}% |
| 79 |
@expandafter@expandafter@expandafter@infoIVht |
| 80 |
@fi@fi }% |
| 81 |
@fi } |
| 82 |
} |
| 83 |
>>> |
| 84 |
|
| 85 |
|
| 86 |
|
| 87 |
|
| 88 |
|
| 89 |
|
| 90 |
|
| 91 |
\chapter{The Code} |
| 92 |
|
| 93 |
\<configure infoht4 tex4ht\><<< |
| 94 |
Cascade Style Sheets and Character Sets |
| 95 |
--------------------------------------- |
| 96 |
|
| 97 |
\Configure{CssFile}.....................2 |
| 98 |
|
| 99 |
#1 name for css file |
| 100 |
#2 comment in css file |
| 101 |
|
| 102 |
\Configure{Css} |
| 103 |
|
| 104 |
\Configure{charset}..................1 |
| 105 |
|
| 106 |
#1 override information for the charset entry in the link element |
| 107 |
|
| 108 |
To be noticed, the configuration should be encountered early in the |
| 109 |
complation. |
| 110 |
|
| 111 |
Example: |
| 112 |
|
| 113 |
\Preamble{} |
| 114 |
\Configure{charset}{iso-8859-15} |
| 115 |
\begin{document} |
| 116 |
\EndPreamble |
| 117 |
|
| 118 |
In the case of TeX, the configuration instruction should precede |
| 119 |
the \Preamble command, and a declaration of the hook should also |
| 120 |
be provided. |
| 121 |
|
| 122 |
Example: |
| 123 |
|
| 124 |
\NewConfigure{charset}{1} |
| 125 |
\Configure{charset}{iso-8859-15} |
| 126 |
\Preamble{} |
| 127 |
\begin{document} |
| 128 |
\EndPreamble |
| 129 |
|
| 130 |
\Configure{dtd-lang}..................1 |
| 131 |
|
| 132 |
#1 language specification for the DTD identifier |
| 133 |
|
| 134 |
Paragraphs |
| 135 |
---------- |
| 136 |
|
| 137 |
Three types of paragraphs are produced by \Configure{HtmlPar}: |
| 138 |
|
| 139 |
<p class="indent">....</p> |
| 140 |
<p class="noindent">....</p> |
| 141 |
<p class="nopar">....</p> |
| 142 |
|
| 143 |
The third one handles degenerated cases which don't call for a |
| 144 |
separate paragraph in the source code. For instance, an inline |
| 145 |
display math code of the form |
| 146 |
|
| 147 |
.......... |
| 148 |
$$......$$ |
| 149 |
.......... |
| 150 |
|
| 151 |
translates into a markup similar to |
| 152 |
|
| 153 |
<p class="...">..........</p> |
| 154 |
<math>......</math> |
| 155 |
<p class="nopar">..........</p> |
| 156 |
|
| 157 |
Frames |
| 158 |
------ |
| 159 |
|
| 160 |
May be requested with the command line option `frames' |
| 161 |
|
| 162 |
\Configure{frames}.....................2 |
| 163 |
|
| 164 |
#1 The frames structure |
| 165 |
#2 Content for the frame of the table of contents |
| 166 |
|
| 167 |
Example: |
| 168 |
|
| 169 |
\Configure{frames} |
| 170 |
{\HorFrames[frameborder="no" border="0" |
| 171 |
framespacing="0" rows="*"]{*,3*} |
| 172 |
\Frame[ name="tex4ht-menu" ]{tex4ht-toc} |
| 173 |
\Frame[ name="tex4ht-main" ]{tex4ht-body}} |
| 174 |
{\let\contentsname=\empty \tableofcontents} |
| 175 |
>>> |
| 176 |
|
| 177 |
%%%%%%%%%%%%%%% |
| 178 |
\section{latex} |
| 179 |
%%%%%%%%%%%%%%% |
| 180 |
|
| 181 |
|
| 182 |
\<configure infoht4 latex\><<< |
| 183 |
Hypertext Title |
| 184 |
--------------- |
| 185 |
\Configure{@HTML}.........................1 |
| 186 |
|
| 187 |
Environment for setting \title material in <title>. The contributions |
| 188 |
are accumulative; an empty argument reinitializes the contribution. |
| 189 |
|
| 190 |
Tables |
| 191 |
------ |
| 192 |
|
| 193 |
Properties of tabular and array tables can be locally redefined with |
| 194 |
instructions of the following forms. |
| 195 |
|
| 196 |
\Css{\#TBL-\TableNo- {....}} % within tables |
| 197 |
\Css{\#TBL-\TableNo-\HRow- {....}} % within rows |
| 198 |
\Css{\#TBL-\TableNo-\HCol {....}} % within columns |
| 199 |
\Css{\#TBL-\TableNo-\HRow-\HCol {....}} % within cells |
| 200 |
\Css{\#TBL-\TableNo-<i>g {....}} % column group; <i> |
| 201 |
|
| 202 |
\Configure{enumerate}..............1 |
| 203 |
Contribution into <ol> |
| 204 |
|
| 205 |
>>> |
| 206 |
|
| 207 |
% \Configure{enumerate}{1aiA} |
| 208 |
|
| 209 |
\>>>maketitleInfo<<< |
| 210 |
Wrapper for the Document |
| 211 |
------------------------ |
| 212 |
|
| 213 |
\Tag{TITLE+}......................1 |
| 214 |
|
| 215 |
#1 Content submitted to the <TITLE> element of the leading |
| 216 |
web page. |
| 217 |
|
| 218 |
This instruction should be used at most once in a document. |
| 219 |
In particular, it shouldn't be used when the \maketitle command |
| 220 |
is present, since the latter command invokes this feature. |
| 221 |
>>> |
| 222 |
|
| 223 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
| 224 |
\section{book} |
| 225 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
| 226 |
|
| 227 |
|
| 228 |
|
| 229 |
|
| 230 |
|
| 231 |
\<configure infoht4 book\><<< |
| 232 |
Package options |
| 233 |
--------------- |
| 234 |
|
| 235 |
1 cut-off document into pages at the \part level |
| 236 |
2 cut-off document into pages at the \chapter and higher levels |
| 237 |
3 cut-off document into pages at the \section and higher levels |
| 238 |
4 cut-off document into pages at the \subsection and higher levels |
| 239 |
|
| 240 |
The chapter of \tableofcontents is created only |
| 241 |
if \contentsname is not empty |
| 242 |
|
| 243 |
Macros sensitive to edef commands in sectioning titles |
| 244 |
should be neutralize within \Configure{@TITLE}{....} |
| 245 |
|
| 246 |
|maketitleInfo |
| 247 |
>>> |
| 248 |
|
| 249 |
|
| 250 |
\section{report} |
| 251 |
|
| 252 |
\<configure infoht4 report\><<< |
| 253 |
Package options: |
| 254 |
|
| 255 |
1 cut-off document into pages at the \part level |
| 256 |
2 cut-off document into pages at the \section and higher levels |
| 257 |
3 cut-off document into pages at the \subsection and higher levels |
| 258 |
4 cut-off document into pages at the \subsubsection and higher levels |
| 259 |
|
| 260 |
The section of \tableofcontents is created only |
| 261 |
|
| 262 |
if \contentsname is not empty |
| 263 |
|
| 264 |
Macros sensitive to edef commands in sectioning titles |
| 265 |
should be neutralize within \Configure{@TITLE}{....} |
| 266 |
|
| 267 |
|maketitleInfo |
| 268 |
>>> |
| 269 |
|
| 270 |
|
| 271 |
|
| 272 |
\section{article} |
| 273 |
|
| 274 |
\<configure infoht4 article\><<< |
| 275 |
Package options: |
| 276 |
|
| 277 |
1 cut-off document into pages at the \part level |
| 278 |
2 cut-off document into pages at the \section and higher levels |
| 279 |
3 cut-off document into pages at the \subsection and higher levels |
| 280 |
4 cut-off document into pages at the \subsubsection and higher levels |
| 281 |
|
| 282 |
The section of \tableofcontents is created only |
| 283 |
if \contentsname is not empty |
| 284 |
|
| 285 |
Macros sensitive to edef commands in sectioning titles |
| 286 |
should be neutralize within \Configure{@TITLE}{....} |
| 287 |
|
| 288 |
|maketitleInfo |
| 289 |
>>> |
| 290 |
|
| 291 |
\<configure infoht4 amsart\><<< |
| 292 |
|
| 293 |
|maketitleInfo |
| 294 |
>>> |
| 295 |
|
| 296 |
|
| 297 |
\endinput |
| 298 |
|
| 299 |
|