Method: MaRuKu::Out::Latex#to_latex_image
- Defined in:
- lib/maruku/output/to_latex.rb
#to_latex_image ⇒ Object
504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 |
# File 'lib/maruku/output/to_latex.rb', line 504 def to_latex_image id = self.ref_id ref = @doc.refs[id] if not ref maruku_error "Could not find ref #{id.inspect} for image.\n"+ "Available are: #{@docs.refs.keys.inspect}" # $stderr.puts "Could not find id = '#{id}'" "" else url = ref[:url] $stderr.puts "Images not supported yet (#{url})" # "{\\bf Images not supported yet (#{latex_escape(url)})}" "" end end |