summaryrefslogtreecommitdiff
path: root/build.sh
diff options
context:
space:
mode:
authorluxagraf <sng@luxagraf.net>2020-09-25 21:33:33 -0400
committerluxagraf <sng@luxagraf.net>2020-09-25 21:33:33 -0400
commit1ef8261099c36c2b560b7456f7ba95fa1d486e80 (patch)
treec4cc3d9d3122c69a368d776a39da2f1e28738cfd /build.sh
parenta78c90293a1cb572a7c76c4337127473ade36fd4 (diff)
added some notes and continued opening on the boat at sea.
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