On Thu, Aug 01, 2002 at 06:20:17PM +0100, John Levon wrote:
> On Thu, Aug 01, 2002 at 05:53:46PM +0000, [EMAIL PROTECTED] wrote:
> 
> > Log message:
> >     save inset lock state in the .lyx file
> 
> This is a file format change ?

1.2 would read it but latex will choke on the unknown tag.
Well, maybe the 1.2 parser should just swallow the tag. This would be a
two-liner...  Patch attached

Andre'

-- 
Those who desire to give up Freedom in order to gain Security,
will not have, nor do they deserve, either one. (T. Jefferson)

--ew6BAiZeqk4r7MaW
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename="lyxloxk.diff"

Index: math_parser.C
===================================================================
RCS file: /usr/local/lyx/cvsroot/lyx-devel/src/mathed/math_parser.C,v
retrieving revision 1.197.2.2
diff -u -p -r1.197.2.2 math_parser.C
--- math_parser.C       16 Jul 2002 09:57:40 -0000      1.197.2.2
+++ math_parser.C       2 Aug 2002 07:04:11 -0000
@@ -1078,6 +1078,9 @@ void Parser::parse_into1(MathArray & arr
                        array.push_back(createMathInset("\\"));
                }
 
+               else if (t.cs() == "lyxlock")
+                       ;
+
                else if (t.cs() == "limits")
                        limits = 1;
 

--ew6BAiZeqk4r7MaW--

----- End forwarded message -----

-- 
Those who desire to give up Freedom in order to gain Security,
will not have, nor do they deserve, either one. (T. Jefferson)

Reply via email to