$(BUILD)/epub/$(BOOKNAME).epub: $(TITLE) $(CHAPTERS)
mkdir -p $(BUILD)/epub
- pandoc $(TOC) -S --epub-metadata=$(METADATA) --epub-cover-image=$(COVER_IMAGE) -o $@ $^
+ pandoc $(TOC) --chapters --number-offset=0 -S --epub-metadata=$(METADATA) --epub-cover-image=$(COVER_IMAGE) -o $@ $^
$(BUILD)/html/$(BOOKNAME).html: $(CHAPTERS)
mkdir -p $(BUILD)/html
- pandoc $(TOC) --standalone --to=html5 -o $@ $^
+ pandoc $(TOC) --chapters --number-offset=0 --standalone --to=html5 -o $@ $^
$(BUILD)/pdf/$(BOOKNAME).pdf: $(TITLE) $(CHAPTERS)
mkdir -p $(BUILD)/pdf
- pandoc $(TOC) --latex-engine=xelatex -V documentclass=$(LATEX_CLASS) -o $@ $^
+ pandoc $(TOC) --chapters --number-offset=0 --latex-engine=xelatex -V documentclass=$(LATEX_CLASS) -o $@ $^
.PHONY: all book clean epub html pdf
-# The Mediocre Programmer
+# Introduction {-}
-## Introduction
+## The Mediocre Programmer?
Let's face it; we don't want to be mediocre programmers. We want to be great programmers; superlative programmers. We want to be the programmers they call whenever they're in a bind and we want to be the programmers that rush into the code base and produce perfect code in a matter of minutes. Code that would sit in the Louvre as a work of art, studied by generations of programmers for its intrinsic beauty and exceptional functionality.