MHenderson / fiction-template

A template for PDF documents using XeLaTeX and latexmk.
0 stars 0 forks source link

New feature: chapters #11

Open MHenderson opened 11 months ago

MHenderson commented 11 months ago

It should be possible to create chapters by calling Make.

If there are no chapters then the required directory structure should be created first, checking with the user that they are happy to move all content from the main.tex into a new chapter and prompting for the name of that chapter.

Subsequent chapters should just be created and included from main.tex.

  1. Create new chapter: touch src/chapter/new.tex

  2. Update draft.tex

    • comment out previous chapter
    • add new chapter input
  3. Update main.tex

    • add new chapter input