This is my first time using LaTeX. It's also my first time writing a book. But I find myself with a little time on my hands and I thought I'd write a simple(ish) book for my 11yo son to learn computer programming. The book will contain lots of code examples and screen shots.
So my question is: what strategy should I use to write this book, assuming that I'll use LaTeX (on a Mac. I installed MacTeX) to do the typesetting?
One web site I read said to do the writing in a word processor first, then copy it all into LaTeX to do the typesetting. Other similar questions on this site seem to suggest just writing in whatever LaTeX package they are using. I don't want to get too far down one path only to find that I have to change my system of working and change everything, so any suggestions here are welcome.
Sorry if all this is newbie questions, but well, I am a newbie.
Cheers.
latexorpdflatex(or ...) is then used to compile/typeset the code into a printable document. Packages are collections of helper macros to include in your LaTeX code. – Andrew Swann Apr 03 '16 at 08:32