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 the way latex deal with newlines but is there a
> way to keep the format of pasted text?

First, select the LyX-code layout before pasting.
Then, do the pasting using Edit->Paste external selection->as lines.

Reply via email to