elyxer-users
[Top][All Lists]
Advanced

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

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


From: Jack Desert
Subject: Re: [eLyXer-users] Indented, color-coded Code Samples with eLyXer
Date: Thu, 17 May 2012 23:21:09 -0400

How do I get mine to do that? I write some code as a LyXCode block,
but this is the result:

<pre class="LyX-Code">
def something
  if something_else
    play_ball
  end
end

</pre>

Note they are just regular spaces (not non-breaking ones), so when I
view this through the browser they show up as just a single space
instead of several in a row.

Jack



On Tue, May 15, 2012 at 5:24 PM, Alex Fernandez <address@hidden> wrote:
> On Tue, May 15, 2012 at 9:39 PM, Jack Desert <address@hidden> wrote:
>>
>> Alex,
>>
>> I'm looking at the example from the user's guide--and each line is
>> indented the same amount. (Screenshot attached)
>>
>> Do you have an example with varying indentation, something that looks
>> like:
>>
>> def coolness
>>  look = "indented"
>> end
>
>
> Sure, I have some Python code in the dev guide:
>   http://elyxer.nongnu.org/devguide.html
>
> Alex.



reply via email to

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