0.5 HTML Head

<..configure html-speech tex4ht..>+
 \let\Link\M:Link        \let\M:Link\:UnDef
 \let\EndLink\M:EndLink  \let\M:EndLink\:UnDef
-_-_-

<..configure html-speech tex4ht..>+
 \Configure{@HEAD}{}
 <.meta tags.>
 \:CheckOption{css-in} \if:Option
    \Log:Note{the inline CSS code is extracted from the input of the
        previous compilation, so an extra compilation might be needed}
    \Configure{@HEAD}{<.css inline.>}
 \else
    \Log:Note{for inline CSS code, use the command line option ‘css-in’}
    \Configure{@HEAD}{\HCode{<link
       rel="stylesheet" type="text/css"
       href="\aa:CssFile"></link>\Hnewline}}
 \fi
-_-_-

<..meta tags..>
 \:CheckOption{xht} \if:Option
    \:CheckOption{xhtml}\if:Option \else \:CheckOption{xml}\fi
 \fi
 <.html extension file name.>
 \def\:gobbleM#1->{}
 <.meta generator / originator.>
 \immediate\write-1{TeX4ht package options:
     \expandafter\:gobbleM\meaning\Preamble}
 \Configure{@HEAD}
    {\HCode{<meta name="src" content="\jobname.tex"></meta>\Hnewline}}
 \Configure{@HEAD}
    {\HCode{<meta name="date" content="\:today"></meta>\Hnewline}}
-_-_-

<..html extension file name..>
 \Log:Note{for file extension name xht, use the command line option ‘xht’}%
 \Configure{@HEAD}{\HCode{<meta
    http-equiv="Content-Type" content="text/html;
    \expandafter\ifx \csname a:charset\endcsname\relax\A:charset
    \else \a:charset\fi"></meta>\Hnewline}}
-_-_-

<..meta generator / originator..>
 \Configure{@HEAD}{\HCode{<meta
     name="generator" content="TeX4ht
       (http://www.cse.ohio-state.edu/\string
        ~gurari/TeX4ht/)"></meta>\Hnewline}}
 \Configure{@HEAD}{\HCode{<meta
     name="originator" content="TeX4ht
       (http://www.cse.ohio-state.edu/\string
        ~gurari/TeX4ht/)"></meta>\Hnewline
        <!--\space\expandafter\:gobbleM\meaning
                \Preamble\space-->\Hnewline}}
-_-_-