Skip to content

Commit

Permalink
Support for (biblatex) langid field in entry editor #10868 (#11049)
Browse files Browse the repository at this point in the history
* Added langid field in StandardFields

* Fixed placement of addition in CHANGELOG.md

* Update the xml file used in unit test to include table-cell for standard field "langid". Also change enum constant to match other constants in StandardField.java.

---------

Co-authored-by: Christoph <[email protected]>
Co-authored-by: Enes <[email protected]>
  • Loading branch information
3 people authored Mar 19, 2024
1 parent bfe1106 commit 0aaebad
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ Note that this project **does not** adhere to [Semantic Versioning](https://semv
- We added a Cleanup for removing non-existent files and grouped the related options [#10929](https://github.com/JabRef/jabref/issues/10929)
- We added the functionality to parse the bibliography of PDFs using the GROBID online service. [#10200](https://github.com/JabRef/jabref/issues/10200)
- We added support for BibTeX String constants during copy & paste between libraries [#10872](https://github.com/JabRef/jabref/issues/10872)
- We added the field `langid` which is important for hyphenation and casing in LaTeX. [#10868](https://github.com/JabRef/jabref/issues/10868).

### Changed

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,7 @@ public enum StandardField implements Field {
KEY("key"),
KEYWORDS("keywords"),
LANGUAGE("language", FieldProperty.LANGUAGE),
LANGUAGEID("langid", FieldProperty.LANGUAGE),
LABEL("label"),
LIBRARY("library"),
LOCATION("location"),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -208,6 +208,9 @@
<table:table-cell>
<text:p>Language</text:p>
</table:table-cell>
<table:table-cell>
<text:p>Langid</text:p>
</table:table-cell>
<table:table-cell>
<text:p>Label</text:p>
</table:table-cell>
Expand Down Expand Up @@ -615,6 +618,9 @@
<table:table-cell>
<text:p />
</table:table-cell>
<table:table-cell>
<text:p />
</table:table-cell>
<table:table-cell>
<text:p>4</text:p>
</table:table-cell>
Expand Down Expand Up @@ -766,4 +772,4 @@
</table:table-row>
</table:table>
</office:body>
</office:document-content>
</office:document-content>

0 comments on commit 0aaebad

Please sign in to comment.