Ask HN: I am getting invited to write books, what terms I should request?
I am getting invited repeatedly (it was not only one instance) to write books about programming, specially related to Lua.
Upon reading the contracts that I was offered, clearly all of them have the intention that the author haggle his way, or get a horrible contract if they don't, in plain words the contracts I get offered are always:
You hand the publisher all your rights (including copyrights, and moral rights).
If the publisher get sued because of your content, it is your fault.
I am not a experienced writer, in the sense I have no books published, although I am the person being invited, I cannot behave like if I was Bjarne Stroustrup, but what is reasonable to demand of a publisher?