diff options
Diffstat (limited to 'Master/texmf-dist/doc/latex/epsdice')
-rw-r--r-- | Master/texmf-dist/doc/latex/epsdice/README | 69 | ||||
-rw-r--r-- | Master/texmf-dist/doc/latex/epsdice/dice.eps | 15 | ||||
-rw-r--r-- | Master/texmf-dist/doc/latex/epsdice/dice.pdf | bin | 0 -> 4632 bytes | |||
-rw-r--r-- | Master/texmf-dist/doc/latex/epsdice/epsdice.dvi | bin | 5884 -> 0 bytes | |||
-rw-r--r-- | Master/texmf-dist/doc/latex/epsdice/epsdice.pdf | bin | 0 -> 72036 bytes | |||
-rw-r--r-- | Master/texmf-dist/doc/latex/epsdice/epsdice.tex | 102 | ||||
-rw-r--r-- | Master/texmf-dist/doc/latex/epsdice/readme | 23 |
7 files changed, 84 insertions, 125 deletions
diff --git a/Master/texmf-dist/doc/latex/epsdice/README b/Master/texmf-dist/doc/latex/epsdice/README new file mode 100644 index 00000000000..781ae098d18 --- /dev/null +++ b/Master/texmf-dist/doc/latex/epsdice/README @@ -0,0 +1,69 @@ +Package: EPSDICE +Version: 2.1 +Date: 2007/02/15 +Author: Thomas Heim (thomas.heim@unibas.ch) +Purpose: A scalable dice font +License: LPPL + +Distributed files: + + epsdice.ins -- docstrip installer file + epsdice.dtx -- source and sample doc + dice.pdf -- dice drawings in pdf format + README -- this file + epsdice.pdf -- documentation (from LaTeX -> dvips -> pstopdf) + +Generated files: + + epsdice.sty -- the package + epsdice.cfg -- a config file + dice.eps -- dice drawings in eps format + +Test installation: + +With all distributed files in your present +working directory, run epsdice.ins through LaTeX. +To test the package, you can reproduce the documentation +(epsdice.pdf) by running epsdice.dtx (twice) through pdfLaTeX +or through LaTeX -> dvips -> pstopdf. + +If you decide to keep the package, move the files + epsdice.sty epsdice.cfg dice.eps dice.pdf +to /tex/latex/epsdice in your local texmf tree +according to the instructions in epsdice.dtx/ins. + +Changes from version 2.0: + +- clean up the documentation +- minor bug fix in generated file dice.eps: removed spurious + comment line at beginning + +Changes from version 1.2: + + (suggested by Christoph Zurnieden; Thanks!) + +- CHANGE TO USER INTERFACE: + \epsdice now recognises an OPTIONAL ARGUMENT [black] for + reversed colors (white dots on black background) +- additional drawings (originally by Christoph Zurnieden) + in PostScript format + +Changes from version 1.1: + +- Introduced `@' in counter name (program encapsulation) +- More detailed documentation of the PostScript code + is now included in the sample document +- renamed files with drawings to `dice.eps' and `dice.pdf' +- Now distributed as .ins and .dtx files (plus binary .pdf) +- *** NO CHANGES TO USER INTERFACE *** + +Changes from version 1.0: + + (suggested by Rolf Niepraschk; Thanks!) + +- Removed package option [dvips] for graphicx. +- Changed bounding box specifications to viewport specification + to facilitate clipping in pdflatex. +- Added epsdice.pdf (generated from epsdice.eps). +- Replaced documentation by dicetest.tex. + diff --git a/Master/texmf-dist/doc/latex/epsdice/dice.eps b/Master/texmf-dist/doc/latex/epsdice/dice.eps new file mode 100644 index 00000000000..c9ba87628cf --- /dev/null +++ b/Master/texmf-dist/doc/latex/epsdice/dice.eps @@ -0,0 +1,15 @@ +%!PS-Adobe-2.0 EPSF-1.2 +%%BoundingBox: 0 0 258 86 +/frame { /n exch def /xoffset n 1 sub 43 mul def gsave newpath +xoffset yoffset translate 32 5 bw sub moveto 32 10 r -90 0 arc +37 bw add 32 lineto 32 32 r 0 90 arc 10 37 bw add lineto +10 32 r 90 180 arc 5 bw sub 10 lineto 10 10 r 180 270 arc closepath +bw 0 eq { stroke } { fill } ifelse grestore } def +/dot { /y exch def /x exch def /n exch def /xoffset n 1 sub 43 +mul def gsave newpath xoffset yoffset translate x 8 mul 5 add y 8 mul +5 add 3.5 0 360 arc closepath bw setgray fill grestore } def +2 setlinewidth 0 1 1 { /bw exch def /yoffset bw 43 mul def /r 5 bw +add def 0 setgray 1 1 6 { frame } for 2 1 6 { dup 1 2 3 { dup dot } +for } for 1 2 5 { 2 2 dot } for 4 1 6 { dup 1 3 dot 3 1 dot } for +1 2 3 { 6 exch 2 dot } for } for +%%EOF diff --git a/Master/texmf-dist/doc/latex/epsdice/dice.pdf b/Master/texmf-dist/doc/latex/epsdice/dice.pdf Binary files differnew file mode 100644 index 00000000000..8f758ae9ac3 --- /dev/null +++ b/Master/texmf-dist/doc/latex/epsdice/dice.pdf diff --git a/Master/texmf-dist/doc/latex/epsdice/epsdice.dvi b/Master/texmf-dist/doc/latex/epsdice/epsdice.dvi Binary files differdeleted file mode 100644 index 3022ad31d84..00000000000 --- a/Master/texmf-dist/doc/latex/epsdice/epsdice.dvi +++ /dev/null diff --git a/Master/texmf-dist/doc/latex/epsdice/epsdice.pdf b/Master/texmf-dist/doc/latex/epsdice/epsdice.pdf Binary files differnew file mode 100644 index 00000000000..bb0f5bb6e8d --- /dev/null +++ b/Master/texmf-dist/doc/latex/epsdice/epsdice.pdf diff --git a/Master/texmf-dist/doc/latex/epsdice/epsdice.tex b/Master/texmf-dist/doc/latex/epsdice/epsdice.tex deleted file mode 100644 index a379bc86939..00000000000 --- a/Master/texmf-dist/doc/latex/epsdice/epsdice.tex +++ /dev/null @@ -1,102 +0,0 @@ -% -% EPSDICE.TEX -% -% some notes on the package EPSDICE by Thomas Heim -% -% LICENSE: LPPL -% -% 2001/02/11 -- thomas.heim@unibas.ch -% -\documentclass[11pt]{article} -\usepackage{epsdice} -%\pagestyle{empty} -% -\title{Package `epsdice' --- a scalable dice font} -\author{2001/02/11 -- Version 1.0 \\[.5ex] Thomas Heim \\[.5ex] - (thomas.heim@unibas.ch)} -\date{} -\begin{document} -\maketitle -\section{Introduction} -Dice fonts are already available in \textsc{metafont} format. -\begin{quote} -\verb+\begin{ShamelessPlug}+ \\[.5ex] -I should know, I wrote one myself: \verb+dice3d.mf+ \\[.5ex] -\verb+\end{ShamelessPlug}+ -\end{quote} -For some applications it seems preferable, however, to have the fonts -in scalable form. The package \verb+epsdice+ fills this gap. - -\texttt{epsdice.sty} provides a single command, -\verb+\epsdice{#1}+. It takes one argument, an integer from 1 to 6. -The value of a counter is allowed as an argument, too, so automatic -representation of (generated or input) data is possible as well. -Depending on the value of the argument, \verb+\epsdice+ includes the -appropriately clipped region from the encapsulated PostScript file -\verb+epsdice.eps+ that contains simple drawings of dice faces. -The drawings scale with the current font because the height of -the included graphics file is set in terms of `ex' units. -% -\section{Requirements and limitations} -\verb+epsdice+ relies on the \verb+graphicx+ package with package -option \verb+[dvips]+ to include the encapsulated PostScript file. -It also uses the \verb+ithen+ package to validate the arguments -(error checking). - -Although the PostScript file is rather small, -including it too many times may not be desirable. -% -\section{Configuring this package} -To install the package, -simply move the following files somewhere in your ``local texmf tree'': -\verb+epsdice.{sty, eps, cfg}+, as well as \verb+diceface.eps+. -I suggest a new subdirectory -\verb+/$LOCALTEXMF/tex/latex/epsdice/*+, where \verb+$LOCALTEXMF+ stands -for your ``local texmf tree'' (what a surprise). Refresh your -\TeX-system's file name database, and that's it, you're all set! -The remainder of this section applies only if you want to change -the default settings. - -The command \verb+\epsdice+ works by including an encapsulated postscript -file, so this file must be found by \LaTeXe. -The package comes with a configuration file \verb+epsdice.cfg+ containing -the file name in the variable \verb+\dicefile+. By default, this variable -points to the file \verb+epsdice.eps+ (without file name extension). -If you don't like my drawings and would like to ``roll your own'' -(PostScript code, not dice), a look at the file \verb+diceface.eps+ -may help. It contains the same PostScript code as \verb+epsdice.eps+, -with some comments about what's going on. -If you intend to keep the \verb+.eps+ file with the dice drawings in a -different place or if you want to use your own version -you have to edit the configuration file \verb+epsdice.cfg+ accordingly, -by adding the path to the file name, or by changing the file name in the -variable \verb+\dicefile+. - -If a configuration file does not exist, the file \verb+epsdice.eps+ -is assumed to be located in the present working directory. -% -\section{Examples} -This text shows dice faces in an 11pt environment: -\epsdice{1} \epsdice{2} \epsdice{3} \epsdice{4} \epsdice{5} \epsdice{6}. -The pictures fit into the surrounding text. - -{\Large -Here is some large text. The dice pictures scale accordingly:% -\footnote{\ldots as they do in footnotes, \epsdice{\value{footnote}}, -like this.} \epsdice{3}. See?} The package works with standard counters, -too: Here's the result of \verb+\epsdice{\value{page}}+ -\epsdice{\value{page}}. -% -\section{Errors} -Of course it doesn't make sense to ask for dice faces with arguments -other than 1, 2, 3, 4, 5, or 6. The package generates error -messages and simply prints the offending argument in the \TeX\ output. -Uncomment the final lines in this documentation to see this feature -in action. -% This generates `benign' errors: \epsdice{99} and \epsdice{-3}. -% The following is more serious, generating two different errors: -% \epsdice{epsfoo}. Nevertheless, output continues with a fall-back -% solution. -% -\end{document} - diff --git a/Master/texmf-dist/doc/latex/epsdice/readme b/Master/texmf-dist/doc/latex/epsdice/readme deleted file mode 100644 index 56294286bcc..00000000000 --- a/Master/texmf-dist/doc/latex/epsdice/readme +++ /dev/null @@ -1,23 +0,0 @@ -Package: EPSDICE -Version: 1.1 -Date: 2001/02/15 -Author: Thomas Heim (thomas.heim@unibas.ch) -Purpose: A scalable dice font - -Test installation: - -With all files (epsdice.* and diceface.eps) in your present -working directory, run dicetest.tex through LaTeX. -If you decide to keep the package, move the files according -to the instructions in dicetest.tex. Enjoy! - -Changes from version 1.0: - - (suggested by Rolf Niepraschk; Thanks!) - -- Removed package option [dvips] for graphicx. -- Changed bounding box specifications to viewport specification - to facilitate clipping in pdflatex. -- Added epsdice.pdf (generated from epsdice.eps). -- Replaced documentation by dicetest.tex. - |