Commits

Robert Mařík  committed 38ab3a5

Clenup

  • Participants
  • Parent commits b236564

Comments (0)

Files changed (1)

File tex4ht-sage.cfg

 %   +’+ ++ +'+ ++
 %   with this setting the word "don't" remains as is and not "don’t"
 
-\Configure{@/BODY}{\EndP\the\sagetextoks\global\sagetextoks{}}
-
 % Driver for graphs (remember that style=Art does not wok well in TeX4ht)
 \def\pgfsysdriver{pgfsys-tex4ht.def}
 
 
 
 % ----------------------- Configuring \sage, \sagestr, \sageplot
-% The following lines together with the fist line
-% \Configure{@/BODY}{\EndP\the\sagetextoks\global\sagetextoks{}}
-% produce input fields from \sage, \sagestr and \sageplot macros \sage
-% and \sagestr simply pass the content, \sageplot wraps the content
-% with show function
+% The following lines produce input fields from \sage, \sagestr and
+% \sageplot macros \sage and \sagestr simply pass the content,
+% \sageplot wraps the content with show function
 % 
 \makeatletter
 \let\orisage\sage
 \newtoks\sagetextoks
 \def\sage#1{\orisage{#1}\savesage{#1}}%
 \def\sagestr#1{\orisagestr{#1}\savesage{#1}}%
-%\def\savesage#1{\expandafter\global\expandafter\sagetextoks
-%  \expandafter{\the\sagetextoks \HCode{<sage>\Hnewline
-%    }\HCode{#1\Hnewline}\HCode{</sage>\Hnewline
-%    }}}
 \def\savesage#1{\HCode{<sage>\Hnewline #1\Hnewline</sage>\Hnewline}}
 
 % PNG graphics is O.K.