Debian Codegraph @

translations/working/README_xx.html

raw
1 <html>
2 <head>
3 <title>ConvertAll ReadMe</title>
4 </head>
5 <body>
6 <center>
7 <h1>ReadMe file for ConvertAll</h1>
8 <h2>a unit conversion program</h2>
9
10 <p>Written by Doug Bell<br>
11 Version 0.5.0<br>
12 April 23, 2010</p>
13 </center>
14
15 <h2>Contents</h2>
16
17 <ul>
18 <li><a href="#background">Background</a></li>
19 <li><a href="#features">Features</a></li>
20 <li><a href="#legal">Legal Issues</a>
21 <li><a href="#sysreq">System Requirements</a>
22 <ul><li><a href="#linux-sys">Linux</a></li>
23 <li><a href="#win-sys">Windows</a></li></ul></li>
24 <li><a href="#install">Installation</a>
25 <ul><li><a href="#linux-inst">Linux</a></li>
26 <li><a href="#win-inst">Windows</a></li></ul></li>
27 <li><a href="#using">Using ConvertAll</a>
28 <ul><li><a href="#basics">Basics</a></li>
29 <li><a href="#combine">Combining Units</a></li>
30 <li><a href="#shortcut">Shortcuts</a></li>
31 <li><a href="#finder">Unit Finder</a></li>
32 <li><a href="#options">Options</a></li>
33 <li><a href="#nonlinear">Non-Linear Conversions</a></li>
34 <li><a href="#cmdline">Command Line Usage</a></li></ul></li>
35 <li><a href="#revs">Revision History</a></li>
36 <li><a href="#contact">Questions, Comments, Criticisms?</a></li>
37 </ul>
38
39 <h2><a name="background"></a>Background</h2>
40
41 <p>Why write another unit converter? There are plenty of them out
42 there. Well, I couldn't find one that worked quite the way I
43 wanted.</p>
44
45 <p>With ConvertAll, you can combine the units any way you want. If
46 you want to convert from inches per decade, that's fine. Or from
47 meter-pounds. Or from cubic nautical miles. The units don't have to
48 make sense to anyone else.</p>
49
50 <p>Since I'm not in the software business, I'm making this program
51 free for anyone to use, distribute and modify, as long as it is not
52 incorporated into any proprietary programs. If you like the software,
53 feel free to let others know about it. And let me know what you think
54 - my email address is doug101 AT bellz DOT org</p>
55
56 <h2><a name="features"></a>Features</h2>
57
58 <ul>
59
60 <li>The base units for conversion may be either typed (with
61 auto-completion) or selected from a list.</li>
62
63 <li>Units may be selected using either an abbreviation or a full
64 name.</li>
65
66 <li>Units may be combined with the "*" and "/" operators.</li>
67
68 <li>Units may be raised to powers with the "^" operator.</li>
69
70 <li>Units in the denominator may be grouped with parenthesis.</li>
71
72 <li>Units with non-linear scales, such as temperature, can also be
73 converted.</li>
74
75 <li>A unit list may be filtered and searched.</li>
76
77 <li>Recently used unit combinations may be picked from a menu.</li>
78
79 <li>Numbers may be entered on either the "From" or the "To" units
80 side, for conversions in both directions.</li>
81
82 <li>Basic mathematical expressions may be entered in place of
83 numbers.</li>
84
85 <li>Options control the formatting of numerical results.</li>
86
87 <li>The unit data includes over 500 units.</li>
88
89 <li>The format of the unit data file makes it easy to add additional
90 units.</li>
91
92 <li>Command line options are available to do conversions without the
93 GUI.</li>
94
95 </ul>
96
97 <h2><a name="legal"></a>Legal Issues</h2>
98
99 <p>ConvertAll is free software; you can redistribute it and/or modify
100 it under the terms of the GNU General Public License as published by
101 the Free Software Foundation; either Version 2 of the License, or (at
102 your option) any later version.</p>
103
104 <p>This program is distributed in the hope that it will be useful, but
105 WITHOUT ANY WARRANTY. See the <tt>LICENSE</tt> file provided with
106 this program for more information.</p>
107
108 <h2><a name="sysreq"></a>System Requirements</h2>
109
110 <h3><a name="linux-sys"></a>Linux</h3>
111
112 <p>ConvertAll requires the following libraries:
113 <ul>
114 <li>Qt (Version 4.1 or higher - see <a
115 href="http://www.trolltech.com">Trolltech</a> for more
116 information)</li>
117 <li>Python (Version 2.3 or higher)</li>
118 <li>PyQt (Version 4.0 or higher - see <a
119 href="http://www.riverbankcomputing.co.uk">Riverbank</a>
120 for more information)</li>
121 </ul></p>
122
123 <h3><a name="win-sys"></a>Windows</h3>
124
125 <p>Using the files provided in the binary distribution, ConvertAll
126 should run on any computer running Win 95, 98, NT, 2000, XP, Vista, or
127 7.</p>
128
129 <h2><a name="install"></a>Installation</h2>
130
131 <h3><a name="linux-inst"></a>Linux</h3>
132
133 <p>Extract the source files from the convertall tar file, then change to
134 the <tt>ConvertAll</tt> directory in a terminal. For a basic
135 installation, simply execute the following command as root: <tt>python
136 install.py</tt></p>
137
138 <p>To see all install options, use: <tt>python install.py -h</tt></p>
139
140 <p>To install ConvertAll with a different prefix (the default is
141 <tt>/usr/local</tt>), use: <tt>python install.py -p
142 /prefix/path</tt></p>
143
144 <h3><a name="win-inst"></a>Windows</h3>
145
146 <p>Simply execute the downloaded installation file
147 (<tt>convertall-x.x.x-install.exe</tt>). It will install the program
148 with its libraries and optionally create file associations and
149 shortcuts.</p>
150
151 <p>If you wish to modify the source code or write your own PyQt programs
152 for Windows, do not use the above procedure. Instead, you need to
153 install <a href="http://www.python.org">Python</a> and the binary for <a
154 href="http://www.riverbankcomputing.co.uk">PyQt</a>. Then extract the
155 source code and data files from the Linux version (convertall tar file)
156 to a directory of your choice and execute the <tt>convertall.py</tt>
157 file.</p>
158
159 <h2><a name="using"></a>Using ConvertAll</h2>
160
161 <h3><a name="basics"></a>Basics</h3>
162
163 <p>Simply type a unit name in the "From Unit" edit window. As you
164 type, the list below the window will scroll to show unit names which
165 are close matches. Either type the complete unit abbreviation or unit
166 name or hit the return key to use the unit highlighted in the list.
167 Of course, clicking with the mouse on a unit in the list will also add
168 the unit to the edit window. You may also use the up and down arrow
169 keys to select nearby units from the list.</p>
170
171 <p>Repeat the unit selection in the "To Unit" edit window. When done,
172 if the units are compatible, you will see the numeric edit windows
173 below the unit lists activate. A number may be entered into either
174 numeric window and the other window will display the conversion
175 result.</p>
176
177 <h3><a name="combine"></a>Combining Units</h3>
178
179 <p>The real strength of ConvertAll lies in its ability to combine
180 multiple units. Simply type the unit names with an '*' or a '/'
181 between them. This allows the entry of units such as "ft*lbf" or
182 "mi/hr". The '^' symbol may be used for exponents, such as "ft^3" or
183 "ft*lbm/sec^2". Negative exponents are allowed for units such as
184 "sec^-1" (per second), but may switch the multiplication or division
185 symbol ("ft*sec^-2" becomes "ft/sec^2").</p>
186
187 <p>Multiplication and division have the same precedence, so they are
188 evaluated left-to-right. Parenthesis may also be used to group units in
189 the denominator. So "m / sec / kg" can also be entered as "m / (sec *
190 kg)". The version with parenthesis is probably less confusing.</p>
191
192 <p>The buttons below the unit lists ('X', '/', '^2', '^3') will also
193 place the operators after the unit nearest to the cursor. The
194 exponent keys will replace the unit's exponent.</p>
195
196 <p>Similarly, clicking on a unit from the list generally replaces the
197 unit nearest the cursor.</p>
198
199 <p>The "Clear Unit" button below the operator buttons may be used to
200 empty the unit edit window to allow a new unit to be entered.</p>
201
202 <h3><a name="shortcut"></a>Shortcuts</h3>
203
204 <p>When typing unit names, spaces are ignored, so they may be skipped.
205 It is also generally ignored if a plural form of the unit name is
206 typed. When a partially typed unit is highlighted in the list,
207 hitting enter will complete the name. Also, hitting the tab key will
208 complete the name and move to the next entry field.</p>
209
210 <p>The "Recent Unit" button opens a menu of recently used units and
211 unit combinations. The current unit combination is replaced with any
212 selections from this menu.</p>
213
214 <p>The number to be converted may be entered in either the "From" or
215 "To" unit side. Standard or scientific notation may be used, or an
216 expression including the normal math operators (+, -, *, /, **) and
217 parenthesis may be entered.</p>
218
219 <h3><a name="finder"></a>Unit Finder</h3>
220
221 <p>The unit finder can be used to filter units by type and/or search for
222 units using a text string. It displays a separate unit list in a new
223 window. The list will be updated based on the filter and search string
224 entries.</p>
225
226 <p>Buttons near the bottom of the finder window add the selected unit to
227 the units in the main window. The "Replace" buttons replace an entire
228 combined unit with the selection. The "Insert" button changes only the
229 part of a combined unit that is active (at the cursor in the main
230 window).</p>
231
232 <h3><a name="options"></a>Options</h3>
233
234 <p>The "Options..." button allows for changing several default
235 settings. These settings are automatically stored so that ConvertAll
236 will re-start with the settings last used.</p>
237
238 <p>The first options control the display of numerical results,
239 including the use of scientific notation and the number of decimal
240 places. Be cautious about setting the number of decimal places to a
241 low value, which can result in a significant loss of accuracy. Six
242 places or higher is recommended (eight is the default).</p>
243
244 <p>There is an option to set the number of recent units to be saved.
245 Setting it to zero will disable the Recent Unit buttons.</p>
246
247 <p>There is an option to hide the operator text option buttons (x, /,
248 ^2, ^3, Clear Unit and Recent Unit). These can be hidden to save space
249 if the keyboard will be used to enter the operators.</p>
250
251 <p>Buttons are also included on the options dialog to control the colors
252 of the text fields.</p>
253
254 <h3><a name="nonlinear"></a>Non-Linear Conversions</h3>
255
256 <p>The conversion of some units is non-linear. Examples of these
257 include the Fahrenheit and Celsius temperature scales (due to an
258 offset zero point) and the American Wire Gauge (logarithmic). The
259 non-linear units are labeled as such in the comments column (located
260 to the right of the "Type" column).</p>
261
262 <p>These units can be converted only when they are not combined with
263 other units or used with an exponential operator. Otherwise the
264 conversion would not be meaningful.</p>
265
266 <h3><a name="cmdline"></a>Command Line Usage</h3>
267
268 <p>Conversions may be done from the command line (Linux or DOS console)
269 without invoking the graphical interface. Enter the command
270 ("convertall" on Linux, "convertall_dos" from the Windows binary), the
271 number, the from unit and the to unit (separated by spaces) to do the
272 conversion. Unit names containing spaces should be surrounded by
273 quotes. Or, to be prompted for each unit entry, use the "-i" option
274 ("convertall -i" on Linux, "convertall_dos -i" from Windows).</p>
275
276 <p>After the conversion is done, ConvertAll will prompt for a new number
277 to do the same conversion. Or "n" can be entered to start a new
278 conversion, "r" to reverse the conversion or "q" to quit.</p>
279
280 <p>For a more detailed list of options, use the "-h" option ("convertall
281 -h" on Linux, "convertall_dos -h" on Windows).</p>
282
283 <h2><a name="revs"></a>Revision History</h2>
284
285 <p>The full revision history can be found in the English version of the
286 ReadMe file.</p>
287
288 <h2><a name="contact"></a>Questions, Comments, Criticisms?</h2>
289
290 <p>I can be contacted by email at: doug101 AT bellz DOT org<br> I
291 welcome any feedback, including reports of any bugs you find. Also, you
292 can periodically check back to <a
293 href="http://www.bellz.org">www.bellz.org</a> for any updates.</p>
294
295 </body>
296 </html>