Re: "Edit -> paste external selection -> as lines" does not exists

2008-08-07 Thread Siegfried MEUNIER-GUTTIN-CLUZEL
What do you mean by "nice result". On my Windows XP, I get exactly what 
I expected : my piece of code typeset in a type-writer font

( I use Plain text to keep all the line breaks of my code ) .
If you want something like syntax highlighting, try Inser > listings. 
This package enables you tho have a lot of options ( language, line 
numbering ...).


Siegfried.




Re: "Edit -> paste external selection -> as lines" does not exists

2008-08-07 Thread bigblop

It seems that when you type in the caption it appears as a title instead of
at the bottom of the algorithm (like when you insert a figure).

Is i possible to get both a title for the algorithm and a normal caption
like the ones for figures?





bigblop wrote:
> 
> I am following these steps from:
>  
> http://www.stat.rice.edu/~helpdesk/howto/lyxguide.html
> 
> regarding algorithm environment.
> 
> 
> 1) insert -> float -> algorithm 
> 2) set caption 
> 3) copy the source code from emacs etc 
> 4) select lyx Code environment 
> 5) Edit -> paste extenal selection -> as lines. 
> 
> But step 5 is not possible in my version of LyX: 1.5.5 for windows. I can
> only choose:
> 
> Paste special -> Plain Text
> Paste special -> Plain Text, Join Lines
> 
> But neither gives a nice result. Any hints?
> 

-- 
View this message in context: 
http://n2.nabble.com/%22Edit--%3E-paste-external-selection--%3E-as-lines%22--does-not-exists-tp678559p678579.html
Sent from the LyX - Users mailing list archive at Nabble.com.



"Edit -> paste external selection -> as lines" does not exists

2008-08-07 Thread bigblop

I am following these steps from:
 
http://www.stat.rice.edu/~helpdesk/howto/lyxguide.html

regarding algorithm environment.


1) insert -> float -> algorithm 
2) set caption 
3) copy the source code from emacs etc 
4) select lyx Code environment 
5) Edit -> paste extenal selection -> as lines. 

But step 5 is not possible in my version of LyX: 1.5.5 for windows. I can
only choose:

Paste special -> Plain Text
Paste special -> Plain Text, Join Lines

But neither gives a nice result. Any hints?
-- 
View this message in context: 
http://n2.nabble.com/%22Edit--%3E-paste-external-selection--%3E-as-lines%22--does-not-exists-tp678559p678559.html
Sent from the LyX - Users mailing list archive at Nabble.com.