Package: librd-html-ext-ruby1.8
Version: 0.1.4-1
Severity: normal
When I use this library, can't convert .rd to .html.
RD file have include syntax "<<<" , and head part "=begin head, =end"
$ rd2 -r rd/rd2html-ext-lib -r rd/head-filter \
--head-elements --with-part=head:head
/usr/lib/ruby/1.8/rd/search-file.rb:7:in `+': can't convert nil into String
(TypeError)
from /usr/lib/ruby/1.8/rd/search-file.rb:7:in `search_file'
from /usr/lib/ruby/1.8/rd/search-file.rb:6:in `each'
from /usr/lib/ruby/1.8/rd/search-file.rb:6:in `search_file'
from /usr/lib/ruby/1.8/rd/search-file.rb:5:in `each'
from /usr/lib/ruby/1.8/rd/search-file.rb:5:in `search_file'
from /usr/lib/ruby/1.8/rd/output-format-visitor.rb:23:in `apply_to_Include'
from (eval):2:in `visit_Include'
from /usr/lib/ruby/1.8/rd/block-element.rb:65:in `accept'
from /usr/lib/ruby/1.8/rd/visitor.rb:20:in `visit_children'
from /usr/lib/ruby/1.8/rd/element.rb:45:in `each_child'
from /usr/lib/ruby/1.8/rd/element.rb:44:in `each'
from /usr/lib/ruby/1.8/rd/element.rb:44:in `each_child'
from /usr/lib/ruby/1.8/rd/visitor.rb:19:in `visit_children'
from (eval):2:in `visit_DocumentElement'
from /usr/lib/ruby/1.8/rd/element.rb:144:in `accept'
from /usr/lib/ruby/1.8/rd/tree.rb:78:in `accept'
from /usr/lib/ruby/1.8/rd/visitor.rb:14:in `visit'
from /usr/lib/ruby/1.8/rd/rd2html-lib.rb:62:in `visit'
from /usr/lib/ruby/1.8/rd/rd2html-ext-lib.rb:42:in `visit'
from /usr/bin/rd2:241
Source files are here.
$ cat test.rd
=begin
= rd2html-ext-lib.rb 's test
foo bar baz
== test for include
<<< include
=end
=begin head
<meta http-equiv="content-script-type" content="text/javascript" />
=end
$ cat include.html
<p>
this is test
</p>
-- System Information:
Debian Release: lenny/sid
APT prefers testing
APT policy: (500, 'testing')
Architecture: i386 (i686)
Kernel: Linux 2.6.26.deutzia (PREEMPT)
Locale: LANG=ja_JP.eucJP, LC_CTYPE=ja_JP.eucJP (charmap=ANSI_X3.4-1968)
(ignored: LC_ALL set to C)
Shell: /bin/sh linked to /bin/bash
Versions of packages librd-html-ext-ruby1.8 depends on:
ii librd-ruby1.8 0.6.20-1 RDTool library for Ruby 1.8
Versions of packages librd-html-ext-ruby1.8 recommends:
ii rdtool 0.6.20-1 RD document formatter
Versions of packages librd-html-ext-ruby1.8 suggests:
ii libimage-size-ruby1.8 1:0.1.1-2 ruby extension to measure image (G
-- no debconf information
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]