Same author same year bibliography issue












5















So I want to submit a paper to Biostatistics journal, which has its own Latex template and bibliographystyle{biorefs}. The problem arises when I try to cite two different papers of the same author and the same year. Such references are:



@article{kwok1999moderating,
title={Moderating the outputs of support vector machine classifiers},
author={Kwok, James Tin-Yau},
journal={IEEE Transactions on Neural Networks},
volume={10},
number={5},
pages={1018--1031},
year={1999},
publisher={IEEE}
}
@inproceedings{kwok1999integrating,
title={Integrating the evidence framework and the support vector machine.},
author={Kwok, James Tin-Yau},
booktitle={ESANN},
volume={99},
pages={177--182},
year={1999}
}


I have tried using cite and citep, but both of them produce (Kwok, 1999,?) as a result, instead of (Kwok, 1999a,1999b) or (Kwok, 1999a,b), which is what I want to obtain.



Any idea of how to solve it? Thanks a lot.



Edit: Here you can find an example in Overleaf (link).










share|improve this question




















  • 1





    (1) welcome, (2) it might be an idea to provide a link to the template and the bibtex file as at least the biorefs.bst is not included as standard in LaTeX

    – daleif
    Jan 8 at 11:38






  • 1





    Please consider adding a short example document that we can compile to your question. Please also tell us where we can find your version of biorefs.bst

    – moewe
    Jan 8 at 11:40











  • Here you can see an example in Overleaf: link

    – Sandra BP
    Jan 8 at 11:59






  • 1





    This seems to be a bug in biorefs.bst

    – DG'
    Jan 8 at 13:04
















5















So I want to submit a paper to Biostatistics journal, which has its own Latex template and bibliographystyle{biorefs}. The problem arises when I try to cite two different papers of the same author and the same year. Such references are:



@article{kwok1999moderating,
title={Moderating the outputs of support vector machine classifiers},
author={Kwok, James Tin-Yau},
journal={IEEE Transactions on Neural Networks},
volume={10},
number={5},
pages={1018--1031},
year={1999},
publisher={IEEE}
}
@inproceedings{kwok1999integrating,
title={Integrating the evidence framework and the support vector machine.},
author={Kwok, James Tin-Yau},
booktitle={ESANN},
volume={99},
pages={177--182},
year={1999}
}


I have tried using cite and citep, but both of them produce (Kwok, 1999,?) as a result, instead of (Kwok, 1999a,1999b) or (Kwok, 1999a,b), which is what I want to obtain.



Any idea of how to solve it? Thanks a lot.



Edit: Here you can find an example in Overleaf (link).










share|improve this question




















  • 1





    (1) welcome, (2) it might be an idea to provide a link to the template and the bibtex file as at least the biorefs.bst is not included as standard in LaTeX

    – daleif
    Jan 8 at 11:38






  • 1





    Please consider adding a short example document that we can compile to your question. Please also tell us where we can find your version of biorefs.bst

    – moewe
    Jan 8 at 11:40











  • Here you can see an example in Overleaf: link

    – Sandra BP
    Jan 8 at 11:59






  • 1





    This seems to be a bug in biorefs.bst

    – DG'
    Jan 8 at 13:04














5












5








5


1






So I want to submit a paper to Biostatistics journal, which has its own Latex template and bibliographystyle{biorefs}. The problem arises when I try to cite two different papers of the same author and the same year. Such references are:



@article{kwok1999moderating,
title={Moderating the outputs of support vector machine classifiers},
author={Kwok, James Tin-Yau},
journal={IEEE Transactions on Neural Networks},
volume={10},
number={5},
pages={1018--1031},
year={1999},
publisher={IEEE}
}
@inproceedings{kwok1999integrating,
title={Integrating the evidence framework and the support vector machine.},
author={Kwok, James Tin-Yau},
booktitle={ESANN},
volume={99},
pages={177--182},
year={1999}
}


I have tried using cite and citep, but both of them produce (Kwok, 1999,?) as a result, instead of (Kwok, 1999a,1999b) or (Kwok, 1999a,b), which is what I want to obtain.



Any idea of how to solve it? Thanks a lot.



Edit: Here you can find an example in Overleaf (link).










share|improve this question
















So I want to submit a paper to Biostatistics journal, which has its own Latex template and bibliographystyle{biorefs}. The problem arises when I try to cite two different papers of the same author and the same year. Such references are:



@article{kwok1999moderating,
title={Moderating the outputs of support vector machine classifiers},
author={Kwok, James Tin-Yau},
journal={IEEE Transactions on Neural Networks},
volume={10},
number={5},
pages={1018--1031},
year={1999},
publisher={IEEE}
}
@inproceedings{kwok1999integrating,
title={Integrating the evidence framework and the support vector machine.},
author={Kwok, James Tin-Yau},
booktitle={ESANN},
volume={99},
pages={177--182},
year={1999}
}


I have tried using cite and citep, but both of them produce (Kwok, 1999,?) as a result, instead of (Kwok, 1999a,1999b) or (Kwok, 1999a,b), which is what I want to obtain.



Any idea of how to solve it? Thanks a lot.



Edit: Here you can find an example in Overleaf (link).







bibliographies bibtex






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Jan 8 at 18:27









DG'

9,42011741




9,42011741










asked Jan 8 at 11:35









Sandra BPSandra BP

284




284








  • 1





    (1) welcome, (2) it might be an idea to provide a link to the template and the bibtex file as at least the biorefs.bst is not included as standard in LaTeX

    – daleif
    Jan 8 at 11:38






  • 1





    Please consider adding a short example document that we can compile to your question. Please also tell us where we can find your version of biorefs.bst

    – moewe
    Jan 8 at 11:40











  • Here you can see an example in Overleaf: link

    – Sandra BP
    Jan 8 at 11:59






  • 1





    This seems to be a bug in biorefs.bst

    – DG'
    Jan 8 at 13:04














  • 1





    (1) welcome, (2) it might be an idea to provide a link to the template and the bibtex file as at least the biorefs.bst is not included as standard in LaTeX

    – daleif
    Jan 8 at 11:38






  • 1





    Please consider adding a short example document that we can compile to your question. Please also tell us where we can find your version of biorefs.bst

    – moewe
    Jan 8 at 11:40











  • Here you can see an example in Overleaf: link

    – Sandra BP
    Jan 8 at 11:59






  • 1





    This seems to be a bug in biorefs.bst

    – DG'
    Jan 8 at 13:04








1




1





(1) welcome, (2) it might be an idea to provide a link to the template and the bibtex file as at least the biorefs.bst is not included as standard in LaTeX

– daleif
Jan 8 at 11:38





(1) welcome, (2) it might be an idea to provide a link to the template and the bibtex file as at least the biorefs.bst is not included as standard in LaTeX

– daleif
Jan 8 at 11:38




1




1





Please consider adding a short example document that we can compile to your question. Please also tell us where we can find your version of biorefs.bst

– moewe
Jan 8 at 11:40





Please consider adding a short example document that we can compile to your question. Please also tell us where we can find your version of biorefs.bst

– moewe
Jan 8 at 11:40













Here you can see an example in Overleaf: link

– Sandra BP
Jan 8 at 11:59





Here you can see an example in Overleaf: link

– Sandra BP
Jan 8 at 11:59




1




1





This seems to be a bug in biorefs.bst

– DG'
Jan 8 at 13:04





This seems to be a bug in biorefs.bst

– DG'
Jan 8 at 13:04










1 Answer
1






active

oldest

votes


















7














This seems to be a bug in biorefs.bst.



Since it is usually a very bad idea to modify files without renaming them, do rename biorefs.bst (e.g. newbiorefs.bst) and change line 1079 from



label.year write$


to



sort.year write$ 


Like this:



FUNCTION {output.bibitem}
{ newline$
"bibitem[" write$
make.abbr.label write$
"(" write$
sort.year write$ % <-- here!!!
")" write$
make.full.label write$
"]{" write$
cite$ write$
"}" write$
newline$
""
before.all 'output.state :=
}


Now the output looks like this:



enter image description here



You should absolutely contact the maintainers about this.






share|improve this answer

























    Your Answer








    StackExchange.ready(function() {
    var channelOptions = {
    tags: "".split(" "),
    id: "85"
    };
    initTagRenderer("".split(" "), "".split(" "), channelOptions);

    StackExchange.using("externalEditor", function() {
    // Have to fire editor after snippets, if snippets enabled
    if (StackExchange.settings.snippets.snippetsEnabled) {
    StackExchange.using("snippets", function() {
    createEditor();
    });
    }
    else {
    createEditor();
    }
    });

    function createEditor() {
    StackExchange.prepareEditor({
    heartbeatType: 'answer',
    autoActivateHeartbeat: false,
    convertImagesToLinks: false,
    noModals: true,
    showLowRepImageUploadWarning: true,
    reputationToPostImages: null,
    bindNavPrevention: true,
    postfix: "",
    imageUploader: {
    brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
    contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
    allowUrls: true
    },
    onDemand: true,
    discardSelector: ".discard-answer"
    ,immediatelyShowMarkdownHelp:true
    });


    }
    });














    draft saved

    draft discarded


















    StackExchange.ready(
    function () {
    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f469134%2fsame-author-same-year-bibliography-issue%23new-answer', 'question_page');
    }
    );

    Post as a guest















    Required, but never shown

























    1 Answer
    1






    active

    oldest

    votes








    1 Answer
    1






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes









    7














    This seems to be a bug in biorefs.bst.



    Since it is usually a very bad idea to modify files without renaming them, do rename biorefs.bst (e.g. newbiorefs.bst) and change line 1079 from



    label.year write$


    to



    sort.year write$ 


    Like this:



    FUNCTION {output.bibitem}
    { newline$
    "bibitem[" write$
    make.abbr.label write$
    "(" write$
    sort.year write$ % <-- here!!!
    ")" write$
    make.full.label write$
    "]{" write$
    cite$ write$
    "}" write$
    newline$
    ""
    before.all 'output.state :=
    }


    Now the output looks like this:



    enter image description here



    You should absolutely contact the maintainers about this.






    share|improve this answer






























      7














      This seems to be a bug in biorefs.bst.



      Since it is usually a very bad idea to modify files without renaming them, do rename biorefs.bst (e.g. newbiorefs.bst) and change line 1079 from



      label.year write$


      to



      sort.year write$ 


      Like this:



      FUNCTION {output.bibitem}
      { newline$
      "bibitem[" write$
      make.abbr.label write$
      "(" write$
      sort.year write$ % <-- here!!!
      ")" write$
      make.full.label write$
      "]{" write$
      cite$ write$
      "}" write$
      newline$
      ""
      before.all 'output.state :=
      }


      Now the output looks like this:



      enter image description here



      You should absolutely contact the maintainers about this.






      share|improve this answer




























        7












        7








        7







        This seems to be a bug in biorefs.bst.



        Since it is usually a very bad idea to modify files without renaming them, do rename biorefs.bst (e.g. newbiorefs.bst) and change line 1079 from



        label.year write$


        to



        sort.year write$ 


        Like this:



        FUNCTION {output.bibitem}
        { newline$
        "bibitem[" write$
        make.abbr.label write$
        "(" write$
        sort.year write$ % <-- here!!!
        ")" write$
        make.full.label write$
        "]{" write$
        cite$ write$
        "}" write$
        newline$
        ""
        before.all 'output.state :=
        }


        Now the output looks like this:



        enter image description here



        You should absolutely contact the maintainers about this.






        share|improve this answer















        This seems to be a bug in biorefs.bst.



        Since it is usually a very bad idea to modify files without renaming them, do rename biorefs.bst (e.g. newbiorefs.bst) and change line 1079 from



        label.year write$


        to



        sort.year write$ 


        Like this:



        FUNCTION {output.bibitem}
        { newline$
        "bibitem[" write$
        make.abbr.label write$
        "(" write$
        sort.year write$ % <-- here!!!
        ")" write$
        make.full.label write$
        "]{" write$
        cite$ write$
        "}" write$
        newline$
        ""
        before.all 'output.state :=
        }


        Now the output looks like this:



        enter image description here



        You should absolutely contact the maintainers about this.







        share|improve this answer














        share|improve this answer



        share|improve this answer








        edited Jan 8 at 14:24

























        answered Jan 8 at 13:07









        DG'DG'

        9,42011741




        9,42011741






























            draft saved

            draft discarded




















































            Thanks for contributing an answer to TeX - LaTeX Stack Exchange!


            • Please be sure to answer the question. Provide details and share your research!

            But avoid



            • Asking for help, clarification, or responding to other answers.

            • Making statements based on opinion; back them up with references or personal experience.


            To learn more, see our tips on writing great answers.




            draft saved


            draft discarded














            StackExchange.ready(
            function () {
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f469134%2fsame-author-same-year-bibliography-issue%23new-answer', 'question_page');
            }
            );

            Post as a guest















            Required, but never shown





















































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown

































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown







            Popular posts from this blog

            Mario Kart Wii

            The Binding of Isaac: Rebirth/Afterbirth

            What does “Dominus providebit” mean?