# -*- CPERL -*- package LaTeXML::Package::Pool; use strict; use LaTeXML::Package; RequirePackage('problem'); RegisterNamespace('assig'=>"http://omdoc.org/ontology/assignments#"); RegisterDocumentNamespace('assig'=>"http://omdoc.org/ontology/assignments#"); DefEnvironment('{assignment} OptionalKeyVals:assig', "" . "" . "" . "Assignment ?&KeyVal(#1,'num')(&KeyVal(#1,'num').)()" . "?&KeyVal(#1,'title')((&KeyVal(#1,'title')))" . "" . "?&KeyVal(#1,'given')(&KeyVal(#1,'given'))()" . "?&KeyVal(#1,'due')(&KeyVal(#1,'due'))()" . "?&KeyVal(#1,'pts')(&KeyVal(#1,'pts'))()" . "" . "#body" ."\n"); DefMacro('\includeassignment [] {}','\input{#2}'); DefMacro('\inputassignment [] {}','\input{#2}'); DefEnvironment('{testheading}OptionalKeyVals:omdoc',''); DefConstructor('\testspace{}',''); DefConstructor('\testnewpage',''); DefConstructor('\testemptypage',''); 1;