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

sakharuk lon-capa-cvs@mail.lon-capa.org
Thu, 29 May 2003 15:45:59 -0000


sakharuk		Thu May 29 11:45:59 2003 EDT

  Modified files:              
    /loncom/xml	physnet.sty 
  Log:
  A lot of corrections neccessary to print CBI resources in the reasonable way.
  
  
Index: loncom/xml/physnet.sty
diff -u loncom/xml/physnet.sty:1.18 loncom/xml/physnet.sty:1.19
--- loncom/xml/physnet.sty:1.18	Thu May 29 10:19:52 2003
+++ loncom/xml/physnet.sty	Thu May 29 11:45:59 2003
@@ -162,6 +162,25 @@
 </definetag>
 
 
+<definetag name = "defContents">
+   <meta></meta>
+   <render>
+      <web></web>
+      <tex>\setlength{\headwidth}{\textwidth} 
+           \lhead{\textit{Contents}}\rhead{}\newpage</tex>
+  </render>
+</definetag>
+
+
+<definetag name = "/defContents">
+   <meta></meta>
+   <render>
+      <web></web>
+      <tex></tex>
+  </render>
+</definetag>
+
+
 <definetag name = "defModTitle">
    <meta><output><moduletitle></meta>
    <render>
@@ -170,12 +189,29 @@
   </render>
 </definetag>
 
+<definetag name = "/defIdItems">
+   <meta></meta>
+   <render>
+      <web></web>
+      <tex>\end{IdItems} </tex>
+  </render>
+</definetag>
+
+
+<definetag name = "defModTitle">
+   <meta><output><moduletitle></meta>
+   <render>
+      <web>Title: <b></web>
+      <tex>\noindent Title: \scalebox{0.9}\textbf{\uppercase{</tex>
+  </render>
+</definetag>
+
 
 <definetag name = "/defModTitle">
    <meta></moduletitle></output></meta>
    <render>
       <web></b><br /><br /></web>
-      <tex>}}</tex>
+      <tex>}}}</tex>
   </render>
 </definetag>
 
@@ -637,7 +673,8 @@
            \setlength{\headwidth}{\textwidth} 
           \lhead{\textit{MISN-0-$module}}
           \newwrite\tcfile
-          \openout\tcfile=m$module-tc.tex </tex>
+          \openout\tcfile=m$module-tc.tex 
+          \newpage</tex>
   </render>
 </definetag>
 
@@ -660,7 +697,7 @@
        \noindent \begin{tabular}[b]{c} 
               SECT.\\
               \fbox{\Huge\textbf{$number}}\\
-        \end{tabular}{\textbf{\MakeUppercase{</tex>
+        \end{tabular}\scalebox{0.9}{{\textbf{\MakeUppercase{</tex>
   </render>
 </definetag>
 
@@ -669,7 +706,7 @@
    <meta></title></output></meta>
   <render>
       <web></font></h1></web>
-      <tex>}}}\newline </tex>
+      <tex>}}}}\newline </tex>
   </render>
 </definetag>
 
@@ -3229,7 +3266,7 @@
       <web><br /><br /><table align=center><tr><td align=center><img src="$figure.gif" align=left border=1></img></td></tr><tr><td align=center></web>
       <tex>\begin{center} \vskip 1 mm \noindent
            \graphicspath{{/home/httpd/html/res/physnet/physnet/$module/}}
-           \fbox{\includegraphics{$figure.eps}}
+           \fbox{\scalebox{0.87}{\includegraphics{$figure.eps}}}
            \settowidth{\figwidth}{\fbox{\includegraphics{$figure.eps}}}\\ 
            \parbox[b]{\figwidth}{\noindent </tex>
    </render>
@@ -6831,11 +6868,29 @@
 </definetag>
 
 
+<definetag name = "tablecontent">
+   <meta></meta>
+   <render>
+      <web><table></web>
+      <tex>\begin{tabular}{l}</tex>
+   </render>
+</definetag>
+
+
+<definetag name = "/tablecontent">
+   <meta></meta>
+   <render>
+      <web></table></web>
+      <tex>\end{tabular}</tex> 
+   </render>
+</definetag>
+
+
 <definetag name = "tcsc">
    <meta></meta>
    <render>
       <web></web>
-      <tex>\tcsc</tex>
+      <tex></tex>
    </render>
 </definetag>
 
@@ -6844,7 +6899,7 @@
    <meta></meta>
    <render>
       <web></web>
-      <tex></tex> 
+      <tex>\\</tex> 
    </render>
 </definetag>
 
@@ -6871,7 +6926,7 @@
    <meta></meta>
    <render>
       <web></web>
-      <tex></tex>
+      <tex>\hskip 5 mm </tex>
    </render>
 </definetag>
 
@@ -6880,7 +6935,7 @@
    <meta></meta>
    <render>
       <web></web>
-      <tex></tex> 
+      <tex>\\</tex> 
    </render>
 </definetag>
 
@@ -6907,7 +6962,7 @@
    <meta></meta>
    <render>
       <web><td><hideweboutput></web>
-      <tex>{</tex>
+      <tex>\keephidden{</tex>
    </render>
 </definetag>
 
@@ -6925,7 +6980,7 @@
    <meta></meta>
    <render>
       <web><td><hideweboutput></web>
-      <tex></tex>
+      <tex>\keephidden{</tex>
    </render>
 </definetag>
 
@@ -6934,7 +6989,7 @@
    <meta></meta>
    <render>
       <web></hideweboutput></td></tr></web>
-      <tex></tex> 
+      <tex>}</tex> 
    </render>
 </definetag>
 
@@ -7183,7 +7238,7 @@
    <meta></meta>
    <render>
       <web><table align=center border=1><tr><td><table align=left border=1><tr><td><a name="supl.$number">S-$number</a></td></tr></table></web>
-      <tex>\noindent\fbox{\begin{minipage}[t]{4.3in}\fbox{S-$number}</tex>
+      <tex>\noindent\fbox{\begin{minipage}[t]{\minipagewidth}\fbox{S-$number}</tex>
   </render>
 </definetag>