I want to write a Technical Book that eventually should go to Lulu.com for publishing, so I have to stick to certain strict rules about page sizes and layout.
I'm currently looking for a way to focus on the Writing and do the layout later. Essentially, I want to do some basic formatting like "header", "paragraph", "code", "bold", "image", but don't worry about the concept of Pages just yet.
When I'm done with the Content I want to layout the content by adding page breaks, auto-generated table of content, page layout (Margins, Gutter, Page Size,...). I also want a standard format that all books are following (the first few boilerplate pages in any book), so reusable templates would come in handy.
Essentially something that's usually Microsoft Word's domain, except that Word isn't very trustworthy and loves to randomly break stuff. Also, I want a PDF output.
I've never worked with TeX before, but it's layout capabilities are legendary, I just wonder if it's the right tool for my need? Take structured content, format it, make revisions to the content without having to do tons of re-layout, output a PDF (PDF 1.3 standard, embedded fonts)?
Or am I better off with something like DocBook XML or -gulp- Microsoft Word?