[LON-CAPA-cvs] cvs: loncom /xml physnet.sty
sakharuk
lon-capa-cvs@mail.lon-capa.org
Fri, 30 May 2003 18:04:27 -0000
sakharuk Fri May 30 14:04:27 2003 EDT
Modified files:
/loncom/xml physnet.sty
Log:
Another chunck of corrections (mainly addition of e few new tags to make self-consistant and valid xml).
Index: loncom/xml/physnet.sty
diff -u loncom/xml/physnet.sty:1.22 loncom/xml/physnet.sty:1.23
--- loncom/xml/physnet.sty:1.22 Fri May 30 11:04:20 2003
+++ loncom/xml/physnet.sty Fri May 30 14:04:27 2003
@@ -673,7 +673,7 @@
<definetag name = "SectTitle" parms = "number">
<meta><output><title></meta>
<render>
- <web><h1> Section <a name="Unit.$number"> $number. <a><font color="#009900"></web>
+ <web><h1> Section <a name="Unit.$number"> $number. </a><font color="#009900"></web>
<tex>\setcounter{bookpage}{\value{page}}
\rhead{$number-\doort}
\noindent \begin{tabular}[b]{c}
@@ -1830,7 +1830,7 @@
<web><p><center><img src="$figure.gif" align=center border=1></web>
<tex>\parbox[t]{\linewidth-2cm}{\begin{center}
\graphicspath{{/home/httpd/html/res/physnet/physnet/$module/}}
- \includegraphics{$figure}\end{center}}
+ \scalebox{0.9}{\includegraphics{$figure}}\end{center}}
\newline </tex>
</render>
</definetag>
@@ -3219,14 +3219,14 @@
<definetag name = "CaptionAfterLeftFigure" parms="module,figure">
<meta><output><picture>$figure</picture></output></meta>
<render>
- <web><br /><br /><table align=center><tr><td align=center><img src="$figure.gif" align=left border=1></img></td><td align=left></web>
+ <web><br /><br /><table align=center><tr><td align=center><img src="$figure.gif" align=left border=1 /></td><td align=left></web>
<tex>\begin{center}
\vskip 1 mm \noindent
\begin{minipage}[b]{\linewidth}
\noindent
\graphicspath{{/home/httpd/html/res/physnet/physnet/$module/}}
- \fbox{\includegraphics{$figure.eps}}
- \settowidth{\figwidth}{\fbox{\includegraphics{$figure.eps}}}
+ \scalebox{0.9}{\fbox{\includegraphics{$figure.eps}}}
+ \settowidth{\figwidth}{\scalebox{0.9}{\fbox{\includegraphics{$figure.eps}}}}
\hfill
\parbox[b]{\linewidth - \figwidth - 0.5 cm}{</tex>
</render>
@@ -3421,7 +3421,7 @@
<meta><output><picture>$figure1</picture>
<picture>$figure2</picture></output></meta>
<render>
- <web><table align=center><tr><td><img src="$figure1.gif" align=left border=1></td><td><img src="$figure2.gif" align=left border=1></td></tr><tr><td></web>
+ <web><table align=center><tr><td><img src="$figure1.gif" align=left border=1 /></td><td><img src="$figure2.gif" align=left border=1 /></td></tr><tr></web>
<tex>\vskip 1 mm \noindent
\graphicspath{{/home/httpd/html/res/physnet/physnet/$module/}}
\begin{minipage}[b]{\linewidth}
@@ -3429,7 +3429,7 @@
\fbox{\includegraphics{$figure1.eps}}
\settowidth{\figwidth}{\fbox{\includegraphics{$figure1.eps}}}
\fbox{\includegraphics{$figure2.eps}}\\
- \parbox[t]{\figwidth}{</tex>
+ \parbox[t]{\figwidth}</tex>
</render>
</definetag>
@@ -3437,8 +3437,44 @@
<definetag name = "/TwoFullFigures">
<meta></meta>
<render>
- <web></td></tr></table></web>
- <tex>}\end{minipage}\vskip 1 mm </tex>
+ <web></tr></table></web>
+ <tex>\end{minipage}\vskip 1 mm </tex>
+ </render>
+</definetag>
+
+
+<definetag name = "TwoFullFiguresFirstCaption">
+ <meta></meta>
+ <render>
+ <web><td></web>
+ <tex>{</tex>
+ </render>
+</definetag>
+
+
+<definetag name = "/TwoFullFiguresFirstCaption">
+ <meta></meta>
+ <render>
+ <web></td></web>
+ <tex>}</tex>
+ </render>
+</definetag>
+
+
+<definetag name = "TwoFullFiguresSecondCaption">
+ <meta></meta>
+ <render>
+ <web><td></web>
+ <tex>\hfill \parbox[t]{\linewidth - \figwidth- 0.5 cm}{</tex>
+ </render>
+</definetag>
+
+
+<definetag name = "/TwoFullFiguresSecondCaption">
+ <meta></meta>
+ <render>
+ <web></td></web>
+ <tex>}</tex>
</render>
</definetag>