summaryrefslogtreecommitdiff
path: root/graphics/graphtex/README
blob: 28f7f029977bbc8fce8e356cb98819cefbf96647 (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
README - describes this release of GraphTeX: Release 1.0beta

    $Id: README,v 1.2 1994/02/10 00:58:23 pliam Exp $

    GraphTeX 1.0.1beta, a program for typesetting graphs
    Copyright (C) 1994 John Pliam

    This program 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.

    This program 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 program; if not, write to the Free Software
    Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.

-------------
Introduction:
-------------

GraphTeX is actually a Perl library (graphtex.pl) along with a preprocessor 
(gt) which can be used to generate TeXdraw commands producing graphs and 
related diagrams inside a TeX document.  A graph can be ``typeset'' by 
writing a .gt source file which resembles a matrix environment.

--------------
Documentation:
--------------

Both the entire source for making the manual, as well as copy of the
postscript manual, manual1.0beta.ps, come with the distribution.  To read 
more about GraphTeX, simply print the postscript manual.  (The "make doc" 
target of the Makefile is intended to show the user the full 
dependencies inherent in GraphTeX.

-------------
Installation:
-------------

In order for GraphTeX to work, you need to have the following packages 
installed: TeX, Perl, TeXdraw, and dvips (any .dvi to .ps program which 
respects \special for postscript insertion).

   If you can write to the system-wide "bin" and "lib" directories and 
wish to install Graph-TeX right away, attend to definitions PERLLIB,
PERLEXEC and BINDER in Makefile, and type

                                make install

   If you only wish to test Graph-TeX, attend to the PERLEXEC definition
in Makefile and type
                              make test-install

This assumes that your system supports the "magic number" mechanism
for script programs, i.e. first lines of the form #!{path} (if not, 
you'll have to hack your own).  A good way to test things is to rebuild
the manual by typing

                                   make

   Note that because Graph-TeX relies on TeXdraw, the documents you create
must include the TeXdraw macros, for example.

	\input texdraw				for TeX
	\documentstyle[texdraw]{book}		for LaTeX

-----------
Known Bugs:
-----------

1. Space delimits commands within a cell, so math mode expressions aren't
   aloud to have any space inside them.  (Try {} or something.)