[LON-CAPA-cvs] cvs: loncom /xml physnet.sty

sakharuk lon-capa-cvs@mail.lon-capa.org
Tue, 17 Jun 2003 15:00:47 -0000


This is a MIME encoded message

--sakharuk1055862047
Content-Type: text/plain

sakharuk		Tue Jun 17 11:00:47 2003 EDT

  Modified files:              
    /loncom/xml	physnet.sty 
  Log:
  Changes to print 400th modules in a reasonable way.
  
  
--sakharuk1055862047
Content-Type: text/plain
Content-Disposition: attachment; filename="sakharuk-20030617110047.txt"

Index: loncom/xml/physnet.sty
diff -u loncom/xml/physnet.sty:1.30 loncom/xml/physnet.sty:1.31
--- loncom/xml/physnet.sty:1.30	Fri Jun 13 09:54:53 2003
+++ loncom/xml/physnet.sty	Tue Jun 17 11:00:47 2003
@@ -743,7 +743,7 @@
    <meta></abstract></output></meta>
    <render>
       <web></web>
-      <tex>\newpage </tex>
+      <tex></tex>
   </render>
 </definetag>
 
@@ -1301,7 +1301,7 @@
 <definetag name = "TxtStatement" parms="letter,number">
    <meta></meta>
    <render>
-      <web><br /><br /><table align=center border=1><tr><td align=left></web>
+      <web><br /><br /><table align=center border=1><tr><td><a name="$letter-$number">(<font color="#CC0099">$letter-$number</font>)</a></td><td align=left></web>
       <tex>\vskip 1 mm
            \settowidth{\numberwidth}{$letter-$number} 
            \vspace*{6pt}
@@ -1314,7 +1314,7 @@
 <definetag name = "/TxtStatement">
    <meta></meta>
    <render>
-      <web></td><td><a name="$letter-$number">(<font color="#CC0099">$letter-$number</font>)</a></td></tr></table><br /><br /></web>
+      <web></td></tr></table><br /><br /></web>
       <tex>}\end{minipage}}
          \hspace*{\fill}
          ($letter-$number)\end{minipage}
@@ -1386,8 +1386,8 @@
            \begin{minipage}[b]{\linewidth}
            \noindent
            \graphicspath{{/home/httpd/html/res/physnet/physnet/$module/}}
-           \fbox{\includegraphics{$figure.eps}}
-           \settowidth{\figwidth}{\fbox{\includegraphics{$figure.eps}}} 
+           \fbox{\scalebox{0.9}{\includegraphics{$figure.eps}}}
+           \settowidth{\figwidth}{\fbox{\scalebox{0.9}{\includegraphics{$figure.eps}}}} 
            \hfill
            \parbox[b]{\linewidth - \figwidth - 0.5 cm}{Fig.\,$letter-$number.\,</tex>
   </render>
@@ -1542,9 +1542,9 @@
            \begin{minipage}[b]{\linewidth}
            \noindent
            \graphicspath{{/home/httpd/html/res/physnet/physnet/$module/}}
-           \fbox{\includegraphics{$figure1.eps}}
-           \settowidth{\figwidth}{\fbox{\includegraphics{$figure1.eps}}} 
-           \fbox{\includegraphics{$figure2.eps}}\\
+           \fbox{\scalebox{0.85}{\includegraphics{$figure1.eps}}}
+           \settowidth{\figwidth}{\fbox{\scalebox{0.85}{\includegraphics{$figure1.eps}}}} 
+           \fbox{\scalebox{0.85}{\includegraphics{$figure2.eps}}}\\
            \parbox[b]{\figwidth}{Fig.\,$letter1-$number1.\,}
            \hfill
            \parbox[b]{\linewidth - \figwidth- 0.5 cm}{Fig.\,$letter2-$number2.\,}</tex>
@@ -1810,7 +1810,7 @@
       <web><p><center><img src="$figure.gif" align=center border=1></web>
       <tex>\begin{center} 
            \graphicspath{{/home/httpd/html/res/physnet/physnet/$module/}}
-           \includegraphics{$figure}
+           \scalebox{0.85}{\includegraphics{$figure}}
            \end{center}</tex>
   </render>
 </definetag>
@@ -1831,7 +1831,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/}}
-           \scalebox{0.85}{\includegraphics{$figure}}\end{center}}
+           \scalebox{0.85}{\includegraphics{$figure.eps}}\end{center}}
            \newline </tex>
   </render>
 </definetag>
@@ -2844,11 +2844,11 @@
            \begin{minipage}[b]{\linewidth}
            \noindent
            \graphicspath{{/home/httpd/html/res/physnet/physnet/$module/}}
-           \fbox{\includegraphics{$figure1.eps}}
-           \settowidth{\figwidth}{\fbox{\includegraphics{$figure1.eps}}} 
-           \fbox{\includegraphics{$figure2.eps}}
-           \settowidth{\numberwidth}{\fbox{\includegraphics{$figure2.eps}}} 
-           \fbox{\includegraphics{$figure3.eps}}\\
+           \fbox{\scalebox{0.8}{\includegraphics{$figure1.eps}}}
+           \settowidth{\figwidth}{\fbox{\scalebox{0.8}{\includegraphics{$figure1.eps}}}}
+           \fbox{\scalebox{0.8}{\includegraphics{$figure2.eps}}}
+           \settowidth{\numberwidth}{\scalebox{0.8}{\fbox{\includegraphics{$figure2.eps}}}} 
+           \fbox{\scalebox{0.8}{\includegraphics{$figure3.eps}}}\\
            \parbox[b]{\figwidth}{Fig.\,$letter1-$number1.\,}
            \hfill
            \parbox[b]{\numberwidth}{Fig.\,$letter2-$number2.\,}
@@ -4242,8 +4242,8 @@
       <tex>\vskip 1 mm 
            \noindent         
            \graphicspath{{/home/httpd/html/res/physnet/physnet/$module/}}
-           \fbox{\includegraphics{$figure.eps}}
-           \settowidth{\figwidth}{\fbox{\includegraphics{$figure.eps}}}\\ 
+           \fbox{\scalebox{0.85}{\includegraphics{$figure.eps}}}
+           \settowidth{\figwidth}{\fbox{\scalebox{0.9}{\includegraphics{$figure.eps}}}}\\ 
            \noindent         Fig.\,$letter-$number.\, </tex>
    </render>
 </definetag>
@@ -4451,7 +4451,14 @@
 <definetag name = "TxtDefinition" parms="letter,number">
    <meta></meta>
    <render>
-      <web><br /><br />  <table align=center border=1><tr><th align=center></web>
+      <web><br /><br />
+           <table align="center" border="1">
+           <tr>
+           <td>
+           <a name="$letter-$number">
+            (<font color="#CC0099">$letter-$number</font>)
+           </a>
+           </td><th align=center><font color="CC0099"> Definition </font></th><td align=left></web>
       <tex>\settowidth{\numberwidth}{$letter-$number}  
            \noindent\newline
            \begin{minipage}[b]{\linewidth} 
@@ -4464,7 +4471,7 @@
 <definetag name = "/TxtDefinition">
    <meta></meta>
    <render>
-      <web></td><td><a name="$letter-$number">(<font color="#CC0099">$letter-$number</font>)</a></td></tr></table><br /><br /></web>
+      <web></td></tr></table><br /><br /></web>
       <tex>} \\ \end{tabular}
          \hfill($letter-$number)
          \end{minipage}\newline</tex>
@@ -4475,7 +4482,7 @@
 <definetag name = "TxtDefinitionmain">
    <meta></meta>
    <render>
-      <web><font color="CC0099"> Definition </font></th><td align=left><b></web>
+      <web><b></web>
       <tex>\noindent \textbf{</tex>
   </render>
 </definetag>
@@ -4512,7 +4519,7 @@
    <meta></meta>
    <render>
       <web><table align=left border=1><tr><th>p-$number</th></tr></table><a name="$number"></a></web>
-      <tex>\noindent \fbox{\textbf{p-$number}}</tex>
+      <tex>\vskip 0 mm \noindent \fbox{\textbf{p-$number}}</tex>
   </render>
 </definetag>
 
@@ -4790,7 +4797,7 @@
 <definetag name = "LLeftTable">
    <meta></meta>
    <render>
-      <web><br /><br /><table align=center><tr><td></web>
+      <web><br /><br /><table align=center><tr></web>
       <tex>\vskip 1 mm \noindent\begin{minipage}[b]{\linewidth}\noindent</tex>
    </render>
 </definetag>
@@ -4799,12 +4806,30 @@
 <definetag name = "/LLeftTable">
    <meta></meta>
    <render>
-      <web></td></tr></table><br /><br /></web>
+      <web></tr></table><br /><br /></web>
       <tex>\end{minipage}\vskip 1 mm \noindent </tex>
    </render>
 </definetag>
 
 
+<definetag name = "LeftTablecontent">
+   <meta></meta>
+   <render>
+      <web><td></web>
+      <tex>\parbox[b]{\linewidth/2 - 0.5 cm}{</tex>
+   </render>
+</definetag>
+
+
+<definetag name = "/LeftTablecontent">
+   <meta></meta>
+   <render>
+      <web></td></web>
+      <tex>}\hfill </tex>
+   </render>
+</definetag>
+
+
 <definetag name = "LeftTabletitle">
    <meta></meta>
    <render>
@@ -4817,7 +4842,7 @@
 <definetag name = "/LeftTabletitle">
    <meta></meta>
    <render>
-      <web></td><td></web>
+      <web></td></web>
       <tex>}</tex>
    </render>
 </definetag>
@@ -4916,7 +4941,7 @@
 <definetag name = "TableAndFigure">
    <meta></meta>
    <render>
-      <web><br /><br /><table><tr></web>
+      <web><br /><br /><table></web>
       <tex>\vskip 1 mm \noindent \begin{minipage}[t]{\linewidth}</tex>
    </render>
 </definetag>
@@ -4954,7 +4979,7 @@
    <render>
       <web><tr><td align="center" border=1></web>
       <tex>\graphicspath{{/home/httpd/html/res/physnet/physnet/$module/}}
-\parbox[c]{\linewidth/2-2.5cm}{</tex>
+\parbox[c]{\linewidth/2-1.5cm}{</tex>
    </render>
 </definetag>
 
@@ -4964,7 +4989,7 @@
    <render>
       <web></td><td align="center"><img src="$figure.gif" border=1></img></td></tr></web>
       <tex>} \hfill
-           \framebox[\linewidth/2+1.0cm]{\includegraphics{$figure.eps}}\\ \\</tex>
+           \framebox[\linewidth/2+1.0cm]{\scalebox{0.85}{\includegraphics{$figure.eps}}}\\ \\</tex>
   </render>
 </definetag>
 
@@ -4973,7 +4998,7 @@
    <meta></meta>
    <render>
       <web><tr><td>&nbsp;</td><td align="left"> Fig. $letter2-$number2</web>
-      <tex>\parbox[t]{\linewidth/2+1.0cm}{Fig.~$letter2-$number2 </tex>
+      <tex>\parbox[t]{\linewidth/2+4.0cm}{Fig.~$letter2-$number2 </tex>
   </render>
 </definetag>
 
@@ -7143,23 +7168,6 @@
       <tex>\end{minipage} 
          \vskip 1 mm 
          \noindent </tex>
-   </render>
-</definetag>
-
-<definetag name = "LeftTablecontent">
-   <meta></meta>
-   <render>
-      <web></web>
-      <tex>\parbox[b]{\linewidth/2 - 0.5 cm}{</tex>
-   </render>
-</definetag>
-
-
-<definetag name = "/LeftTablecontent">
-   <meta></meta>
-   <render>
-      <web></web>
-      <tex>}\hfill </tex>
    </render>
 </definetag>
 

--sakharuk1055862047--