[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [ruby-tut] Getting started
From: |
Laurent Sansonetti |
Subject: |
Re: [ruby-tut] Getting started |
Date: |
Thu, 20 Mar 2003 20:13:44 +0100 |
On Wed, 19 Mar 2003 20:33:51 -0500
Daniel Carrera <address@hidden> wrote:
> What Docbook tag should I use to represent in-line code?
> Like "Here we use the <inlinecode>String#reverse</inlinecode> method"
>
> What Docbook tag should I use for non-in-line code?
> Like:
>
> ------------------
> Here is a code example:
>
> <code>
> #!/usr/bin/ruby
>
> puts "Hello World"
> </code>
> ------------------
>
> I guess that there are choices, but which ones are you using? I'll use
> the same ones.
>
I'm currently using <literal> for things represented in a single line, and
<programlisting> for multiple-lines code.
They seem apropriate, nevertheless if you find better, please notice me ;-)
--
Laurent
- [ruby-tut] Getting started, Daniel Carrera, 2003/03/18
- Re: [ruby-tut] Getting started, Laurent Sansonetti, 2003/03/19
- Re: [ruby-tut] Getting started, Laurent Sansonetti, 2003/03/19
- Re: [ruby-tut] Getting started, Daniel Carrera, 2003/03/19
- Re: [ruby-tut] Getting started,
Laurent Sansonetti <=
- Re: [ruby-tut] Getting started, Laurent Sansonetti, 2003/03/20
- Re: [ruby-tut] Getting started, gabriele renzi, 2003/03/20
- Re: [ruby-tut] Getting started, Daniel Carrera, 2003/03/20
- Re: [ruby-tut] Getting started, Laurent Sansonetti, 2003/03/21