Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update String docs #541

Merged
merged 3 commits into from
Nov 11, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion en/setup/stringeditor.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ _Strings_ are the _BibTeX_ equivalent to constants in a programming language. Ea

For instance, if many entries are from a journal with an abbreviation that may be hard to remember, such as 'J. Theor. Biol.' \(Journal of Theoretical Biology\), a string named JTB could be defined to represent the journal's name. Instead of repeating the exact journal name in each entry, the characters '\#JTB\#' \(without quotes\) are put into the _journal_ field of each, ensuring the journal name is written identically each time.

A string reference can appear anywhere in a field, always by enclosing the string's name in a pair of '\#' characters. This syntax is specific for JabRef, and differs slightly from the _BibTeX_ notation that is produced when you save your database. Strings can by default be used for all standard BibTeX fields, and in **Options → Preferences → File** you can opt to enable strings for non-standard fields as well. In the latter case you can specify a set of fields that are excepted from string resolving, and here it is recommended to include the 'url' field and other fields that may need to contain the '\#' character and that may be processed by BibTeX/LaTeX.
A string reference can appear anywhere in a field, always by enclosing the string's name in a pair of '\#' characters. This syntax is specific for JabRef, and differs slightly from the _BibTeX_ notation that is produced when you save your database. Strings can only be used for the fields defined under in **Options → Preferences → Entry**. You can add any other fields that may need to contain the '\#' character and that may be processed by BibTeX/LaTeX.
Siedlerchr marked this conversation as resolved.
Show resolved Hide resolved

A string may in the same way be referred in the content of another string, provided the referred string is defined _before_ the referring one.

Expand Down
Loading