Georg Baum
7f373e8de1
Fix misparsing of alternative simple formulas
...
This comes from trying to run tex2lyx on the AMS math test document
testmath.tex. Both \(...\) and \begin{math}...\end{math} are defined as
inline math formulas in standard LaTeX. tex2lyx recognizes this, but the
math parser in LyX did not handle "\begin_inset Formula \(" and
"\begin_inset Formula \begin{math}" correctly.
The fix is simple and safe: If we are in undecided mode (this is only true
for the first token of a math inset), create a hull inset of the respective
kind. Otherwise, handle the commands as before.
2014-02-26 21:54:09 +01:00
..
2009-10-06 14:26:18 +00:00
2013-05-23 22:17:20 -07:00
2012-10-27 01:25:38 +02:00
2009-11-08 11:45:46 +00:00
2013-04-25 17:27:10 -04:00
2013-05-02 18:27:32 +02:00
2010-04-09 19:00:42 +00:00
2010-07-29 14:29:54 +00:00
2012-05-28 22:42:44 +02:00
2009-11-08 11:45:46 +00:00
2011-12-06 22:17:13 +00:00
2013-05-02 00:30:16 -07:00
2010-03-30 02:05:49 +00:00
2010-03-30 02:05:49 +00:00
2012-10-27 01:25:38 +02:00
2013-05-02 00:30:16 -07:00
2012-05-03 16:36:19 +02:00
2010-03-30 02:40:32 +00:00
2012-02-06 22:38:46 +00:00
2012-02-06 22:38:46 +00:00
2012-01-23 01:49:49 +00:00
2012-01-23 01:49:49 +00:00
2011-12-06 22:17:13 +00:00
2010-03-30 02:57:05 +00:00
2013-09-29 15:26:22 +02:00
2010-03-29 23:03:37 +00:00
2009-11-08 11:45:46 +00:00
2013-05-23 22:12:29 -07:00
2010-06-09 17:02:55 +00:00
2010-03-30 17:24:22 +00:00
2011-12-06 22:17:13 +00:00
2010-03-31 01:09:38 +00:00
2012-12-16 15:49:42 +01:00
2013-05-02 00:30:16 -07:00
2010-09-19 22:12:06 +00:00
2013-05-25 16:38:20 -07:00
2009-12-31 21:09:28 +00:00
2009-12-31 21:09:28 +00:00
2010-03-30 22:14:00 +00:00
2010-03-30 22:14:00 +00:00
2011-12-06 22:17:13 +00:00
2011-04-01 22:34:40 +00:00
2009-11-08 11:45:46 +00:00
2013-05-02 00:30:16 -07:00
2013-03-27 11:41:29 -04:00
2013-05-02 00:30:16 -07:00
2012-10-27 01:25:38 +02:00
2010-03-30 22:51:02 +00:00
2013-05-02 16:38:25 +02:00
2010-03-31 18:57:47 +00:00
2010-08-14 17:57:06 +00:00
2010-08-14 17:57:06 +00:00
2011-12-06 22:17:13 +00:00
2010-03-31 21:33:33 +00:00
2014-02-13 13:50:33 +01:00
2012-03-25 11:16:32 +02:00
2014-02-25 21:21:47 +01:00
2013-05-25 16:38:20 -07:00
2009-12-31 15:46:39 +00:00
2010-03-31 18:59:04 +00:00
2009-11-08 11:45:46 +00:00
2009-11-08 11:45:46 +00:00
2010-01-21 21:01:51 +00:00
2010-01-21 21:01:51 +00:00
2010-03-31 19:59:09 +00:00
2010-03-31 19:17:06 +00:00
2014-02-21 21:31:35 +01:00
2013-05-25 16:38:20 -07:00
2011-04-01 22:34:40 +00:00
2010-03-30 01:23:10 +00:00
2011-12-06 22:17:13 +00:00
2010-03-31 20:04:39 +00:00
2009-11-08 11:45:46 +00:00
2009-11-08 11:45:46 +00:00
2014-02-22 10:30:55 -05:00
2012-01-08 12:34:12 +00:00
2013-03-18 19:32:30 -04:00
2010-10-29 00:42:40 +00:00
2011-12-06 22:17:13 +00:00
2010-03-31 20:31:04 +00:00
2014-02-22 19:01:20 +01:00
2012-02-02 13:39:05 +00:00
2013-02-24 21:23:50 +01:00
2013-05-12 13:04:18 +02:00
2011-12-06 22:17:13 +00:00
2010-03-31 20:37:23 +00:00
2013-04-25 17:27:10 -04:00
2011-10-29 14:48:55 +00:00
2013-04-25 17:27:10 -04:00
2010-10-31 14:39:50 +00:00
2012-01-05 20:53:48 +00:00
2010-03-31 20:50:29 +00:00
2011-12-06 22:17:13 +00:00
2010-03-31 20:31:04 +00:00
2012-12-28 20:08:43 +01:00
2012-12-28 20:08:43 +01:00
2013-04-25 17:27:10 -04:00
2009-12-31 15:46:39 +00:00
2011-12-06 22:17:13 +00:00
2011-04-01 23:41:17 +00:00
2013-01-10 21:22:54 +01:00
2013-01-10 21:22:54 +01:00
2009-11-08 11:45:46 +00:00
2009-11-08 11:45:46 +00:00
2011-12-06 22:17:13 +00:00
2010-03-31 20:12:52 +00:00
2012-05-03 16:35:45 +02:00
2010-07-29 15:48:01 +00:00
2014-02-17 02:11:57 +01:00
2010-07-29 15:44:17 +00:00
2012-10-27 01:25:38 +02:00
2011-02-13 10:02:00 +00:00
2010-07-29 15:38:01 +00:00
2011-02-13 10:02:00 +00:00
2013-10-11 20:38:05 +02:00
2013-10-11 20:38:05 +02:00
2010-10-26 16:45:21 +00:00
2010-10-26 16:45:21 +00:00
2013-05-02 18:27:32 +02:00
2013-05-02 18:27:32 +02:00
2011-05-07 11:57:08 +00:00
2013-03-27 12:05:00 -04:00
2010-03-29 22:52:13 +00:00
2013-06-03 02:35:32 -07:00
2009-11-08 11:45:46 +00:00
2014-02-22 10:30:55 -05:00
2011-05-07 11:57:08 +00:00
2012-05-03 16:35:45 +02:00
2009-07-16 19:00:24 +00:00
2014-02-07 23:04:15 +01:00
2013-10-12 02:36:08 +02:00
2009-11-08 18:47:33 +00:00
2014-02-26 21:54:09 +01:00
2013-05-25 16:38:20 -07:00
2011-04-01 22:34:40 +00:00
2011-04-01 22:34:40 +00:00
2014-02-26 21:18:31 +01:00
2013-05-02 00:30:16 -07:00