Re: Algorithm in Lyx 1.2.0

2002-09-21 Thread Dekel Tsur
On Sat, Sep 21, 2002 at 06:33:37PM +0200, Pascal Francq wrote: I am using the algorithm package. In the preamble of my LyX document, I have inserted \usepackage[chapter]{algorithm}. When I insert an algorithm trough LyX 1.2.x does not use the algorithm package. the corresponding float menu

Re: Algorithm in Lyx 1.2.0

2002-09-21 Thread Pascal Francq
On Saturday 21 September 2002 19:00, Dekel Tsur wrote: On Sat, Sep 21, 2002 at 06:33:37PM +0200, Pascal Francq wrote: I am using the algorithm package. In the preamble of my LyX document, I have inserted \usepackage[chapter]{algorithm}. When I insert an algorithm trough LyX 1.2.x does

Re: Algorithm in Lyx 1.2.0

2002-09-21 Thread Bo Peng
I have a question with algorithm environment. When I insert a float algorithm box and then paste my source code from emacs to lyx, all new lines disappear and I have to add them manually. I understand that this has something to do with the way latex deal with newlines but is there a way to keep

Re: Algorithm in Lyx 1.2.0

2002-09-21 Thread Dekel Tsur
On Sat, Sep 21, 2002 at 07:17:09PM +0200, Pascal Francq wrote: the corresponding float menu in LyX, the algorithm numerotation is global (1,2,3, ...) rather chapter specific (1.1,1.2,2.1,). Any ideas? Add to the preamble:

Re: Algorithm in Lyx 1.2.0

2002-09-21 Thread Dekel Tsur
On Sat, Sep 21, 2002 at 01:37:21PM -0500, Bo Peng wrote: I have a question with algorithm environment. When I insert a float algorithm box and then paste my source code from emacs to lyx, all new lines disappear and I have to add them manually. I understand that this has something to do with

Re: Algorithm in Lyx 1.2.0

2002-09-21 Thread Peter Harkins
On Sat, Sep 21, 2002 at 08:00:10PM +0300, Dekel Tsur wrote: the corresponding float menu in LyX, the algorithm numerotation is global (1,2,3, ...) rather chapter specific (1.1,1.2,2.1,). Any ideas? Add to the preamble: \renewcommand{\thealgorithm}{\thechapter.\arabic{algorithm}}

Re: Algorithm in Lyx 1.2.0

2002-09-21 Thread Dekel Tsur
On Sat, Sep 21, 2002 at 01:36:27PM -0700, Peter Harkins wrote: On Sat, Sep 21, 2002 at 08:00:10PM +0300, Dekel Tsur wrote: the corresponding float menu in LyX, the algorithm numerotation is global (1,2,3, ...) rather chapter specific (1.1,1.2,2.1,). Any ideas? Add to the

Re: Algorithm in Lyx 1.2.0

2002-09-21 Thread Dekel Tsur
On Sat, Sep 21, 2002 at 06:33:37PM +0200, Pascal Francq wrote: I am using the algorithm package. In the preamble of my LyX document, I have inserted \usepackage[chapter]{algorithm}. When I insert an algorithm trough LyX 1.2.x does not use the algorithm package. the corresponding float menu

Re: Algorithm in Lyx 1.2.0

2002-09-21 Thread Pascal Francq
On Saturday 21 September 2002 19:00, Dekel Tsur wrote: On Sat, Sep 21, 2002 at 06:33:37PM +0200, Pascal Francq wrote: I am using the algorithm package. In the preamble of my LyX document, I have inserted \usepackage[chapter]{algorithm}. When I insert an algorithm trough LyX 1.2.x does

Re: Algorithm in Lyx 1.2.0

2002-09-21 Thread Bo Peng
I have a question with algorithm environment. When I insert a float algorithm box and then paste my source code from emacs to lyx, all new lines disappear and I have to add them manually. I understand that this has something to do with the way latex deal with newlines but is there a way to keep

Re: Algorithm in Lyx 1.2.0

2002-09-21 Thread Dekel Tsur
On Sat, Sep 21, 2002 at 07:17:09PM +0200, Pascal Francq wrote: the corresponding float menu in LyX, the algorithm numerotation is global (1,2,3, ...) rather chapter specific (1.1,1.2,2.1,). Any ideas? Add to the preamble:

Re: Algorithm in Lyx 1.2.0

2002-09-21 Thread Dekel Tsur
On Sat, Sep 21, 2002 at 01:37:21PM -0500, Bo Peng wrote: I have a question with algorithm environment. When I insert a float algorithm box and then paste my source code from emacs to lyx, all new lines disappear and I have to add them manually. I understand that this has something to do with

Re: Algorithm in Lyx 1.2.0

2002-09-21 Thread Peter Harkins
On Sat, Sep 21, 2002 at 08:00:10PM +0300, Dekel Tsur wrote: the corresponding float menu in LyX, the algorithm numerotation is global (1,2,3, ...) rather chapter specific (1.1,1.2,2.1,). Any ideas? Add to the preamble: \renewcommand{\thealgorithm}{\thechapter.\arabic{algorithm}}

Re: Algorithm in Lyx 1.2.0

2002-09-21 Thread Dekel Tsur
On Sat, Sep 21, 2002 at 01:36:27PM -0700, Peter Harkins wrote: On Sat, Sep 21, 2002 at 08:00:10PM +0300, Dekel Tsur wrote: the corresponding float menu in LyX, the algorithm numerotation is global (1,2,3, ...) rather chapter specific (1.1,1.2,2.1,). Any ideas? Add to the

Re: Algorithm in Lyx 1.2.0

2002-09-21 Thread Dekel Tsur
On Sat, Sep 21, 2002 at 06:33:37PM +0200, Pascal Francq wrote: > I am using the algorithm package. In the preamble of my LyX document, I have > inserted "\usepackage[chapter]{algorithm}". When I insert an algorithm trough LyX 1.2.x does not use the algorithm package. > the corresponding float

Re: Algorithm in Lyx 1.2.0

2002-09-21 Thread Pascal Francq
On Saturday 21 September 2002 19:00, Dekel Tsur wrote: > On Sat, Sep 21, 2002 at 06:33:37PM +0200, Pascal Francq wrote: > > I am using the algorithm package. In the preamble of my LyX document, I > > have inserted "\usepackage[chapter]{algorithm}". When I insert an > > algorithm trough > > LyX

Re: Algorithm in Lyx 1.2.0

2002-09-21 Thread Bo Peng
I have a question with algorithm environment. When I insert a float algorithm box and then paste my source code from emacs to lyx, all new lines disappear and I have to add them manually. I understand that this has something to do with the way latex deal with newlines but is there a way to keep

Re: Algorithm in Lyx 1.2.0

2002-09-21 Thread Dekel Tsur
On Sat, Sep 21, 2002 at 07:17:09PM +0200, Pascal Francq wrote: > > > the corresponding float menu in LyX, the algorithm numerotation is global > > > (1,2,3, ...) rather chapter specific (1.1,1.2,2.1,). > > > Any ideas? > > > > Add to the preamble: > > > >

Re: Algorithm in Lyx 1.2.0

2002-09-21 Thread Dekel Tsur
On Sat, Sep 21, 2002 at 01:37:21PM -0500, Bo Peng wrote: > I have a question with algorithm environment. When I insert a float > algorithm box and then paste my source code from emacs to lyx, all new > lines disappear and I have to add them manually. I understand that this > has something to do

Re: Algorithm in Lyx 1.2.0

2002-09-21 Thread Peter Harkins
On Sat, Sep 21, 2002 at 08:00:10PM +0300, Dekel Tsur wrote: > > the corresponding float menu in LyX, the algorithm numerotation is global > > (1,2,3, ...) rather chapter specific (1.1,1.2,2.1,). > > Any ideas? > > Add to the preamble: > >

Re: Algorithm in Lyx 1.2.0

2002-09-21 Thread Dekel Tsur
On Sat, Sep 21, 2002 at 01:36:27PM -0700, Peter Harkins wrote: > On Sat, Sep 21, 2002 at 08:00:10PM +0300, Dekel Tsur wrote: > > > the corresponding float menu in LyX, the algorithm numerotation is global > > > (1,2,3, ...) rather chapter specific (1.1,1.2,2.1,). > > > Any ideas? > > > >