Re: testing the new math parser

2001-08-18 Thread Dekel Tsur
On Sat, Aug 18, 2001 at 02:27:36PM +0200, Lars Gullik Bjønnes wrote: > | The problem is that there is a space after \end_inset, > | namely at the end of the inset we write "\n\\end_inset \n\n". > | Due to the changes you did to the mathed parser, this space was not read by > | the formula inset, s

Re: testing the new math parser

2001-08-18 Thread Dekel Tsur
On Fri, Aug 17, 2001 at 04:49:04PM +0200, Andre Poenitz wrote: > > Also, a space is added after each formula. > > Namely $a$b is read as $a$ b > > Urg... how would I add an extra space _behind_ the formula from the math > parser? The problem is that there is a space after \end_inset, namely at t

Re: testing the new math parser

2001-08-17 Thread Andre Poenitz
On Fri, Aug 17, 2001 at 05:02:24PM +0300, Dekel Tsur wrote: > On Fri, Aug 17, 2001 at 02:19:40PM +0100, Angus Leeming wrote: > > André, > > > > the new parser is very good! I notice, however, that entries like x' seems to > > get translated to x{backward-facing epsilon}. > > Also, a space is ad

Re: testing the new math parser

2001-08-17 Thread Dekel Tsur
On Fri, Aug 17, 2001 at 02:19:40PM +0100, Angus Leeming wrote: > André, > > the new parser is very good! I notice, however, that entries like x' seems to > get translated to x{backward-facing epsilon}. Also, a space is added after each formula. Namely $a$b is read as $a$ b

testing the new math parser

2001-08-17 Thread Angus Leeming
André, the new parser is very good! I notice, however, that entries like x' seems to get translated to x{backward-facing epsilon}. Here's the equation. Angus \begin{center}\[ \left(\begin{array}{c} x\\ y\\ z\end{array} \right)=\left(\begin{array}{c} x_{4} \\ y_{4} \\ z_{4} \end{array} \right

new math parser

2001-08-17 Thread Andre Poenitz
Since nobody was complaining too loudly and it seemingly reads a few of my test files I'll commit the new parser in half an hour or so. It's of course not a full blown TeX parser, but should be extensible in the right direction and it fails more gracefully in case of broken input. Andre' -- A

Re: new (math) parser

2001-08-16 Thread Amir Karger
On Thu, Aug 16, 2001 at 01:15:47PM +0200, Andre Poenitz wrote: > > My first shot at a 'more LaTeX compliant' parser attached. Would be nice if > someone could test it against .lyx documents as well as "other" LaTeX (cut > & paste to the main LyX window, press C-m) Wow! The fact that you have t

new (math) parser

2001-08-16 Thread Andre Poenitz
My first shot at a 'more LaTeX compliant' parser attached. Would be nice if someone could test it against .lyx documents as well as "other" LaTeX (cut & paste to the main LyX window, press C-m) It even uses something like TeX's catcodes, so maybe we could handle catcode chages one day ;-) Andr