Export linked mentions to a pdf file

Is it possible to create a plugin that creates a pdf file that collects all the linked mentions of a page? It would be useful to the people that work a lot with tags and need to export all the notes related to a specified tag, to show them to someone else