diff --git a/CHANGELOG.md b/CHANGELOG.md index 3929e77d4f6..4552cae6b1e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -15,10 +15,10 @@ We refer to [GitHub issues](https://github.com/JabRef/jabref/issues) by using `# ### Fixed - The formatter for normalizing pages now also can treat ACM pages such as `2:1--2:33`. -- Backslashes in content selectors are now corretly escaped. Fixes [#2426](https://github.com/JabRef/jabref/issues/2426). +- Backslashes in content selectors are now correctly escaped. Fixes [#2426](https://github.com/JabRef/jabref/issues/2426). - Non-ISO timestamp settings prevented the opening of the entry editor (see [#2447](https://github.com/JabRef/jabref/issues/2447)) - When pressing Ctrl + F and the searchbar is already focused the text will be selected. - +- LaTeX symbols are now displayed as Unicode for the author column in the main table. Fixes [#2458](https://github.com/JabRef/jabref/issues/2458). ### Removed diff --git a/src/main/java/net/sf/jabref/gui/maintable/MainTableColumn.java b/src/main/java/net/sf/jabref/gui/maintable/MainTableColumn.java index 69476c00718..10a0fbab1dd 100644 --- a/src/main/java/net/sf/jabref/gui/maintable/MainTableColumn.java +++ b/src/main/java/net/sf/jabref/gui/maintable/MainTableColumn.java @@ -104,7 +104,7 @@ public Object getColumnValue(BibEntry entry) { String result = content.orElse(null); if (isNameColumn) { - result = MainTableNameFormatter.formatName(result); + result = MainTableNameFormatter.formatName(toUnicode.format(result)); } if (result != null) { diff --git a/src/test/java/net/sf/jabref/logic/layout/format/LatexToUnicodeFormatterTest.java b/src/test/java/net/sf/jabref/logic/layout/format/LatexToUnicodeFormatterTest.java index 44a9dc593c4..d83e519a9d0 100644 --- a/src/test/java/net/sf/jabref/logic/layout/format/LatexToUnicodeFormatterTest.java +++ b/src/test/java/net/sf/jabref/logic/layout/format/LatexToUnicodeFormatterTest.java @@ -87,4 +87,9 @@ public void unknownCommandKeepsArgument() { public void unknownCommandWithEmptyArgumentIsKept() { assertEquals("aaaa", formatter.format("\\aaaa{}")); } + + @Test + public void testTildeN () { + assertEquals("MontaƱa", formatter.format("Monta\\~{n}a")); + } }