Re: [tinyPATCH] \underleftarrow \underrightarrow

2002-02-08 Thread Martin Vermeer

On Fri, Feb 08, 2002 at 09:35:30AM +0200, Martin Vermeer wrote:
 
 On Fri, Feb 08, 2002 at 01:20:32AM +0100, Otto Tronarp wrote:
  
  \underleftarrow and \underrightarrow looked simple enough for me so here
  comes a tiny patch. I don't know that much about latex but since
  \over*arrow needs to be protected I guessed that \under*arrow needs it
  too
  
  
  /Otto
  
  
  On Mon, 2002-02-04 at 22:03, Dekel Tsur wrote:
   On Mon, Feb 04, 2002 at 07:44:51PM +, [EMAIL PROTECTED] wrote:
basic support for \xymatrix
   
   I'd rather see full support for AMS math, before supporting other packages.
   
   Missing environments:
   flalign,flalign*,gathered, aligned, alignedat
   
   Some missing commands:
   \intertext
   \hdotsfor
   \dddot, \ot
   \overleftrightarrow,\underleftarrow,\underrightarrow,\underleftrightarrow,
   \xleftarrow,\xrightarroow
   \tag
   \raisetag
   
 
 Works for me... and here they are placed on the decorations panel.
 Attached.
 
 Martin

One that actually works instead... attached.

Sorry for the noise.

Martin




diff.gz
Description: application/gunzip


msg32715/pgp0.pgp
Description: PGP signature


Re: [tinyPATCH] \underleftarrow \underrightarrow

2002-02-08 Thread Andre Poenitz

On Fri, Feb 08, 2002 at 10:42:16AM +0200, Martin Vermeer wrote:
 One that actually works instead... attached.

Too late. Already applied.

Andre'


-- 
André Pönitz .. [EMAIL PROTECTED]



Re: [tinyPATCH] \underleftarrow \underrightarrow

2002-02-08 Thread Dekel Tsur

  On Mon, 2002-02-04 at 22:03, Dekel Tsur wrote:
   I'd rather see full support for AMS math, before supporting other packages.
   
   Missing environments:
   flalign,flalign*,gathered, aligned, alignedat
   
   Some missing commands:
   \intertext
 
 Is \intertext conceptually different from \mbox? 

The text in \intertext can be several lines long, so this means
that in lyx, \intertext needs line breaking.
However, as a first step, we can add support for \intertext without line
breaking.



Re: [tinyPATCH] \underleftarrow \underrightarrow

2002-02-08 Thread Andre Poenitz

On Fri, Feb 08, 2002 at 02:59:32PM +0200, Dekel Tsur wrote:
 The text in \intertext can be several lines long, so this means that in
 lyx, \intertext needs line breaking.  However, as a first step, we can
 add support for \intertext without line breaking.

But then we can not call it 'intertext' because we won't be able to handle
all case we might encounter in imported files. I think the problem is
equivalent to the \mbox implementation, and this (I guess I said so already)
is not feasible right now.

Andre'


-- 
André Pönitz .. [EMAIL PROTECTED]



Re: [tinyPATCH] \underleftarrow \underrightarrow

2002-02-08 Thread Dekel Tsur

On Fri, Feb 08, 2002 at 03:07:19PM +0100, Andre Poenitz wrote:
 On Fri, Feb 08, 2002 at 02:59:32PM +0200, Dekel Tsur wrote:
  The text in \intertext can be several lines long, so this means that in
  lyx, \intertext needs line breaking.  However, as a first step, we can
  add support for \intertext without line breaking.
 
 But then we can not call it 'intertext' because we won't be able to handle
 all case we might encounter in imported files. I think the problem is
 equivalent to the \mbox implementation, and this (I guess I said so already)
 is not feasible right now.

A partial support is still better than no support at all.
Suppose that you have

\begin{align*}
a  = b\\
   = c\\
\intertext{This is a long sentence...}
   = d
\end{align*}

With basic \intertext support you will see on screen
---|
   a = b   |
 = c   |
This is a long |sentence.
 = d   | ^^^ this is outside the lyx screen.
---+

while with no \intertext support you will get
---|
   | a = b
   |   = c
\intertext{This is a long sentence...} = d
---+

namely almost everything is outside the screen.








Re: [tinyPATCH] \underleftarrow \underrightarrow

2002-02-08 Thread Andre Poenitz

On Fri, Feb 08, 2002 at 04:35:17PM +0200, Dekel Tsur wrote:
 A partial support is still better than no support at all.

I am trying to say that getting 'partial' support right is not easy (if
possible at all). 

You might want to prepare a patch to prove me wrong on that ;-}

Andre'

-- 
André Pönitz .. [EMAIL PROTECTED]



Re: [tinyPATCH] \underleftarrow & \underrightarrow

2002-02-08 Thread Martin Vermeer

On Fri, Feb 08, 2002 at 09:35:30AM +0200, Martin Vermeer wrote:
 
> On Fri, Feb 08, 2002 at 01:20:32AM +0100, Otto Tronarp wrote:
> > 
> > \underleftarrow and \underrightarrow looked simple enough for me so here
> > comes a tiny patch. I don't know that much about latex but since
> > \over*arrow needs to be protected I guessed that \under*arrow needs it
> > too
> > 
> > 
> > /Otto
> > 
> > 
> > On Mon, 2002-02-04 at 22:03, Dekel Tsur wrote:
> > > On Mon, Feb 04, 2002 at 07:44:51PM +, [EMAIL PROTECTED] wrote:
> > > > basic support for \xymatrix
> > > 
> > > I'd rather see full support for AMS math, before supporting other packages.
> > > 
> > > Missing environments:
> > > flalign,flalign*,gathered, aligned, alignedat
> > > 
> > > Some missing commands:
> > > \intertext
> > > \hdotsfor
> > > \dddot, \ot
> > > \overleftrightarrow,\underleftarrow,\underrightarrow,\underleftrightarrow,
> > > \xleftarrow,\xrightarroow
> > > \tag
> > > \raisetag
> > > 
> 
> Works for me... and here they are placed on the decorations panel.
> Attached.
> 
> Martin

One that actually works instead... attached.

Sorry for the noise.

Martin




diff.gz
Description: application/gunzip


msg32715/pgp0.pgp
Description: PGP signature


Re: [tinyPATCH] \underleftarrow & \underrightarrow

2002-02-08 Thread Andre Poenitz

On Fri, Feb 08, 2002 at 10:42:16AM +0200, Martin Vermeer wrote:
> One that actually works instead... attached.

Too late. Already applied.

Andre'


-- 
André Pönitz .. [EMAIL PROTECTED]



Re: [tinyPATCH] \underleftarrow & \underrightarrow

2002-02-08 Thread Dekel Tsur

> > On Mon, 2002-02-04 at 22:03, Dekel Tsur wrote:
> > > I'd rather see full support for AMS math, before supporting other packages.
> > > 
> > > Missing environments:
> > > flalign,flalign*,gathered, aligned, alignedat
> > > 
> > > Some missing commands:
> > > \intertext
> 
> Is \intertext conceptually different from \mbox? 

The text in \intertext can be several lines long, so this means
that in lyx, \intertext needs line breaking.
However, as a first step, we can add support for \intertext without line
breaking.



Re: [tinyPATCH] \underleftarrow & \underrightarrow

2002-02-08 Thread Andre Poenitz

On Fri, Feb 08, 2002 at 02:59:32PM +0200, Dekel Tsur wrote:
> The text in \intertext can be several lines long, so this means that in
> lyx, \intertext needs line breaking.  However, as a first step, we can
> add support for \intertext without line breaking.

But then we can not call it 'intertext' because we won't be able to handle
all case we might encounter in imported files. I think the problem is
equivalent to the \mbox implementation, and this (I guess I said so already)
is not feasible right now.

Andre'


-- 
André Pönitz .. [EMAIL PROTECTED]



Re: [tinyPATCH] \underleftarrow & \underrightarrow

2002-02-08 Thread Dekel Tsur

On Fri, Feb 08, 2002 at 03:07:19PM +0100, Andre Poenitz wrote:
> On Fri, Feb 08, 2002 at 02:59:32PM +0200, Dekel Tsur wrote:
> > The text in \intertext can be several lines long, so this means that in
> > lyx, \intertext needs line breaking.  However, as a first step, we can
> > add support for \intertext without line breaking.
> 
> But then we can not call it 'intertext' because we won't be able to handle
> all case we might encounter in imported files. I think the problem is
> equivalent to the \mbox implementation, and this (I guess I said so already)
> is not feasible right now.

A partial support is still better than no support at all.
Suppose that you have

\begin{align*}
a & = b\\
  & = c\\
\intertext{This is a long sentence...}
  & = d
\end{align*}

With basic \intertext support you will see on screen
---|
   a = b   |
 = c   |
This is a long |sentence.
 = d   | ^^^ this is outside the lyx screen.
---+

while with no \intertext support you will get
---|
   | a = b
   |   = c
\intertext{This is a long sentence...} = d
---+

namely almost everything is outside the screen.








Re: [tinyPATCH] \underleftarrow & \underrightarrow

2002-02-08 Thread Andre Poenitz

On Fri, Feb 08, 2002 at 04:35:17PM +0200, Dekel Tsur wrote:
> A partial support is still better than no support at all.

I am trying to say that getting 'partial' support right is not easy (if
possible at all). 

You might want to prepare a patch to prove me wrong on that ;-}

Andre'

-- 
André Pönitz .. [EMAIL PROTECTED]



Re: [tinyPATCH] \underleftarrow \underrightarrow

2002-02-07 Thread Martin Vermeer

On Fri, Feb 08, 2002 at 01:20:32AM +0100, Otto Tronarp wrote:
 
 \underleftarrow and \underrightarrow looked simple enough for me so here
 comes a tiny patch. I don't know that much about latex but since
 \over*arrow needs to be protected I guessed that \under*arrow needs it
 too
 
 
 /Otto
 
 
 On Mon, 2002-02-04 at 22:03, Dekel Tsur wrote:
  On Mon, Feb 04, 2002 at 07:44:51PM +, [EMAIL PROTECTED] wrote:
 basic support for \xymatrix
  
  I'd rather see full support for AMS math, before supporting other packages.
  
  Missing environments:
  flalign,flalign*,gathered, aligned, alignedat
  
  Some missing commands:
  \intertext
  \hdotsfor
  \dddot, \ot
  \overleftrightarrow,\underleftarrow,\underrightarrow,\underleftrightarrow,
  \xleftarrow,\xrightarroow
  \tag
  \raisetag
  

Works for me... and here they are placed on the decorations panel.
Attached.

Martin
 
-- 
Martin Vermeer  [EMAIL PROTECTED]
Helsinki University of Technology 
Department of Surveying
P.O. Box 1200, FIN-02015 HUT, Finland
:wq



diff.gz
Description: application/gunzip


msg32711/pgp0.pgp
Description: PGP signature


Re: [tinyPATCH] \underleftarrow \underrightarrow

2002-02-07 Thread Andre Poenitz

On Fri, Feb 08, 2002 at 01:20:32AM +0100, Otto Tronarp wrote:
 \underleftarrow and \underrightarrow looked simple enough for me so here
 comes a tiny patch.

Looks good. Applied. Thank you.

 I don't know that much about latex but since
 \over*arrow needs to be protected I guessed that \under*arrow needs it
 too

It does not hurt in any case.

Andre'

PS: For some funny reason I did not get that mail:

 On Mon, 2002-02-04 at 22:03, Dekel Tsur wrote:
  I'd rather see full support for AMS math, before supporting other packages.
  
  Missing environments:
  flalign,flalign*,gathered, aligned, alignedat
  
  Some missing commands:
  \intertext

Is \intertext conceptually different from \mbox? 

  \hdotsfor
  \dddot, \ot

So, things are missing... well that's bad.
We can't do much about it, can we?

Andre'

-- 
André Pönitz .. [EMAIL PROTECTED]



Re: [tinyPATCH] \underleftarrow & \underrightarrow

2002-02-07 Thread Martin Vermeer

On Fri, Feb 08, 2002 at 01:20:32AM +0100, Otto Tronarp wrote:
> 
> \underleftarrow and \underrightarrow looked simple enough for me so here
> comes a tiny patch. I don't know that much about latex but since
> \over*arrow needs to be protected I guessed that \under*arrow needs it
> too
> 
> 
> /Otto
> 
> 
> On Mon, 2002-02-04 at 22:03, Dekel Tsur wrote:
> > On Mon, Feb 04, 2002 at 07:44:51PM +, [EMAIL PROTECTED] wrote:
> > >   basic support for \xymatrix
> > 
> > I'd rather see full support for AMS math, before supporting other packages.
> > 
> > Missing environments:
> > flalign,flalign*,gathered, aligned, alignedat
> > 
> > Some missing commands:
> > \intertext
> > \hdotsfor
> > \dddot, \ot
> > \overleftrightarrow,\underleftarrow,\underrightarrow,\underleftrightarrow,
> > \xleftarrow,\xrightarroow
> > \tag
> > \raisetag
> > 

Works for me... and here they are placed on the decorations panel.
Attached.

Martin
 
-- 
Martin Vermeer  [EMAIL PROTECTED]
Helsinki University of Technology 
Department of Surveying
P.O. Box 1200, FIN-02015 HUT, Finland
:wq



diff.gz
Description: application/gunzip


msg32711/pgp0.pgp
Description: PGP signature


Re: [tinyPATCH] \underleftarrow & \underrightarrow

2002-02-07 Thread Andre Poenitz

On Fri, Feb 08, 2002 at 01:20:32AM +0100, Otto Tronarp wrote:
> \underleftarrow and \underrightarrow looked simple enough for me so here
> comes a tiny patch.

Looks good. Applied. Thank you.

> I don't know that much about latex but since
> \over*arrow needs to be protected I guessed that \under*arrow needs it
> too

It does not hurt in any case.

Andre'

PS: For some funny reason I did not get that mail:

> On Mon, 2002-02-04 at 22:03, Dekel Tsur wrote:
> > I'd rather see full support for AMS math, before supporting other packages.
> > 
> > Missing environments:
> > flalign,flalign*,gathered, aligned, alignedat
> > 
> > Some missing commands:
> > \intertext

Is \intertext conceptually different from \mbox? 

> > \hdotsfor
> > \dddot, \ot

So, things are missing... well that's bad.
We can't do much about it, can we?

Andre'

-- 
André Pönitz .. [EMAIL PROTECTED]