Asp Forum
Home
|
Login
|
Register
|
Search
Forums
>
comp.lang.ruby
typesetting long options in rdoc
Wybo Dekker
10/14/2006 1:25:00 PM
I don't succeed in nicely typesetting long options in itemized lists in
rdoc.
The RDOC documentation (
http://rdoc.sourceforg...
) tells me this
example:
=begin rdoc
<tt>--output</tt> <i>name [, name]</i>::
specify the name of one or more output files. If multiple
files are present, the first is used as the index.
<tt>--quiet:</tt>:: do not output the names, sizes, byte counts,
index areas, or bit ratios of units as
they are processed.
=end
But the result (see
http://www.serval...
) is that the -- are
seen as a single long hyphen (actually —), while I want to see a
hyphen, a little white space and then another hyphen.
When I insert a space between the to hyphens, the result is two very
narrow hyphens with excessive whitespace in between.
Is there a better way to do this?
--
Wybo
Servizio di avviso nuovi messaggi
Ricevi direttamente nella tua mail i nuovi messaggi per
typesetting long options in rdoc
Inserendo la tua e-mail nella casella sotto, riceverai un avviso tramite posta elettronica ogni volta che il motore di ricerca troverà un nuovo messaggio per te
Il servizio è completamente GRATUITO!
x
Login to ForumsZone
Login with Google
Login with E-Mail & Password