Configuring Krecipes

When you choose Settings and Configure Krecipes from the Krecipes menu, the Krecipes Preferences - Krecipes window appears. From this window, you can choose one of five pages to configure various aspects of Krecipes.

Server Settings

The first preference that you can configure is the Database Server Options. You will notice from the following screenshot that this label shows that an SQLite database has been selected. However, if the database selected is either MySQL or PostgreSQL the label would show the name of the appropriate database format. The Database file: label shows the complete path to the database file.


Screenshot

Configure Krecipes – Server Settings interface


If you wanted to choose another database file, you would click on the File icon and in the window that appears, navigate to the location of the database file that you want to use. This change would be reflected in the Database file: text box.

The second preference available for configuration in the Server Settings screen is for the Backup operation. It is required that the path to your database program be known for the Backup operation to work properly. Therefore, beside the label that is shown in the screenshot as Path to 'sqlite3':, there is a text box which shows the name of the database program. The text in this box can be changed by directly editing it, or by clicking the File icon, which will activate the screen that allows you to navigate to the location of your database program executable file.

You might want to do this if you have chosen to install your database program to a location that is different from the default. Also note that, in the screenshot, the database program shows as sqlite3. However, if you use another database program, for instance MySQL or PostgreSQL, the appropriate database would be shown.

Note

This setting is for the purpose of setting the location of the database file. For specific information on backing up your database, see the section Backing Up Your Krecipes Database.

Also exclusive to the Server Settings screen, is the Re-run wizard on next startup tickbox that can be selected to reload the database with the recipes and USDA data that come as defaults with the Krecipes program.

Buttons that appear at the bottom of the Server Settings screen are common to each of the preference screens and function as follows —

  • OK – sets any changes made and closes the Krecipes Preferences - Krecipes window

  • Cancel – cancels changes, if any have been made, and closes the Krecipes Preferences - Krecipes window

  • Help opens the Krecipes Handbook to the associated section

Customizing Formatting


Screenshot

Configure Krecipes – Formatting interface


From this window, there are two formatting preferences that can be customized —

  1. Number Format – either Fraction or Decimal can be selected by clicking on the appropriate radio button and this choice controls how the units of measure will display in your recipes

  2. Use abbreviations – this feature is turned on by clicking on the tickbox beside the label

    If the abbreviations have been completed for your units, the result of selecting to Use abbreviations is that your units of measure will be displayed in their abbreviated form when you are viewing or printing your recipe, and in the printable version of your Shopping List.

Choosing Import/Export Preferences


Screenshot

Configure Krecipes – Import/Export interface


On this screen under the heading Import, two options exist —

The first is Overwrite recipes with same title and this feature can be turned on by clicking the tickbox beside the label. This might be a good idea if you are re-importing a currently loaded database.

Should you choose NOT to overwrite existing recipes and you have a recipe titled Chocolate Cheesecake, for example, in your recipe list, if you import another Chocolate Cheesecake recipe, the listing will appear as —

Chocolate Cheesecake

Chocolate Cheesecake (2)

The second option is Ask which recipes to import and again, this feature can be turned on by selecting the text box. If this feature is not turned on, your recipes will be imported silently with no prompt. See the section Importing and Exporting Recipes for a screenshot that will show the result of this option being selected.

Copying to the Clipboard

Under the heading Export, a drop-down menu exists from which you can select the Copy to Clipboard format you wish to use.

Essentially, copying to the clipboard is the same as exporting a recipe. The difference lies in the end result of the export. The traditional export function creates a file (see the section Exporting Recipes to Other Formats for a complete description of this). The Copy to Clipboard function creates a copy of the recipe in the specified format and places the copy on the clipboard. This provides the ability to paste that copy into an email, for example. The usefulness of this might be in the situation where an attachment to an email might be scrubbed.

The available choices for Copy to Clipboard are —

  • Plain Text (*.txt) – If copied to the clipboard in this format, the result will be a plain text copy of the recipe.

  • Krecipes (*.kreml) – If copied to the clipboard in this format, the result will contain all the associated markup tags that allow formatting which is associated with Krecipes.

  • Meal-Master (*.mmf) – If copied to the clipboard in this format, the result will be a format that is recognized by the Meal-Master program.

  • Rezkonv (*.rk) – If copied to the clipboard in this format, the result will be a format that is recognized by the Rezkonv program.

  • RecipeML (*.xml) – If copied to the clipboard in this format, the result will contain all the associated markup tags that allow formatting associated with RecipeML.

As previously stated, once the recipe is copied to the clipboard in the desired format, it can be pasted into an email. It can also be pasted into a text editor for the purpose of saving the document. When a recipe is copied to the clipboard in a plain text format and then pasted into an email or another document, it is not intended to be imported back into Krecipes or any other recipe program. However, suppose another format has been selected for Copy to Clipboard. What do you do then and how do you get it back into a related recipe program?

If the recipe has been copied into an email and sent, the recipient could just copy the section associated with the recipe and then, paste it into a text editor and save it to a file with the extension associated with the format – .kreml for Krecipes format, .mmf for Meal-Master format, .rk for Rezkonv format, or .xml for RecipeML format. Once saved, this file could then be imported back into the associated recipe program.

If the contents of the clipboard have been pasted directly into a text editor, the file can then be saved with the appropriate extension as previously listed and imported back into the associated recipe program.

Enhancing Performance


Screenshot

Configure Krecipes – Performance interface


In this interface, you are customizing two settings. For a reason that you might want to do this, see the section Reasons for Configuring Performance Settings. These settings can be used individually or together or not at all.

The first is to set the number of categories that appear in the list when the Find/Edit Recipes component is selected. By default, this number is set to Unlimited, which means that all categories will be displayed. To change this setting, adjust the slider that appears below the label Number of categories to display at once: until the desired number appears, or use the spinbox to set the number.

The second setting that you might wish to change is for the number of items that are displayed in lists, for example, the Ingredients list or Properties list. Again, by default this is set to Unlimited and to change the setting you would adjust the slider that appears below the label Number of elements to display at once:, or use the spinbox until the desired number appears.

It should be noted that for the Number of elements to display at once: setting, the adjustment is done in increments of 1000 when using the spinbox. Should you wish to set smaller numbers, you can do this by highlighting the word Unlimited or whatever numeric entry appears in the box and type the number that you wish to use. However, this feature is ideally used when you have a very large database of recipes.

Reasons for Configuring Performance Settings

In most instances, the settings to adjust the Number of categories to display at once: and/or the Number of elements to display at once: will not have to be changed. The ultimate reason that you might want to do so occurs when you have a very large database of recipes. Adjusting these settings so that your Categories or list items are loaded in groups will greatly improve the speed of loading for these items.