Method: IsoDoc::PresentationXMLConvert#formula_where

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

#formula_where(dlist) ⇒ Object



31
32
33
34
35
36
# File 'lib/isodoc/presentation_function/block.rb', line 31

def formula_where(dlist)
  dlist or return
  dlist["class"] = "formula_dl"
  where = dlist.xpath(ns("./dt")).size > 1 ? @i18n.where : @i18n.where_one
  dlist.previous = "<p keep-with-next='true'>#{where}</p>"
end