forked from JabRef/jabref
-
Notifications
You must be signed in to change notification settings - Fork 0
Closed
JabRef/jabref
#13514Description
Contributes to #1
The URL shown in https://www.youtube.com/watch?v=Whn9Mk-JwL0 should be supported
?format=biblatex&command=autocite&texstudio=true&minimize=true
⚠ Will be harder to implement ⚠
org.jabref.gui.push.PushToTeXstudio needs to be called
- Refactor
package org.jabref.gui.pushto GUI and logic. Inheritance is OK -- GUI has all the GUI things ("enrichments´") and logic has pure push logic - Refactoring is OK, e.g.,
databaseandlistseem to be unsed at org.jabref.gui.push.PushToApplication#pushEntries. --> Maybe moveorg.jabref.gui.push.PushToApplicationCommand#getKeyStringinto that interface?! -- Mabe moveAbstractPushToApplicationtoPushToApplicationand get rid of the interface preferences.getPushToApplicationPreferences().getCommandPaths()and all other preferences should be passed to the constructor ofAbstractPushToApplication. Reason: The CAYW will have to "inject" other preferences. And full preferences are more hard to inject than smaller preference objects.
format=biblatex- enables following:command=autocite--> preferences.getExternalApplicationsPreferences().getCiteCommand().prefix() is\autocite{preferences.getExternalApplicationsPreferences().getCiteCommand().delimiter()is,preferences.getExternalApplicationsPreferences().getCiteCommand().suffix()is}- Maybe, it is even simpler and just
\autocite{key1,key2}needs to be passed: to org.jabref.logic.push.CitationCommandString#from
texstudio=true: Instantiateorg.jabref.gui.push.PushToTeXstudiowithpreferences.getExternalApplicationsPreferences().getCiteCommand()- NOTE
preferences.getExternalApplicationsPreferences().getCiteCommand()is only for illustration, in real, a seperateorg.jabref.gui.frame.ExternalApplicationsPreferencesobject needs to generated and filled with a) existing preferences and b) overwritten as shown above.witherswould be OK.
minimize: noop currently (because not the full JabRef window is opened) --> will be important if integrated in full JabRef UI
Doc for the parameters of BBT: https://retorque.re/zotero-better-bibtex/citing/cayw/#diy
