summaryrefslogtreecommitdiffstats
path: root/contrib/chem/examples/122/README.txt
blob: 6f3809b6aa0700da9b69ba773cb739b960edc968 (plain) (blame)
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
This directory contains the examples for the 'chem' language written
in the book:

    Computing Science Technical Report No. 122
    CHEM - A Program for Typesetting Chemical Diagrams: User Manual
    by Jon L. Bentley, Lynn W. Jelinski, Brian W. Kernighan

The book is available in the internet at
<http://cm.bell-labs.com/cm/cs/cstr/122.ps.gz>.

Many of the examples had to be fixed.  Unfortunately, the 'chem' akw
version does not run on many of these programs.  But the Perl version
of 'chem' works on all examples.

Most examples do not use the modern chemical display.  They have C
atoms added, whereas the modern method omits all C atoms and their
directly appended H atoms.

The examples are named and sorted by the chapter where they are found
in the book.  For example, the file 'ch4c_colon.chem' means a 'chem'
example in chapter 4; according to 'c', it is the third example in
this chapter; the name 'colon' is used to describe the context of the
example.

You can view the graphical display of the examples by calling

    @g@chem <file> | groff -p ...


####### License

Copyright (C) 2006-2020 Free Software Foundation, Inc.
Written by Bernd Warken <groff-bernd.warken-72@web.de>.

This file is part of 'chem', which is part of 'groff'.

'groff' is free software; you can redistribute it and/or modify it
under the terms of the GNU General Public License (GPL) version 2 as
published by the Free Software Foundation.

'groff' 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, see <http://www.gnu.org/licenses/>.

The GPL2 license text is available in the internet at
<http://www.gnu.org/licenses/gpl-2.0.html>.


##### Editor settings

Local Variables:
mode: text
End: