Method: IsoDoc::PresentationXMLConvert#stem_dup
- Defined in:
- lib/isodoc/presentation_function/math.rb
#stem_dup(node) ⇒ Object
164 165 166 167 168 169 170 171 |
# File 'lib/isodoc/presentation_function/math.rb', line 164 def stem_dup(node) sem_xml_descendant?(node) and return ret = semx_fmt_dup(node) f = Nokogiri::XML::Node.new("fmt-stem", node.document) t = node["type"] and f["type"] = t f << ret node.next = f end |