-
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'upstream/master' into fixlookupfulltext
* upstream/master: (27 commits) remove wrong dependencies add missing dependencies Fix exception when adding field formatter in 'Cleanup entries' dialog Disables the preview cycling Removed unused method (#5219) Switch from tika-parsers to tika-core (#5217) Fix for issue 4629 (#5150) fix l10n, again fix l10n Fix checkstyle Removed old entrypreview and corresponding actions Prototype Add minor improvements and remove unused code Update CHANGELOG.md Update to current entry types and reformat code Convert Integer type to primitive Fix localization keys fix checkstyle again fix checkstyle erros Bibtexextractor ...
- Loading branch information
Showing
32 changed files
with
498 additions
and
180 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -210,3 +210,4 @@ Yang Zongze | |
Yara Grassi Gouffon | ||
Yifan Peng | ||
Zhang Liang | ||
Nikita Borovikov |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
# Fully Support UTF-8 Only For LaTeX Files | ||
|
||
## Context and Problem Statement | ||
|
||
The feature [search for citations](https://github.com/JabRef/help.jabref.org/issues/210) displays the content of LaTeX files. | ||
The LaTeX files are text files and might be encoded arbitrarily. | ||
|
||
## Considered Options | ||
|
||
* Support UTF-8 encoding only | ||
* Support ASCII encoding only | ||
* Support (nearly) all encodings | ||
|
||
## Decision Outcome | ||
|
||
Chosen option: "Support UTF-8 encoding only", because comes out best (see below). | ||
|
||
### Positive Consequences | ||
|
||
* All content of LaTeX files are displayed in JabRef | ||
|
||
### Negative Consequences | ||
|
||
* When a LaTeX files is encoded in another encoding, the user might see strange characters in JabRef | ||
|
||
## Pros and Cons of the Options | ||
|
||
### Support UTF-8 encoding only | ||
|
||
* Good, because covers most tex file encodings | ||
* Good, because easy to implement | ||
* Bad, because does not support encodings used before around 2010 | ||
|
||
### Support ASCII encoding only | ||
|
||
* Good, because easy to implement | ||
* Bad, because does not support any encoding at all | ||
|
||
### Support (nearly) all encodings | ||
|
||
* Good, because easy to implement | ||
* Bad, because it relies on Apache Tika's `CharsetDetector`, which resides in `tika-parsers`. | ||
This causes issues during compilation (see https://github.com/JabRef/jabref/pull/3421#issuecomment-524532832). | ||
Example: `error: module java.xml.bind reads package javax.activation from both java.activation and jakarta.activation`. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,7 +6,6 @@ | |
|
||
public enum BasePanelMode { | ||
SHOWING_NOTHING, | ||
SHOWING_PREVIEW, | ||
SHOWING_EDITOR, | ||
WILL_SHOW_EDITOR | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.