-
-
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
Cite author-only or year-only in LibreOffice integration #7861
Comments
@antalk2 is currently restructuring and improving the code for the Libre Office citation feature, so maybe he has an idea if this could be possible |
Background:
invisible citations (available in JabRef) JabRef supports "invisible citations" which generate no citation marker in the text, The downside is that "(for a review see Doe, 2004)" (or whatever is needed) has to be typed in and updated by hand. When would you need to update by hand?
How could we support the "(for a review see Doe, 2004)" case?NoParenthesis citationsBesides Parenthesized "(Doe, 2003)", InText "Doe (2003)" and Invisible "", we could have a NoParenthesis "Doe, 2003"
What does it need?
prefix field for citation groupsOr we might try to control the parentheses and everything in between.
citeAuthorsOnly and citeYearPartOnly
JabRef only implements the 2000a,b,c style disambiguation. This kind of disambiguation seems to be unavoidable This means: "as \citeAuthorsOnly{jones2000} already pointed out in \citeYearPartOnly{jones2000}" There are some questions that arise:
How should numeric citation styles handle citeAuthorsOnly and citeYearOnly?
To keep the implementation simple (just two more possible values for CitationType and accepting the consequences):
Of these probably (2.2), (3) and (4) should be mentioned in the user documentation. So, yes, NoParenthesis, citeAuthorsOnly and citeYearOnly could be implemented, although with some consequences The representation in the document can be backward-compatible in the sense that if the new citation types We have buttons "Cite" "Cite in-text" "Insert empty citation". Maybe: Button: "Cite" + DropdownList: (Citation type: (Author, 2000)" | "Author (2000)" | "Author, 2000" | "Author" | "2000" | "{empty}" ) |
Thank you so much for investing so much thought in this. Remarks to some of your questions: Author-only/year-only and numeric stylesMaybe it helps to think about use-cases. One would be a text like
How would this read in numeric style? " Indeed I cannot think of any other use-case where the year should be retained in a numeric citation style. One could think of someone wanting to write something like
... but do we really need a dynamic field to write out the year in that case? If we chose the citation manually, we can also write out the year manually in the text. The advantage that the citation manager gives is disambiguation, so writing more author names if multiple citations begin with the same authors or use the a,b,c,... markers in the year. GUIAs for the GUI, I think it could go under "Cite special", that's at least where I looked when I tried to find the feature. |
Could you please try the latest Jabref development-build and check if the issue here still is reproducible? It can be found here: https://builds.jabref.org/main/ In the newest build, #7795, mainly authored by @antalk2, was merged. There were some changes related to the Open Office (OO) and Libre Office (LO) integration. Edit: Antalk2 clarified that this issue here was not addressed in the code that was merged. |
Is your suggestion for improvement related to a problem? Please describe.
Because my boss and collaborators are used to Word and it's change-tracking features, I am also stuck with it. Nevertheless, I use JabRef for my citations (in an ODT document that is then converted to DOCX before sending it around). It works fairly well, but there is the problem that it does not suppport every use-case I need for citations:
My workaround is to create a custom Style file that does not have parentheses, so it contains "
BracketBefore = ""
" and "BracketAfter = ""
". Then I can cover cases 1 and 4, which I use most freqently, but at the expense that cases 3 and 4 are not supported anymore.I can write the desired format by hand and use "Insert empty citation", but I get into trouble if I have two citations which have the same author-year combination. Because if my text has already citations to (Doe, 2009) and I add another citation with that author-year combinations, all previous citations get (Doe, 2009a) and the new one is (Doe, 2009b). But not for the citations that were inserted with the "Insert empty citation" function!
Describe the solution you'd like
Please make it possible to just cite the author and year separately with JabRef. This would make everything much easier as the author and year names can be embedded in text at wish. At the same time, ambiguities of citations can still be prevented (though I'm not sure that this is implemented in JabRef)
I'm also not the only one with this problem
The text was updated successfully, but these errors were encountered: