From 1e19960b463415b2fb8a096f7ce4f9b2a50410f5 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Sat, 19 May 2007 16:20:14 +0000 Subject: new russian-oriented package disser (3mar07) git-svn-id: svn://tug.org/texlive/trunk@4317 c570f23f-e606-0410-a88d-b1316a301751 --- .../doc/latex/disser/templates/latex.fig.mk | 31 ++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 Master/texmf-dist/doc/latex/disser/templates/latex.fig.mk (limited to 'Master/texmf-dist/doc/latex/disser/templates/latex.fig.mk') 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 +# + +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 -- cgit v1.2.3