adding dependencies: hierarchy macro and multipage pdf export