Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Ruby > typesetting long options in rdoc

Reply
Thread Tools

typesetting long options in rdoc

 
 
Wybo Dekker
Guest
Posts: n/a
 
      10-14-2006
I don't succeed in nicely typesetting long options in itemized lists in
rdoc.
The RDOC documentation (http://rdoc.sourceforge.net/doc/) 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.servalys.nl/doc/ ) 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

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Having compilation error: no match for call to ‘(const __gnu_cxx::hash<long long int>) (const long long int&)’ veryhotsausage C++ 1 07-04-2008 05:41 PM
Conditionalized typesetting patrik.nyman@orient.su.se XML 4 01-18-2007 02:55 PM
[RDOC] Using a template causes rdoc not to document some classes Daniel Berger Ruby 1 11-02-2004 08:23 PM
rdoc bug (and rdoc bug tracker site is down) Brian Schröder Ruby 5 09-18-2004 02:08 PM
rdoc: how to generate rdoc & ri documentation of standard library? Andreas Schwarz Ruby 6 01-01-2004 03:09 AM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57