diff options
author | Karl Berry <karl@freefriends.org> | 2010-06-18 15:59:17 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2010-06-18 15:59:17 +0000 |
commit | f27ac35b0c41cde9fef228af89c141d3d0a272d4 (patch) | |
tree | 26cf7bab16cc69a7774e728e13a1c872bb665c15 /Master/texmf-dist/source | |
parent | e7c3e209e8f797c9f89a7e454e260716220ce832 (diff) |
new pstricks package pst-electricfield (17jun10)
git-svn-id: svn://tug.org/texlive/trunk@19037 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/source')
3 files changed, 266 insertions, 0 deletions
diff --git a/Master/texmf-dist/source/generic/pst-electricfield/Makefile b/Master/texmf-dist/source/generic/pst-electricfield/Makefile new file mode 100644 index 00000000000..ecb4d158cd3 --- /dev/null +++ b/Master/texmf-dist/source/generic/pst-electricfield/Makefile @@ -0,0 +1,84 @@ + +# `Makefile' for `pst-magneticfield.pdf', Rolf Niepraschk, 2010/05/21 + +.SUFFIXES : .tex .ltx .dvi .ps .pdf .eps .pro + +PACKAGE = pst-electricfield +MAIN = $(PACKAGE)-doc +LANGUAGES = DE EN FR +PRO = $(PACKAGE).pro + + +empty= +space=$(empty) $(empty) +DOC_SOURCES = $(addprefix $(PACKAGE)-doc,$(LANGUAGES)$(space)) +DOC_SOURCES := $(addsuffix .tex, $(DOC_SOURCES)) +DOCS = $(DOC_SOURCES:.tex=.pdf) + +TDS = ~/PSTricks/PSTricks-TDS + +LATEX = pst2pdf +PDFLATEX = pdflatex +OPTIONS= --Iext=.png --Iscale=0.5 --DPI=150 +#--noImages + +ARCHNAME = $(PACKAGE)-$(shell date +%Y%m%d) + +ARCHFILES = $(PACKAGE).sty $(PACKAGE).tex $(PACKAGE).pro $(DOC_SOURCES) \ + README Changes Makefile + +all : $(DOCS) clean + +%.pdf : %.tex + $(LATEX) $(basename $<) $(OPTIONS) +# makeindex -s gglo.ist -t $(basename $<)-pdf.glg -o $(basename $<)-pdf.gls $(basename $<)-pdf.glo + makeindex -s pst-doc.ist -t $(basename $<)-pdf.ilg -o $(basename $<)-pdf.ind $(basename $<)-pdf.idx + bibtex $(basename $<)-pdf + $(PDFLATEX) $(basename $<)-pdf + $(PDFLATEX) $(basename $<)-pdf + mv $(basename $<)-pdf.pdf $(basename $<).pdf + rm -f $(basename $<)-tmp.* $(basename $<)-pdf.* + +clean : + $(RM) $(foreach i,$(DOC_SOURCES:.tex=),$(addprefix $i, \ + .log .plog .preamble .aux .glg .glo .gls .ilg .idx .ind .tmp .toc .out .blg .bbl)) + +veryclean : clean + $(RM) $(foreach i,$(DOC_SOURCES:.tex=),$(addprefix $i, \ + .pdf .bbl .blg)) + +arch : + zip $(ARCHNAME).zip $(ARCHFILES) + +ifneq ($(strip $(PRO)),) +installPRO : + @echo "Installiere PRO-Dateien ($(PRO))..." + cp -u Changes $(TDS)/dvips/$(PACKAGE)/ + cp -u $(PACKAGE).pro $(TDS)/dvips/$(PACKAGE)/ + cp -u $(PACKAGE).pro ~/Links/dvips-local/ +else +installPRO : + @: +endif + +tds : installPRO + @echo "Installiere TeX-Zeug..." + cp -u Changes $(TDS)/doc/generic/$(PACKAGE)/ + cp -u README $(TDS)/doc/generic/$(PACKAGE)/ + cp -u *.pdf $(TDS)/doc/generic/$(PACKAGE)/ +# + cp -u Changes $(TDS)/tex/latex/$(PACKAGE)/ + cp -u $(PACKAGE).sty $(TDS)/tex/latex/$(PACKAGE)/ +# + cp -u Changes $(TDS)/tex/generic/$(PACKAGE)/ + cp -u $(PACKAGE).tex $(TDS)/tex/generic/$(PACKAGE)/ +# + cp -u Changes $(TDS)/source/$(PACKAGE)/ + cp -u *-doc??.tex $(TDS)/source/$(PACKAGE)/ + cp -u $(MAIN).bib $(TDS)/source/$(PACKAGE)/ + cp -u Makefile $(TDS)/source/$(PACKAGE)/ + +debug : + @echo $(DOC_SOURCES) + +# EOF diff --git a/Master/texmf-dist/source/generic/pst-electricfield/Makefile.latex b/Master/texmf-dist/source/generic/pst-electricfield/Makefile.latex new file mode 100644 index 00000000000..c2f5fb548b9 --- /dev/null +++ b/Master/texmf-dist/source/generic/pst-electricfield/Makefile.latex @@ -0,0 +1,98 @@ + +# `Makefile' for `pst-electricfield-doc.pdf', hv, 201?/??/?? + +.SUFFIXES : .tex .ltx .dvi .ps .pdf .eps .pro + +PACKAGE = pst-electricfield +MAIN = $(PACKAGE)-doc + +LANGUAGES = DE FR EN + +ifneq ($(LANGUAGES),) + DOC_SOURCES = $(addprefix $(PACKAGE)-doc,$(LANGUAGES)) +else + DOC_SOURCES = $(MAIN) +endif + +DOC_SOURCES := $(addsuffix .tex, $(DOC_SOURCES)) +DOCS = $(DOC_SOURCES:.tex=.pdf) + +TDS = ~/PSTricks/PSTricks-TDS + +LATEX = latex + +DVIPS = dvips + +PS2PDF = GS_OPTIONS=-dAutoRotatePages=/None ps2pdf + +ARCHNAME = $(PACKAGE)-$(shell date +%Y%m%d) + +PRO = $(PACKAGE).pro + +ARCHFILES = $(PACKAGE).sty $(PACKAGE).tex $(PACKAGE).pro $(DOC_SOURCES) \ + README Changes Makefile + +all : $(DOCS) clean + +%.pdf : %.ps + $(PS2PDF) $< $@ + +%.ps : %.dvi + $(DVIPS) -o $@ $< + +%.dvi : %.tex + $(LATEX) $< +# $(LATEX) $< +# if ! test -f $(basename $<).glo ; then touch $(basename $<).glo; fi +# if ! test -f $(basename $<).idx ; then touch $(basename $<).idx; fi +# makeindex -s gglo.ist -t $(basename $<).glg -o $(basename $<).gls $(basename $<).glo + makeindex -s pst-doc.ist -t $(basename $<).ilg -o $(basename $<).ind \ + $(basename $<).idx + bibtex $(basename $<) + $(LATEX) $< + $(LATEX) $< + +clean : + $(RM) $(foreach i,$(DOC_SOURCES:.tex=),$(addprefix $i, \ + .log .aux .glg .glo .gls .ilg .idx .ind .tmp .toc .out .blg .bbl)) + +veryclean : clean + $(RM) $(foreach i,$(DOC_SOURCES:.tex=),$(addprefix $i, \ + .pdf .bbl .blg)) + +arch : + zip $(ARCHNAME).zip $(ARCHFILES) + +ifneq ($(strip $(PRO)),) +installPRO : + @echo "Installiere PRO-Dateien ($(PRO))..." + cp -u Changes $(TDS)/dvips/$(PACKAGE)/ + cp -u $(PACKAGE).pro $(TDS)/dvips/$(PACKAGE)/ + cp -u $(PACKAGE).pro ~/Links/dvips-local/ +else +installPRO : + @: +endif + +tds : installPRO + @echo "Installiere TeX-Zeug..." + cp -u Changes $(TDS)/doc/generic/$(PACKAGE)/ + cp -u README $(TDS)/doc/generic/$(PACKAGE)/ + cp -u *.pdf $(TDS)/doc/generic/$(PACKAGE)/ +# + cp -u Changes $(TDS)/tex/latex/$(PACKAGE)/ + cp -u $(PACKAGE).sty $(TDS)/tex/latex/$(PACKAGE)/ +# + cp -u Changes $(TDS)/tex/generic/$(PACKAGE)/ + cp -u $(PACKAGE).tex $(TDS)/tex/generic/$(PACKAGE)/ +# + cp -u Changes $(TDS)/source/$(PACKAGE)/ + cp -u $(MAIN)*.tex $(TDS)/source/$(PACKAGE)/ + cp -u $(MAIN).bib $(TDS)/source/$(PACKAGE)/ + cp -u Makefile $(TDS)/source/$(PACKAGE)/ + +debug : + @echo $(DOC_SOURCES) + @echo $(DOCS) + +# EOF diff --git a/Master/texmf-dist/source/generic/pst-electricfield/Makefile.pst2pdf b/Master/texmf-dist/source/generic/pst-electricfield/Makefile.pst2pdf new file mode 100644 index 00000000000..ecb4d158cd3 --- /dev/null +++ b/Master/texmf-dist/source/generic/pst-electricfield/Makefile.pst2pdf @@ -0,0 +1,84 @@ + +# `Makefile' for `pst-magneticfield.pdf', Rolf Niepraschk, 2010/05/21 + +.SUFFIXES : .tex .ltx .dvi .ps .pdf .eps .pro + +PACKAGE = pst-electricfield +MAIN = $(PACKAGE)-doc +LANGUAGES = DE EN FR +PRO = $(PACKAGE).pro + + +empty= +space=$(empty) $(empty) +DOC_SOURCES = $(addprefix $(PACKAGE)-doc,$(LANGUAGES)$(space)) +DOC_SOURCES := $(addsuffix .tex, $(DOC_SOURCES)) +DOCS = $(DOC_SOURCES:.tex=.pdf) + +TDS = ~/PSTricks/PSTricks-TDS + +LATEX = pst2pdf +PDFLATEX = pdflatex +OPTIONS= --Iext=.png --Iscale=0.5 --DPI=150 +#--noImages + +ARCHNAME = $(PACKAGE)-$(shell date +%Y%m%d) + +ARCHFILES = $(PACKAGE).sty $(PACKAGE).tex $(PACKAGE).pro $(DOC_SOURCES) \ + README Changes Makefile + +all : $(DOCS) clean + +%.pdf : %.tex + $(LATEX) $(basename $<) $(OPTIONS) +# makeindex -s gglo.ist -t $(basename $<)-pdf.glg -o $(basename $<)-pdf.gls $(basename $<)-pdf.glo + makeindex -s pst-doc.ist -t $(basename $<)-pdf.ilg -o $(basename $<)-pdf.ind $(basename $<)-pdf.idx + bibtex $(basename $<)-pdf + $(PDFLATEX) $(basename $<)-pdf + $(PDFLATEX) $(basename $<)-pdf + mv $(basename $<)-pdf.pdf $(basename $<).pdf + rm -f $(basename $<)-tmp.* $(basename $<)-pdf.* + +clean : + $(RM) $(foreach i,$(DOC_SOURCES:.tex=),$(addprefix $i, \ + .log .plog .preamble .aux .glg .glo .gls .ilg .idx .ind .tmp .toc .out .blg .bbl)) + +veryclean : clean + $(RM) $(foreach i,$(DOC_SOURCES:.tex=),$(addprefix $i, \ + .pdf .bbl .blg)) + +arch : + zip $(ARCHNAME).zip $(ARCHFILES) + +ifneq ($(strip $(PRO)),) +installPRO : + @echo "Installiere PRO-Dateien ($(PRO))..." + cp -u Changes $(TDS)/dvips/$(PACKAGE)/ + cp -u $(PACKAGE).pro $(TDS)/dvips/$(PACKAGE)/ + cp -u $(PACKAGE).pro ~/Links/dvips-local/ +else +installPRO : + @: +endif + +tds : installPRO + @echo "Installiere TeX-Zeug..." + cp -u Changes $(TDS)/doc/generic/$(PACKAGE)/ + cp -u README $(TDS)/doc/generic/$(PACKAGE)/ + cp -u *.pdf $(TDS)/doc/generic/$(PACKAGE)/ +# + cp -u Changes $(TDS)/tex/latex/$(PACKAGE)/ + cp -u $(PACKAGE).sty $(TDS)/tex/latex/$(PACKAGE)/ +# + cp -u Changes $(TDS)/tex/generic/$(PACKAGE)/ + cp -u $(PACKAGE).tex $(TDS)/tex/generic/$(PACKAGE)/ +# + cp -u Changes $(TDS)/source/$(PACKAGE)/ + cp -u *-doc??.tex $(TDS)/source/$(PACKAGE)/ + cp -u $(MAIN).bib $(TDS)/source/$(PACKAGE)/ + cp -u Makefile $(TDS)/source/$(PACKAGE)/ + +debug : + @echo $(DOC_SOURCES) + +# EOF |