I have written lecture notes, which are organized more or less a chapter to a class. Each chapter has it's own bibliography, so they are mostly independent. I'd like to separate the resulting PDF file into separate files, one for each chapter. Preferably not touching the source (too much), and not by finding out manually what the page ranges are by looking at the PDF.
Environment is texlive on Fedora Linux.