[ruby-talk:02572] Re: rd2 and <STRONG>

From: Toshiro Kuwabara <toshirok@...3.so-net.ne.jp>
Date: 2000-04-25 17:25:45 UTC
List: ruby-talk #2572
Hi,

In message "[ruby-talk:02571] rd2 and <STRONG>"
    on 00/04/25, ts <decoux@moulon.inra.fr> writes:
> Is it possible to have <STRONG> with rd2 ?

Cannot, without change of code.
# If you will change code to fit it with your request, it is rd/rd2html-lib.rb
# which you should change.

But if you want simply to change the appearance of ((*...*)), you should use
CSS for it.
you can indicate CSS file with rd2's command line option, --with-css.

  % rd2 -r rd/rd2html-lib.rb --with-css=ruby.css <RD file> 

NOTE: "-r rd/rd2html-lib.rb" is required when you use "--with-css". And 
      "--with-css" have to be after "-r rd/rd2html-lib.rb".
(because, you can use "--with-css" only when you tranlate RD into *HTML*.)

---
Tosh
Toshiro Kuwabara

In This Thread

Prev Next