Method: IsoDoc::PresentationXMLConvert#figure_key

Defined in:
lib/isodoc/presentation_function/image.rb

#figure_key(dlist) ⇒ Object



105
106
107
108
109
110
111
# File 'lib/isodoc/presentation_function/image.rb', line 105

def figure_key(dlist)
  dlist or return
  dlist["class"] = "formula_dl"
  dlist.at(ns("./name")) and return
  dlist.previous =
    "<p keep-with-next='true'><strong>#{@i18n.key}</strong></p>"
end