help-texinfo
[Top][All Lists]
Advanced

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

Re: [help-texinfo] Inserting Code Sample


From: Kip Warner
Subject: Re: [help-texinfo] Inserting Code Sample
Date: Sun, 01 May 2011 17:52:39 -0700

On Sat, 2011-04-30 at 23:10 +0000, Karl Berry wrote:
> I'm using the quotation environment now which seems to work well for
>     multiline code. 
> 
> From
> http://www.gnu.org/software/hello/manual/texinfo/Block-Enclosing-Commands.html
> ..
> @example is the intended environment for code examples:
>      Illustrate code, commands, and the like. The text is printed in a
>      fixed-width font, and indented but not filled.

Thanks Karl. I think @example seems to work fine for this.

> There are no "big rectangular boxes" by default, for sure :).  If you
> send an example document, maybe we can debug.

See p58 of the PDF in here. Source is also within that directory. You
can see some black blocks at the end of the lines.

http://bazaar.launchpad.net/~avaneya/avaneya/trunk/files/head:/Documentation/Contributors/Handbook/

-- 
Kip Warner -- Software Engineer
OpenPGP encrypted/signed mail preferred
http://www.thevertigo.com

Attachment: signature.asc
Description: This is a digitally signed message part


reply via email to

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