public function getDirectives() { $directives = parent::getDirectives(); $directives = array_merge($directives, array(new Directives\LaTeXMain(), new Directives\Image(), new Directives\Meta(), new Directives\Stylesheet(), new Directives\Title(), new Directives\Url(), new Directives\Wrap('note'))); return $directives; }