Class: IsoDoc::Generic::PresentationXMLConvert
- Inherits:
-
PresentationXMLConvert
- Object
- PresentationXMLConvert
- IsoDoc::Generic::PresentationXMLConvert
- Includes:
- Init
- Defined in:
- lib/isodoc/generic/presentation_xml_convert.rb
Instance Method Summary collapse
Methods included from Init
#i18n_init, #metadata_init, #xref_init
Methods included from Utils
#baselocation, #configuration, #fileloc
Instance Method Details
#annex1(elem) ⇒ Object
8 9 10 11 12 13 14 |
# File 'lib/isodoc/generic/presentation_xml_convert.rb', line 8 def annex1(elem) lbl = @xrefs.anchor(elem["id"], :label) if t = elem.at(ns("./title")) t.children = "<strong>#{to_xml(t.children)}</strong>" end prefix_name(elem, "<br/>", lbl, "title") end |