# -*- CPERL -*- package LaTeXML::Package::Pool; use strict; use LaTeXML::Package; LoadClass('article'); RegisterNamespace('omdoc'=>"http://www.mathweb.org/omdoc"); # OMDoc namespace RegisterNamespace(om=>"http://www.openmath.org/OpenMath"); RegisterNamespace('m'=>"http://www.w3.org/1998/Math/MathML"); RegisterNamespace('dc'=>"http://purl.org/dc/elements/1.1/"); RegisterNamespace('cc'=>"http://creativecommons.org/ns"); RelaxNGSchema('/Users/kohlhase/stex/rnc/omdoc+ltxml', '#default'=>"http://www.mathweb.org/omdoc", 'om'=>"http://www.openmath.org/OpenMath", 'm'=>"http://www.w3.org/1998/Math/MathML", 'dc'=>"http://purl.org/dc/elements/1.1/", 'cc'=>"http://creativecommons.org/ns", 'ltx'=>"http://dlmf.nist.gov/LaTeXML"); RequirePackage('omdoc'); DefEnvironment('{document}','#body', beforeDigest=> sub { AssignValue(inPreamble=>0); }, afterDigest=> sub { $_[0]->getGullet->flush; return; }); 1;