# File lib/rd/rd2html-lib.rb, line 366
    def get_footnote_num(fn)
      raise ArgumentError, "#{fn} must be Footnote." unless fn.is_a? Footnote
      i = @footnotes.index(fn)
      if i
        i + 1
      else
        nil
      end
    end