% tex4ht-sage.cfg % Copyright 2009 by Robert A. Beezer % % Supplies info for jsmath version to tex4ht command line and preamble % 2009/01/28 Modified to build sage worksheets, dropped font info % % Call as htlatex "tex4ht-sage" " -cmozhtf" % Implements sageverbatim environment of the sagetex package % Wraps contents of the environment with the tags % , as markers % Then a custom script converts contents to % SAGE worksheet cell format % CSS additions suggested by jsMath author % \Preamble{xhtml,jsmath,info} \ScriptEnv{sageverbatim} {\ifvmode \IgnorePar \fi \EndP\HCode{}\NoFonts\break} {\ifvmode \IgnorePar \fi \EndP\HCode{}\EndNoFonts\csname par\endcsname\ShowPar} \Css{/* jsMath suggested additions for spacing control */} \Css{.jsMath_hiddenSpan {text-indent: 0px}} \Css{.typeset {text-indent: 0px}} \begin{document} \EndPreamble