summaryrefslogtreecommitdiff
path: root/contrib/chem
diff options
context:
space:
mode:
authorBernd Warken <groff-bernd.warken-72@web.de>2014-07-06 11:08:39 +0200
committerBernd Warken <groff-bernd.warken-72@web.de>2014-07-06 11:08:39 +0200
commit705fa2757d907258966b2ade2f6f8fd41d93f8d8 (patch)
tree84d8d55d086d2c69e79be08a9dd7b2dfdbc1915f /contrib/chem
parent2a98f64ac009d1155651463a923d94a9a376a71f (diff)
downloadgroff-git-705fa2757d907258966b2ade2f6f8fd41d93f8d8.tar.gz
chem: new version 1.0.3; make man-page compatible to doclifter
Diffstat (limited to 'contrib/chem')
-rw-r--r--contrib/chem/ChangeLog6
-rw-r--r--contrib/chem/chem.man167
-rwxr-xr-xcontrib/chem/chem.pl4
3 files changed, 100 insertions, 77 deletions
diff --git a/contrib/chem/ChangeLog b/contrib/chem/ChangeLog
index 4d36c1427..e72abad9f 100644
--- a/contrib/chem/ChangeLog
+++ b/contrib/chem/ChangeLog
@@ -1,3 +1,9 @@
+2014-07-05 Bernd Warken <bernd.warken@web.de>
+ ________________________________________________________________
+ * chem.pl: New chem version 1.0.3
+
+ * chem.man: Make file doclifter compatible.
+
2014-07-04 Bernd Warken <bernd.warken@web.de>
________________________________________________________________
* release of chem 1.0.2
diff --git a/contrib/chem/chem.man b/contrib/chem/chem.man
index 0cffdacc4..8a2f3b212 100644
--- a/contrib/chem/chem.man
+++ b/contrib/chem/chem.man
@@ -10,55 +10,27 @@
Source file position: <groff_source_top>/contrib/chem/chem.man
Installed position: $prefix/share/man/man1/@g@chem.1
-Last update: 4 Jul 2014
-..
-.
-.
-.de authors
+Last update: 5 Jul 2014
+
This file was written by Bernd Warken <groff-bernd.warken-72@web.de>.
-It is based on the documentation of
-.UR http://\:cm.bell-labs.com/\:cm/\:cs/\:who/\:bwk/\:index.html
-Brian Kernighan
-.UE 's
-original
-.I awk
-version of
-.IR chem .
-..
-.
-.
-.de copying
-Copyright (C) 2006\[en]2009, 2014 Free Software Foundation, Inc.
-.
-.
-.P
-This file is part of
-.IR chem ,
-which is part of
-.IR groff ,
-a free software project.
-.
-You can redistribute it and/or modify it under the terms of the
-.nh
-.B "GNU General Public License"
-.RB ( GPL )
-.B version 2
-.hy
-as published by the
-.nh
-.BR "Free Software Foundation" .
-.hy
-.
-.
-.P
-The license text for
-.B GPL2
-is available in the internet at
-.UR http://www.gnu.org/licenses/gpl-2.0.html
-.UE .
+
+It is based on the documentation of Brian Kernighan's original awk
+version of chem at <http://cm.bell-labs.com/cm/cs/who/bwk/index.html>.
+
+Copyright (C) 2006\[en]2009, 2014
+ Free Software Foundation, Inc.
+
+This file is part of chem, which is part of groff, a free software
+project.
+
+You can redistribute it and/or modify it under the terms of the "GNU
+General Public License version 2" (GPL2) as published by the "Free
+Software Foundation".
+
+The license text for GPL2 is available in the internet at
+<http://www.gnu.org/licenses/gpl-2.0.html>.
..
.
-.
.\" --------------------------------------------------------------------
.\" Setup
.\" --------------------------------------------------------------------
@@ -67,9 +39,15 @@ is available in the internet at
.\" Characters
.\" --------------------------------------------------------------------
.
-.ie t .char \[Ellipsis] \f[S]\N'188'\f[P]
-.el .char \[Ellipsis] \f[I]...\f[P]
-.\" called by \[Ellipsis]
+.\" Ellipsis ...
+.ie t .ds EL \fS\N'188'\fP
+.el .ds EL \&.\|.\|.\&\
+.\" called with \*(EL
+.
+.\" Bullet
+.ie t .ds BU \[bu]
+.el .ds BU *
+.\" used in `.IP \*(BU 2m' (former .Topic)
.
.
.\" --------------------------------------------------------------------
@@ -109,9 +87,9 @@ is available in the internet at
.\" --------------------------------------------------------------------
.
.SY @g@chem
-.OP \fI\%option \[Ellipsis]\fP
+.OP \fI\%option \*(EL\fP
.OP \-\-
-.OP \fI\%filespec \[Ellipsis]\fP
+.OP \fI\%filespec \*(EL\fP
.YS
.
.SY @g@chem
@@ -131,7 +109,6 @@ is available in the internet at
.SH OPTION USAGE
.\" --------------------------------------------------------------------
.
-.P
There are no other options than
.BR \-h ,
.BR \-\-help ,
@@ -283,7 +260,7 @@ followed by
.BR groffer :
.
.IP
-.B @g@chem [file \[Ellipsis]] | groffer
+.B @g@chem [file \*(EL] | groffer
.
.P
If you want to create just
@@ -297,7 +274,7 @@ with the option
for the activation of
.BR @g@pic :
.IP
-.B @g@chem [file \[Ellipsis]] | groff \-p \[Ellipsis]
+.B @g@chem [file \*(EL] | groff \-p \*(EL
.
.
.\" --------------------------------------------------------------------
@@ -311,7 +288,7 @@ and a way to glue them together as desired, bonds of several styles,
moieties (e.g.,
.BR C ,
.BR NH3 ,
-\[Ellipsis], and strings.
+\*(EL, and strings.
.
.
.\" --------------------------------------------------------------------
@@ -471,14 +448,14 @@ puts a circle into any kind of ring.
.RB [ \%double\ \c
.IR i , j\ \c
.IR k , l\ \c
-\[Ellipsis]
+\*(EL
.RI [ picstuff ]
.YS
.RE
.
.
.P
-The vertices of a ring are numbered 1, 2, \[Ellipsis] from the
+The vertices of a ring are numbered 1, 2, \*(EL from the
vertex that points in the natural compass direction.
.
So for a hexagonal ring with the point at the top, the top vertex
@@ -499,7 +476,7 @@ R2: ring pointing right
.P
The ring vertices are named
.BR .V1 ,
-\[Ellipsis],
+\*(EL,
.BI .V n\fR,\fP
with
.B .V1
@@ -539,7 +516,7 @@ creates two benzene rings connected along a side.
.
.P
Interior double bonds are specified as
-.BI \%double\ n1 , n2\ n3 , n4\ \fR\[Ellipsis];\fP
+.BI \%double\ n1 , n2\ n3 , n4\ \fR\*(EL;\fP
each number pair adds an interior bond.
.
So the alternate form of a benzene ring is
@@ -676,7 +653,7 @@ command.
.
It represents a string that should be printed (without the quotes).
.
-Text within quotes \(dq\[Ellipsis]\(dq is treated more or less
+Text within quotes \(dq\*(EL\(dq is treated more or less
like a moiety except that no changes are made to the quoted part.
.
.
@@ -696,7 +673,7 @@ A name is just
.
.IP
.IB Name :
-\[Ellipsis]
+\*(EL
.
.
.P
@@ -725,7 +702,7 @@ only letters and numbers is valid:
The specific construction
.RS
.TP
-.BR bond\ \[Ellipsis] " ; moiety"
+.BR bond\ \*(EL " ; moiety"
.RE
.P
is equivalent to
@@ -877,7 +854,7 @@ properties of built-in objects.
.
.
.P
-There is no in-line chemistry yet (e.g., analogous to the $\[Ellipsis]$
+There is no in-line chemistry yet (e.g., analogous to the $\*(EL$
construct of eqn).
.
.
@@ -980,6 +957,58 @@ for information on availability.
.
.
.\" --------------------------------------------------------------------
+.SH "AUTHORS"
+.\" --------------------------------------------------------------------
+.
+This file was written by
+.MT groff-bernd.warken-72@web.de
+Bernd Warken
+.ME .
+.
+It is based on the documentation of
+.UR http://\:cm.bell-labs.com/\:cm/\:cs/\:who/\:bwk/\:index.html
+Brian Kernighan
+.UE 's
+original
+.I awk
+version of
+.IR chem .
+.
+.
+.\" --------------------------------------------------------------------
+.SH "COPYING"
+.\" --------------------------------------------------------------------
+.
+Copyright (C) 2006\[en]2009, 2014
+ Free Software Foundation, Inc.
+.
+.P
+This file is part of
+.IR chem ,
+which is part of
+.IR groff ,
+a free software project.
+.
+You can redistribute it and/or modify it under the terms of the
+.nh
+.B "GNU General Public License version 2"
+.RB ( GPL2 )
+.hy
+as published by the
+.nh
+.BR "Free Software Foundation" .
+.hy
+.
+.
+.P
+The license text for
+.B GPL2
+is available in the internet at
+.UR http://www.gnu.org/licenses/gpl-2.0.html
+.UE .
+.
+.
+.\" --------------------------------------------------------------------
.SH "SEE ALSO"
.\" --------------------------------------------------------------------
.
@@ -1009,18 +1038,6 @@ is
.
.
.\" --------------------------------------------------------------------
-.SH "AUTHORS"
-.\" --------------------------------------------------------------------
-.authors
-.
-.
-.\" --------------------------------------------------------------------
-.SH "COPYING"
-.\" --------------------------------------------------------------------
-.copying
-.
-.
-.\" --------------------------------------------------------------------
.\" Emacs settings
.\" --------------------------------------------------------------------
.
diff --git a/contrib/chem/chem.pl b/contrib/chem/chem.pl
index f0b25757a..3c94dcc97 100755
--- a/contrib/chem/chem.pl
+++ b/contrib/chem/chem.pl
@@ -26,8 +26,8 @@
# settings
########################################################################
-my $Program_Version = '1.0.2';
-my $Last_Update = '3 Jul 2014';
+my $Program_Version = '1.0.3';
+my $Last_Update = '5 Jul 2014';
# this setting of the groff version is only used before make is run,
# otherwise @VERSION@ will set it.