Project Aon Git Repositories
/
project-aon.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
reorganizing the repository
[project-aon.git]
/
common
/
pdf
/
build
/
extract-graphics.sh
diff --git a/common/pdf/build/extract-graphics.sh
b/common/pdf/build/extract-graphics.sh
new file mode 100644
(file)
index 0000000..
16c1e79
--- /dev/null
+++ b/
common/pdf/build/extract-graphics.sh
@@ -0,0
+1,10
@@
+#!/bin/sh
+# Extract list of graphics used by a given TeX file
+
+dir=`pwd`
+file=`basename $dir`
+tex="$file.tex"
+grep graphics $tex |
+perl -ne 'print $1."\n" if /{(\w+\.pdf)}/' |
+sort -u
+