[Bf-docboard] Fix for chapter_text_seq_plugins

Martin Middleton bf-docboard@blender.org
Fri, 23 Jul 2004 12:44:01 -0400


--=====================_19738171==_
Content-Type: text/plain; charset="us-ascii"; format=flowed

When I try to build the Blender doc, I get a large number of errors 
generated by the file chapter_text_seq_plugins. I'm pretty sure this is 
related to the "<" (less than) signs in the code snippet. I've attached a 
patch file to fix this. Actually, I'm surprised that you don't see this 
same problem.

I essentially just put the code inside CDATA markers so that the math 
symbols aren't being interpreted by DocBook.

- Oso 
--=====================_19738171==_
Content-Type: text/plain; charset="us-ascii"
Content-Disposition: attachment; filename="chapter_tex_seq_plugins.diff"

Index: PartEX/texseq_plugins/en/chapter_tex_seq_plugins.xml
===================================================================
RCS file: /cvsroot/docboard/BlenderManual2.32/PartEX/texseq_plugins/en/chapter_tex_seq_plugins.xml,v
retrieving revision 1.2
diff -u -r1.2 chapter_tex_seq_plugins.xml
--- PartEX/texseq_plugins/en/chapter_tex_seq_plugins.xml	5 May 2004 20:17:09 -0000	1.2
+++ PartEX/texseq_plugins/en/chapter_tex_seq_plugins.xml	20 Jul 2004 14:41:34 -0000
@@ -595,6 +595,7 @@
 </para>
 
 <screen>
+<![CDATA[
 int plugin_tex_doit(int stype, Cast *cast, float *texvec, float *dxt,
    float *dyt) {
    int c[3];
@@ -621,6 +622,7 @@
    }
    return 0;
 }
+]]>
 </screen>
 
 <para>

--=====================_19738171==_--