If you look through the history on the chapter, it used PRE tags originally. For some reason the Objavi PDF creator didn't generate PDF properly with the python code. We're working on that issue but the workaround for now would be images instead of text. Ideally, someone could make screenshots in the actual Sugar interface showing what the code looks like in Sugar - Ed, are you up for that? <br>
<br>Again, images for code snippets are only a temporary workaround. They are not ideal of course. I unthinkingly just put the HTML code into a browser and took a screenshot of that, instead of making it a monospaced font. Feel free to change the images as you see fit. <br>
Thanks,<br>Anne<br><br><br><div class="gmail_quote">On Thu, Mar 26, 2009 at 10:06 PM, Edward Cherlin <span dir="ltr"><<a href="mailto:echerlin@gmail.com">echerlin@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
On Thu, Mar 26, 2009 at 10:09 AM, Walter Bender <<a href="mailto:walter.bender@gmail.com">walter.bender@gmail.com</a>> wrote:<br>
> I'm looking at the Modify Sugar chapter. Do we really need to use a<br>
> variable-width font for code snippets? If so, this is a serious bug.<br>
> It makes it much more difficult to make the connection between the<br>
> actual experience using the command line and what you see in the<br>
> manual. How did the Command Line manual cope with this?<br>
<br>
Code lines can be in Formatted style, which uses the <pre> tag in<br>
HTML. Otherwise, for inline code, somebody has to go into the HTML to<br>
change fonts. We could put that as another style on the toolbar at<br>
some point.<br>
<br>
> -walter<br>
<br>
--<br>
Silent Thunder (默雷/धर्ममेघशब्दगर्ज/دھرممیگھشبدگر ج) is my name<br>
And Children are my nation.<br>
The Cosmos is my dwelling place, The Truth my destination.<br>
<a href="http://earthtreasury.net/" target="_blank">http://earthtreasury.net/</a> (Edward Mokurai Cherlin)<br>
_______________________________________________<br>
Discuss mailing list<br>
<a href="mailto:Discuss@lists.flossmanuals.net">Discuss@lists.flossmanuals.net</a><br>
<a href="http://lists.flossmanuals.net/listinfo.cgi/discuss-flossmanuals.net" target="_blank">http://lists.flossmanuals.net/listinfo.cgi/discuss-flossmanuals.net</a><br>
</blockquote></div><br><br clear="all"><br>-- <br>Anne Gentle<br>email: <a href="mailto:annegentle@justwriteclick.com">annegentle@justwriteclick.com</a><br>blog: <a href="http://www.justwriteclick.com">www.justwriteclick.com</a><br>