[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[eLyXer-users] Indented, color-coded Code Samples with eLyXer

From: Jack Desert
Subject: [eLyXer-users] Indented, color-coded Code Samples with eLyXer
Date: Tue, 8 May 2012 09:45:12 -0400

What's the best way to paste a code sample (Ruby, in my case) into a
LyX document and export it to html while

  A. Preserving the white space indentation

  B. Color coding the keywords so that strings, variables, and
comments are all a different color


Anyone have experience doing this? At this point, even pasting from
TextMate into LyX removes all the linebreaks, which is a hassle
because I have to go through by hand and put them back in. Any tips
are appreciated.

Jack Desert

reply via email to

[Prev in Thread] Current Thread [Next in Thread]