more cleanup and additions
removed ref links to custom_id, since they do not work in export
added amsmath to get eqref
added another menu command
updated for org-ref