Use macros in portal-library in pdf templates