Skip to content

Commit

Permalink
check *.md & *.pdf separately
Browse files Browse the repository at this point in the history
  • Loading branch information
Katrin Leinweber committed Jun 14, 2016
1 parent 75c654d commit 90277d3
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 2 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -41,3 +41,4 @@ helper-*.*
test-*.md
thesis-data.txt
*-to.txt
thesis-*.txt
1 change: 1 addition & 0 deletions CHECKS-MD
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
\.\s{2}
File renamed without changes.
10 changes: 8 additions & 2 deletions makefile
Original file line number Diff line number Diff line change
Expand Up @@ -85,16 +85,22 @@ print:
pdftk core-10-title.pdf core-11-empty.pdf thesis.pdf cat output thesis-print.pdf # learned from https://www.linux.com/learn/tutorials/442414

check: # learned from http://stackoverflow.com/a/694125
# [ ] find correct syntax for --regexp (here or in CHECKS), see https://www.gnu.org/software/grep/manual/grep.html#Matching-Control
# [ ] call after make pdf & print or before doc
pdftotext thesis-test.pdf thesis-test-to.txt
pdftotext thesis.pdf thesis-to.txt
cat core-*.md | \
grep \
--ignore-case \
--color \
--extended-regexp \
--file=CHECKS-MD

cat *-to.txt | \
grep \
--ignore-case \
--color \
--extended-regexp \
--file=CHECKS
--file=CHECKS-PDF

epub:
pandoc \
Expand Down

0 comments on commit 90277d3

Please sign in to comment.