From 425af4692f09ae70300126c46b2baca87702b303 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Schlichting?= Date: Fri, 15 May 2020 10:50:08 +0200 Subject: [PATCH 1/2] Fix missing citation for biblatex-mla --- .../java/org/jabref/logic/texparser/DefaultLatexParser.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/org/jabref/logic/texparser/DefaultLatexParser.java b/src/main/java/org/jabref/logic/texparser/DefaultLatexParser.java index 4e17777ab3d..60972fba036 100644 --- a/src/main/java/org/jabref/logic/texparser/DefaultLatexParser.java +++ b/src/main/java/org/jabref/logic/texparser/DefaultLatexParser.java @@ -34,7 +34,7 @@ public class DefaultLatexParser implements LatexParser { */ private static final String[] CITE_COMMANDS = { "[cC]ite(alt|alp|author|authorfull|date|num|p|t|text|title|url|year|yearpar)?", - "([aA]|[aA]uto|fnote|foot|footfull|full|no|[nN]ote|[pP]aren|[pP]note|[tT]ext|[sS]mart|super)cite", + "([aA]|[aA]uto|fnote|foot|footfull|full|no|[nN]ote|[pP]aren|[pP]note|[tT]ext|[sS]mart|super)cite([s*]?)", "footcitetext", "(block|text)cquote" }; private static final String CITE_GROUP = "key"; From b9a82ea0aeaca400ccfdd70e001059e7cc1cdb2a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Schlichting?= Date: Fri, 15 May 2020 12:27:11 +0200 Subject: [PATCH 2/2] Changelog: Fix missing citation for biblatex-mla --- CHANGELOG.md | 1 + 1 file changed, 1 insertion(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index e536e03ef78..a1c807c58e4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -65,6 +65,7 @@ Note that this project **does not** adhere to [Semantic Versioning](http://semve - We fixed an issue where an "Not on FX thread" exception occured when saving on linux [#6453](https://github.com/JabRef/jabref/issues/6453) - We fixed an issue where the library sort order was lost. [#6091](https://github.com/JabRef/jabref/issues/6091) - We fixed an issue where brackets in regular expressions were not working. [6469](https://github.com/JabRef/jabref/pull/6469) +- We fixed an issue where LaTeX citations for specific commands (\autocites) of biblatex-mla were not recognized. [#6476](https://github.com/JabRef/jabref/issues/6476) ### Removed