[#29469] エラーを捕まえたいのですが ... — Sakae Kobayashi <sakae@...>

困った時に出てくる、小林榮です。

12 messages 2001/05/01

[#29490] Re: [ruby-talk:14555] Ruby as a Mac OS/X scripting language — maili31s@... (SugHimsi == SUGIHARA Hiroshi)

すぎむし速報。↓だそうです。

12 messages 2001/05/02

[#29524] tr range? — kiri@...

桐山です。

17 messages 2001/05/06
[#29526] Re: tr range? — Koji Arai <JCA02266@...> 2001/05/06

新井です。

[#29644] rwiki.rb でエラー — norio goto <goto@...>

お世話になります、後藤@横河工事です。

18 messages 2001/05/14
[#29645] Re: rwiki.rb でエラー — m_seki@... 2001/05/14

[#29646] Re: rwiki.rb でエラー — norio goto <goto@...> 2001/05/14

後藤@横河工事です。

[#29675] with(obj){ } が欲しい。 — Take_tk <ggb03124@...>

例によって、ワタシ好みののりクエストですみません。

24 messages 2001/05/15
[#29694] Re: with(obj){ } が欲しい。 — "K.Kosako" <kosako@...> 2001/05/17

Take_tkさんの<20010515205133.DFBA.GGB03124@nifty.ne.jp>から

[#29707] OBJECT DAY2001 — "K.Kosako" <kosako@...>

OBJECT DAY2001から帰ってきました。

71 messages 2001/05/18
[#29712] Re: OBJECT DAY2001 — matz@... (Yukihiro Matsumoto) 2001/05/18

まつもと ゆきひろです

[#29719] Re: OBJECT DAY2001 — WATANABE Tetsuya <tetsu@...> 2001/05/21

渡辺哲也です。

[#29731] YARPC 19101 (Re: OBJECT DAY2001) — TAKAHASHI Masayoshi <maki@...> 2001/05/21

YARPC関連で動いてお騒がせしている(_o_)高橋征義です。

[#29792] Re: YARPC 19101 — akira yamada / やまだあきら <akira@...> 2001/05/27

[#29794] Re: YARPC 19101 — Minero Aoki <aamine@...> 2001/05/27

あおきです。

[#29803] Re: YARPC 19101 — Hiroshi IGARASHI <iga@...> 2001/05/27

いがらしです。

[#29721] Cygwin で Ruby をコンパイルするとエラーがでます。 — "Inoue" <inoue@...>

はじめまして、最近Rubyをはじめました井上と申します。

10 messages 2001/05/21

[#29788] marshaled time format differ — IWATSUKI Hiroyuki <don@...>

岩月と申します。

19 messages 2001/05/25
[#29789] Re: marshaled time format differ — matz@... (Yukihiro Matsumoto) 2001/05/25

まつもと ゆきひろです

[#29790] Re: marshaled time format differ — IWATSUKI Hiroyuki <don@...> 2001/05/26

岩月と申します。

[#29823] Re: marshaled time format differ — IWATSUKI Hiroyuki <don@...> 2001/05/27

岩月と申します。

[#29853] "" で行われる展開を eval 無しで… — ABE Shigeru <shiger-a@...>

 みなさま、はじめまして。阿部といいます。

17 messages 2001/05/28
[#29854] Re: "" で行われる展開を eval 無しで… — rubikitch <rubikitch@...> 2001/05/28

From: ABE Shigeru <shiger-a@nifty.com>

[#29941] Ruby ライセンスについて — matz@... (Yukihiro Matsumoto)

まつもと ゆきひろです

38 messages 2001/05/31
[#29942] Re: Ruby ライセンスについて — Takahiro Kambe <taca@...> 2001/05/31

In message <991297854.779223.23013.nullmailer@ev.netlab.zetabits.com>

[#29944] Re: Ruby ライセンスについて — "Akinori MUSHA" <knu@...> 2001/05/31

At Thu, 31 May 2001 18:00:18 +0900,

[ruby-list:29474] Re: rd2man について

From: Takashi Shimizu <simtak@...>
Date: 2001-05-01 13:32:08 UTC
List: ruby-list #29474
清水@biglobe です。

rd2manについて同じようなことを思って私家版を作ってました。

・段落がなくなってしまう。
・コマンド名にrdがつく

に加えて、私が気になっているのが、

・((*強調*))が\fI になってしまうが、\fB にすべきだと思う。
・((<リンク>))が無視される。(別マニュアルへの参照は強調するのが普通の
  よう)。
・全体に空行が多く出力されがちで冗長に見える(私の感覚には)。

> 
> ------------ ffm.1.rd --------------------
> =begin
> ==名前
> 
> ffm - Focus follows mouseの設定を変更する。
> 
> ==書式
> 
> (({ffm [-off]}))
> 
> ==解説
> 
> この文書は正式な文書を元にして書かれていないので
> 不正確な部分を含むかもしれない。
> なお、本コマンドのBe社による正式なマニュアルは存在しない。
> 
> ffmは、引き数なしで起動された場合、Focus follows mouseを有効にする。
> なんらかの引き数をあたえた場合、Focus follows mouseを無効にする。
> 
> Focus follows mouse とは、マウスが位置するウィンドウに
> 常にフォーカスをあわせる(アクティブにする)マウスの動作を意味する。
> ウィンドウを前面に出したい場合は、そのウィンドウのタブもしくはメニューバーを
> クリックする必要がある。
> 
> =end
> ------------ ffm.1.rd ここまで--------------

==オプション
オプションは以下
 : -o
    アウトプット

==関連項目
((<otherman>))(1)

みたいな書き方を仮定してます。別のmanへのリンクはもっと汎用な書き方を
すべきかも知れません。コマンド名の変更は以下ではやってません。空行もあ
まり改善されてません。

かなり私の趣味が出てしまってますし、あと一歩という感じもしますが、参考
になれば。rd2man-lib.rb 0.6.5 へのpatchです。

-- 
         清水 卓(simtak@mua.biglobe.ne.jp)


*** rd2man-lib.rb	Sat Jun 24 14:17:14 2000
--- /home/simtak/rd2man-lib.rb	Tue May  1 21:41:50 2001
***************
*** 40,52 ****
      end
  
      def apply_to_Headline(element, title)
!       ".SH #{title}.PP\n"
      end
  
      # RDVisitor#apply_to_Include
  
      def apply_to_TextBlock(element, content)
!       content.join
      end
  
      def apply_to_Verbatim(element)
--- 40,59 ----
      end
  
      def apply_to_Headline(element, title)
!       ".SH #{title}"
      end
  
      # RDVisitor#apply_to_Include
  
      def apply_to_TextBlock(element, content)
!       if ((element.parent.is_a?(ItemListItem) or
! 	   element.parent.is_a?(EnumListItem) or
! 	   element.parent.is_a?(DescListItem) or
! 	   element.parent.is_a?(MethodListItem)))
!         %Q[#{content.join}.br\n]
!       else
! 	%Q[#{content.join}.PP\n]
!       end
      end
  
      def apply_to_Verbatim(element)
***************
*** 55,80 ****
  	content.push(apply_to_String(i))
        end
        # Can we use BLOCKQUOTE such like?
!       %Q[.nf\n\\&    #{content.join("\\&    ")}.fi\n]
      end
  
      def apply_to_ItemList(element, items)
        items.collect! do |x| x.sub /\n\n/, "\n" end
!       items = items.join(".TP\n.B\n\\(bu ")
!       ".TP\n.B\n\\(bu " + items
      end
  
      def apply_to_EnumList(element, items)
        @enumcounter = 0
!       "\n" + items.join + "\n.PP\n"
      end
  
      def apply_to_DescList(element, items)
!       items.join("\n")
      end
  
      def apply_to_MethodList(element, items)
!       items.join("\n")
      end
  
      def apply_to_ItemListItem(element, content)
--- 62,87 ----
  	content.push(apply_to_String(i))
        end
        # Can we use BLOCKQUOTE such like?
!       %Q[.nf\n\\&    #{content.join("\\&    ")}.fi\n.PP\n]
      end
  
      def apply_to_ItemList(element, items)
        items.collect! do |x| x.sub /\n\n/, "\n" end
!       items = items.join(".TP\n.B \\(bu ")
!       ".TP\n.B \\(bu " + items
      end
  
      def apply_to_EnumList(element, items)
        @enumcounter = 0
!       items.join + ".PP\n"
      end
  
      def apply_to_DescList(element, items)
!       items.join
      end
  
      def apply_to_MethodList(element, items)
!       items.join
      end
  
      def apply_to_ItemListItem(element, content)
***************
*** 89,97 ****
      def apply_to_DescListItem(element, term, description)
        anchor = refer(element)
        if description.empty?
! 	"\n.TP\n.fi\n.B\n#{term}"
        else
!         %[\n.TP\n.fi\n.B\n#{term}\n#{description.join("\n")}]
        end
      end
  
--- 96,104 ----
      def apply_to_DescListItem(element, term, description)
        anchor = refer(element)
        if description.empty?
! 	".TP\n.fi\n.B #{term}"
        else
!         %[.TP\n.fi\n.B #{term}#{description.join}]
        end
      end
  
***************
*** 99,107 ****
        term = parse_method(term)  # maybe: term -> element.term
        anchor = refer(element)
        if description.empty?
! 	"\n.TP\n.fi\n.B\n#{term}"
        else
!         %[\n.TP\n.fi\n.B\n#{term}\n#{description.join("\n")}]
        end
      end
  
--- 106,114 ----
        term = parse_method(term)  # maybe: term -> element.term
        anchor = refer(element)
        if description.empty?
! 	".TP\n.fi\n.B #{term}"
        else
!         %[.TP\n.fi\n.B #{term}\n#{description.join("\n")}]
        end
      end
  
***************
*** 138,144 ****
      end
  
      def apply_to_Emphasis(element, content)
!       %Q[\\fI#{content.join}\\fP]
      end
  
      def apply_to_Code(element, content)
--- 145,151 ----
      end
  
      def apply_to_Emphasis(element, content)
!       %Q[\\fB#{content.join}\\fP]
      end
  
      def apply_to_Code(element, content)
***************
*** 146,152 ****
      end
  
      def apply_to_Var(element, content)
!       content.join
      end
  
      def apply_to_Keyboard(element, content)
--- 153,159 ----
      end
  
      def apply_to_Var(element, content)
!       %{\\&\\fI#{content.join.sub /\./, '\\.'}\\fP}
      end
  
      def apply_to_Keyboard(element, content)
***************
*** 183,189 ****
  
      def apply_to_RefToElement(element, content)
        content = content.join
!       content.sub(/^function#/, "")
      end
  
      def apply_to_RefToOtherFile(element, content)
--- 190,196 ----
  
      def apply_to_RefToElement(element, content)
        content = content.join
!       %[\\fB#{content.sub(/^function#/, "")}\\fP]
      end
  
      def apply_to_RefToOtherFile(element, content)

In This Thread