Hi,
In message "[ruby-talk:01450] Re: Ruby Language Reference Manual--Glossary"
on 00/02/16, "Conrad Schneiker" <schneiker / jump.net> writes:
>> Sorry, that output little ugly HTML. (I checked with only w3m then)
>
>Well, it worked well enough for me--at least once I figured out that the
>reason the program wasn't working initially was because the input was messed
>up because I think I mistyped the ls command, using -l rather than -1 when
>creating the file with the file list.
Ls's -1 option may be not used so often. Should I prepare a default
file list?
>> --- /home/chaos/gotoken/combman.rb~ Wed Feb 16 05:23:25 2000
>> +++ /home/chaos/gotoken/combman.rb Wed Feb 16 19:57:44 2000
>> @@ -54,3 +54,3 @@
>> puts <<-EOS
>> - <LI><a href=\"##{f}\">#{(f+'</a>').ljust(25).tr(" ", ".")} #{t}</LI>
>> + <LI><CODE><a href=\"##{f}\">#{(f+'</a>').ljust(25).tr(" ",
>".")}</CODE> #{t}</LI>
>> EOS
>
>This is something that I haven't learned about yet, but I want to know how
>to make use of it. Is this output from patch or something?
Yes, this is a patch to make output more pretty good. By a text base
HTML browser (e.g. lynx or w3m), the out put of `Table of files'
section is rendered pretty as follows:
* preface.html......... Preface
* options.html......... Options
* syntax.html.......... Ruby Syntax
But the length of dots (......) are not justified on a proportional
font environment, e.g., Mozilla or InternetExplorer. This patch fixes
it (maybe).
To apply this patch,
(save this patch to a file (say `foo'))
cd (to the directory where combman.rb was saved)
patch < foo
Thanks,
-- gotoken