summaryrefslogtreecommitdiff
path: root/support/TeX4ht/source/tex4ht-info-mml.tex
blob: 5667dbae439fe68737b73caed8a3743f49fcbc68 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
% $Id: tex4ht-info-mml.tex 314 2017-05-14 18:30:18Z karl $
% compile 3 times: latex tex4ht-info-mml   
%             or htlatex tex4ht-info-mml "html,sections+"
%            or ht latex tex4ht-info-mml
%
% Copyright 2009-2017 TeX Users Group
% Copyright 2000-2009 Eitan M. Gurari
% Released under LPPL 1.3c+.
% See tex4ht-cpright.tex for license text.

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

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

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\chapter{Info MML}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%


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







\chapter{The Code}

\<configure infomml tex4ht\><<<
math
----
\Configure{math}.........................1

   Contribution for the <math>  tag
>>>


\section{plain}

 
 \<configure infomml plain\><<<
mfenced
-------

   \Configure{mfenced} ............... 2
   
   #1  source delimiter
   #2  target delimiter

   Request substitution of delimiters for the <mfenced> element

>>>


 
 \<configure infomml latex\><<<
stackrel
--------
Command line options for \Preamble

    stackrel-     configures the \stackrel commands into 
                  <mglyph alt="\stackrel{...}{...}" /> elements

mfenced
-------

   \Configure{mfenced} ............... 2
   
   #1  source delimiter
   #2  target delimiter

   Request substitution of delimiters for the <mfenced> element

>>>

\section{book}

\endinput