From ad392c8e125c431d340fbde06fdf35e4f6c9a50f Mon Sep 17 00:00:00 2001 From: Oliver Kopp Date: Sat, 21 Mar 2020 17:48:37 +0100 Subject: [PATCH] Remove calling of WIP preview functionality --- src/main/java/org/jabref/preferences/JabRefPreferences.java | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/main/java/org/jabref/preferences/JabRefPreferences.java b/src/main/java/org/jabref/preferences/JabRefPreferences.java index bd7f2a98aab..b27ea3e1d70 100644 --- a/src/main/java/org/jabref/preferences/JabRefPreferences.java +++ b/src/main/java/org/jabref/preferences/JabRefPreferences.java @@ -58,7 +58,6 @@ import org.jabref.logic.bibtex.FieldContentFormatterPreferences; import org.jabref.logic.bibtex.FieldWriterPreferences; import org.jabref.logic.bibtexkeypattern.BibtexKeyPatternPreferences; -import org.jabref.logic.bst.BstPreviewLayout; import org.jabref.logic.citationstyle.CitationStyle; import org.jabref.logic.citationstyle.CitationStylePreviewLayout; import org.jabref.logic.cleanup.CleanupPreferences; @@ -652,7 +651,7 @@ private JabRefPreferences() { defaults.put(VERSION_IGNORED_UPDATE, ""); // preview - defaults.put(CYCLE_PREVIEW, "Preview;" + "bst/IEEEtran.bst;" + CitationStyle.DEFAULT); + defaults.put(CYCLE_PREVIEW, "Preview;" + CitationStyle.DEFAULT); defaults.put(CYCLE_PREVIEW_POS, 0); defaults.put(PREVIEW_PANEL_HEIGHT, 0.65); defaults.put(PREVIEW_AS_TAB, Boolean.FALSE); @@ -1493,8 +1492,6 @@ public PreviewPreferences getPreviewPreferences() { return CitationStyle.createCitationStyleFromFile(layout) .map(file -> (PreviewLayout) new CitationStylePreviewLayout(file)) .orElse(null); - } else if (layout.endsWith(".bst")) { - return new BstPreviewLayout(layout); } else { return new TextBasedPreviewLayout(style, getLayoutFormatterPreferences(Globals.journalAbbreviationLoader)); }