Debian Codegraph @

docs/handbook.docbook

raw ◀ ▶
Source reconstructed at patch state 0 of 1 — not the installed (fully patched) source.
1 Debian patch touch this file
1 <?xml version='1.0'?>
2 <!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN"
3 "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd" [
4 <!ENTITY qbrew '<application>QBrew</application>'>
5 <!ENTITY qbrew.version "0.4.1">
6 <!ENTITY qt.version "4.3 or greater">
7 ]>
8
9 <book id="handbook">
10 <bookinfo>
11 <title>The QBrew Handbook</title>
12
13 <author>
14 <firstname>David</firstname><surname>Johnson</surname>
15 <affiliation>
16 <address><email>[email protected]</email></address>
17 </affiliation>
18 </author>
19
20 <copyright>
21 <year>1999 - 2008</year>
22 <holder role="[email protected]">David Johnson</holder>
23 </copyright>
24
25 <legalnotice>
26 <para>Permission to use, copy, modify and distribute this
27 document for any purpose and without fee is hereby granted in
28 perpetuity, provided that the above copyright notice and this
29 paragraph appear in all copies.</para>
30 </legalnotice>
31 </bookinfo>
32
33 <preface id="intro"> <title>Introduction</title>
34 <para>&qbrew; is a homebrewer's recipe calculator. With it a
35 brewer can formulate new recipes and calculate gravity,
36 bitterness, color and other attributes.</para>
37
38 <para>No payment or registration is required for &qbrew;, but the
39 author would be extremely delighted to receive spontaneous and
40 voluntarily donated bottles filled with homebrew. Photos of such
41 bottles will do in a pinch. If you wish to contribute to the
42 further inebriation of the author, please send mail to
43 <email>[email protected]</email> requesting a physical address to
44 send the bottles to.</para>
45
46 <para>The homepage for QBrew is
47 <ulink url="http://www.usermode.org/code.html">http://www.usermode.org/code.html</ulink></para>
48
49 <para>Code and cash contributions will, of course, grease the
50 wheels of QBrew development.</para>
51 </preface>
52
53 <chapter id="using">
54 <title>Using &qbrew;</title>
55
56 <section id="recipes">
57 <title>Recipes</title>
58
59 <section id="details">
60 <title>Basic Recipe Details</title>
61
62 <para>Enter in the basic recipe details in the top section of
63 the program window. There are fields for the title of the
64 recipe, the name of the brewer, recipe style, and batch size.</para>
65
66 <para>The name of the recipe and the brewer are for
67 identification purposes only. The recipe style will display the
68 appropriate style parameters in the characteristics area. The
69 batch size affects many calculations.</para>
70 </section>
71
72 <section id="ingredients">
73 <title>Recipe Ingredients</title>
74
75 <para>Recipe ingredients are added using the bottom section of
76 the program window. There are tabs for grains and other
77 fermentables, hops, and miscellaneous ingredients.</para>
78
79 <para>You can edit any field of an ingredient by double
80 clicking within it. To enter a new ingredient, double click in
81 the name field of a blank row. To remove an ingredient, set
82 its name field to a blank.</para>
83
84 <para>The <guilabel>Notes</guilabel> tab of this section allows
85 you to enter notes on the recipe and batches. These could be
86 specific brewing procedures, brewing and bottling dates, or
87 measured gravity. They are saved along with the recipe, but
88 otherwise do not affect it.</para>
89 </section>
90
91 <section id="characteristics">
92 <title>Recipe Characteristics</title>
93
94 <para>The middle section of the program window details your
95 recipe's characteristics. Information included here are the
96 recommended gravity, bitterness and color for the selected
97 recipe style, as well as the calculated gravity, bitterness,
98 color and alcoholic content for your recipe.</para>
99 </section>
100 </section>
101
102 <section id="misc">
103 <title>Miscellaneous</title>
104
105 <section id="alchohol">
106 <title>Alcohol Percentage Tool</title>
107
108 <para>You can calculate the actual alcohol percentage in a
109 batch by using the <guilabel>Alcohol Percentage</guilabel>
110 tool under the <guimenu>Tools</guimenu> menu. Enter in your
111 measured original gravity and final gravity. The percentage of
112 alchohol by volume and by weight will be calculated.</para>
113 </section>
114
115 <section id="hydrometer">
116 <title>Hydrometer Correction Tool</title>
117
118 <para>You can access the <guilabel>Hydrometer
119 Correction</guilabel> tool under the <guimenu>Tools</guimenu>
120 menu. This tool is useful for converting your actual
121 hydrometer readings to the correct value. Enter in the
122 temperature at which you took the sample, the temperature at
123 which the hydrometer is calibrated (typically 60&deg; or
124 68&deg; Fahrenheit), and the actual hydrometer reading. The
125 corrected reading will be calculated.</para>
126 </section>
127
128 <section id="qbrewdata">
129 <title>QBrew Data</title>
130
131 <para>The data that &qbrew; uses is in the file
132 <filename>qbrewdata</filename>, typically located under
133 the install directory in Windows, as part of the application
134 bundle under Macintosh OSX, and under
135 <filename>/usr/local/share/qbrew</filename> under traditional
136 Unix. If there exists a file in the user's home directory with
137 the name of <filename>.qbrewdata</filename>, then this file
138 will be used instead.</para>
139
140 <para>The Database Editor, under the <guimenu>Tools</guimenu>
141 menu, may be used to edit the users's <filename>.qbrewdata</filename>
142 file. The operation of the editor is similar to editing
143 ingredients in a recipe. In addition there is a
144 <guimenu>Style</guimenu> page for editing recipe styles.</para>
145 </section>
146
147 <section id="conversions">
148 <title>US/Metric Conversions</title>
149
150 <para>US units of measurement are used by default in
151 &qbrew;. This can be changed in the configuration dialog. Both
152 US and Metric measurements are available.</para>
153
154 <para>Please note that converting from one system to another
155 and back may result in round-off errors during the
156 conversion.</para>
157 </section>
158
159 <section id="exporting">
160 <title>Exporting and Importing Data</title>
161
162 <para>QBrew will import BeerXML recipes, and export native
163 recipes to HTML, PDF, BeerXML or plain text format. BeerXML is a
164 new format designed for sharing recipes and other brewing
165 data. QBrew supports version 1.0.</para>
166
167 <para>Importing or exporting a recipe will result in some loss
168 of data. This is because brewing programs all have different
169 underlying assumptions and models for the data. Because of
170 this, QBrew recipes should be stored in the native QBrew
171 format, and only exported for sharing or posting
172 recipes.</para>
173
174 </section>
175 </section>
176 </chapter>
177
178 <chapter id="reference">
179 <title>&qbrew; Reference</title>
180
181 <section id="menus">
182 <title>The Menus</title>
183
184 <section id="file">
185 <title>The File Menu</title>
186
187 <variablelist>
188 <varlistentry>
189 <term><command>File->New <emphasis>(Ctrl+N)</emphasis></command></term>
190 <listitem>
191 <para>This creates a new empty recipe. If there is a
192 current recipe with unsaved changes the user is given a
193 chance to save it.</para>
194 </listitem>
195 </varlistentry>
196 <varlistentry>
197 <term><command>File->Open <emphasis>(Ctrl+O)</emphasis></command></term>
198 <listitem>
199 <para>This opens an existing recipe. Use the Open dialog
200 to select the recipe you wish to open.</para>
201 </listitem>
202 </varlistentry>
203 <varlistentry>
204 <term><command>File->Open Recent</command></term>
205 <listitem>
206 <para>This is a shortcut to open recently saved
207 recipes. This item opens a list with several of the most
208 recently saved recipes to choose from.</para>
209 </listitem>
210 </varlistentry>
211 <varlistentry>
212 <term><command>File->Save <emphasis>(Ctrl+S)</emphasis></command></term>
213 <listitem>
214 <para>Saves the current recipe. If this is the first
215 time the recipe has been saved, the <guilabel>Save
216 As</guilabel> dialog (described next) will be shown.</para>
217 </listitem>
218 </varlistentry>
219 <varlistentry>
220 <term><command>File->Save As...</command></term>
221 <listitem>
222 <para>Saves the recipe under a new file name. A <guilabel>Save
223 As</guilabel> dialog will be shown to select the name of
224 the file to save to.</para>
225 </listitem>
226 </varlistentry>
227 <varlistentry>
228 <term><command>File->Export...</command></term>
229 <listitem>
230 <para>Exports the recipe to a different format. This
231 command will display the <guilabel>Export</guilabel>
232 dialog, which is very similar to the <guilabel>Save
233 As</guilabel> dialog.</para>
234 </listitem>
235 </varlistentry>
236 <varlistentry>
237 <term><command>File->Print Preview...</command></term>
238 <listitem>
239 <para>Display a print preview dialog. This dialog can be used
240 to preview the recipe before printing.</para>
241 </listitem>
242 </varlistentry>
243 <varlistentry>
244 <term><command>File->Print... <emphasis>(Ctrl+P)</emphasis></command></term>
245 <listitem>
246 <para>This prints the recipe. Opens a print dialog
247 allowing the user to specify where and how to print.</para>
248 </listitem>
249 </varlistentry>
250 <varlistentry>
251 <term><command>File->Quit<emphasis>(Ctrl+Q)</emphasis></command></term>
252 <listitem>
253 <para>Quits &qbrew;. If you have unsaved recipes, you
254 will be prompted to save them.</para>
255 </listitem>
256 </varlistentry>
257 </variablelist>
258 </section>
259
260 <section id="tools">
261 <title>The Tools Menu</title>
262
263 <variablelist>
264 <varlistentry>
265 <term><command>Tools->Alcohol Percentage...</command></term>
266 <listitem>
267 <para>Brings up the Alchohol Percentage tool. This is
268 used to calculate alcohol percentage by weight or
269 volume, from measured specific gravity readins.</para>
270 </listitem>
271 </varlistentry>
272 <varlistentry>
273 <term><command>Tools->Hydrometer Correction...</command></term>
274 <listitem>
275 <para>Brings up the Hydrometer Correction tool. This is
276 used to correct hydrometer readings taken at
277 temperatures other than the calibrated temperature.</para>
278 </listitem>
279 </varlistentry>
280 <varlistentry>
281 <term><command>Tools->Database Editor...</command></term>
282 <listitem>
283 <para>Brings up the Database Editor tool. This is used
284 to edit the database of ingredients and styles.</para>
285 </listitem>
286 </varlistentry>
287 </variablelist>
288 </section>
289
290 <section id="options">
291 <title>The Options Menu</title>
292
293 <variablelist>
294 <varlistentry>
295 <term><command>Options->Main Toolbar</command></term>
296 <listitem>
297 <para>Toggle the main toolbar on and off. When unchecked the
298 toolbar is hidden.</para>
299 </listitem>
300 </varlistentry>
301 <varlistentry>
302 <term><command>Options->Statusbar</command></term>
303 <listitem>
304 <para>Toggle the status bar on and off. When unchecked
305 the status bar is hidden.</para>
306 </listitem>
307 </varlistentry>
308 <varlistentry>
309 <term><command>Options->Configure...</command></term>
310 <listitem>
311 <para>This configures settings for &qbrew;. A dialog is
312 shown to configure general, recipe and calculation
313 related settings.</para>
314 </listitem>
315 </varlistentry>
316 </variablelist>
317 </section>
318
319 <section id="help">
320 <title>The Help Menu</title>
321
322 <variablelist>
323 <varlistentry>
324 <term><command>Help->Contents <emphasis>(F1)</emphasis></command></term>
325 <listitem>
326 <para>Opens up a help window and displays this document.</para>
327 </listitem>
328 </varlistentry>
329 <varlistentry>
330 <term><command>Help->Primer</command></term>
331 <listitem>
332 <para>Opens up a help window and displays a brewing primer.</para>
333 </listitem>
334 </varlistentry>
335 <varlistentry>
336 <term><command>Help->What's This? <emphasis>(Shift-F1)</emphasis></command></term>
337 <listitem>
338 <para>Brings up a cursor you can use to find out what
339 various controls and objects in the application
340 do. Clicking on an item within &qbrew; will pop up a small
341 window with help on that item.</para>
342 </listitem>
343 </varlistentry>
344 <varlistentry>
345 <term><command>Help->About...</command></term>
346 <listitem>
347 <para>Displays copyright and other basic information
348 about &qbrew;</para>
349 </listitem>
350 </varlistentry>
351 </variablelist>
352 </section>
353 </section>
354
355 <section id="configuration">
356 <title>Configuration</title>
357
358 <para>The <guilabel>Configuration</guilabel> dialog is used
359 configuring &qbrew;. There are four buttons on the bottom of the
360 dialog. Pressing the <guilabel>OK</guilabel> button will apply
361 all settings and close the dialog. Pressing the
362 <guilabel>Reset</guilabel> button will reset the dialog to
363 default values. Pressing the <guilabel>Apply</guilabel> button
364 will apply the settings, but not close the dialog. The
365 <guilabel>Cancel</guilabel> button will close the dialog without
366 applying the settings.</para>
367
368 <para>Configuration changes are automatically saved when the
369 <guilabel>OK</guilabel> button is pressed.</para>
370
371 <section id="generalconfig">
372 <title>General Configuration</title>
373
374 <para>The <guilabel>"Look and feel"</guilabel> control allows
375 you to change the look and feel (theme) of
376 &qbrew;. <guilabel>"Show splash screen"</guilabel> lets you
377 choose to display or not display the program startup splash
378 screen.</para>
379
380 <para>The <guilabel>"Recent files"</guilabel> control selects
381 the number of files displayed in the <guilabel>"Open
382 Recent"</guilabel> menu. The <guilabel>"Enable
383 autosave"</guilabel> controls set whether automatic saving of
384 the current recipe is done, and how often. The
385 <guilabel>"Enable autobackup"</guilabel> control sets whether
386 recipes are automatically backed up. The <guilabel>"Load last
387 file"</guilabel> control determines whether the previously used
388 recipe is automatically loaded upon program startup.</para>
389 </section>
390
391 <section id="recipeconfig">
392 <title>Recipe Configuration</title>
393
394 <para>The <guilabel>"Recipe Defaults"</guilabel> section sets
395 some default recipe values. These settings only affect new
396 recipes or ingredients. They include <guilabel>"Batch
397 size"</guilabel>, <guilabel>"Recipe style"</guilabel>, and
398 <guilabel>"Hop type"</guilabel>.</para>
399 </section>
400
401 <section id="calculationconfig">
402 <title>Calculation Configuration</title>
403
404 <para>Use the <guilabel>"Measurement units"</guilabel> control
405 to set the measurement units you will be using (US or
406 Metric). Use the <guilabel>"Tinseth"</guilabel> and
407 <guilabel>"Morey"</guilabel> controls to alter the bitterness
408 and color calculations. <guilabel>"Efficiency"</guilabel> sets
409 the mash efficiency for calculations.</para>
410 </section>
411 </section>
412 </chapter>
413
414 <chapter id="notes">
415 <title>Designer's Notes</title>
416
417 <para>&qbrew; aims to be a simple streamlined homebrewing recipe
418 calculator. As such, it doesn't include features that other
419 software designed for professional brewing might include. This
420 is not a flaw on the part of &qbrew;, but a conscious choice to
421 moderate the scope of the software. Emails and forum posts
422 praising the &qbrew; interface tell me that his was a good
423 decision.</para>
424
425 <section id="grain">
426 <title>Grain Calculations</title>
427
428 <para>The basic gravity calculation is the sum of all grains'
429 extract times quantity, divided by the batch size. Mashed grains
430 will have their extract modified by the mash efficiency. Steeped
431 grains will use a lesser efficiency, typically half of their
432 extract.</para>
433
434 <para>The color calculated is in <abbrev>SRM</abbrev>, not in
435 <abbrev>HCU</abbrev> (homebrew color
436 units). <abbrev>HCU</abbrev> is the sum of all grains' color
437 times quantity, divided by the batch size. This is only accurate
438 for very low color values. The default conversion to SRM uses
439 the formula discovered by Ray Daniels, which is
440 <emphasis>SRM=(MCUx0.2)+8.4</emphasis> (for values of HCU over
441 8.0). An alternate color calculation discovered by Dan Morey is
442 <emphasis>SRM=1.4922x[(MCU)^0.6859]</emphasis> (for values of
443 SRM less than 50). To change to the Morey method, open up the
444 <command>Configure...</command> dialog and check the
445 <command>Use Morey color calculation</command> box. More
446 information on color calculations can be found at "Approximating
447 SRM Beer Color" &lt;http://hbd.org/babble/Color.htm&gt;, and
448 "Beer's Law"
449 &lt;http://www.brewingtechniques.com/brewingtechniques/beerslaw/morey.html&gt;.</para>
450
451 <para>Final gravity is assumed to be 25% of the
452 <abbrev>OG</abbrev>. Looking through the <abbrev>AHB</abbrev>
453 style guide, this is the same assumption they made. The
454 alcoholic content calculations were derived from Noonan's
455 <citetitle>New Brewing Lager Beer</citetitle>, and based
456 on this <abbrev>FG</abbrev> assumption.</para>
457 </section>
458
459 <section id="hop">
460 <title>Hop Calculations</title>
461
462 <para>There are two different methods used to calculate hop
463 bitterness. The default <abbrev>IBU</abbrev> calculation uses
464 the Rager method, from Norm Pyle's "Hops FAQ"
465 &lt;http://realbeer.com/hops/FAQ.html&gt;. The other method is
466 the Tinseth method, from Glen Tinseth's "Hop Page"
467 &lt;http://realbeer.com/hops/&gt;. To change to the Tinseth
468 method, open up the <command>Configure...</command> dialog
469 and check the
470 <command>Use Tinseth bitterness calculation</command> box. The
471 utilization table for the Rager method can be edited by changing
472 the appropriate area of the <filename>qbrewdata</filename>
473 file.</para>
474
475 <para>Please see the above links for details on these formulae,
476 as they can be a bit complex.</para>
477 </section>
478 </chapter>
479
480 <chapter id="faq">
481 <title>Questions and Answers</title>
482
483 <qandaset defaultlabel="qanda">
484 <qandaentry>
485 <question>
486 <para>Why don't the results on the <guilabel>Alcohol
487 tool</guilabel> match the
488 <guilabel>Characteristics</guilabel> section of the main
489 window?</para>
490 </question>
491 <answer>
492 <para>It's the curse of rounding errors! When you use the
493 <guilabel>Alcohol tool</guilabel> you are entering in
494 gravity values with a precision of two decimal places. But
495 your recipe in QBrew is stored with a much higher precision
496 than this, even though it is displaying characteristics with
497 a lower precision.</para>
498 </answer>
499 </qandaentry>
500 <qandaentry>
501 <question>
502 <para>I get hundreds of errors when I try to compile
503 &qbrew; under Unix. What am I doing wrong?</para>
504 </question>
505 <answer>
506 <para>&qbrew; has been successfully compiled and run on a
507 variety of Unix platforms, so the odds are low that
508 something's wrong with configure (although it does
509 happen). More likely, you don't have the necessary libraries
510 or headers installed. Make sure that you have the X
511 development libraries installed, as well as the Qt
512 &qt.version; or greater development libraries. &qbrew; will
513 not compile and link with the older Qt 3.x
514 libraries.</para>
515
516 <para>There are many useful options in the configure
517 script. These options can be displayed by running
518 <command>./configure --help</command>. Also please read the
519 INSTALL file for several useful tips.</para>
520
521 <para>If you are still having problems after this, then
522 write me at <email>[email protected]</email>. Please
523 include the full text of the error message, along with the
524 <filename>config.log</filename> in the build directory.</para>
525 </answer>
526 </qandaentry>
527 <qandaentry>
528 <question>
529 <para>Why don't you distribute &qbrew; as a DEB or RPM file?</para>
530 </question>
531 <answer>
532 <para>I do make packages available for Windows and Mac
533 OSX. I am doing this because users of those platforms are
534 unaccustomed to building software. It is more difficult to
535 do this under Linux and Unix because there are so too many
536 different varieties available. I cannot possibly distribute
537 binary packages for each system and distribution while trying
538 to keep up with changing versions.</para>
539
540 <para>At this time, &qbrew; is already available prepackaged
541 for Debian GNU/Linux, SuSE Linux, Linspire, NetBSD and
542 FreeBSD. If you distribution does not have a &qbrew;
543 package, you may wish to consider maintaining one for
544 them. Please note that the available binary packages are not
545 always the most recent &qbrew; version.</para>
546 </answer>
547 </qandaentry>
548 </qandaset>
549 </chapter>
550
551 <appendix id="credits">
552 <title>Credits</title>
553
554 <section id="thanks">
555 <title>Helpful Folk</title>
556
557 <para>I would like the thank the following people for their
558 outstanding help with the creation of &qbrew;...</para>
559
560 <itemizedlist>
561 <listitem>
562 <para>...Abe Kabakoff for contributing several formulae and
563 the Correction tool.</para>
564 </listitem>
565 <listitem>
566 <para>...Michal Palczewski for contributing bug fixes and
567 the Alcohol tool.</para>
568 </listitem>
569 <listitem>
570 <para>...Lee Henderson, Rob Hudson, and Kevin Pullin for
571 contributing bug fixes.</para>
572 </listitem>
573 <listitem>
574 <para>...Tobias Toedter for German translation work.</para>
575 </listitem>
576 <listitem>
577 <para>...Stephen Lowrie for a lot of rote work with
578 the <filename>qbrewdata</filename> file, as well as major
579 portions of the brewing primer.</para>
580 </listitem>
581 <listitem>
582 <para>...the various maintainers for &qbrew; packages.</para>
583 </listitem>
584 <listitem>
585 <para>...The numerous users who have written me and kept my
586 spirits up.</para>
587 </listitem>
588 </itemizedlist>
589 </section>
590
591 <section id="copyright">
592 <title>Copyright</title>
593
594 <para>Copyright &copy; 1999 - 2008 David Johnson, All Rights
595 Reserved.</para>
596
597 <para>Redistribution and use in source and binary forms, with or
598 without modification, are permitted provided that the following
599 conditions are met:</para>
600
601 <para>1. Redistributions of source code must retain the above
602 copyright notice, this list of conditions and the following
603 disclaimer.</para>
604
605 <para>2. Redistributions in binary form must reproduce the above
606 copyright notice, this list of conditions and the following
607 disclaimer in the documentation and/or other materials provided
608 with the distribution.</para>
609
610 <para>THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND
611 CONTRIBUTORS ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES,
612 INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
613 MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
614 DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDERS OR
615 CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
616 SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
617 LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
618 USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
619 AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
620 LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING
621 IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
622 THE POSSIBILITY OF SUCH DAMAGE.</para>
623
624 <para>This product contains software written by Abe Kabakoff
625 &lt;[email protected]&gt;, and Michal Palczewski
626 &lt;[email protected]&gt;</para>
627 </section>
628 </appendix>
629 </book>