Initial import of binutils 2.22 on the new vendor branch
[dragonfly.git] / contrib / groff / contrib / chem / README.txt
1 `chem' is a `roff' language to generate chemical structure diagrams.
2 `@g@chem' is a `groff' preprocessor that produces output suitable for
3 the `@g@pic' preprocessor.
4
5 The original version of `chem' is an `awk' script written by Brian
6 Kernighan <http://cm.bell-labs.com/cm/cs/who/bwk/index.html>.  The
7 source files of the `awk' version of `chem' are available at
8 <http://cm.bell-labs.com/netlib/typesetting/chem.gz>.
9
10 This project is a rewrite of `chem' in Perl for the GNU `roff' project
11 `groff'.  It was written under Perl v5.8.8, but at least Perl v5.6 is
12 needed to run the Perl version of `chem'.
13
14 In comparison to the original `awk' version of `chem', the Perl
15 version does the following changements:
16 - the options -h, --help, -v, --version to output usage and version
17 information are added.
18 - remove some functions `inline', `shiftfields', and `set' and some
19 variables that are used only once.
20
21 The subdirectory `examples/' contains example files for chem.  They
22 are written in the `chem' language.  The file names end with .chem.
23
24
25 ####### License
26
27 Last update: 5 Jan 2009
28
29 Copyright (C) 2006, 2009 Free Software Foundation, Inc.
30 Written by Bernd Warken.
31
32 This file is part of `chem', which is part of `groff'.
33
34 `groff' is free software; you can redistribute it and/or modify it
35 under the terms of the GNU General Public License as published by
36 the Free Software Foundation, either version 3 of the License, or
37 (at your option) any later version.
38
39 `groff' is distributed in the hope that it will be useful, but WITHOUT
40 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
41 FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
42 for more details.
43
44 You should have received a copy of the GNU General Public License
45 along with this program. If not, see <http://www.gnu.org/licenses/>.
46
47
48 ####### Emacs settings
49
50 Local Variables:
51 mode: text
52 End: