[ruby-talk:00896] Re: RDtool-0.5.0

From: Toshiro Kuwabara <toshirok@...3.so-net.ne.jp>
Date: 1999-11-01 16:46:20 UTC
List: ruby-talk #896
Hi,

> In message "[ruby-talk:00892] Re: RDtool-0.5.0"
>     on 99/11/01, Toshiro Kuwabara <toshirok@yb3.so-net.ne.jp> writes:
> 
> |I gave a glance at perlpod(1) and POD of pod2html, and I understood pod2xxx
> |does only <EM>...</EM> for such a L<name>. right?
> 
> Pod2html trys to create href link, if possible.

Okey...

> |If rd2html can do Hyper-Link for Reference like L<name>, it will be pretty
> |useful. Is there good solution for it?
> 
> Pod2html do it as (in process_L):
>   * scan the destination file and put every label into hash.
>   * if the entry is found in hash, create href link.
>   * otherwise, create <EM>..</EM>.

Well...
When entry is found, link is made as qq[<A HREF="$htmlroot/$1.html/$section">].
Is it right?
If we put HTML file(derived from POD) into same directory, $htmlroot,
we use this href link. But we read POD dinamically translate to HTML,
for example like,
  % pod2html foo.pod | w3m -T text/html
and we can't use this href link. uum...

And they seem to have standard POD directory, @podpath or $podroot.
I think RD needs such a standard directory.
What do you think?

---
Tosh
Toshiro Kuwabara

In This Thread