Certainly investigating PDF functions in PHP is worthwhile, and what you describe sounds like a great resource, but why would you use calibre to convert technical PDFs? Surely, you'd be better off using something like
PDFLRF or
SoPDF for such documents, no? (No worries about losing your tabs there!)