summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/disser/templates/latex.fig.mk
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2007-05-19 16:20:14 +0000
committerKarl Berry <karl@freefriends.org>2007-05-19 16:20:14 +0000
commit1e19960b463415b2fb8a096f7ce4f9b2a50410f5 (patch)
tree434820857adb1d7bb63edcb5c441d7ca8e7f33cc /Master/texmf-dist/doc/latex/disser/templates/latex.fig.mk
parent9c9ebf7d3184800d2abdff96d70099836b153548 (diff)
new russian-oriented package disser (3mar07)
git-svn-id: svn://tug.org/texlive/trunk@4317 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/latex/disser/templates/latex.fig.mk')
-rw-r--r--Master/texmf-dist/doc/latex/disser/templates/latex.fig.mk31
1 files changed, 31 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/latex/disser/templates/latex.fig.mk b/Master/texmf-dist/doc/latex/disser/templates/latex.fig.mk
new file mode 100644
index 00000000000..a3e37c98505
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/disser/templates/latex.fig.mk
@@ -0,0 +1,31 @@
+#
+# Makefile for figures
+# Author: Stanislav Kruchinin <stas@crypt.org.ru>
+#
+
+all:
+ @echo "run: make fixbb to fix BoundingBox"
+ @echo "run: make pdf to convert all figures to PDF"
+ @echo "run: make clean to clean PDF files"
+
+fixbb: *.eps
+ @echo -e "\nFixing BoundingBoxes...\n"
+ @for f in *.eps ; \
+ do \
+ echo -n "$$f..." ;\
+ epstool --quiet --copy --bbox $$f $$f~ ;\
+ mv $$f~ $$f ;\
+ echo "OK" ;\
+ done
+
+pdf: *.eps
+ @echo -e "\nConverting figures to PDF...\n"
+ @for f in *.eps ; \
+ do \
+ echo -n "$$f..." ;\
+ epstopdf $$f ;\
+ echo "OK" ;\
+ done
+
+clean:
+ rm -f *.pdf