Chapter 2. Concepts

Table of Contents

Default database
Data formats
Other formats
Selecting output formats
Reference data and extended note identification
Screen layout
Key bindings
refdb-mode is schizophrenic
Working with reference data
Adding and updating references
Retrieving references
Converting reference data
Working with extended notes
Working with markup documents

We'll start by introducing a few concepts which should make it easier to understand how refdb-mode works. In general it is useful to have a basic understanding of RefDB and of its command-line clients. See the RefDB manual for further information.

Default database

RefDB needs to know which reference database you want to work with (there might be more than one on your system). To this end, refdb-mode remembers the name of the database once it is set and uses it for all subsequent commands that access a reference database. You have two options to permanently set the default database:

  • Add the following command to your ~/.emacs: (setq refdb-database "EXAMPLE"). Replace "EXAMPLE" with the name of your reference database.

    Use the Customization buffer to set the RefDB database.

If you want to switch databases during a session, use the RefDBSelect Database menu command. This command will pop up a list of available databases that you can choose from.