Commits

Robert Mařík committed 5d62fb3

fixed typos, added support for jpg and some info

Comments (0)

Files changed (1)

         {png} 
         {\Picture[pict]{\csname Gin@base\endcsname .png}}  
 
+% JPG graphics is O.K.
+\Configure{graphics*} 
+        {jpg} 
+        {\Picture[pict]{\csname Gin@base\endcsname .jpg}}  
+
 \def\ST@sageplot[#1][#2]#3{\ST@wsf{try:^^J
  _st_.plot(\theST@plot, format='#2', _p_=#3)^^Jexcept:^^J
  _st_.goboom(\the\inputlineno)}%
 
 \makeatother
 
-% \ifprintsagetoks is false in center enviroment, since the block
-% <sage>...</sage> cannot be inside <div>....</div>
+% \ifprintsagetoks is false in center environment, Sage does not parse 
+% worksheet correctly, if <sage>...</sage> is inside <div>....</div>
+%
+% TODO: catch all <sage>...</sage> blocks and move in tex2sws.py to the 
+% upper-most level in xml hierarchy
 \newif\ifprintsagetoks
 \printsagetokstrue
 
 \def\printsagetoks{\ifprintsagetoks\the\sagetextoks\global\sagetextoks{}\fi}
 
-% enviromnet center from html4.4t with added \prinsagetoks....
+% environment center from html4.4t with added \prinsagetoks....
 % before and after this environment
 \ConfigureEnv{center}
   {\ifvmode \IgnorePar\fi \EndP}{\ShowPar