#!/usr/bin/env bash pandoc -o book.pdf title.txt \ edited/{01,02,03,04,05,06,07,08,09,10,11,12}.markdown \ --table-of-contents \ --number-sections \ -V documentclass=book