From: Craig Maloney Date: Mon, 25 Jun 2018 13:00:36 +0000 (-0400) Subject: Fixing up chapter numbering X-Git-Tag: 0.3.0^2~23 X-Git-Url: https://jxself.org/git/?a=commitdiff_plain;h=6bae786a5f2a9c20a91126f49973d7d669165124;hp=366fb0aac0f2b0e2f6946c2cb7e8aa124abe847a;p=themediocreprogrammer.git Fixing up chapter numbering --- diff --git a/Makefile b/Makefile index 39a0dec..308e2c5 100644 --- a/Makefile +++ b/Makefile @@ -22,14 +22,14 @@ pdf: $(BUILD)/pdf/$(BOOKNAME).pdf $(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 diff --git a/intro.md b/intro.md index 58465a7..dd2297c 100644 --- a/intro.md +++ b/intro.md @@ -1,6 +1,6 @@ -# 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.