added macros for embedding pdf slides into tex documents