4
<basefont size="4" color="#2F4958" face="arial">
6
<H1>The string editor</H1>
7
<em>Opened from the main window by <em>Edit strings</em> or pressing a
8
button in the toolbar.</em>
10
<em>Strings</em> are the <em>bibtex</em> equivalent to constants in a
11
programming language. Each string is defined with a unique
12
<em>name</em> and a <em>content</em>. Elsewhere in the database, the
13
name can be used to represent the content.
16
For instance, if many entries are from a journal with an abbreviation
17
that may be hard to remember, such as 'J. Theor. Biol.' (Journal of
18
Theroretical Biology), a string named JTB could be defined to
19
represent the journal's name. Instead of repeating the exact journal
20
name in each entry, the characters '#JTB#' (without quotes) are put into the
21
<em>journal</em> field of each, ensuring the journal name is written
22
identically each time.
25
A string reference can appear anywhere in any field, always by enclosing
26
the string's name in a pair of '#' characters. This syntax is specific for
27
JabRef, and differs slightly from the <em>bibtex</em> notation that
28
is produced when you save your database.
31
A string may in the same way be referred in the content of another
32
string, provided the referred string is defined <em>before</em> the
35
<p>While the order of strings in your BibTeX file is important in some cases,
36
you don't have to worry about this when using JabRef. The strings will be displayed
37
in alphabetical order in the string editor, and stored in the same order, except when
38
a different ordering is required by BibTeX.
b'\\ No newline at end of file'
1
<html xmlns="http://www.w3.org/1999/xhtml">
8
<h1>The string editor</h1>
10
<p><em>Opened from the main window
11
by</em> Edit strings or pressing a button in the toolbar.</p>
13
<p><em>Strings</em> are the <em>bibtex</em> equivalent to
14
constants in a programming language. Each string is defined
15
with a unique <em>name</em> and a <em>content</em>. Elsewhere
16
in the database, the name can be used to represent the
19
<p>For instance, if many entries are from a journal with an
20
abbreviation that may be hard to remember, such as 'J. Theor.
21
Biol.' (Journal of Theroretical Biology), a string named JTB
22
could be defined to represent the journal's name. Instead of
23
repeating the exact journal name in each entry, the characters
24
'#JTB#' (without quotes) are put into the <em>journal</em>
25
field of each, ensuring the journal name is written identically
28
<p>A string reference can appear anywhere in a field, always by
29
enclosing the string's name in a pair of '#' characters. This
30
syntax is specific for JabRef, and differs slightly from the
31
<em>bibtex</em> notation that is produced when you save your
32
database. Strings can by default be used for all standard
33
BibTeX fields, and in <b>Preferences -> General ->
34
File</b> you can opt to enable strings for non-standard fields
35
as well. In the latter case you can specify a set of fields
36
that are excepted from string resolving, and here it is
37
recommended to include the 'url' field and other fields that
38
may need to contain the '#' character and that may be processed
41
<p>A string may in the same way be referred in the content of
42
another string, provided the referred string is defined
43
<em>before</em> the referring one.</p>
45
<p>While the order of strings in your BibTeX file is important
46
in some cases, you don't have to worry about this when using
47
JabRef. The strings will be displayed in alphabetical order in
48
the string editor, and stored in the same order, except when a
49
different ordering is required by BibTeX.</p>
b'\\ No newline at end of file'