From 99968e4604b7e95c22ae3ce1a61084a121fa974d Mon Sep 17 00:00:00 2001 From: Alexander Schmitt Date: Sun, 13 Dec 2020 18:38:13 +0100 Subject: [PATCH 1/3] Update JabRefPreferences.java Modifications in Entry Preview (7093 and 7083) --- .../org/jabref/preferences/JabRefPreferences.java | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/src/main/java/org/jabref/preferences/JabRefPreferences.java b/src/main/java/org/jabref/preferences/JabRefPreferences.java index 2d6904939da..83115813e18 100644 --- a/src/main/java/org/jabref/preferences/JabRefPreferences.java +++ b/src/main/java/org/jabref/preferences/JabRefPreferences.java @@ -663,16 +663,17 @@ private JabRefPreferences() { defaults.put(PREVIEW_STYLE, "" + "\\bibtextype\\begin{citationkey} (\\citationkey)\\end{citationkey}__NEWLINE__" + - "\\begin{author}

\\format[Authors(LastFirst, FullName,Sep= / ,Sep= / ),HTMLChars]{\\author}\\end{author}__NEWLINE__" + - "\\begin{editor & !author}

\\format[Authors(LastFirst,FullName,Sep= / ,Sep= / ),HTMLChars]{\\editor} (\\format[IfPlural(Eds.,Ed.)]{\\editor})\\end{editor & !author}__NEWLINE__" + + "\\begin{author}

\\format[Authors(LastFirst, FullName,Sep= / ,LastSep= / ),HTMLChars]{\\author}\\end{author}__NEWLINE__" + + "\\begin{editor & !author}

\\format[Authors(LastFirst,FullName,Sep= / ,LastSep= / ),HTMLChars]{\\editor} (\\format[IfPlural(Eds.,Ed.)]{\\editor})\\end{editor & !author}__NEWLINE__" + "\\begin{title}
\\format[HTMLChars]{\\title} \\end{title}__NEWLINE__" + - "\\begin{year}
\\year\\end{year}__NEWLINE__" + - "\\begin{booktitle}
\\format[HTMLChars]{\\booktitle}, \\end{booktitle}__NEWLINE__" + + "
\\begin{date}\\date\\end{date}\\begin{edition}, \\edition. edition\\end{edition}__NEWLINE__" + + "\\begin{editor & author}

\\format[Authors(LastFirst,FullName,Sep= / ,LastSep= / ),HTMLChars]{\\editor} (\\format[IfPlural(Eds.,Ed.)]{\\editor})\\end{editor & author}__NEWLINE__" + + "\\begin{booktitle}
\\format[HTMLChars]{\\booktitle}\\end{booktitle}__NEWLINE__" + "\\begin{chapter} \\format[HTMLChars]{\\chapter}
\\end{chapter}" + - "\\begin{journal}

\\format[HTMLChars]{\\journal} \\end{journal} \\begin{volume}, Vol. \\volume\\end{volume}\\begin{series}
\\format[HTMLChars]{\\series}\\end{series}\\begin{number}, No. \\format[HTMLChars]{\\number}\\end{number}__NEWLINE__" + + "\\begin{editor & !author}
\\end{editor & !author}\\begin{!editor}
\\end{!editor}\\begin{journal}
\\format[HTMLChars]{\\journal} \\end{journal} \\begin{volume}, Vol. \\volume\\end{volume}\\begin{series}
= \\format[HTMLChars]{\\series}\\end{series}\\begin{number}, No. \\format[HTMLChars]{number}\\end{number}__NEWLINE__" + "\\begin{school} \\format[HTMLChars]{\\school}, \\end{school}__NEWLINE__" + "\\begin{institution} \\format[HTMLChars]{\\institution}, \\end{institution}__NEWLINE__" + - "\\begin{publisher}

\\format[HTMLChars]{\\publisher}\\end{publisher}\\begin{location}: \\format[HTMLChars]{\\location} \\end{location}__NEWLINE__" + + "\\begin{publisher}
\\format[HTMLChars]{\\publisher}\\end{publisher}\\begin{location}: \\format[HTMLChars]{\\location} \\end{location}__NEWLINE__" + "\\begin{pages}
p. \\format[FormatPagesForHTML]{\\pages}\\end{pages}__NEWLINE__" + "\\begin{abstract}

Abstract: \\format[HTMLChars]{\\abstract} \\end{abstract}__NEWLINE__" + "\\begin{owncitation}

Own citation: \\format[HTMLChars]{\\owncitation} \\end{owncitation}__NEWLINE__" + From 128b2c41f145182af5d9d243395611256cbc991d Mon Sep 17 00:00:00 2001 From: Alexander Schmitt Date: Sun, 13 Dec 2020 18:52:24 +0100 Subject: [PATCH 2/3] Update JabRefPreferences.java Minor Correction --- src/main/java/org/jabref/preferences/JabRefPreferences.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/org/jabref/preferences/JabRefPreferences.java b/src/main/java/org/jabref/preferences/JabRefPreferences.java index 83115813e18..1ded980a00c 100644 --- a/src/main/java/org/jabref/preferences/JabRefPreferences.java +++ b/src/main/java/org/jabref/preferences/JabRefPreferences.java @@ -670,7 +670,7 @@ private JabRefPreferences() { "\\begin{editor & author}

\\format[Authors(LastFirst,FullName,Sep= / ,LastSep= / ),HTMLChars]{\\editor} (\\format[IfPlural(Eds.,Ed.)]{\\editor})\\end{editor & author}__NEWLINE__" + "\\begin{booktitle}
\\format[HTMLChars]{\\booktitle}\\end{booktitle}__NEWLINE__" + "\\begin{chapter} \\format[HTMLChars]{\\chapter}
\\end{chapter}" + - "\\begin{editor & !author}
\\end{editor & !author}\\begin{!editor}
\\end{!editor}\\begin{journal}
\\format[HTMLChars]{\\journal} \\end{journal} \\begin{volume}, Vol. \\volume\\end{volume}\\begin{series}
= \\format[HTMLChars]{\\series}\\end{series}\\begin{number}, No. \\format[HTMLChars]{number}\\end{number}__NEWLINE__" + + "\\begin{editor & !author}
\\end{editor & !author}\\begin{!editor}
\\end{!editor}\\begin{journal}
\\format[HTMLChars]{\\journal} \\end{journal} \\begin{volume}, Vol. \\volume\\end{volume}\\begin{series}
= \\format[HTMLChars]{\\series}\\end{series}\\begin{number}, No. \\format[HTMLChars]{\\number}\\end{number}__NEWLINE__" + "\\begin{school} \\format[HTMLChars]{\\school}, \\end{school}__NEWLINE__" + "\\begin{institution} \\format[HTMLChars]{\\institution}, \\end{institution}__NEWLINE__" + "\\begin{publisher}
\\format[HTMLChars]{\\publisher}\\end{publisher}\\begin{location}: \\format[HTMLChars]{\\location} \\end{location}__NEWLINE__" + From 1da7de7642c409877e38469c726e1422f0b0e618 Mon Sep 17 00:00:00 2001 From: AtrusRiven Date: Sat, 19 Dec 2020 18:42:46 +0100 Subject: [PATCH 3/3] Additions for #7185 "=" deleted --- src/main/java/org/jabref/preferences/JabRefPreferences.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/org/jabref/preferences/JabRefPreferences.java b/src/main/java/org/jabref/preferences/JabRefPreferences.java index 1ded980a00c..ef7bd52b200 100644 --- a/src/main/java/org/jabref/preferences/JabRefPreferences.java +++ b/src/main/java/org/jabref/preferences/JabRefPreferences.java @@ -670,7 +670,7 @@ private JabRefPreferences() { "\\begin{editor & author}

\\format[Authors(LastFirst,FullName,Sep= / ,LastSep= / ),HTMLChars]{\\editor} (\\format[IfPlural(Eds.,Ed.)]{\\editor})\\end{editor & author}__NEWLINE__" + "\\begin{booktitle}
\\format[HTMLChars]{\\booktitle}\\end{booktitle}__NEWLINE__" + "\\begin{chapter} \\format[HTMLChars]{\\chapter}
\\end{chapter}" + - "\\begin{editor & !author}
\\end{editor & !author}\\begin{!editor}
\\end{!editor}\\begin{journal}
\\format[HTMLChars]{\\journal} \\end{journal} \\begin{volume}, Vol. \\volume\\end{volume}\\begin{series}
= \\format[HTMLChars]{\\series}\\end{series}\\begin{number}, No. \\format[HTMLChars]{\\number}\\end{number}__NEWLINE__" + + "\\begin{editor & !author}
\\end{editor & !author}\\begin{!editor}
\\end{!editor}\\begin{journal}
\\format[HTMLChars]{\\journal} \\end{journal} \\begin{volume}, Vol. \\volume\\end{volume}\\begin{series}
\\format[HTMLChars]{\\series}\\end{series}\\begin{number}, No. \\format[HTMLChars]{\\number}\\end{number}__NEWLINE__" + "\\begin{school} \\format[HTMLChars]{\\school}, \\end{school}__NEWLINE__" + "\\begin{institution} \\format[HTMLChars]{\\institution}, \\end{institution}__NEWLINE__" + "\\begin{publisher}
\\format[HTMLChars]{\\publisher}\\end{publisher}\\begin{location}: \\format[HTMLChars]{\\location} \\end{location}__NEWLINE__" +