• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..03-May-2022-

examples/H12-Aug-2013-2,0401,987

gnome/H03-May-2022-2216

intl/H10-Nov-2007-14,11810,161

kde/H10-Nov-2007-1917

m4/H12-Aug-2013-3,0002,758

pld/H10-Nov-2007-9654

po/H03-May-2022-15,38712,265

src-cht/H03-May-2022-21,49019,030

ABOUT-NLSH A D10-Nov-200752.6 KiB769723

COPYINGH A D10-Nov-200717.6 KiB341281

ChangeLogH A D12-Aug-201367.4 KiB1,0321,030

INSTALLH A D10-Nov-20075.3 KiB10284

Makefile.amH A D05-Dec-20091.1 KiB4114

Makefile.inH A D12-Aug-201330.4 KiB931810

Makefile.sgi32H A D24-Dec-20111,022 4430

Makefile.sgi64H A D24-Dec-20111 KiB4329

Makefile.stdH A D24-Dec-2011933 4533

NEWSH A D12-Aug-201310 KiB208176

READMEH A D12-Aug-201318.9 KiB393326

TODOH A D23-Dec-2011421 108

acinclude.m4H A D10-Nov-20078.1 KiB196186

aclocal.m4H A D12-Aug-201334 KiB961866

autoclean.shH A D10-Nov-20071.2 KiB6446

autogen.shH A D10-Nov-2007553 3319

bitmap1.hH A D31-May-201127.1 KiB1,2901,255

chemcurs.hH A D10-Nov-20072.2 KiB4746

chemproc.cH A D23-Dec-201147.9 KiB2,1161,913

chemtool.1H A D24-Dec-201118.2 KiB458412

chemtool.desktopH A D10-Nov-2007287 1312

chemtool.specH A D12-Aug-20135.6 KiB134122

cht.1H A D24-Dec-20112 KiB7364

config.guessH A D12-Aug-201344.2 KiB1,5121,300

config.h.inH A D12-Aug-20133.7 KiB148100

config.rpathH A D10-Nov-200714.6 KiB549443

config.subH A D12-Aug-201333.6 KiB1,7061,558

configureH A D12-Aug-2013295.1 KiB10,1428,467

configure.acH A D24-Dec-20116.1 KiB231201

ct.hH A D23-Dec-20119.1 KiB345309

ct1.hH A D23-Dec-20118.5 KiB302269

draw.cH A D23-Dec-201124.7 KiB1,111915

gettext.hH A D10-Nov-20073 KiB7023

graph.cH A D23-Dec-201162 KiB2,1461,935

gtkfilesel.cH A D10-Nov-200791.9 KiB3,5612,665

gtkfilesel.hH A D10-Nov-200710.4 KiB507427

gtkintl.hH A D26-Nov-2011555 2622

gtkmenu.cH A D10-Nov-200756.1 KiB2,1111,620

gtkmenu.hH A D10-Nov-20075.6 KiB18085

inout.cH A D12-Aug-2013188.5 KiB6,8616,172

inout.hH A D10-Nov-20072.5 KiB7357

install-shH A D12-Aug-201313.3 KiB521344

main.cH A D12-Aug-2013202.5 KiB6,3365,581

missingH A D12-Aug-201311.2 KiB377281

mkinstalldirsH A D12-Aug-20133.5 KiB163112

templ.cH A D10-Nov-20074.2 KiB164153

templates.hH A D10-Nov-2007472.7 KiB9,0328,616

templates.hxH A D10-Nov-20071.3 KiB3231

undo.cH A D10-Nov-200727.5 KiB1,2901,006

undo.hH A D10-Nov-20072 KiB6829

README

1-------------------------------------------------------------------------------
2
3			Chemtool Version 1.6.14
4
5-------------------------------------------------------------------------------
6
7Chemtool is a program for drawing organic molecules and saving them in a number
8of file formats including eps, emf, sxd, svg or  X bitmap file. It runs under the
9X Window System using the GTK widget set.
10
11Most operations in chemtool can be accomplished using the mouse - the
12first (usually the left) button is used to select or place things, the
13middle button modifies properties (e.g. reverses the direction of a bond),
14and the right button is used to delete objects.
15
16The program offers essentially unlimited undo/redo, two text fonts plus
17symbols, seven colors, drawing at several zoom scales, and square and
18hexagonal backdrop grids for easier alignment.
19
20Drawing of bonds:
21
22Bonds can be drawn in 4 different angle settings (hexagon with 30deg. intervals,
23two pentagons with 72deg. intervals (different orientation), and a 45deg. i
24octagon). (Intermediate angles are possible in all of these modes as well -
25just ignore the marker points in this case). Pressing the mouse button 1
26sets the starting point of a bond and also displays a set of markers at the
27appropriate angular positions. Dragging the mouse while holding down the
28button draws a line in the desired direction.
29
30The bond style chooser in the center of the button bar determines the type
31of bond that is drawn - initially, this is a single bond. If you want to
32change the type of a bond later, either click on it with the middle button
33of your mouse to advance to the next type(s), or select the appropriate type
34in the chooser and then switch to bondtype mode and pick all bonds that you
35want to change over to the new type. Pressing the middle mousebutton on a
36bond when in 'Bondtype' mode reverses the direction of that bond.
37
38
39The bond types available in chemtool are
40- a single bond
41- a double bond (with one line shorter than the other)
42- a double bond (having the shorter line on the opposite side)
43- a centered double bond
44- a triple bond (with the flanking lines shorter than the center)
45- a wedge-shaped bond
46- a dashed wedge-shaped bond
47- a wavy line
48- a dashed wide line
49- a half arrow
50- an arrow
51- a wide bond
52- a circle
53- a dotted line
54- a single bond that 'cuts out' a segment from any bond it crosses
55- a triple bond (with equal line lengths)
56- a quadruple bond
57- light and dark pi orbital lobes
58
59The additional bond type available in the pulldown menu,
60- curved arrow
61is special insofar as no other bond type can be converted to or from
62this type. (it is actually a shortcut for one of the curve-drawing functions
63described below).
64
65Pressing the third (usually the right) mouse button deletes the bond next
66to the cursor position.
67
68Semiautomatic drawing of rings:
69
70Rings of 3 to 12 members can be drawn easily by holding down the Ctrl key
71while drawing a line. This line will then become the first segment of a ring
72that is automatically drawn in clockwise direction. The size of the ring
73defaults to that appropriate for the selected drawing mode (i.e. 5, 6 or 8
74sides), but it can be set on a per-ring basis by pressing Ctlr-<number>
75before drawing the ring, where numbers 3-9 correspond to 3 to 9-membered
76rings, while 0 to 2 select 10, 11 and 12-membered rings, respectively.
77Newly drawn rings can be deleted by pressing Ctrl and mouse button 3 together.
78
79Drawing of curved lines:
80
81Curved lines for objects like arrows or orbital lobes can be drawn in spline
82curve mode by specifing four control points that form a bounding polygon
83(startpoint, two points on either side of the peak, endpoint). Of the regular
84bondtypes available in the Style menu, the 'single line', 'semiarrow', arrow
85and 'dashed line' retain their usual function, while the 'wide line' type
86is used to denote a filled polygon. The control points are only visible in
87'Move' mode, where they can be dragged around to change the form of a curve
88after it is drawn.
89
90For drawing curved arrows, there is also a predefined function in the bond
91style chooser. This is actually a shortcut for one of the curve drawing
92functions described above, with the second and third control points
93automatically generated. As such, it can not be converted to or from any
94of the conventional bond types.
95(One can, however, convert it to any of the other curve types, e.g. to change
96the type of arrowhead). The shape of the arrow will usually need to be
97adjusted by shifting the control point that appears alongside it in 'Move'
98mode.
99
100Inserting text:
101
102Text written into the text box can be positioned with the cursor and may
103appear left, middle or right-aligned in the drawing. The font size can
104be selected from the chooser to the right of the text entry field, while
105the 't/T' button next to the text-alignment buttons lets you switch between
106two fonts - Helvetica for regular labels, and Times Roman for descriptions.
107Like the line drawings, text can be in any of the colors available on the
108color selector. If you want to change the color, font or alignment of a
109label afterwards, just choose the appropriate combination of settings and
110then select the desired label with the left mouse button. When the text
111entry area is empty, this will just update the properties without changing
112the text itself. When the text entry area is not empty, its contents will
113also replace the text of the label. Copying the text of a label to the
114entry area is done with the middle mouse button, while the right mouse
115button deletes the selected label.
116
117There are two special characters to be used for sub- and superscripting
118the following character:
119
120		'^' to shift up 	(e.g. N^+)
121		'_' to shift down	(e.g. CH_3)
122
123Curly braces {} can be used to mark sequences of characters to sub- or
124superscript, e.g. C_{10}H_{22}.
125
126The control character '|' is used to itializise the following character,
127as in |t-Bu, while the '#' character boldfaces it.
128
129The special character '@' switches to symbol mode, which uses the standard
130X11 symbol font. All alphabetic keys produce the corresponding greek
131characters in this mode, and several other symbols are available if their
132standard latin1 equivalents are already mapped onto the keyboard:
133yen -> infinity
134hyphen -> uparrow
135macron -> downarrow
136
137Direct input of symbol characters is also possible, e.g. by cut-and-paste
138from LibreOffice or other Unicode-aware programs. Internally they are converted
139to the above syntax where possible. Output of symbol characters outside the
140original X11 symbol font may not work satisfactorily, as not all tools used
141are sufficiently modern - in particular xfig and the transfig package used
142for postscript and png export will not handle multibyte characters.
143The symbols 'plusminus' and 'registered' (trademark) are already in the
144standard font, although they are not normally available on the keyboard.
145Use the following commands (or add the declarations to your .xmodmaprc )
146to make them available via <AltGr>+<Key> (<RightAlt>+<Key>):
147
148         xmodmap -e 'keysym r = r R registered'  \
149         -e 'keysym o = o O yen' \
150         -e 'keysym p = p P plusminus' \
151         -e 'keysym u = u U hyphen' \
152         -e 'keysym d = d D macron'
153
154(this leads to AltGr-P = plusminus, AltGr-R = registered in normal mode and
155AltGr-O = infinity, AltGr-U = uparrow, AltGr-D = downarrow in symbol font).
156
157For 'dots-and-crosses' diagrams, the following mappings to the symbol
158font might be useful:
159acute -> cross  (e.g. keysym x = x X acute)
160middle dot -> filled dot (e.g. keysym d = d D periodcentered)
161(using the degree sign for the open dot).
162
163For drawing ionic charges, the key sequences @+ and @- provided plus and
164minus signs inscribed in a circle.
165
166When you want to use symbols as sub- or superscripts, place the sub- or
167superscripting character before the '@' character, e.g. K_@a .
168
169
170Labeling shortcuts :
171
172In all bond drawing modes, several keyboard shortcuts are available to
173add atom symbols without having to leave drawing mode. The label is placed
174at the current drawing position (the endpoint of the last line drawn, or
175the spot last clicked on).
176The keys 'c','h','n','o','s','p' and 'r' insert the corresponding capital
177letter, 'l' (lowercase L) inserts 'Cl', while '1', '2', '3' insert CH,CH_2
178and CH_3, respectively. The asterisk key (*) inserts a filled circle.
179
180Pressing the space bar once allows you to enter arbitrary labels, which will
181be placed at the current position when you press the Return key.
182
183The keys of the numeric keypad can be used to draw short 'electron pair' lines next to an
184element symbol - if one imagines the element symbol to be sitting on the
185central '5' key, each key draws the appropriate electron pair for its
186position.
187
188For quick numbering of the atoms in a molecule, switch to one of the text
189modes, hold down the Control key and pick each atom in succession with
190the left mouse button. Numbering starts at 1, and the sequence can be reset
191at any time by clicking the right mouse button. If you need to use your own
192numbering scheme, clicking the middle button (while still holding down the
193Control key) makes it pick up whatever number is in the text entry field.
194
195Moving, rotating, flipping or scaling objects
196
197Using the 'Mark' button, you can easily select parts of the current drawing
198by enclosing them with a 'rubberband' rectangle. If you need to add atoms
199outside of the rectangular area to your selection, simply draw another
200rubberband around them while holding down the Ctrl key.
201The selected parts will appear highlighted in blue and are immediately
202available for
203
204- moving: simply drag the fragment to the desired position with the mouse
205	while holding down the left mouse button. Pressing the Ctrl key
206	limits movement to the horizontal, while pressing the Shift key
207	selects vertical-only movement.
208- rotating: horizontal movement of the mouse translates to smooth rotation
209            around the pivot point selected when pressing the mouse button.
210	    Pressing the Ctrl key switches to stepwise rotation according
211	    to the angular intervals of the current drawing mode.
212- flipping (mirroring) the fragment about a horizontal or vertical mirror
213  plane through its center: this is performed by clicking on the appropraite
214  the menu button
215- copying : clicking on the 'Copy' menu button creates an exact copy of the
216            selected fragment slightly offset to the original. The mark is
217            automatically transfered to the new copy.
218- rescaling: horizontal mouse movement is translated into a smooth
219	     increase or decrease of size of the marked fragment
220- deleting : to delete the marked fragment, simply click the third
221	    (usually the right) mouse button after it is highlighted.
222- optimizing: clicking on the 'bucket and broom' symbol invokes a function
223             that removes overlapping (duplicate) bonds and labels from
224	     the drawing and tries to straighten bonds that are almost
225             horizontal or vertical.
226- bracketing and framing: clicking on the bracket button invokes a pop-up
227  menu offering a choice of brackets and various boxes. The chosen item
228  is drawn in the size and position determined by the marker box that was
229  drawn by the user.
230
231Centering the drawing:
232
233If there is not enough space for your molecule you can
234put it in the middle of the sheet with the center button.
235
236Exporting to foreign formats:
237
238You can export your molecules as an X bitmap, an encapsulated postscript file,
239an input file for Brian Smith' XFig program, as an MDL molfile, an input file for
240the Asymptote package (a powerful alternative to pictex) or in the
241PicTeX format.
242The PicTeX and Postscript output functions rely on the fig2dev program from the
243transfig package.
244You can create the outputs in different sizes according to the current zoom
245scale. The PicTeX and Postscript modes additionally allow scaling to an
246arbitrary percentage selectable on the export menu .
247
248To include the PicTeX-file in your LaTeX document, you will need the pictex
249macro package. Depending on the versions you use, you might also have to load
250the 'color' package in the preamble of your LaTeX file.
251If you experience 'TeX capacity exceeded' error messages, increase the
252extra_mem_bot parameter in your texmf.cnf file (usually located in
253/usr/share/texmf/web2c, /usr/local/texmf or /etc/texmf).
254Pictex is known for its unusual (by tex standards) memory requirements, and
255the standard settings often do not account for this (although you may find a
256comment a la 'change this if you use pictex' in the texmf.cnf file).
257Something like extra_mem_bot=400000 should not hurt on any moderately modern
258system.
259
260
261Adding previously saved figures:
262
263To add another molecule from a previously saved chemtool drawing, select
264its filename in the dialog window that comes up when you press the 'Add'
265button. Marking a file in the dialog automatically displays its contents
266in a small preview window.
267The newly added molecule is automatically made active so that it can be
268repositioned as desired. If you want to add it to a predefined position
269on another molecule, you can mark that attachment site by left-clicking
270on it instead of dragging the marker rectangle. A small green dot will
271appear at what is now the reference position for the new part. If you save
272molecules with such a marker set, it will in turn define their attachment
273site when they are added to another drawing.
274
275Adding one of the predefined templates:
276
277Choosing 'Templates' from the 'Tools' menu opens a second window with a small
278collection of predefined structures.
279Simply click on the image of the desired molecule to add it to your drawing.
280The Template window can be kept open throughout a chemtool session - if it
281is hidden by another window, you can move it to the front by clicking the
282'Template' button in chemtool again.
283The data in the template system differ from normal chemtool drawings only by
284the fact that they are stored within the program, and in a slightly awkward
285format (x and y coordinates listed separately in the source file templates.h).
286These are meant to provide a convenient basis set available to all users, but
287not individually extendable (you can use the 'Add' function for your own
288structures). Please let us know if you want specific molecules added to the
289templates - their name or ideally a regular chemtool drawing file is all we
290need. (send email to martin@ruby.chemie.uni-freiburg.de)
291
292Importing from foreign file formats:
293
294Chemtool is able to import files written either in the PDB format originally
295used by the Protein Databank (which is now also written by most modeling
296packages), or in the molfile (V2000) format developed by MDL Inc. for their
297ISIS products.
298As both formats can contain 3D information, while chemtool
299at least currently does 2D drawing only, the molecule is imported as a temporary3D image first, which can be rotated using the mouse (with Z-axis rotation
300initiated by pressing the Ctrl key simultaneously with the (left) mouse
301button 1). After pressing the Return key, the current orientation is stored
302as a 2D projection that can be further edited. All editing commands except
303zooming are disabled in 3d mode.
304The PDB import offers a choice which of the atom symbols to import - you
305can either import all labels, only those of non-hydrogen atoms, optionally
306omitting any trailing sequence numbers, or no labels at all. Bonds are read
307from CONECT records, if present, or guessed from the interatomic distances.
308In MDL import mode, C atom labels are automatically suppressed, and bond
309types are preserved where possible.
310If you have a version of the BABEL program installed - either the original
311Babel written by Pat Walters or the current OpenBabel effort - chemtool will
312automatically offer a menu option for importing from any of the file formats
313this supports.
314
315Determining sum formula and molecular weight:
316
317Since development version 1.3a7, the distribution contains a helper program,
318cht, by Radek Liboska (Prague) to calculate sum formula and (exact) molecular
319weight from a chemtool drawing file. It is also available from within chemtool
320to calculate these data for the current structure or a marked fragment of
321it. Cht can be misled by duplicate bonds ( chemtool does not remove overlapping
322bonds, such as they might result from fusing ring systems, automatically), by
323reaction arrows and by the 'aromatic ring' symbol, so you should avoid these
324and check the plausibility of the generated sum formula where possible.
325
326The following common abbreviations are known to cht:
327Ac      #   C2  H3      O           # Acetyl
328Ade     #   C5  H4  N5              # Adeninyl
329Bn      #   C7  H7                  # Benzyl
330Bu      #   C4  H9                  # Butyl
331Bz      #   C7  H5      O           # Benzoyl
332BOC	#   C5  H9      O2	    # Butyloxycarbonyl
333CE      #   C3  H4  N               # Cyanoethyl
334Cyt     #   C4  H4  N3  O           # Cytosinyl
335DBAM    #   C9  H19 N               # Dibutylaminomethylene, biradical
336DMAM    #   C3  H7  N               # Dimethylaminomethylen, biradical
337DMTr    #   C21 H19     O2          # Dimethoxytrityl
338Et      #   C2  H5                  # Ethyl
339Gua     #   C5  H4  N5  O           # Guaninyl
340iBu     #   C4  H9                  # iso-Butyl
341iPr     #   C3  H7                  # iso-Propyl
342Me      #   C   H3                  # Methyl
343Ms      #   C   H3  S   O2          # Mesyl
344MOC	#   C2  H3      O2	    # Methoxycarbonyl
345MOM	#   C2  H5      O	    # Methoxymethyl
346MMTr	#   C20 H16     O	    # Monomethoxytrityl
347Ph      #   C6  H5                  # Phenyl
348@F (phi)#   C6  H5                  # Phenyl
349Pr      #   C3  H7                  # Propyl
350TBDMS   #   C6  H15 Si              # tert-Butyldimethylsilyl
351TBDPS   #   C16 H19 Si              # tert-Butyldiphenylsilyl
352tBu     #   C4  H9                  # tert-Butyl
353Tf      #   C   F3  S   O2          # Triflyl
354Thy     #   C5  H5  N2  O2          # Thyminyl
355TMS     #   C3  H9  Si              # Trimethylsilyl
356TMTr    #   C22 H22     O3          # Dimethoxytrityl
357Tol     #   C8  H7      O           # Tolyl
358Tr      #   C19 H15                 # Trityl
359Ts      #   C7  H7  S   O2          # Tosyl
360Ura     #   C4  H3  N2  O2          # Uracilyl
361Z       #   C8  H7      O2          # Benzyloxycarbonyl
362
363Drawing functions not available within Chemtool:
364
365For features not currently supported by chemtool, like patterns or
366general line-drawing functions, getting Brian Smith's XFig
367drawing package from www-epb.lbl.gov/xfig is highly recommended.
368About the only thing it does not offer is support for 'chemical' linetypes
369and drawing angles - which is why chemtool was written as a sort of
370companion program. (There will probably be more of the most sorely needed
371drawing options added to chemtool over time, but duplicating the more
372general-purpose features of xfig seems rather pointless.)
373
374
375Licensing :
376
377For license information see the file 'COPYING' in this package.
378This software comes with ABSOLUTELY NO WARRANTY.
379
380
381----------------------> Primary Authors:
382
383Thomas Volk      (program creator, maintainer up to 1.1.1)
384(then a student of chemistry and biology at Ulm University)
385
386Dr. Martin Kroeker (primary developer since 1.1.2)
387martin@ruby.chemie.uni-freiburg.de
388
389Webpage:
390http://ruby.chemie.uni-freiburg.de/~martin/chemtool/chemtool.html
391
392
393