User Configuration Files

  • Load a configuration file with the command line.

    command      filename  "cfg-file,options"

  • The configuration file should have the form

         \Preamble{options}
               configurations before the header of HTML
         \begin{document}
               configurations within the header of HTML
         \EndPreamble

Note: Requires TeX Expertise!

% file.tex  
\documentclass{article}  
   \def\greeting{Hi}  
\begin{document}  
   \greeting{} from \LaTeX !  
\end{document}  
% cfile.cfg  
\Preamble{html}  
\begin{document}  
   \def\greeting{Hellow}  
   \def\LaTeX{TeX4ht}  
\EndPreamble  

11, next, prev, up, toc , file.tex , cfile.cfgexr 3