-
-
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
Rename cleanup actions: "Prepare for LaTeX" and "Prepare for BibTeX" #8672
Comments
|
Hello, I am new here and I have read the doc, I want to contribute to the open source community. I want to know if it is code related. If it is , could assign this issue to me? |
Hey, actually I was trying to work on this myself, because I am a complete beginner. I was surprised somebody would be interested in this issue this fast. If you really want to, you can do it, of course. Your choice! Christoph told me what needs to be done:
Documentation that will help fixing this issue specifically:
I am not sure if you would want to call fixing this issue here coding 😂 To my understanding, it is just about tweaking a few small lines of code and changing the documentation. There will be no new code. I assume, it is perfect for beginners that
If you want to or are required to work on more dauntin tasks, check out the other issues that are labeled Ps. As a general advice, check out https://github.com/JabRef/jabref/blob/main/CONTRIBUTING.md for a start. Also, https://devdocs.jabref.org/getting-into-the-code/guidelines-for-setting-up-a-local-workspace is a good start. Feel free to ask if you have any questions here on GitHub or also at 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. |
Thank you for your positive reply and your advice! I'd like to take this issue. |
Instead of "Make LaTeX ready: ..." Also, actually I am not completely sure if the "LaTeX cleanup" action prepares for LaTeX or if it prepares for something else. Needs investigation. See documentation about clean up entries: https://docs.jabref.org/finding-sorting-and-cleaning-entries/saveactions |
I think it good. OK, let's go with that'. |
I do not understand "Prepare for LaTeX". JabRef works on .bib files. They are designed to be used by BibTeX and biber, not LaTeX (at least not directly). |
Hmm. Then, maybe it should be changed to " JabRef works with .bib files, but it also can export bibliographic data to LibreOffice/OpenOffice or Microsoft Windows. When doing so, it is not necessary to convert bibliographic data, which can be read by LaTeX/Biber/BibTeX (or whatever) and therefore it would make sense to make the clean-up actions that ARE necessary for LaTeX/Biber/BibTeX more distinct. Worst case scenario, beginners create MIXED bibliographic data, that creates wrong output when compiled with Biber/BibTeX, but also creates wrong output when exporting to LibreOffice/OpenOffice or Microsoft Word. |
Hmm. I think "Prepare for LaTeX" is better after all. Look at the preamble of The Comprehensive LaTeX symbol list: They incorporate special characters from multiple packages. Biber and Bibtex are packages that use LaTeX, but these cleanup actions can also be used to prepare usage for other packages.
|
Biber and BibTeX are not packages; they are independent programs that get the bibliographic references ready to use by LaTeX. But, yeah, sure, they belong to the same workflow! My initial remark came from the "Make ready for LaTeX" and "Make ready for BibTeX" lists of actions. I did not understand the need to separate them. So, if there is a "Prepare for LaTeX", will we also need a "Prepare for LibreOffice/OpenOffice" and a "Prepare for Microsoft Office"? |
Fair enough. I mostly followed what is already in the description of the cleanup actions. If you hover with your mouse above them, you will see a small description.
Maybe, if people so desire? Most entry bibliographic data I fetch from bibliographic providers is already encoded in Unicode, so there does not need to be any preparation, but very rarely, it is not. I would not want people to use "Prepare for MS Office", when it is already prepared, because that might falsify bibliographic information. Maybe there should be a warning and explanation about this to users in that case. The good thing is: There are also cleanup actions that qualify to be used ALWAYS. E.g. the "normalize date" :-) It's a good one! |
Ah, OK, thank you for explaining.
But if it is prepared for LaTeX, will I be able to use it with MS Office? If not, I will need a "Prepare for MS office".
|
Closing this in favour of #8790 |
When this first came up: #8490 (comment)
My Problem:
Cleanup actions are not well described and contrary to users intuitive thought.
I always thought the "LaTeX cleanup" action would remove LaTeX code so that the entries will be rendered well via CSL entry preview or alternatively that the entries will be rendered well when using them with OpenOffice/LibreOffice, but instead this action mostly removes characters (via RegEx) that hinder the bibliographic data to be used with LaTeX. Therefore, this cleanup-action does not convert from LaTeX to "something else", but rather it goes the opposite direction.
Solution:
Make it more transparent to the user, which of the clenaup actions are advised to be used when trying to use the entries with LaTeX and Bibtex.
Make ready for LaTeX:- [ ] Rename "LaTeX cleanup" action toMake ready for LaTeX: Cleanup
- [ ] Rename "Unicode to LaTeX" toMake ready for LaTeX: Unicode to LaTeX
- [ ] Rename "HTML to LaTeX" toMake ready for LaTeX: HTML to LaTeX
- [ ] Rename "Ordinals to LaTeX superscript" toMake ready for LaTeX: Ordinals to LaTeX superscript
- [ ] Rename "Units to LaTeX" toMake ready for LaTeX: Units to LaTeX
Prepare for LaTeX:
Prepare for LaTeX: Cleanup
Prepare for LaTeX: Unicode to LaTeX
Prepare for LaTeX: HTML to LaTeX
Prepare for LaTeX: Ordinals to LaTeX superscript
Prepare for LaTeX: Units to LaTeX
Make ready for BibTeX:- [ ] Rename "Normalize month" toMake ready for BibTeX: Normalize month
- [ ] Rename "Normalize names of persons" toMake ready for BibTeX: Normalize names of persons
- [ ] Rename "Normalize pagenumbers" toMake ready for BibTeX: Normalize pagenumbers
Prepare for BibTeX:
Prepare for BibTeX: Normalize month
Prepare for BibTeX: Normalize names of persons
Prepare for BibTeX: Normalize pagenumbers
The text was updated successfully, but these errors were encountered: