summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/contracard
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2013-02-15 23:59:27 +0000
committerKarl Berry <karl@freefriends.org>2013-02-15 23:59:27 +0000
commit0ccccba206b1401b7478dd9629fb2386887c5ec6 (patch)
tree479077b3eb475fb288267121523ec447e2a917d7 /Master/texmf-dist/doc/latex/contracard
parentaeb928a24790407db5779d28c62f6c514619cdaa (diff)
contracard (15feb13)
git-svn-id: svn://tug.org/texlive/trunk@29130 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/latex/contracard')
-rw-r--r--Master/texmf-dist/doc/latex/contracard/LICENSE13
-rw-r--r--Master/texmf-dist/doc/latex/contracard/Makefile183
-rw-r--r--Master/texmf-dist/doc/latex/contracard/README3
-rw-r--r--Master/texmf-dist/doc/latex/contracard/contracard.pdfbin0 -> 220687 bytes
4 files changed, 199 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/latex/contracard/LICENSE b/Master/texmf-dist/doc/latex/contracard/LICENSE
new file mode 100644
index 00000000000..43d372e7df0
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/contracard/LICENSE
@@ -0,0 +1,13 @@
+# License
+
+Copyright 2013 Samuel Whited
+
+This project may be distributed and/or modified under the
+conditions of the LaTeX Project Public License, either
+version 1.3c of this license or (at your option) any later
+version. The latest version of this license is in:
+
+http://www.latex-project.org/lppl.txt
+
+and version 1.3c or later is part of all distributions of
+LaTeX version 2008/05/04 or later.
diff --git a/Master/texmf-dist/doc/latex/contracard/Makefile b/Master/texmf-dist/doc/latex/contracard/Makefile
new file mode 100644
index 00000000000..963e13c200c
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/contracard/Makefile
@@ -0,0 +1,183 @@
+# Makefile for contracard.
+# Copied almost exactly from the fontspec makefile.
+
+#### MAKEFILE CONFIG ####
+
+SHELL = /bin/sh
+.SUFFIXES:
+.SILENT:
+
+#### BEGIN ####
+
+help:
+ @echo 'CONTRACARD makefile targets:'
+ @echo ' '
+ @echo ' help - (this message)'
+ @echo ' unpack - extracts all files'
+ @echo ' doc - compile documentation'
+ @echo ' gendoc - compile git-aware documentation'
+ @echo ' ctan - generate archive for CTAN'
+ @echo ' all - unpack & doc'
+ @echo ' world - all & ctan'
+ @echo ' clean - remove all generated and built files'
+ @echo ' preview - preview the documentation'
+ @echo ' '
+ @echo ' install - install the complete class into your home texmf tree'
+ @echo ' cls-install - install the class code only'
+ @echo ' install TEXMFROOT=<texmf> - install the class into the path <texmf>'
+
+
+NAME = contracard
+DOC = $(NAME).pdf
+DTX = $(NAME).dtx
+
+# Redefine this to print output if you need:
+REDIRECT = > /dev/null
+
+# Files grouped by generation mode
+COMPILED = $(DOC)
+UNPACKED = $(NAME).cls
+SOURCE = $(DTX) Makefile README LICENSE
+GENERATED = $(COMPILED) $(UNPACKED)
+
+CTAN_FILES = $(SOURCE) $(COMPILED)
+
+UNPACKED_DOC =
+
+RUNFILES = $(filter-out $(UNPACKED_DOC), $(UNPACKED))
+DOCFILES = $(COMPILED) README LICENSE $(UNPACKED_DOC)
+SRCFILES = $(DTX) Makefile
+
+ALL_FILES = $(RUNFILES) $(DOCFILES) $(SRCFILES)
+
+# Installation locations
+FORMAT = latex
+RUNDIR = $(TEXMFROOT)/tex/$(FORMAT)/$(NAME)
+DOCDIR = $(TEXMFROOT)/doc/$(FORMAT)/$(NAME)
+SRCDIR = $(TEXMFROOT)/source/$(FORMAT)/$(NAME)
+TEXMFROOT = $(shell kpsewhich --var-value TEXMFHOME)
+
+CTAN_ZIP = $(NAME).zip
+TDS_ZIP = $(NAME).tds.zip
+ZIPS = $(CTAN_ZIP) $(TDS_ZIP)
+
+DO_LATEX = pdflatex --interaction=nonstopmode $< $(REDIRECT)
+DO_LATEX_WRITE18 = pdflatex --shell-escape --interaction=nonstopmode $< $(REDIRECT)
+DO_TEX = tex --interaction=nonstopmode $< $(REDIRECT)
+DO_MAKEINDEX = makeindex -s gind.ist $(subst .dtx,,$<) $(REDIRECT) 2>&1
+DO_MAKECHANGES = makeindex -s gglo.ist -o $(NAME).gls $(NAME).glo $< $(REDIRECT) 2>&1
+
+all: $(GENERATED)
+doc: $(COMPILED)
+unpack: $(UNPACKED)
+ctan: $(CTAN_ZIP)
+tds: $(TDS_ZIP)
+world: all ctan
+
+gendoc: $(DTX)
+ @echo "Compiling documentation"
+ $(DO_LATEX_WRITE18)
+ $(DO_MAKEINDEX)
+ $(DO_MAKECHANGES)
+ while ($(DO_LATEX_WRITE18) ; \
+ grep -q "Rerun to get" $(NAME).log ) do true; \
+ done
+
+COMMAND = command -v $(1) >/dev/null 2>&1
+preview: $(DOC)
+ ($(COMMAND) evince && evince $(NAME).pdf) || ($(COMMAND) open && open $(NAME).pdf)
+
+$(DOC): $(DTX)
+ @echo "Compiling documentation"
+ $(DO_LATEX_WRITE18)
+ $(DO_MAKEINDEX)
+ $(DO_MAKECHANGES)
+ while ($(DO_LATEX_WRITE18) ; \
+ grep -q "Rerun to get" $(NAME).log ) do true; \
+ done
+
+
+$(UNPACKED): $(DTX)
+ @$(DO_TEX)
+
+$(CTAN_ZIP): $(CTAN_FILES)
+ @echo "Making $@ for CTAN upload."
+ @$(RM) -- $@
+ @mkdir -p $(NAME)/
+ @cp $^ $(NAME)/
+ @zip -9 $@ $(NAME)/* >/dev/null
+ @rm -rf $(NAME)/
+
+define run-install
+@mkdir -p $(RUNDIR) && cp $(RUNFILES) $(RUNDIR)
+@mkdir -p $(DOCDIR) && cp $(DOCFILES) $(DOCDIR)
+@mkdir -p $(SRCDIR) && cp $(SRCFILES) $(SRCDIR)
+endef
+
+define run-cls-install
+@mkdir -p $(RUNDIR) && cp $(RUNFILES) $(RUNDIR)
+endef
+
+$(TDS_ZIP): TEXMFROOT=./tmp-texmf
+$(TDS_ZIP): $(ALL_FILES)
+ @echo "Making TDS-ready archive $@."
+ @$(RM) -- $@
+ $(run-install)
+ @cd $(TEXMFROOT) && zip -9 ../$@ -r . >/dev/null
+ @$(RM) -r -- $(TEXMFROOT)
+
+# Rename the README for CTAN
+README: README.md
+ cp $< $@
+
+# Rename the LICENSE for CTAN
+LICENSE: LICENSE.md
+ cp $< $@
+
+.PHONY: install manifest clean mrproper
+
+install: $(ALL_FILES)
+ @if test ! -n "$(TEXMFROOT)" ; then \
+ echo "Cannot locate your home texmf tree. Specify manually with\n\n make install TEXMFROOT=/path/to/texmf\n" ; \
+ false ; \
+ fi ;
+ @echo "Installing in '$(TEXMFROOT)'."
+ $(run-install)
+
+cls-install: $(RUNFILES)
+ @if test ! -n "$(TEXMFROOT)" ; then \
+ echo "Cannot locate your home texmf tree. Specify manually with\n\n make install TEXMFROOT=/path/to/texmf\n" ; \
+ false ; \
+ fi ;
+ @echo "Installing in '$(TEXMFROOT)'."
+ $(run-install)
+
+manifest:
+ @echo "Source files:"
+ @for f in $(SOURCE); do echo $$f; done
+ @echo ""
+ @echo "Derived files:"
+ @for f in $(GENERATED); do echo $$f; done
+
+clean:
+ @$(RM) -- *.log *.aux *.toc *.idx *.ind *.ilg *.glo *.gls *.example *.out *.synctex* *.tmp *.cls *.sty *.ins *.pdf *.dvi README LICENSE *.lot
+ @$(RM) -- $(GENERATED) $(ZIPS)
+ @$(RM) -- $(builddir)/*
+
+
+#############
+# TESTSUITE #
+#############
+
+#### Needed to compile and make stuff ####
+
+builddir=build
+lprefix=L
+xprefix=X
+both=F
+
+COPY = cp -a
+MOVE = mv -f
+COMPARE_OPTS = -density 300x300 -metric ae -fuzz 35%
+
+LTXSOURCE = $(NAME).cls
diff --git a/Master/texmf-dist/doc/latex/contracard/README b/Master/texmf-dist/doc/latex/contracard/README
new file mode 100644
index 00000000000..e1d6c28aac3
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/contracard/README
@@ -0,0 +1,3 @@
+# Contra Card
+
+A TeX package designed to generate calling cards for contra and square dances.
diff --git a/Master/texmf-dist/doc/latex/contracard/contracard.pdf b/Master/texmf-dist/doc/latex/contracard/contracard.pdf
new file mode 100644
index 00000000000..fe4f590ab4e
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/contracard/contracard.pdf
Binary files differ