summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2006-10-06 22:51:36 +0000
committerKarl Berry <karl@freefriends.org>2006-10-06 22:51:36 +0000
commit7b91f7f5bc81d1bd34ae7e5582db73c2779264d9 (patch)
tree5728170b9179318a600888cf977cd12f7027c2b9 /Master/texmf-dist/doc/latex
parent019216062244738ac18b098999beb2312e8ef866 (diff)
fax doc update (6oct06)
git-svn-id: svn://tug.org/texlive/trunk@2251 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/latex')
-rw-r--r--Master/texmf-dist/doc/latex/fax/fax.unx134
-rw-r--r--Master/texmf-dist/doc/latex/fax/faxdoc.dvibin8688 -> 0 bytes
-rw-r--r--Master/texmf-dist/doc/latex/fax/faxdoc.pdfbin0 -> 45224 bytes
-rw-r--r--Master/texmf-dist/doc/latex/fax/from.fax8
-rw-r--r--Master/texmf-dist/doc/latex/fax/nb.fax5
-rw-r--r--Master/texmf-dist/doc/latex/fax/note.fax5
-rw-r--r--Master/texmf-dist/doc/latex/fax/read.me28
-rw-r--r--Master/texmf-dist/doc/latex/fax/sigdoc.dvibin2972 -> 0 bytes
-rw-r--r--Master/texmf-dist/doc/latex/fax/sigdoc.pdfbin0 -> 27415 bytes
-rw-r--r--Master/texmf-dist/doc/latex/fax/test.dvibin2460 -> 0 bytes
-rw-r--r--Master/texmf-dist/doc/latex/fax/van.fax7
11 files changed, 187 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/latex/fax/fax.unx b/Master/texmf-dist/doc/latex/fax/fax.unx
new file mode 100644
index 00000000000..56339ba6914
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/fax/fax.unx
@@ -0,0 +1,134 @@
+% (c) Copyright on FAX.CLS written by J.B.Rhebergen and J.H.M. de Jonge.
+%
+% You are allowed to make modification to this FAX.CLS and redistribute it
+% under the following conditions:
+% 1) You leave this top message intact.
+% 2) You send me an updated version with your changes and an
+% explanation/motivation.
+% 3) You ask no money for it.
+%
+% This document class comes with no waranty whatsoever! Comments and
+% suggestion are most welcome.
+%
+% Mail me at: J.B.Rhebergen@ET.TUDelft.NL
+% or: rheberg@morra.et.tudelft.nl
+%
+% Happy Texing!
+%
+% Jan Rhebergen
+%
+\NeedsTeXFormat{LaTeX2e}
+\ProvidesClass{fax}[1995/07/18 v1.0 by: J.B. Rhebergen & J.H.M. de Jonge]
+\IfFileExists{lastpage.sty}{\RequirePackage{lastpage}}{%
+ \typeout{Warning: I did not find lastpage.sty,
+ use \string\setcounter{\string\faxpages}{..} instead!}}
+
+\newif\if@note\@notefalse
+\newif\if@topsep\@topseptrue
+
+\newcommand{\slsf}{\sffamily\slshape}
+\newcommand{\bsf}{\sffamily\bfseries}
+
+\newcommand{\@lstpgno}{%
+ \@ifundefined{r@LastPage}{0}{%
+ \expandafter\expandafter\expandafter
+ \@cdr\csname r@LastPage\endcsname
+ \@nil}%
+}
+
+\newcommand{\@to}{\typeout{Warning: The \string{\to} command is not defined!}}
+\newcommand{\@from}{\IfFileExists{from.fax}{\input{from.fax}}{%
+ \typeout{Warning: I did not find from.fax, use \string\from{..} in your document!}}}
+\newcommand{\@note}{\IfFileExists{note.fax}{\input{note.fax}}{%
+ \typeout{Warning: I did not find note.fax, use \string\note{..} in your document!}}}
+\newcommand{\@fxtxt}{{\Large\sc Tele-Fax Message}}
+\newcommand{\@dtxt}{Date:}
+\newcommand{\@ntxt}{Note:}
+\newcommand{\@ptxt}{page}
+\newcommand{\@pptxt}{pages}
+
+\newcommand{\@nothing}{}
+\newcommand{\mymsg}[1]{\renewcommand{\@fxtxt}{#1}}
+\renewcommand{\to}[1]{\renewcommand{\@to}{#1}}
+\newcommand{\from}[1]{\renewcommand{\@from}{#1}}
+\newcommand{\note}[1]{\renewcommand{\@note}{#1}}
+
+\DeclareOption{dutch}{
+ \renewcommand{\@from}{\IfFileExists{van.fax}{\input{van.fax}}{%
+ \typeout{Warning: I did not find van.fax, use \string\from{..} in your document!}}}
+ \renewcommand{\@note}{\IfFileExists{nb.fax}{\input{nb.fax}}{%
+ \typeout{Warning: I did not find nb.fax, use \string\note{..} in your document!}}}
+ \renewcommand{\@fxtxt}{{\Large\sc Fax Boodschap}}
+ \renewcommand{\@dtxt}{Datum:}
+ \renewcommand{\@ntxt}{NB:}
+ \renewcommand{\@ptxt}{pagina}
+ \renewcommand{\@pptxt}{paginas}}
+
+\DeclareOption{note}{\@notetrue}
+\DeclareOption{nosep}{\@topsepfalse}
+
+\DeclareOption*{\IfFileExists{artikel3.cls}
+ {\PassOptionsToClass{\CurrentOption}{artikel3}}
+ {\PassOptionsToClass{\CurrentOption}{article}}}
+
+\ProcessOptions
+
+\IfFileExists{artikel3.cls}{\LoadClass{artikel3}}{%
+\typeout{Warning: I did not find artikel3.cls, I loaded article.cls instead!}
+\LoadClass{article}}
+
+\newlength{\faxtopsep}
+\setlength{\faxtopsep}{3ex}
+\newcounter{faxpages}
+
+\AtBeginDocument{
+\sf
+\newlength{\@framewd}
+\setlength{\@framewd}{\textwidth}
+\newlength{\@sep}
+\setlength{\@sep}{0.5em}
+\addtolength{\@framewd}{-0.5\@sep}
+\newbox\@thin
+\newbox\@frombx
+\newbox\@tobx
+\setbox\@frombx=\hbox{\@from}
+\setbox\@tobx=\hbox{\@to}
+\newdimen\@thinht
+\newdimen\@thindp
+\@thinht=\ht\@frombx
+\@thindp=\dp\@frombx
+\newdimen\@tmpdim
+\@tmpdim=\ht\@tobx
+\ifdim\@tmpdim>\@thinht
+ \@thinht=\@tmpdim
+\fi
+\@tmpdim=\dp\@tobx
+\ifdim\@tmpdim>\@thindp
+ \@thindp=\@tmpdim
+\fi
+\setbox\@thin=\hbox{\vrule width 0mm height \@thinht depth \@thindp}
+\begin{center}
+\ifx\@fxtxt\@nothing\relax\else\@fxtxt\strut\\\fi
+\framebox[0.5\@framewd][t]{\copy\@thin\copy\@tobx}\hfill%
+\framebox[0.5\@framewd][t]{\copy\@thin\copy\@frombx}\\
+\nointerlineskip
+\vspace{0.5\@sep}
+\framebox[0.5\@framewd]{{\bsf \@dtxt} \today\strut}\hfill
+\ifcase\@lstpgno
+ \framebox[0.5\@framewd]{{\bsf Fax:} \thefaxpages\ page(s)\strut}\\
+ \or
+ \framebox[0.5\@framewd]{{\bsf Fax:} \pageref{LastPage} \@ptxt\strut}\\
+ \else
+ \framebox[0.5\@framewd]{{\bsf Fax:} \pageref{LastPage} \@pptxt\strut}\\
+ \fi
+\if@note
+ \nointerlineskip
+ \vspace{0.5\@sep}
+ \addtolength{\@framewd}{-1em}
+ \framebox[\textwidth][c]{\hfill
+ \begin{minipage}{\@framewd}\fbox{\small\bsf \@ntxt} \@note\strut\hfill
+ \end{minipage}\hfill}
+ \fi
+\end{center}
+\if@topsep\vspace{\faxtopsep}\fi
+}
diff --git a/Master/texmf-dist/doc/latex/fax/faxdoc.dvi b/Master/texmf-dist/doc/latex/fax/faxdoc.dvi
deleted file mode 100644
index 60653bb5cbe..00000000000
--- a/Master/texmf-dist/doc/latex/fax/faxdoc.dvi
+++ /dev/null
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/fax/faxdoc.pdf b/Master/texmf-dist/doc/latex/fax/faxdoc.pdf
new file mode 100644
index 00000000000..ab7217c3bed
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/fax/faxdoc.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/fax/from.fax b/Master/texmf-dist/doc/latex/fax/from.fax
new file mode 100644
index 00000000000..b6e9ceef1e6
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/fax/from.fax
@@ -0,0 +1,8 @@
+\begin{tabular}[t]{rl}
+from: & MyMame\\
+address: & MyStreet\\
+ & MyTown\\
+ & MyCountry\\
+phone: & MyPhoneNum\\
+fax: & MyFaxNum\\
+\end{tabular}
diff --git a/Master/texmf-dist/doc/latex/fax/nb.fax b/Master/texmf-dist/doc/latex/fax/nb.fax
new file mode 100644
index 00000000000..a7ff9b1fc6c
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/fax/nb.fax
@@ -0,0 +1,5 @@
+Deze fax-boodschap is verstuurd met behulp van een fax-modem. Bij
+beantwoorden van deze fax eerst bellen zodat het fax-modem en de PC
+ingeschakeld kunnen worden voor ontvangst. Het is ook mogelijk mij op de
+volgende e-mail adressen te bereiken. {\tt jbrhebergen@et.tudedv.tudelft.nl}
+{\bsf of} {\tt rheberg@morra.et.tudelft.nl}
diff --git a/Master/texmf-dist/doc/latex/fax/note.fax b/Master/texmf-dist/doc/latex/fax/note.fax
new file mode 100644
index 00000000000..3adbe25fcd6
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/fax/note.fax
@@ -0,0 +1,5 @@
+This message was sent using a fax-modem. When replying to this fax, phone
+first, so the fax-modem and PC can be switched on, and prepared for
+fax-reception. It is also possible to reach me at the following e-mail
+addresses. {\tt jbrhebergen@et.tudedv.tudelft.nl} or {\tt
+rheberg@morra.et.tudelft.nl}
diff --git a/Master/texmf-dist/doc/latex/fax/read.me b/Master/texmf-dist/doc/latex/fax/read.me
new file mode 100644
index 00000000000..0433b47440b
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/fax/read.me
@@ -0,0 +1,28 @@
+Here's a list of the files in fax.zip I added lastpage.sty and wasysym.sty
+for convenience. NB: wasysym.sty of course still needs the propper fonts
+which you will find at most tex-archives I'm sure.
+
+fax cls 4,411 07-19-95 11:28a
+faxdoc dvi 8,544 07-19-95 11:37a
+faxdoc tex 7,228 07-19-95 11:36a
+from fax 176 07-19-95 11:23a
+lastpage sty 2,208 07-01-95 1:36p
+nb fax 333 07-19-95 11:26a
+note fax 305 07-05-95 12:02p
+read me 844 07-19-95 11:42a
+sig sty 1,074 07-19-95 11:28a
+sigdoc dvi 2,972 07-18-95 12:59a
+sigdoc tex 2,429 07-18-95 12:53a
+test dvi 2,412 07-18-95 10:07p
+test tex 786 07-18-95 1:14a
+van fax 160 07-19-95 11:23a
+wasysym sty 8,537 07-01-95 12:11p
+ 18 file(s) 59,330 bytes
+
+
+NB: Today 11-10-1995 I added a fax.unx file which is intended for unix
+users. All the other files are dos file. The difference between fax.cls
+and fax.unx is that all the \newcommand* and \renewcommand* have been
+changed to \newcommand and \renewcommand (without the asterisk) Ofcourse
+I also removed the ^M characters with dos2ux. (unix users might need to
+give other files the same treatment)
diff --git a/Master/texmf-dist/doc/latex/fax/sigdoc.dvi b/Master/texmf-dist/doc/latex/fax/sigdoc.dvi
deleted file mode 100644
index 3588ca420ca..00000000000
--- a/Master/texmf-dist/doc/latex/fax/sigdoc.dvi
+++ /dev/null
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/fax/sigdoc.pdf b/Master/texmf-dist/doc/latex/fax/sigdoc.pdf
new file mode 100644
index 00000000000..15bacd7e868
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/fax/sigdoc.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/fax/test.dvi b/Master/texmf-dist/doc/latex/fax/test.dvi
deleted file mode 100644
index 7b5ed334258..00000000000
--- a/Master/texmf-dist/doc/latex/fax/test.dvi
+++ /dev/null
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/fax/van.fax b/Master/texmf-dist/doc/latex/fax/van.fax
new file mode 100644
index 00000000000..4d80ac1bf54
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/fax/van.fax
@@ -0,0 +1,7 @@
+\begin{tabular}[t]{rl}
+van: & MijnNaam\\
+adres: & MijnStraat\\
+ & MijnStad\\
+tel: & MijnTelNum\\
+fax: & MijnFaxNum\\
+\end{tabular}