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?
You might also want to break a larger document (like a book) into several subfiles and include them via the \input{} command. My approach is one .tex file per chapter.
– 0x6d64 Sep 02 '11 at 07:24\include{}rather than (or in addition to)\input{}. both have their places, but\includegives extra benefits when it's used to control chapters in separate files. – barbara beeton Sep 02 '11 at 13:03\includefor each chapter, since the forced page break coincides with\chapter's\cleardoublepagetypesetting. – Werner Sep 02 '11 at 18:25