# Some formatting issues we need to modify
attrib_text.gsub!(/Paul y Sarah/, 'Paul <?latex \textup{>y<?latex } > Sarah')
attrib_text.gsub!(/Merkley (CEO.*)/, 'Merkley <citetitle>\1</citetitle>')
+ attrib_text.gsub!(/Wolf (Ins.*)/, 'Wolf <citetitle>\1</citetitle>')
attrib.remove
title.after('<blockquote><attribution>%s</attribution></blockquote>' % attrib_text)
log 1, 'Moved: %s' % attrib_text
end
+log 0, 'Replace colophon + legalinfo by the information assembled by our publisher'
+if legal = File.open('extra/es/legal_info.xml', 'r').read rescue nil
+ xml.search('colophon').first.inner_html = legal
+end
+
+
log 0, 'Writing processed file'
# Unable to figure out API way to replace DOCTYPE
data = xml.to_xml()