summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/generic/xypic/xydvidrv.doc
blob: de533801865613e325ec0c205426c88603576f6c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
%% $Id: xydvidrv.doc,v 3.3 1996/12/18 09:12:40 ross Exp $
%%
%% Xy-pic ``dvidrv-driver'' option.
%% Copyright (c) 1995-1996	Ross Moore	<ross@mpce.mq.edu.au>
%%
%% This file is part of the Xy-pic package for graphs and diagrams in TeX.
%% See the companion README and INSTALL files for further information.
%% Copyright (c) 1991-1996	Kristoffer H. Rose	<krisrose@brics.dk>
%%
%% The Xy-pic package is free software; you can redistribute it and/or modify
%% it under the terms of the GNU General Public License as published by the
%% Free Software Foundation; either version 2 of the License, or (at your
%% option) any later version.
%%
%% The Xy-pic package is distributed in the hope that it will be useful, but
%% WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
%% or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
%% for more details.
%%
%% You should have received a copy of the GNU General Public License along
%% with this package; if not, write to the Free Software Foundation, Inc.,
%% 675 Mass Ave, Cambridge, MA 02139, USA.
%%
\ifx\xyloaded\undefined \input xy \fi

\xyprovide{dvidrv}{dvidrv driver}{\stripRCS$Revision: 3.3 $}%
 {Ross Moore}{ross@mpce.mq.edu.au}%
 {Mathematics Department, Macquarie University, NSW~2109, Australia}

\DOCMODE3%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

This driver provides support for the ``emtex'' |\special| commands, when
using one of the standard dvi-drivers: |dvidot|, |dvihplj|, |dvimsp|,
|dviscr| or |dvivik|, that come with Eberhard Mattes' em-\TeX\ distribution.

\DOCMODE2%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\paragraph*{Header:}\leavevmode
\DOCHEADER

\paragraph*{Driver installation}
\DOCMODE(
\xydef@\dvidrv@@#1{\dvimessage@{dvidrv}{#1}}

\newdriver{%
 \xyaddsupport{emtex}\dvidrvEmTeX@@
 \xyaddsupport{line}\dvidrvLine@@
}
\DOCMODE)

\DOCMODE3%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

Supported |\special| effects are...
%
\begin{itemize}

\item em-\TeX\ line-drawing |\special|s.
\DOCMODE(
\xydef@\dvidrvEmTeX@@{\dvidrvEmTeX@}%
\xydef@\dvidrvEmTeX@{\setupxyEMTeX@}%
\DOCMODE)

\DOCMODE3%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

\item variable line-widths % and poly-lines.
\DOCMODE(
\xydef@\dvidrvLine@@{\dvidrvLine@}%
\xydef@\dvidrvLine@{\xywithoption{emtex}{\installEMline@}}%
\DOCMODE)

\DOCMODE3%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

\end{itemize}

\DOCMODE2%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

\paragraph*{The end \& Log}\leavevmode

\DOCMODE(
\xyendinput

% $Log: xydvidrv.doc,v $
% Revision 3.3  1996/12/18  09:12:40  ross
% no changes
%
% Revision 3.1  1995/09/05 20:28:57  ross
% Releasing version 3.1!
%
%
% NEW for version 3.1 
\DOCMODE)

\DOCMODE3%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

% Tell Emacs that this is a LaTeX document and how it is formatted:
% Local Variables:
% mode:latex
% fill-column:77
% End: