Debian Codegraph @

docs/use.html

raw
1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
2 "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
3 <html>
4
5 <head>
6 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
7 <link rel="stylesheet" type="text/css" href="default.css" />
8
9 <title>Convertall - How to Use</title>
10 </head>
11
12 <body>
13
14 <div class="interior">
15
16 <div class="title">
17 <img src="logo.png" alt="Convertall" />
18 </div>
19
20 <div class="toplinks">
21 <p>Version 0.8.0<p>
22 <p><a href="http://www.bellz.org/progs.html">Other Programs</a></p>
23 <p><a href="http://www.bellz.org/contact.html">Contact Info</a></p>
24 </div>
25
26 <div class="navigation">
27 <a href="index.html">Home&nbsp;/&nbsp;News</a>
28 <a href="feature.html">Features</a>
29 <a href="scrnsht.html">Screenshots</a>
30 <a href="require.html">Requirements</a>
31 <a href="download.html">Downloads</a>
32 <a href="install.html">Installation</a>
33 <span class="current-nav">How&nbsp;to&nbsp;Use</span>
34 </div>
35
36 <div class="content">
37
38 <h1>How to Use ConvertAll</h1>
39
40 <h2>Contents</h2>
41
42 <ul>
43 <li><a href="#basics">Basics</a></li>
44 <li><a href="#combine">Combining Units</a></li>
45 <li><a href="#nonlinear">Non-Linear Conversions</a></li>
46 <li><a href="#shortcut">Shortcuts</a></li>
47 <li><a href="#numbering">Numbering System Conversions</a></li>
48 <li><a href="#options">Options</a></li>
49 <li><a href="#cmdline">Command Line Usage</a></li>
50 </ul>
51
52 <h2><a name="basics"></a>Basics</h2>
53
54 <p>Simply type a unit name in the "From Unit" edit window. As you
55 type, the list below the window will be filtered to show only
56 matching units. Matching unit names contain words starting with
57 the words that are typed. Either type the complete unit
58 name/abbreviation or hit the return key to use the unit
59 highlighted (blue letters) in the list. Of course, clicking with
60 the mouse on a unit in the list will also add the unit to the edit
61 window. You may also use the up and down arrow keys to highlight
62 nearby units from the list.</p>
63
64 <p>Repeat the unit selection in the "To Unit" edit window. When
65 done, if the units are compatible, the numeric edit windows below
66 the unit lists will activate. A number may be entered into either
67 numeric window and the other window will display the conversion
68 result.</p>
69
70 <h2><a name="combine"></a>Combining Units</h2>
71
72 <p>The real strength of ConvertAll lies in its ability to combine
73 multiple units. Simply type the unit names with an '*' or a '/'
74 between them. This allows the entry of units such as "ft * lbf"
75 or "mi / hr". The '^' symbol may be used for exponents, such as
76 "ft^3" or "ft * lbm / sec^2". Negative exponents are allowed for
77 units such as "sec^-1" (per second), but may switch the
78 multiplication or division symbol ("ft * sec^-2" becomes "ft /
79 sec^2").</p>
80
81 <p>Multiplication and division have the same precedence, so they
82 are evaluated left-to-right. Parenthesis may also be used to
83 group units in the denominator. So "m / sec / kg" can also be
84 entered as "m / (sec * kg)". The version with parenthesis is
85 probably less confusing.</p>
86
87 <p>The buttons below the unit text boxes can also be used to add
88 operators to the active unit that is closest to the cursor. The
89 Square and Cube buttons will add or replace exponents. The
90 Multiply and Divide buttons will add "*" and "/" operators.</p>
91
92 <p>Similarly, clicking on a unit from the list generally replaces
93 the unit nearest the cursor.</p>
94
95 <p>The "Clear Unit" button below the operator buttons may be used
96 to empty the unit edit window to allow a new unit to be
97 entered.</p>
98
99 <p>The "Filter List" button can be used to show only one type of
100 unit in the list. Note that this doesn't show units that could be
101 combined to form a type.</p>
102
103 <h2><a name="nonlinear"></a>Non-Linear Conversions</h2>
104
105 <p>The conversion of some units is non-linear. Examples of these
106 include the Fahrenheit and Celsius temperature scales (due to an
107 offset zero point) and the American Wire Gauge (logarithmic). The
108 non-linear units are labeled as such in the comments column.</p>
109
110 <p>These units can be converted only when they are not combined
111 with other units or used with an exponential operator. Otherwise
112 the conversion would not be meaningful.</p>
113
114 <h2><a name="shortcut"></a>Shortcuts</h2>
115
116 <p>When typing unit names, spaces are ignored, so they may be
117 skipped. It is also generally ignored if a plural form of the
118 unit name is typed. For squared and cubed units (positive
119 exponents of 2 or 3) the "^" symbol does not need to be typed.</p>
120
121 <p>When a partially typed unit is highlighted in the list (blue
122 lettering), hitting enter will complete the name. The up an ddown
123 arrow keys can be used to highlight nearby units in the list prior
124 to hitting enter. The unit closet to the cursor will be
125 replaced.</p>
126
127 <p>The "Recent Unit" button opens a menu of recently used units
128 and unit combinations. The current unit combination is replaced
129 with any selections from this menu.</p>
130
131 <p>The tab key can be used to cycle between the "From" and "To"
132 unit test boxes and the "From" and "To" number editors.</p>
133
134 <p>The number to be converted may be entered in either the "From"
135 or "To" unit side. Standard or scientific notation may be used,
136 or an expression including the normal math operators (+, -, *, /,
137 **) and parenthesis may be entered.</p>
138
139 <h3><a name="numbering"></a>Numbering System Conversions</h3>
140
141 <p>The "Bases" button brings up a dialog that can convert between
142 various numbering system bases. There are entry boxes for
143 decimal, hexadecimal, octal and binary entries. A number can be
144 entered into any of the boxes and equivalents will be shown in the
145 others.</p>
146
147 <p>The "Fractions" button brings up a dialog that can list
148 fractional equivalents for a decimal number. Type the number and
149 press enter. The fractions are listed in order of increasing
150 accuracy.</p>
151
152 <h2><a name="options"></a>Options</h2>
153
154 <p>The "Options..." button allows for changing several default
155 settings. These settings are automatically stored so that
156 ConvertAll will re-start with the settings last used.</p>
157
158 <p>The first options control the display of numerical results,
159 including the use of scientific notation and the number of decimal
160 places. Be cautious about setting the number of decimal places to
161 a low value, which can result in a significant loss of accuracy.
162 Six places or higher is recommended (eight is the default).</p>
163
164 <p>There is an option to set the number of recent units to be
165 saved. Setting it to zero will disable the Recent Unit buttons.
166 Another option will automatically load the most recent previous
167 units at startup.</p>
168
169 <p>There are options to hide the operator text buttons (first
170 row), and the unit buttons (second row). These can be hidden to
171 save space if the keyboard will be used to enter the
172 operators.</p>
173
174 <p>Buttons are also included on the options dialog to control the
175 colors of the text fields.</p>
176
177 <p>Buttons are also included on the options dialog to control GUI
178 colors and fonts. Colors can be selected by theme or
179 individually. Larger fonts can be selected for use on
180 high-resolution displays.</p>
181
182 <h2><a name="cmdline"></a>Command Line Usage</h2>
183
184 <p>Conversions may be done from the command line (Linux or DOS
185 console) without invoking the graphical interface. Enter the
186 command ("convertall" on Linux, "convertall_dos" from the Windows
187 binary), the number, the from unit and the to unit (separated by
188 spaces) to do the conversion. Unit names containing spaces should
189 be surrounded by quotes. Or, to be prompted for each unit entry,
190 use the "-i" option ("convertall -i" on Linux, "convertall_dos -i"
191 from Windows).</p>
192
193 <p>After the conversion is done, ConvertAll will prompt for a new
194 number to do the same conversion. Or "n" can be entered to start
195 a new conversion, "r" to reverse the conversion or "q" to
196 quit.</p>
197
198 <p>For a more detailed list of options, use the "-h" option
199 ("convertall -h" on Linux, "convertall_dos -h" on Windows).</p>
200
201 </div>
202
203 </div>
204
205 </body>
206
207 </html>