| 1 |
\ifnum\the\catcode`\%=14\else \expandafter\edef\csname |
| 2 |
\string:RestoreCatcodes\endcsname{\catcode`\%\the |
| 3 |
\catcode`\%}\catcode`\%14\fi |
| 4 |
% tex4ht.4ht (2026-03-29-00:00), generated from tex4ht-options.tex |
| 5 |
% Copyright 2009-2026 TeX Users Group |
| 6 |
% Copyright 1997-2009 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.3c of this license or (at your option) any |
| 11 |
% later version. The latest version of this license is in |
| 12 |
% https://www.latex-project.org/lppl.txt |
| 13 |
% and version 1.3c or later is part of all distributions |
| 14 |
% of LaTeX version 2005/12/01 or later. |
| 15 |
% |
| 16 |
% This work has the LPPL maintenance status "maintained". |
| 17 |
% |
| 18 |
% The Current Maintainer of this work |
| 19 |
% is the TeX4ht Project <https://tug.org/tex4ht>. |
| 20 |
% |
| 21 |
% If you modify this program, changing the |
| 22 |
% version identification would be appreciated. |
| 23 |
\immediate\write-1{version 2026-03-29-00:00} |
| 24 |
|
| 25 |
\expandafter\edef\csname :RestoreCatcodes\endcsname{% |
| 26 |
\expandafter\ifx \csname :RestoreCatcodes\endcsname\relax\else |
| 27 |
\csname :RestoreCatcodes\endcsname \fi |
| 28 |
\catcode`\noexpand :\the\catcode`:% |
| 29 |
\ifnum \the\catcode`\#=6 \else |
| 30 |
\catcode`\noexpand \#\the\catcode`\#\fi |
| 31 |
\ifnum \the\catcode`\^=7 \else |
| 32 |
\catcode`\noexpand \^\the\catcode`\^\fi |
| 33 |
\let\expandafter\noexpand\csname :RestoreCatcodes\endcsname |
| 34 |
\noexpand\UnDefcS} |
| 35 |
\catcode`\:11 \catcode`\#6 \catcode`\^7 |
| 36 |
|
| 37 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
| 38 |
% It is highly recommended NOT TO CHANGE THIS FILE. Options |
| 39 |
% ^^^^^^^^^^^^^^^^^^^^^^^ |
| 40 |
% defined in this file may be redefined, and new ones may be |
| 41 |
% added, within a user supplied file named tex4ht.usr. |
| 42 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
| 43 |
|
| 44 |
|
| 45 |
\:CheckOption{info}\if:Option |
| 46 |
\Hinclude[*]{info4ht.4ht} |
| 47 |
\Log:Note{For additional information, |
| 48 |
compile `xhlatex mktex4ht.4ht'^^J and review the appropriate |
| 49 |
pointers under mktex4ht.html => index} |
| 50 |
\else |
| 51 |
\Log:Note{for additional information, use |
| 52 |
the command line option `info'} |
| 53 |
\fi |
| 54 |
\writesixteen{::::::::::::::::::::::::::::::::::::::::::} |
| 55 |
\writesixteen{ TeX4ht info is available in the log file } |
| 56 |
\writesixteen{::::::::::::::::::::::::::::::::::::::::::} |
| 57 |
\let\:tempd\Configure |
| 58 |
\def\Configure#1#2{% |
| 59 |
\:CheckOption{#1}\if:Option \def\:tempc{#2}\fi} |
| 60 |
|
| 61 |
\def\:tempc{\:CheckOption{info}\if:Option |
| 62 |
\Hinclude[*]{infoht4.4ht}% |
| 63 |
\:CheckOption{javahelp}\if:Option |
| 64 |
\Hinclude[*]{infojh.4ht}\fi |
| 65 |
\fi |
| 66 |
\Hinclude[*]{html4.4ht}% |
| 67 |
\Hinclude[*]{html4-math.4ht}% |
| 68 |
\:CheckOption{svg}% |
| 69 |
\if:Option \else\:CheckOption{svg-}\fi |
| 70 |
\if:Option \else\:CheckOption{svg-obj}\fi |
| 71 |
\if:Option \else\:CheckOption{svg-inline}\fi |
| 72 |
\if:Option |
| 73 |
\Hinclude[*]{svg-option.4ht}% |
| 74 |
\Hinclude[*]{html4-svg.4ht}% |
| 75 |
\:CheckOption{info}\if:Option \Hinclude[*]{infosvg.4ht}\fi |
| 76 |
\fi |
| 77 |
} |
| 78 |
\Configure{uni-html4}{% |
| 79 |
\:CheckOption{info}\if:Option |
| 80 |
\Hinclude[*]{infoht4.4ht}\fi |
| 81 |
\Hinclude[*]{html4.4ht}% |
| 82 |
\Hinclude[*]{html4-math.4ht}% |
| 83 |
\Hinclude[*]{unicode.4ht} |
| 84 |
\:CheckOption{svg}% |
| 85 |
\if:Option \else\:CheckOption{svg-}\fi |
| 86 |
\if:Option \else\:CheckOption{svg-obj}\fi |
| 87 |
\if:Option \else\:CheckOption{svg-inline}\fi |
| 88 |
\if:Option \Hinclude[*]{svg-option.4ht}% |
| 89 |
\:CheckOption{info}\if:Option \Hinclude[*]{infosvg.4ht}\fi |
| 90 |
\fi |
| 91 |
} |
| 92 |
\Configure{mathml}{% |
| 93 |
\:CheckOption{info}\if:Option |
| 94 |
\Hinclude[*]{infoht4.4ht}\fi |
| 95 |
\:CheckOption{info}\if:Option |
| 96 |
\Hinclude[*]{infomml.4ht}\fi |
| 97 |
\Hinclude[*]{html4.4ht}% |
| 98 |
\Hinclude[*]{unicode.4ht}% |
| 99 |
\Hinclude[*]{mathml.4ht}% |
| 100 |
\Hinclude[*]{html-mml.4ht}% |
| 101 |
\:CheckOption{svg}% |
| 102 |
\if:Option \else\:CheckOption{svg-}\fi |
| 103 |
\if:Option \else\:CheckOption{svg-obj}\fi |
| 104 |
\if:Option \else\:CheckOption{svg-inline}\fi |
| 105 |
\if:Option \Hinclude[*]{svg-option.4ht}% |
| 106 |
\:CheckOption{info}\if:Option \Hinclude[*]{infosvg.4ht}\fi |
| 107 |
\fi |
| 108 |
\:CheckOption{mathplayer}\if:Option |
| 109 |
\:CheckOption{pmathml}\if:Option \else |
| 110 |
\:CheckOption{pmathml-css}\if:Option \else |
| 111 |
\Hinclude[*]{mathplayer.4ht} |
| 112 |
\fi\fi |
| 113 |
\else |
| 114 |
\Log:Note{For MathML on MSIE + MathPlayer use |
| 115 |
the command line option `mathplayer'} |
| 116 |
\fi |
| 117 |
} |
| 118 |
|
| 119 |
\Configure{0.0}{% |
| 120 |
\Hinclude[*]{html0.4ht}% |
| 121 |
} |
| 122 |
\Configure{3.2}{% |
| 123 |
\:CheckOption{info}\if:Option |
| 124 |
\:CheckOption{javahelp}\if:Option |
| 125 |
\Hinclude[*]{infojh.4ht}\fi\fi |
| 126 |
\Hinclude[*]{html32.4ht}% |
| 127 |
\Hinclude[*]{html32-math.4ht}% |
| 128 |
\:CheckOption{javahelp}\if:Option |
| 129 |
\Hinclude[*]{javahelp.4ht}% |
| 130 |
\:CheckOption{jh-} \if:Option |
| 131 |
\else |
| 132 |
\edef\Preamble{\Preamble,xml}% |
| 133 |
\Log:Note{for sources failing to produce |
| 134 |
XML versions of HTML, try the command line option `jh-'}% |
| 135 |
\fi |
| 136 |
% |
| 137 |
\fi |
| 138 |
\:CheckOption{unicode}\if:Option \Hinclude[*]{unicode.4ht}\fi |
| 139 |
} |
| 140 |
|
| 141 |
\Configure{mozilla}{% |
| 142 |
\:CheckOption{info}\if:Option |
| 143 |
\Hinclude[*]{infoht4.4ht}\fi |
| 144 |
\:CheckOption{info}\if:Option |
| 145 |
\Hinclude[*]{infomml.4ht}\fi |
| 146 |
\Hinclude[*]{html4.4ht}% |
| 147 |
\Hinclude[*]{unicode.4ht}% |
| 148 |
\Hinclude[*]{mathml.4ht}% |
| 149 |
\Hinclude[*]{html-mml.4ht}% |
| 150 |
\Hinclude[*]{mozilla.4ht}% |
| 151 |
\:CheckOption{svg}% |
| 152 |
\if:Option \else\:CheckOption{svg-}\fi |
| 153 |
\if:Option \else\:CheckOption{svg-obj}\fi |
| 154 |
\if:Option \else\:CheckOption{svg-inline}\fi |
| 155 |
\if:Option \Hinclude[*]{svg-option.4ht}% |
| 156 |
\:CheckOption{info}\if:Option \Hinclude[*]{infosvg.4ht}\fi |
| 157 |
\fi |
| 158 |
\:CheckOption{mathplayer}\if:Option |
| 159 |
\Hinclude[*]{mathplayer.4ht} |
| 160 |
\else |
| 161 |
\Log:Note{For MathML on MSIE + MathPlayer use |
| 162 |
the command line option `mathplayer'} |
| 163 |
\fi |
| 164 |
} |
| 165 |
|
| 166 |
\Configure{html5}{% |
| 167 |
\:CheckOption{info}\if:Option |
| 168 |
\Hinclude[*]{infoht4.4ht}\fi |
| 169 |
\:CheckOption{info}\if:Option |
| 170 |
\Hinclude[*]{infomml.4ht}\fi |
| 171 |
\Hinclude[*]{html4.4ht}% |
| 172 |
\Hinclude[*]{unicode.4ht}% |
| 173 |
\:CheckOption{mathml}\if:Option% |
| 174 |
\else\:CheckOption{mathml-}\fi% |
| 175 |
\if:Option% |
| 176 |
\Hinclude[*]{mathml.4ht}% |
| 177 |
\Hinclude[*]{html-mml.4ht}% |
| 178 |
\else |
| 179 |
\Hinclude[*]{html4-math.4ht}% |
| 180 |
\fi |
| 181 |
\:CheckOption{svg}% |
| 182 |
\if:Option \else\:CheckOption{svg-}\fi |
| 183 |
\if:Option \else\:CheckOption{svg-obj}\fi |
| 184 |
\if:Option \else\:CheckOption{svg-inline}\fi |
| 185 |
\if:Option \Hinclude[*]{svg-option.4ht}% |
| 186 |
\:CheckOption{info}\if:Option \Hinclude[*]{infosvg.4ht}\fi |
| 187 |
\fi |
| 188 |
\Hinclude[*]{html5.4ht}% |
| 189 |
} |
| 190 |
|
| 191 |
\Configure{tei}{% |
| 192 |
\Hinclude[*]{tei.4ht}% |
| 193 |
\Hinclude[*]{unicode.4ht}% |
| 194 |
\:CheckOption{mathml}\if:Option% |
| 195 |
\else\:CheckOption{mathml-}\fi% |
| 196 |
\if:Option% |
| 197 |
\Hinclude[*]{mathml.4ht}% |
| 198 |
\Hinclude[*]{tei-mml.4ht}% |
| 199 |
\else |
| 200 |
\Hinclude[*]{tei-math.4ht}% |
| 201 |
\fi |
| 202 |
\:CheckOption{svg}% |
| 203 |
\if:Option \else\:CheckOption{svg-}\fi |
| 204 |
\if:Option \else\:CheckOption{svg-obj}\fi |
| 205 |
\if:Option \else\:CheckOption{svg-inline}\fi |
| 206 |
\if:Option \Hinclude[*]{svg-option.4ht}% |
| 207 |
\:CheckOption{info}\if:Option \Hinclude[*]{infosvg.4ht}\fi |
| 208 |
\fi |
| 209 |
} |
| 210 |
\Configure{tei-mml}{% |
| 211 |
\:CheckOption{info}\if:Option |
| 212 |
\Hinclude[*]{infomml.4ht}\fi |
| 213 |
\Hinclude[*]{tei.4ht}% |
| 214 |
\Hinclude[*]{unicode.4ht}% |
| 215 |
\Hinclude[*]{mathml.4ht}% |
| 216 |
\Hinclude[*]{tei-mml.4ht}% |
| 217 |
\:CheckOption{svg}% |
| 218 |
\if:Option \else\:CheckOption{svg-}\fi |
| 219 |
\if:Option \else\:CheckOption{svg-obj}\fi |
| 220 |
\if:Option \else\:CheckOption{svg-inline}\fi |
| 221 |
\if:Option \Hinclude[*]{svg-option.4ht}% |
| 222 |
\:CheckOption{info}\if:Option \Hinclude[*]{infosvg.4ht}\fi |
| 223 |
\fi |
| 224 |
} |
| 225 |
|
| 226 |
\Configure{jats}{% |
| 227 |
\Hinclude[*]{html4.4ht}% we will build upon HTML |
| 228 |
\Hinclude[*]{jats.4ht}% |
| 229 |
\Hinclude[*]{mathml.4ht}% |
| 230 |
\Hinclude[*]{html-mml.4ht}% |
| 231 |
\Hinclude[*]{jats-mml.4ht}% |
| 232 |
\Hinclude[*]{unicode.4ht}% |
| 233 |
} |
| 234 |
|
| 235 |
\Configure{docbook}{% |
| 236 |
\Hinclude[*]{docbook.4ht}% |
| 237 |
\Hinclude[*]{unicode.4ht}% |
| 238 |
\:CheckOption{mathml}\if:Option% |
| 239 |
\else\:CheckOption{mathml-}\fi% |
| 240 |
\if:Option% |
| 241 |
\Hinclude[*]{mathml.4ht}% |
| 242 |
\Hinclude[*]{docbook-mml.4ht}% |
| 243 |
\else |
| 244 |
\Hinclude[*]{docbook-math.4ht}% |
| 245 |
\fi |
| 246 |
\:CheckOption{svg}% |
| 247 |
\if:Option \else\:CheckOption{svg-}\fi |
| 248 |
\if:Option \else\:CheckOption{svg-obj}\fi |
| 249 |
\if:Option \else\:CheckOption{svg-inline}\fi |
| 250 |
\if:Option \Hinclude[*]{svg-option.4ht}% |
| 251 |
\:CheckOption{info}\if:Option \Hinclude[*]{infosvg.4ht}\fi |
| 252 |
\fi |
| 253 |
} |
| 254 |
\Configure{docbook-mml}{% |
| 255 |
\:CheckOption{info}\if:Option |
| 256 |
\Hinclude[*]{infomml.4ht}\fi |
| 257 |
\Hinclude[*]{docbook.4ht}% |
| 258 |
\Hinclude[*]{unicode.4ht}% |
| 259 |
\Hinclude[*]{mathml.4ht}% |
| 260 |
\Hinclude[*]{docbook-mml.4ht}% |
| 261 |
\:CheckOption{svg}% |
| 262 |
\if:Option \else\:CheckOption{svg-}\fi |
| 263 |
\if:Option \else\:CheckOption{svg-obj}\fi |
| 264 |
\if:Option \else\:CheckOption{svg-inline}\fi |
| 265 |
\if:Option \Hinclude[*]{svg-option.4ht}% |
| 266 |
\:CheckOption{info}\if:Option \Hinclude[*]{infosvg.4ht}\fi |
| 267 |
\fi |
| 268 |
} |
| 269 |
|
| 270 |
\Configure{word}{% |
| 271 |
\:CheckOption{info}\if:Option |
| 272 |
\Hinclude[*]{infoht4.4ht}\fi |
| 273 |
\Hinclude[*]{html4.4ht}% |
| 274 |
\Hinclude[*]{html4-math.4ht}% |
| 275 |
\Hinclude[*]{htmlw.4ht}% |
| 276 |
\:CheckOption{svg}% |
| 277 |
\if:Option \else\:CheckOption{svg-}\fi |
| 278 |
\if:Option \else\:CheckOption{svg-obj}\fi |
| 279 |
\if:Option \else\:CheckOption{svg-inline}\fi |
| 280 |
\if:Option \Hinclude[*]{svg-option.4ht}% |
| 281 |
\:CheckOption{info}\if:Option \Hinclude[*]{infosvg.4ht}\fi |
| 282 |
\fi |
| 283 |
} |
| 284 |
|
| 285 |
\Configure{ooffice}{% |
| 286 |
\:CheckOption{info}\if:Option |
| 287 |
\Hinclude[*]{infoht4.4ht}% |
| 288 |
\Hinclude[*]{infomml.4ht}% |
| 289 |
\Hinclude[*]{infoof.4ht}\fi |
| 290 |
\Hinclude[*]{ooffice.4ht}% |
| 291 |
\:CheckOption{1}\if:Option\else |
| 292 |
\:CheckOption{2}\if:Option\else |
| 293 |
\:CheckOption{3}\if:Option\else |
| 294 |
\:CheckOption{4}\if:Option\else |
| 295 |
\:CheckOption{5}\if:Option\else |
| 296 |
\:CheckOption{6}\if:Option\else |
| 297 |
\:CheckOption{7} |
| 298 |
\fi |
| 299 |
\fi |
| 300 |
\fi |
| 301 |
\fi |
| 302 |
\fi |
| 303 |
\fi |
| 304 |
\if:Option |
| 305 |
\Hinclude[*]{ooimpress.4ht}% |
| 306 |
\fi |
| 307 |
\Hinclude[*]{unicode.4ht}% |
| 308 |
\Hinclude[*]{mathml.4ht}% |
| 309 |
\Hinclude[*]{ooffice-mml.4ht}% |
| 310 |
} |
| 311 |
|
| 312 |
\Configure{mathltx}{% |
| 313 |
\:CheckOption{info}\if:Option |
| 314 |
\Hinclude[*]{infoht4.4ht}\fi |
| 315 |
\Hinclude[*]{html4.4ht}% |
| 316 |
\Hinclude[*]{unicode.4ht}% |
| 317 |
\Hinclude[*]{mathltx.4ht}% |
| 318 |
\Hinclude[*]{html-mltx.4ht}% |
| 319 |
} |
| 320 |
|
| 321 |
\Configure{jsmath}{% |
| 322 |
\:CheckOption{info}\if:Option |
| 323 |
\Hinclude[*]{infoht4.4ht}\fi |
| 324 |
\Hinclude[*]{html4.4ht}% |
| 325 |
\Hinclude[*]{unicode.4ht}% |
| 326 |
\Hinclude[*]{mathltx.4ht}% |
| 327 |
\Hinclude[*]{html-mltx.4ht}% |
| 328 |
\Hinclude[*]{jsmath.4ht}% |
| 329 |
\Hinclude[*]{html-jsmath.4ht}% |
| 330 |
} |
| 331 |
|
| 332 |
\Configure{emspk}{% |
| 333 |
\:CheckOption{info}\if:Option |
| 334 |
\Hinclude[*]{infoht4.4ht}\fi |
| 335 |
\Hinclude[*]{html4.4ht}% |
| 336 |
\Hinclude[*]{unicode.4ht}% |
| 337 |
\Hinclude[*]{mathml.4ht}% |
| 338 |
\Hinclude[*]{html-mml.4ht}% |
| 339 |
\Hinclude[*]{html-speech.4ht}% |
| 340 |
\Hinclude[*]{html-speech-math.4ht}% |
| 341 |
\Hinclude[*]{emacspeak.4ht}% |
| 342 |
} |
| 343 |
\Configure{jsml}{% |
| 344 |
\:CheckOption{info}\if:Option |
| 345 |
\Hinclude[*]{infoht4.4ht}\fi |
| 346 |
\Hinclude[*]{html4.4ht}% |
| 347 |
\Hinclude[*]{unicode.4ht}% |
| 348 |
\Hinclude[*]{mathml.4ht}% |
| 349 |
\Hinclude[*]{html-mml.4ht}% |
| 350 |
\Hinclude[*]{jsml.4ht}% |
| 351 |
\Hinclude[*]{jsml-math.4ht}% |
| 352 |
} |
| 353 |
|
| 354 |
|
| 355 |
\openin15=tex4ht.usr \ifeof15 \else \closein15 |
| 356 |
\input tex4ht.usr |
| 357 |
\fi |
| 358 |
|
| 359 |
\let\Configure\:tempd |
| 360 |
|
| 361 |
\:tempc |
| 362 |
|
| 363 |
\:RestoreCatcodes |
| 364 |
\endinput |
| 365 |
|