-
Notifications
You must be signed in to change notification settings - Fork 42
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
Multiple citations of the same key lead to several entries in the references list #226
Comments
Hi Samuel, My intention was to enable a kind of footnote citation like in Word or Wikipedia, in which is it more common to repeat the source. But I can fully understand that this is not for all a wished behaviour. So, I think it wood be the best idea to create an option (as an shortcode parameter) for the user to switch between both variants. |
Makes sense, thanks! I'll set up a development environment when possible and propose you a merge request later. Thanks again for the plugin, which provides a high value for me! |
Hi Michael, I'm analyzing the code, and am back with a question regarding the expected behaviour. analyzis options I see few solutions:
I'd tend to opt for option 1 which is easy to do with less code. It would affect only people who want to factorize the refs, the default behaviour would remain unchanged. What do you think? Thanks for you time |
After prototyping: adding a new shortcode (option 1) does not seem very relevant:
I submitted a merge request with option 2 (additional setting). Other options might be considered later, such as adding backrefs for instance. I've the feeling it's really not intrusive to the user; indeed no one will notice the possibility if they don't change the setting in the settings page. Feel free to tell me if this is not ok for you. Thanks! |
Thank you for the pull request! I think each variant has its advantages and disadvantages. I also haven't the perfect idea. So, the one you have added is fully fine for me. Let's give it a try in the wild :) |
Hi,
Thanks for the great plugin!
I cited several times the same article (same key) in several places using tpcite. I expected the latex/bibtex behaviour with the same number being referenced several times (one unique entry 1 referenced several times). I obtain instead as many entries in the list of references created by tpref as tpcite calls.
I can try to contribute the code to have unique references if you agree this would be the expected behaviour
Thanks again
The text was updated successfully, but these errors were encountered: