On most questions regarding Star Trek TNG, someone will eventually quote the technical manual as a reference and it does sound and look as a very comprehensive guide to TNG and Star Trek universe.
I'm interested to know how that manual came to be in the first place. Was it thought in advance and written entirely? Was it a live document that they evolved and retrofitted through the series or did they think about everything at the beginning and then force review every episode? Were there any science consultants or did they made it as they went? Is there a previous version for TOS or did they draft everything from scratch?