summaryrefslogtreecommitdiff
path: root/build.sh
diff options
context:
space:
mode:
Diffstat (limited to 'build.sh')
-rwxr-xr-xbuild.sh6
1 files changed, 5 insertions, 1 deletions
diff --git a/build.sh b/build.sh
index 0509d50..a9c882f 100755
--- a/build.sh
+++ b/build.sh
@@ -1,3 +1,7 @@
#!/bin/bash
-pandoc -o lbh.epub lbh.txt --toc --css=epub.css
+# strip my docstring style notes, don't touch orignal
+cat lbh.txt | sed '/^\"\"\"/,/^\"\"\"/d;' > tmp.txt
+# process with pandoc
+pandoc -o lbh.epub tmp.txt --toc --css=epub.css
~/./bin/kindlegen lbh.epub
+rm tmp.txt