Text this: A Theory of literary production