-
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Type option for Bachelor's thesis #10029
Comments
You could create your own custom entry type, but obviously biblatex based citationstyles will not adapt their style based on your custom type. For this reason, your best choice would have been to contact the biblatex project. You can find it here: https://github.com/plk/biblatex, but this is not necessary, as a quick search let me find following bachelor thesis related issue: plk/biblatex#660 Looks like
But I am not sure what the \bibfield[type} field is about. |
Thanks for looking it up 🙂 So it seems the ball is now back in JabRef's field, as this type needs to be added to the dropdown field. |
(I am not sure, where the data for the dropdown is currently coming from. Some options don't seem to make sense in that current scope (like |
Hi, I am hoping this issue is still needing to be resolved. I would like to be assigned to the issue and work on it. Is someone able to please assign me the isuse? My proposed solution is to create another Entry Type to accomodate the choice of Bachelors Thesis. I have had a look at the code and believe this will be a manageable issue for me. Please let me know if you would prefer a different implementation. |
Thank you for your interest @cmgoodall Please only add a "Type". |
As a general advice for newcomers: check out Contributing for a start. Also, guidelines for setting up a local workspace is worth having a look at. Feel free to ask here at GitHub, if you have any issue related questions. If you have questions about how to setup your workspace use JabRef's Gitter chat. Try to open a (draft) pull-request early on, so that people can see you are working on the issue and so that they can see the direction the pull request is heading towards. This way, you will likely receive valuable feedback. |
Hi @Siedlerchr, are you able to ellaborate by what you mean here? From my understanding, the issue was surrounding not having the appropriate Type to choose (Bachelor Thesis). If this is a documentation issue, that is fine, I'm just wanting to better understand what is required so I can have a positive impact on the repo. |
Sorry ignore my comment, I confused the types here. |
Hi @ThiloteE, I've been looking through the code base to get a better understanding of where to add this 'Type'. From what I can see, the file the 'Types' are held are in TypeEditorView.java. Are you able to confirm whether this is the correct place I need to edit? If it isn't I would very much appreicate some guidance. |
I am not good at coding (there are others here that can do that way better than me), but to me it looks like you could have found it. I would suggest to try to modify it on your fork of JabRef and try to run this new version and check if your new modified type will show in the UI ;-) |
I've implemented the new Type however, I'm now running into an issue when running the actual program. At first when JabRef[run] was executed, the app would open and I could see the changes I had made. However, now I get the following errors: `` Resetting customized entry types failed.: java.util.prefs.BackingStoreException: Synchronization failed for node '/org/jabref/customizedBiblatexTypes/' From here, run continues to execute however, even after 10 minutes, the program doesn't open. I've tried rebuilding the project as well as undoing any of the changes I made however, this doesn't seem to have worked. Does anyone know how to fix this? |
@cmgoodall thanks for working on this issue! Regarding your error: If you search for one of the node names, there is a result: https://github.com/search?q=repo%3AJabRef%2Fjabref%20customizedBiblatexTypes&type=code Possibly that helps you to further investigate. Similarly, you can probably also search for other parts of the exception, like "Resetting customized entry types failed" etc. to find the place in code where the Exceptions happen. |
There's a command line argument for resetting your preferences. https://docs.jabref.org/advanced/commandline#reset-preferences--d-key I gues there is something with serilaizing/deserilaizing the entry types as it now contains the value bathesis. |
Thanks for helping me out with this one. The weird bit is that I've commented out all of my code that I've implemented and I'm still getting the same errors. I believe when I was able to first run the program from IntelliJ, I was able to to see 'Bachelor's Thesis' as an option. In the process I also changed my preferred library mode to 'biblatx'. I believe this is where the issue lies for some reason. Siedlerchr, I looked at the link you provided but cannot understand how to execute the commands. I am currently just trying to run the application through IntelliJ by executing JabRef[run] which is a gradle runner. If you know where I am going wrong with this step, please let me know! The issue also happens on my main branch with no adjustments to the code whatsoever |
I've just recloned the whole repo as well and it's still happening. Anyone got any ideas? This is the output of run
|
You need to modify the run configuration and under program arguments you add that -d all The things are stored in the preferences, you would have to reset or delete them. |
Thanks for that @Siedlerchr! Fixed my issue. No idea what was going on, cannot replicate the issue at all which is quite strange. Anyway, just submitted a merge reqest for this issue. |
The erro could be mac related, but please also check the preferences migration org.jabref@100.0.0/org.jabref.migrations.PreferencesMigrations.upgradeStoredBibEntryTypes(PreferencesMigrations.java:180) |
Is it possible for my merge request to be reviewed? |
Thanks for fixing my issue! |
Is your suggestion for improvement related to a problem? Please describe.
A thesis can have different types, but right now, there is none for Bachelor's thesis.
Describe the solution you'd like
I want such a field, but not sure whether this also requires support for that in biblatex.
Do you know the best way to achieve this (or a good way, how to treat BA theses)?
The text was updated successfully, but these errors were encountered: