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.push to GUI and logic. Inheritance is OK -- GUI has all the GUI things ("enrichments´") and logic has pure push logic
- Refactoring is OK, e.g.,
database and list seem to be unsed at org.jabref.gui.push.PushToApplication#pushEntries. --> Maybe move org.jabref.gui.push.PushToApplicationCommand#getKeyString into that interface?! -- Mabe move AbstractPushToApplication to PushToApplication and get rid of the interface
preferences.getPushToApplicationPreferences().getCommandPaths() and all other preferences should be passed to the constructor of AbstractPushToApplication. 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: Instantiate org.jabref.gui.push.PushToTeXstudio withpreferences.getExternalApplicationsPreferences().getCiteCommand()
- NOTE
preferences.getExternalApplicationsPreferences().getCiteCommand() is only for illustration, in real, a seperate org.jabref.gui.frame.ExternalApplicationsPreferences object needs to generated and filled with a) existing preferences and b) overwritten as shown above. withers would 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
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.PushToTeXstudioneeds to be calledpackage org.jabref.gui.pushto GUI and logic. Inheritance is OK -- GUI has all the GUI things ("enrichments´") and logic has pure push logicdatabaseandlistseem 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 interfacepreferences.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}\autocite{key1,key2}needs to be passed: to org.jabref.logic.push.CitationCommandString#fromtexstudio=true: Instantiateorg.jabref.gui.push.PushToTeXstudiowithpreferences.getExternalApplicationsPreferences().getCiteCommand()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 UIDoc for the parameters of BBT: https://retorque.re/zotero-better-bibtex/citing/cayw/#diy