Skip to content

Commit

Permalink
Fix linter errors (#506)
Browse files Browse the repository at this point in the history
* Fix linter errors

* Fix more linter errors

* Fix linter errors (final)
  • Loading branch information
InAnYan authored Aug 24, 2024
1 parent 2b4c780 commit a2a70dd
Show file tree
Hide file tree
Showing 7 changed files with 23 additions and 23 deletions.
8 changes: 4 additions & 4 deletions en/advanced/fields.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,12 +38,12 @@ There is a lot of different fields in _BibTeX_, and some additional fields that

The following fields are recognized by the default bibliography styles:

* **bibtexkey** A unique string used to refer to the entry in LaTeX documents. Note that when referencing an entry from LaTeX, the key must match case-sensitively with the reference string. Some characters should not be used in bibtexkey as they are not compatible or not recommended:
* **bibtexkey** A unique string used to refer to the entry in LaTeX documents. Note that when referencing an entry from LaTeX, the key must match case-sensitively with the reference string. Some characters should not be used in bibtexkey as they are not compatible or not recommended:

`{ } ( ) , \ " - # ~ ^ : '`
* **address** Usually the address of the `publisher` or other type of institution. For major publishing houses, you may omit the information entirely or give simply the city. For small publishers, on the other hand, you can help the reader by giving the complete address.
* **annote** An annotation. It is not used by the standard bibliography styles, but may be used by others that produce an annotated bibliography.
* **author** This field should contain the complete author list for your entry. The names are separated by the word _and_, even if there are more than two authors. Each name can be written in two equivalent forms:
* **author** This field should contain the complete author list for your entry. The names are separated by the word _and_, even if there are more than two authors. Each name can be written in two equivalent forms:

Donald E. Knuth _or_ Knuth, Donald E.

Expand All @@ -61,7 +61,7 @@ The following fields are recognized by the default bibliography styles:
* **key** Used for alphabetizing, cross referencing, and creating a label when the \`\`author'' information is missing. This field should not be confused with the key that appears in the `\cite` command and at the beginning of the library entry.
* **month** The month in which the work was published or, for an unpublished work, in which it was written. You should use the standard three-letter abbreviation of the English names (jan, feb, mar, apr, may, jun, jul, aug, sep, oct, nov, dec).
* **note** Any additional information that can help the reader. The first word should be capitalized.
* **number**
* **number**

The number of a journal, magazine, technical report, or of a work in a series. An issue of a journal or magazine is usually identified by its volume and number; the organization that issues a technical report usually gives it a number; and sometimes books are given numbers in a named series.
* **organization** The organization that sponsors a conference or that publishes a manual.
Expand Down Expand Up @@ -120,7 +120,7 @@ You can create new fields by [editing (or creating) entry types](../setup/custom
## Hints on fields

* Generally, you can use LaTeX commands inside of fields containing text. _BibTeX_ will automatically format your reference lists, and those fields that are included in the lists will be (de)capitalized according to your bibliography style. To ensure that certain characters remain capitalized, enclose them in braces, like in the word _{B}elgium_.
* An institution name should be inside `{}` brackets.
* An institution name should be inside `{}` brackets.

If the institution name also includes its abbreviation, this abbreviation should be also in `{}` brackets.

Expand Down
2 changes: 1 addition & 1 deletion en/cite/openofficeintegration.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ To edit an already loaded custom style file or to reload changes that you made t

Here is an example style file:

```
```text
NAME
Example style file for JabRef-OpenOffice integration.
Expand Down
8 changes: 4 additions & 4 deletions en/collect/findunlinkedfiles.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,19 +25,19 @@ JabRef offers a BibTeX key generation and offers different patterns described at
In case you have numerous PDF files and want to convert them into new entries, JabRef can search automatically for the PDF files, let you select the relevant ones, and convert them into new entries.

1. Create or open a `.bib` library.
2. Go to **Lookup -> Search for unlinked local files**. (or press `SHIFT + F7`)
2. Go to **Lookup -> Search for unlinked local files**. (or press `SHIFT + F7`)

![FindUnlinkedFiles - Menu](<../.gitbook/assets/bildschirmfoto-2021-07-05-um-19.19.09 (1).png>) ![FindUnlinkedFiles - Menu](<../.gitbook/assets/findunlinkedfiles-menu-5.2 (6).png>)
3. The "Search for unlinked local files" dialog opens.
3. The "Search for unlinked local files" dialog opens.

<img src="../.gitbook/assets/findunlinkedfiles-window-5.2 (5).png" alt="FindUnlinkedFiles - Initial dialog" data-size="original">
4. Choose a start directory using the "Browse" button.
5. Click on "Search" / "Scan directory".
6. In "Select files", the files not yet contained in the library are shown.
6. In "Select files", the files not yet contained in the library are shown.

<img src="../.gitbook/assets/findunlinkedfiles-foundfiles-5.2.png" alt="FindUnlinkedFiles - Found files" data-size="original">
7. Select the entries you are interested in. Note: the button `Export selected files` allows you to export the list of the selected files (a text file containing on each line one filename with its path)
8. Click on `Import`.
8. Click on `Import`.

The windows close and the entry table now contains the newly-imported entries.
9. The entry editor with the last imported entry is shown ![FindUnlinkedFiles - 08 - entry editor](<../.gitbook/assets/findunlinkedfiles-08-entry-editor (1).png>)
Expand Down
10 changes: 5 additions & 5 deletions en/collect/newentryfromplaintext.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,20 +6,20 @@ In case you have a reference string, JabRef offers the functionality to convert

Example:

```
```text
O. Kopp, A. Armbruster, und O. Zimmermann, "Markdown Architectural Decision Records: Format and Tool Support", in 10th ZEUS Workshop, 2018.
```

1. Click Library and select "New entry from plain text..." Alternatively, you can press Ctrl+Shift+N.
1. Click Library and select "New entry from plain text..." Alternatively, you can press Ctrl+Shift+N.

<img src="../.gitbook/assets/new-entry-from-plain-text-step-1.png" alt="New entry from plain text" data-size="original">
2. The "Plain Reference Parser" window opens
2. The "Plain Reference Parser" window opens

<img src="../.gitbook/assets/new-entry-from-plain-text-step-2 (1).png" alt="Plain Reference Parser" data-size="original">
3. Paste the reference text:
3. Paste the reference text:

<img src="../.gitbook/assets/new-entry-from-plain-text-step-3 (1).png" alt="Paste" data-size="original">
4. Click "Add to current library"
5. The result is selected in the entry table:
5. The result is selected in the entry table:

<img src="../.gitbook/assets/new-entry-from-plain-text-step-4 (1).png" alt="Result of Grobid Parsing" data-size="original">
4 changes: 2 additions & 2 deletions en/contributing/how-to-translate-the-ui.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@ If the JabRef interface already exists in your language, you can help improve it
We use the service of [Crowdin](https://translate.jabref.org) to keep our translations updated. It is a service directly running in the browser and one can quickly join and start translating.

* Visit [https://translate.jabref.org/](https://translate.jabref.org) to get started
* Select your preferred language, login, and click on _JabRef\_en.properties_
* Select your preferred language, login, and click on _JabRef\_en.properties_

<img src="../.gitbook/assets/crowdin-select-file (3).png" alt="Screenshot of Crowdin select file page" data-size="original">
* Choose the string you want to translate in the left panel (strings to be translated are listed first)
* Choose the string you want to translate in the left panel (strings to be translated are listed first)

and enter the translation in the central panel (suggestions are given at the bottom)

Expand Down
2 changes: 1 addition & 1 deletion en/finding-sorting-and-cleaning-entries/filelinks.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ If the "file" field is included in [General fields](../setup/generalfields.md),

JabRef offers the following directory settings:

1. **File → Preferences → Linked files**, item _Main file directory._
1. **File → Preferences → Linked files**, item _Main file directory._

<img src="../.gitbook/assets/preferences-linkedfiles-5.2.png" alt="Main file directory" data-size="original">
2. **Library → Library properties**, items _General file directory,_ and _User-specific file directory_.![Override default file directories](../.gitbook/assets/jabref-lib-properties.png)
Expand Down
12 changes: 6 additions & 6 deletions en/setup/citationkeypatterns.md
Original file line number Diff line number Diff line change
Expand Up @@ -153,13 +153,13 @@ The default key pattern is **`[auth][year]`**, and this could produce keys like

To change the citation key pattern to `[authors][camel]` for all libraries without individual settings, execute the following steps:

1. Open the preferences
1. Open the preferences

<img src="../.gitbook/assets/optionspreferences (10).png" alt="File → Preferences" data-size="original">
2. Navigate to "Citation key generator"
2. Navigate to "Citation key generator"

<img src="../.gitbook/assets/preferences-citation-key-generator (2).png" alt="Citation key generator preferences" data-size="original">
3. Change the default pattern to `[authors][camel]`
3. Change the default pattern to `[authors][camel]`

<img src="../.gitbook/assets/preferences-citation-key-generator-authors-camel (2).png" alt="Citation key generator preferences - authors camel" data-size="original">
4. Press "Enter" (forgetting to do this is a leading cause of puzzlement)
Expand All @@ -169,12 +169,12 @@ To change the citation key pattern to `[authors][camel]` for all libraries witho

To change the citation key patterns for a single library to `[auth][shortyear]`,

1. Make sure the library is open and selected in the JabRef main window
1. Make sure the library is open and selected in the JabRef main window

<img src="../.gitbook/assets/main-screen-selected-library (5).png" alt="Main screen selected library" data-size="original">
2. From the "Library" menu, open the "Citation key pattern" setting
2. From the "Library" menu, open the "Citation key pattern" setting

<img src="../.gitbook/assets/library-citation-key-patterns (2).png" alt="Library Citation key patterns" data-size="original">
3. Set the pattern for the desired entry types, and press the apply button.
3. Set the pattern for the desired entry types, and press the apply button.

<img src="../.gitbook/assets/citation-key-patterns (8).png" alt="Citation key patterns" data-size="original">

0 comments on commit a2a70dd

Please sign in to comment.