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

sakharuk lon-capa-cvs@mail.lon-capa.org
Fri, 19 Sep 2003 17:43:17 -0000


This is a MIME encoded message

--sakharuk1063993397
Content-Type: text/plain

sakharuk		Fri Sep 19 13:43:17 2003 EDT

  Modified files:              
    /loncom/xml	physnet.sty 
  Log:
  Corrected (removed some stupid entities) and improved (for new style parser) style file.
  
  
--sakharuk1063993397
Content-Type: text/plain
Content-Disposition: attachment; filename="sakharuk-20030919134317.txt"

Index: loncom/xml/physnet.sty
diff -u loncom/xml/physnet.sty:1.31 loncom/xml/physnet.sty:1.32
--- loncom/xml/physnet.sty:1.31	Tue Jun 17 11:00:47 2003
+++ loncom/xml/physnet.sty	Fri Sep 19 13:43:17 2003
@@ -2904,27 +2904,6 @@
 </definetag>
 
 
-<definetag name = "TextInLineFigure" parms="module,figure">
-   <meta><output><picture>$figure</picture></output></meta>
-   <render>
-      <web><img src="$figure.gif" align=center border=1></web>
-      <tex>\begin{center} 
-           \graphicspath{{/home/httpd/html/res/physnet/physnet/$module/}}
-           \includegraphics{$figure}
-           \end{center}</tex>
-   </render>
-</definetag>
-
-
-<definetag name = "/TextInLineFigure">
-   <meta></meta>
-   <render>
-      <web></img></web>
-      <tex></tex>
-   </render>
-</definetag>
-
-
 <definetag name = "eqn" parms="number">
    <meta></meta>
    <render>
@@ -3309,14 +3288,11 @@
 <definetag name = "NsfAcknowledgment">
    <meta></meta>
    <render>
-      <web>Preparation of this module was supported in
-           part by the National Science Foundation, Division of Science 
-           Education Development and Research, through Grant #SED 74-20088 
-           to Michigan State University. </web>
-      <tex>Preparation of this module was supported in
+           Preparation of this module was supported in
            part by the National Science Foundation, Division of Science 
-           Education Development and Research, through Grant \#SED 74-20088 
-           to Michigan State University. </tex>
+           Education Development and Research, through Grant
+           <web>#</web><tex>\#</tex>SED 74-20088 
+           to Michigan State University.
    </render>
 </definetag>
 
@@ -3795,7 +3771,7 @@
 </definetag>
 
 
-</definetag><definetag name = "GlossaryList">
+<definetag name = "GlossaryList">
    <meta></meta>
    <render>
       <web><center><h1> GLOSSARY </h1></center></web>
@@ -3804,7 +3780,7 @@
    </render>
 </definetag>
 
-</definetag></definetag><definetag name = "/GlossaryList">
+<definetag name = "/GlossaryList">
    <meta></meta>
    <render>
       <web></web>
@@ -3813,7 +3789,7 @@
 </definetag>
 
 
-</definetag><definetag name = "GlossaryItem">
+<definetag name = "GlossaryItem">
    <meta></meta>
    <render>
       <web><br /><br /><b></web>
@@ -3822,7 +3798,7 @@
 </definetag>
 
 
-</definetag><definetag name = "/GlossaryItem">
+<definetag name = "/GlossaryItem">
    <meta></meta>
    <render>
       <web>:</b></web>
@@ -3927,24 +3903,6 @@
 </definetag>
 
 
-<definetag name = "furtherhelp" parms="module,number">
-   <meta></meta>
-   <render>
-      <web><em> <a href="../$module/$module-as.xml#supl.$number"> Futher Help: [S-$number]</web>
-      <tex>\textit{Further Help [S-$number]}</tex>
-   </render>
-</definetag>
-
-
-<definetag name = "/furtherhelp">
-   <meta></meta>
-   <render>
-      <web></a></em></web>
-      <tex></tex>	print("<br />Xml parse garnered:$allmeta: <br />");
-   </render>
-</definetag>
-
-
 <definetag name = "TextAndFigure" parms="module,figure">
    <meta><output><picture>$figure</picture></output></meta>
    <render>
@@ -4605,24 +4563,6 @@
 </definetag>
 
 
-<definetag name = "prrqone" parms="arg">
-   <meta></meta>
-   <render>
-      <web>(MISN-$arg)</web>
-      <tex>(MISN-$arg)</tex>
-  </render>
-</definetag>
-
-
-<definetag name = "/prrqone">
-   <meta></meta>
-   <render>
-      <web></web>
-      <tex></tex>
-  </render>
-</definetag>
-
-
 <definetag name = "prrqtwo" parms="arg1,arg2">
    <meta></meta>
    <render>
@@ -5189,24 +5129,6 @@
 </definetag>
 
 
-<definetag name = "PraSugg">
-   <meta></meta>
-   <render>
-      <web><i>Suggestion: </web>
-      <tex>\noindent\textit{Suggestion: </tex>
-   </render>
-</definetag>
-
-
-<definetag name = "/PraSugg">
-   <meta></meta>
-   <render>
-      <web></i></web>
-      <tex>}</tex>
-   </render>
-</definetag>
-
-
 <definetag name = "ReadingsAccess">
    <meta></meta>
    <render>
@@ -5264,8 +5186,9 @@
 <definetag name = "LearnerLectureLg" parms="module">  
    <meta></meta>
    <render>
-      <web> To get credit for your lecture, come to the CBI
-            Exam Room as usual and ask for Exam U$module
+            To get credit for your lecture, come to the CBI
+            Exam Room as usual and ask for 
+            <web>Exam U$module</web><tex>Exam~{U$module}</tex> 
             just as you would ask for any other unit exam.
             After getting the exam, fill in the usual blanks 
             on an exam answer sheet. Give your sheets to the  
@@ -5276,19 +5199,7 @@
             sheets and will grade your lecture after you leave.
             Your exam, with the examiner's comments, will be made 
             available for your perusal in the same way as any other  
-            exam. </web>
-      <tex> To get credit for your lecture, come to the CBI
-            Exam Room as usual and ask for Exam~{U$module}
-            just as you would ask for any other unit exam.
-            After getting the exam, fill in the usual blanks on an 
-            exam answer sheet. Give your sheets to the Exam Manager 
-            at the computer and ask him or her to read the Exam Sheet 
-            and get you an examiner to hear your lecture. Give the 
-            examiner your sheets and present your lecture. The examiner 
-            will retain the sheets and will grade your lecture after
-            you leave.
-            Your exam, with the examiner's comments, will be made 
-            available for your perusal in the same way as any other exam. </tex>
+            exam.
    </render>
 </definetag>
 
@@ -5305,20 +5216,15 @@
 <definetag name = "ComputerProjectGrader">  
    <meta></meta>
    <render>
-      <web><center><b>INSTRUCTIONS TO GRADER</b></center>
+           <web><center><b></web><tex>\begin{center}
+           \textbf{</tex>INSTRUCTIONS TO GRADER<web></b></center></web><tex>}
+           \end{center}</tex>
               If the student has submitted copies rather
               than originals of the computer output, state 
               that on the exam answer sheet and
-              <b>immediately stop grading the exam and give it 
-              a grade of zero.</b></web>
-      <tex>\begin{center}
-           \textbf{INSTRUCTIONS TO GRADER}
-           \end{center}
-            If the student has submitted copies rather
-            than originals of the computer output, state 
-            that on the exam answer sheet and
-           \textbf{immediately stop grading the exam and 
-           give it a grade of zero.}</tex>
+             <web><b></web><tex>\textbf{</tex>
+              immediately stop grading the exam and give it 
+              a grade of zero.<web></b></web><tex>}</tex>
    </render>
 </definetag>
 
@@ -5335,14 +5241,11 @@
 <definetag name = "ComputerProjectPoints">  
    <meta></meta>
    <render>
-      <web>Note that the award of points is set up in
-           such a way that a student will get 50% or 
+           Note that the award of points is set up in
+           such a way that a student will get 
+           50<web>%</web><tex>\%</tex> or 
            less on the exam if the student does
-           only computer work and no physics. </web>
-      <tex>Note that the award of points is set up in
-           such a way that a student will get 50\% or 
-           less on the exam if the student does
-           only computer work and no physics. </tex>
+           only computer work and no physics.
    </render>
 </definetag>
 
@@ -5671,18 +5574,13 @@
 <definetag name = "LibraryBook">
    <meta></meta>
    <render>
-      <web>The book listed in this module s <i>ID Sheet</i>
+           The book listed in this module s <web><i></web><tex>\textit{</tex>
+           ID Sheet<web></i></web><tex>}</tex>
            is on reserve for you in the Physics-Astronomy 
            Library, Room 230 in the Physics-Astronomy Building.
            Tell the person at the desk that you want a book that 
            is on reserve for CBI (a BOOK, not a reading). Then 
-           tell the person the name of the book you want. </web>
-      <tex>The book listed in this module's \textit{ID Sheet}
-           is on reserve for you in the Physics-Astronomy
-           Library, Room 230 in the Physics-Astronomy Building.
-           Tell the person at the desk that you want a book that 
-           is on reserve for CBI (a BOOK, not a reading). Then 
-           tell the person the name of the book you want. </tex>
+           tell the person the name of the book you want
    </render>
 </definetag>
 
@@ -5699,8 +5597,7 @@
 <definetag name = "LearnerModuleId">
    <meta></meta>
    <render>
-      <web>Construct a lecture-length printed module on the physics of </web>
-      <tex>Construct a lecture-length printed module on the physics of </tex>
+           Construct a lecture-length printed module on the physics of 
    </render>
 </definetag>
 
@@ -5719,8 +5616,7 @@
 <definetag name = "LearnerModuleLg">
    <meta></meta>
    <render>
-      <web>Construct a lecture on the physics of </web>
-      <tex>Construct a lecture on the physics of </tex>
+        Construct a lecture on the physics of 
    </render>
 </definetag>
 

--sakharuk1063993397--