[#863] RDtool-0.5.0 — Toshiro Kuwabara <toshirok@...3.so-net.ne.jp>

Hi,

18 messages 1999/10/23
[#864] Re: RDtool-0.5.0 — matz@... (Yukihiro Matsumoto) 1999/10/26

Hi,

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

From: Toshiro Kuwabara <toshirok@...3.so-net.ne.jp>
Date: 1999-10-26 16:12:01 UTC
List: ruby-talk #865
Hi,

> I moved it to contrib directory.

Thanks.:-)

>   * item list within description; e.g.
> 
>         : desc
> 
>           * item1
>           * item2

RDtool can parse sub list in description, but there is some restrictions.
  (1) If first block in description is TextBlock, RDtool can parse it.
  (2) If first block in description is List, you must indent it deeper
      than term of desclist.
	For example,
        : desc
            * item1
            * item2

Sorry, I couldn't resolve confilists which resulted from List rules.
This restriction also resulted from its conflicts.
Please read RD in rd/rdblockparser.ry to see more details.

>   * ((<reference>)) without refering label to be <i>reference</i>

I see. I attach a patch for it.

>   * reference to the label in other files somehow.

I think this feature is important too.
And we needs more discussion for it.

---
Tosh

Index: rd/rd2html-lib.rb
===================================================================
RCS file: /home/toshirok/cvs-master/ruby/rdtool/rd/rd2html-lib.rb,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- rd2html-lib.rb	1999/10/23 15:38:43	1.2
+++ rd2html-lib.rb	1999/10/26 11:27:37	1.3
@@ -114,7 +114,8 @@
       %Q[<A HREF="#label:#{num}">#{element.content}</A>]
     else
       # warning?
-      %Q[((<#{element.content}>))]
+      %Q[<!-- Reference, but label doesn't exist --><I>#{element.content}] +
+      %Q[</I><!-- Reference end -->]
     end
   end
   
@@ -179,9 +180,9 @@
 =begin
 == script info.
  RD to HTML translate library for rdfmt.rb
- $Id: rd2html-lib.rb,v 1.2 1999/10/23 15:38:43 toshirok Exp $
+ $Id: rd2html-lib.rb,v 1.3 1999/10/26 11:27:37 toshirok Exp $
  Author: Tosh
- $Date: 1999/10/23 15:38:43 $
+ $Date: 1999/10/26 11:27:37 $
 
 == changes
 :0.5.0



In This Thread