dashes for same author name in bib file












1















There are many questions (with answers) on how to fix the appearance of ----- for the same author names in bibtex. However still I have problem!!



My bib file contains



@IEEEtranBSTCTL{bstctl:nodash,
CTLdash_repeated_names = "no",
}
@inproceedings{Ebrahimi09,
author = {E. Ebrahimi and others},
title = {Coordinated control of multiple prefetchers in multi-core systems},
booktitle = {MICRO-42},
year = {2009},
pages = {316-326},
}
@inproceedings{Ebrahimi09_2,
author = {E. Ebrahimi and others},
title = {Techniques for bandwidth-efficient prefetching of linked data structures in hybrid prefetching systems},
booktitle = {HPCA-15},
year = {2009},
pages = {7-17},
}


However the output file looks like



enter image description here



In fact changing CTLdash_repeated_names = "no", to CTLdash_repeated_names = "yes", has no effect! How can I fix that?



In the .tex file, the bibliography is called in this way



documentclass[conference]{IEEEtran}
section{Introduction}
... works~cite{Ebrahimi09,Ebrahimi09_2}
bstctlcite{bstctl:etal, bstctl:nodash, bstctl:simpurl}
bibliographystyle{IEEEtran}
bibliography{ref}
end{document}


UPDATE



I have a script (in windows) that runs the following commands



:: Run pdflatex -> bibtex -> pdflatex -> pdflatex
pdflatex %2 --file-line-error-style
bibtex %2
:: If you are using multibib the following will run bibtex on all aux files
:: FOR /R . %%G IN (*.aux) DO bibtex %%G
pdflatex %2 --file-line-error-style
pdflatex %2









share|improve this question




















  • 1





    Did you run BibTeX then LaTeX again after changing the control value? You know that the IEEE style is specifically for submission to journals, and it should not be messed about with, I assume.

    – Joseph Wright
    Apr 27 '14 at 8:30











  • Could you add a minimal working example? I wonder if you are correctly citing the control stuff.

    – Joseph Wright
    Apr 27 '14 at 9:12











  • This looks like a bug in the style. If you change the entries to type @article instead of @inproceedings then it works as expected.

    – Andrew Swann
    Apr 27 '14 at 10:19











  • @AndrewSwann: No effect. I checked the blg file and found Warning--I didn't find a database entry for "bstctl:nodash" What does that mean?

    – mahmood
    Apr 27 '14 at 10:27











  • It means that it looked for and did not find that entry. Does the log say it loaded the correct file?

    – Andrew Swann
    Apr 27 '14 at 14:53
















1















There are many questions (with answers) on how to fix the appearance of ----- for the same author names in bibtex. However still I have problem!!



My bib file contains



@IEEEtranBSTCTL{bstctl:nodash,
CTLdash_repeated_names = "no",
}
@inproceedings{Ebrahimi09,
author = {E. Ebrahimi and others},
title = {Coordinated control of multiple prefetchers in multi-core systems},
booktitle = {MICRO-42},
year = {2009},
pages = {316-326},
}
@inproceedings{Ebrahimi09_2,
author = {E. Ebrahimi and others},
title = {Techniques for bandwidth-efficient prefetching of linked data structures in hybrid prefetching systems},
booktitle = {HPCA-15},
year = {2009},
pages = {7-17},
}


However the output file looks like



enter image description here



In fact changing CTLdash_repeated_names = "no", to CTLdash_repeated_names = "yes", has no effect! How can I fix that?



In the .tex file, the bibliography is called in this way



documentclass[conference]{IEEEtran}
section{Introduction}
... works~cite{Ebrahimi09,Ebrahimi09_2}
bstctlcite{bstctl:etal, bstctl:nodash, bstctl:simpurl}
bibliographystyle{IEEEtran}
bibliography{ref}
end{document}


UPDATE



I have a script (in windows) that runs the following commands



:: Run pdflatex -> bibtex -> pdflatex -> pdflatex
pdflatex %2 --file-line-error-style
bibtex %2
:: If you are using multibib the following will run bibtex on all aux files
:: FOR /R . %%G IN (*.aux) DO bibtex %%G
pdflatex %2 --file-line-error-style
pdflatex %2









share|improve this question




















  • 1





    Did you run BibTeX then LaTeX again after changing the control value? You know that the IEEE style is specifically for submission to journals, and it should not be messed about with, I assume.

    – Joseph Wright
    Apr 27 '14 at 8:30











  • Could you add a minimal working example? I wonder if you are correctly citing the control stuff.

    – Joseph Wright
    Apr 27 '14 at 9:12











  • This looks like a bug in the style. If you change the entries to type @article instead of @inproceedings then it works as expected.

    – Andrew Swann
    Apr 27 '14 at 10:19











  • @AndrewSwann: No effect. I checked the blg file and found Warning--I didn't find a database entry for "bstctl:nodash" What does that mean?

    – mahmood
    Apr 27 '14 at 10:27











  • It means that it looked for and did not find that entry. Does the log say it loaded the correct file?

    – Andrew Swann
    Apr 27 '14 at 14:53














1












1








1








There are many questions (with answers) on how to fix the appearance of ----- for the same author names in bibtex. However still I have problem!!



My bib file contains



@IEEEtranBSTCTL{bstctl:nodash,
CTLdash_repeated_names = "no",
}
@inproceedings{Ebrahimi09,
author = {E. Ebrahimi and others},
title = {Coordinated control of multiple prefetchers in multi-core systems},
booktitle = {MICRO-42},
year = {2009},
pages = {316-326},
}
@inproceedings{Ebrahimi09_2,
author = {E. Ebrahimi and others},
title = {Techniques for bandwidth-efficient prefetching of linked data structures in hybrid prefetching systems},
booktitle = {HPCA-15},
year = {2009},
pages = {7-17},
}


However the output file looks like



enter image description here



In fact changing CTLdash_repeated_names = "no", to CTLdash_repeated_names = "yes", has no effect! How can I fix that?



In the .tex file, the bibliography is called in this way



documentclass[conference]{IEEEtran}
section{Introduction}
... works~cite{Ebrahimi09,Ebrahimi09_2}
bstctlcite{bstctl:etal, bstctl:nodash, bstctl:simpurl}
bibliographystyle{IEEEtran}
bibliography{ref}
end{document}


UPDATE



I have a script (in windows) that runs the following commands



:: Run pdflatex -> bibtex -> pdflatex -> pdflatex
pdflatex %2 --file-line-error-style
bibtex %2
:: If you are using multibib the following will run bibtex on all aux files
:: FOR /R . %%G IN (*.aux) DO bibtex %%G
pdflatex %2 --file-line-error-style
pdflatex %2









share|improve this question
















There are many questions (with answers) on how to fix the appearance of ----- for the same author names in bibtex. However still I have problem!!



My bib file contains



@IEEEtranBSTCTL{bstctl:nodash,
CTLdash_repeated_names = "no",
}
@inproceedings{Ebrahimi09,
author = {E. Ebrahimi and others},
title = {Coordinated control of multiple prefetchers in multi-core systems},
booktitle = {MICRO-42},
year = {2009},
pages = {316-326},
}
@inproceedings{Ebrahimi09_2,
author = {E. Ebrahimi and others},
title = {Techniques for bandwidth-efficient prefetching of linked data structures in hybrid prefetching systems},
booktitle = {HPCA-15},
year = {2009},
pages = {7-17},
}


However the output file looks like



enter image description here



In fact changing CTLdash_repeated_names = "no", to CTLdash_repeated_names = "yes", has no effect! How can I fix that?



In the .tex file, the bibliography is called in this way



documentclass[conference]{IEEEtran}
section{Introduction}
... works~cite{Ebrahimi09,Ebrahimi09_2}
bstctlcite{bstctl:etal, bstctl:nodash, bstctl:simpurl}
bibliographystyle{IEEEtran}
bibliography{ref}
end{document}


UPDATE



I have a script (in windows) that runs the following commands



:: Run pdflatex -> bibtex -> pdflatex -> pdflatex
pdflatex %2 --file-line-error-style
bibtex %2
:: If you are using multibib the following will run bibtex on all aux files
:: FOR /R . %%G IN (*.aux) DO bibtex %%G
pdflatex %2 --file-line-error-style
pdflatex %2






bibtex






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Apr 27 '14 at 9:18







mahmood

















asked Apr 27 '14 at 8:28









mahmoodmahmood

1,29671630




1,29671630








  • 1





    Did you run BibTeX then LaTeX again after changing the control value? You know that the IEEE style is specifically for submission to journals, and it should not be messed about with, I assume.

    – Joseph Wright
    Apr 27 '14 at 8:30











  • Could you add a minimal working example? I wonder if you are correctly citing the control stuff.

    – Joseph Wright
    Apr 27 '14 at 9:12











  • This looks like a bug in the style. If you change the entries to type @article instead of @inproceedings then it works as expected.

    – Andrew Swann
    Apr 27 '14 at 10:19











  • @AndrewSwann: No effect. I checked the blg file and found Warning--I didn't find a database entry for "bstctl:nodash" What does that mean?

    – mahmood
    Apr 27 '14 at 10:27











  • It means that it looked for and did not find that entry. Does the log say it loaded the correct file?

    – Andrew Swann
    Apr 27 '14 at 14:53














  • 1





    Did you run BibTeX then LaTeX again after changing the control value? You know that the IEEE style is specifically for submission to journals, and it should not be messed about with, I assume.

    – Joseph Wright
    Apr 27 '14 at 8:30











  • Could you add a minimal working example? I wonder if you are correctly citing the control stuff.

    – Joseph Wright
    Apr 27 '14 at 9:12











  • This looks like a bug in the style. If you change the entries to type @article instead of @inproceedings then it works as expected.

    – Andrew Swann
    Apr 27 '14 at 10:19











  • @AndrewSwann: No effect. I checked the blg file and found Warning--I didn't find a database entry for "bstctl:nodash" What does that mean?

    – mahmood
    Apr 27 '14 at 10:27











  • It means that it looked for and did not find that entry. Does the log say it loaded the correct file?

    – Andrew Swann
    Apr 27 '14 at 14:53








1




1





Did you run BibTeX then LaTeX again after changing the control value? You know that the IEEE style is specifically for submission to journals, and it should not be messed about with, I assume.

– Joseph Wright
Apr 27 '14 at 8:30





Did you run BibTeX then LaTeX again after changing the control value? You know that the IEEE style is specifically for submission to journals, and it should not be messed about with, I assume.

– Joseph Wright
Apr 27 '14 at 8:30













Could you add a minimal working example? I wonder if you are correctly citing the control stuff.

– Joseph Wright
Apr 27 '14 at 9:12





Could you add a minimal working example? I wonder if you are correctly citing the control stuff.

– Joseph Wright
Apr 27 '14 at 9:12













This looks like a bug in the style. If you change the entries to type @article instead of @inproceedings then it works as expected.

– Andrew Swann
Apr 27 '14 at 10:19





This looks like a bug in the style. If you change the entries to type @article instead of @inproceedings then it works as expected.

– Andrew Swann
Apr 27 '14 at 10:19













@AndrewSwann: No effect. I checked the blg file and found Warning--I didn't find a database entry for "bstctl:nodash" What does that mean?

– mahmood
Apr 27 '14 at 10:27





@AndrewSwann: No effect. I checked the blg file and found Warning--I didn't find a database entry for "bstctl:nodash" What does that mean?

– mahmood
Apr 27 '14 at 10:27













It means that it looked for and did not find that entry. Does the log say it loaded the correct file?

– Andrew Swann
Apr 27 '14 at 14:53





It means that it looked for and did not find that entry. Does the log say it loaded the correct file?

– Andrew Swann
Apr 27 '14 at 14:53










1 Answer
1






active

oldest

votes


















0














In your code bstctlcite must be the first citation command. It will not work if there were any other cites issued before calling bstctlcite.



The IEEETran BibTeX style documentation explains




bstctlcite is silent — it will not add any entry to, or affect the numbering of, the bibliography, nor will it place any citation numbers in the main text. There are two main limitations on its use:




  1. For the unsorted BibTeX style, it must be placed before any entries that it is to affect. Because the user will almost always want to apply the changes to all the bibliography entries, a good location is just after begin{document}. For the sorting style, control entries will automatically be given a sort key value that will put them at the beginning of the references. If this is not desired, a control entry can be manually given a key field with a value that will result in the desired sort position.


  2. operation is “one shot.” That is to say the same control entry cannot be used again (within the same bibliography). However, it is possible to call another control entry that uses a different key name. This behavior is directly related to the way BibTeX allows a reference to be cited multiple times, yet still produces only one entry within the bibliography.





Hence



documentclass[conference]{IEEEtran}

%usepackage{filecontents}
begin{filecontents}{jobname.bib}
@IEEEtranBSTCTL{bstctl:nodash,
CTLdash_repeated_names = "no",
}
@inproceedings{Ebrahimi09,
author = {E. Ebrahimi and others},
title = {Coordinated control of multiple prefetchers in multi-core systems},
booktitle = {MICRO-42},
year = {2009},
pages = {316-326},
}
@inproceedings{Ebrahimi09_2,
author = {E. Ebrahimi and others},
title = {Techniques for bandwidth-efficient prefetching of linked data structures in hybrid prefetching systems},
booktitle = {HPCA-15},
year = {2009},
pages = {7-17},
}
end{filecontents}

begin{document}
bstctlcite{bstctl:etal, bstctl:nodash, bstctl:simpurl}

section{Introduction}
... works~cite{Ebrahimi09,Ebrahimi09_2}
bibliographystyle{IEEEtran}
bibliography{jobname}
end{document}


works as expected



No dash in the bibliography.






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%2f173730%2fdashes-for-same-author-name-in-bib-file%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









    0














    In your code bstctlcite must be the first citation command. It will not work if there were any other cites issued before calling bstctlcite.



    The IEEETran BibTeX style documentation explains




    bstctlcite is silent — it will not add any entry to, or affect the numbering of, the bibliography, nor will it place any citation numbers in the main text. There are two main limitations on its use:




    1. For the unsorted BibTeX style, it must be placed before any entries that it is to affect. Because the user will almost always want to apply the changes to all the bibliography entries, a good location is just after begin{document}. For the sorting style, control entries will automatically be given a sort key value that will put them at the beginning of the references. If this is not desired, a control entry can be manually given a key field with a value that will result in the desired sort position.


    2. operation is “one shot.” That is to say the same control entry cannot be used again (within the same bibliography). However, it is possible to call another control entry that uses a different key name. This behavior is directly related to the way BibTeX allows a reference to be cited multiple times, yet still produces only one entry within the bibliography.





    Hence



    documentclass[conference]{IEEEtran}

    %usepackage{filecontents}
    begin{filecontents}{jobname.bib}
    @IEEEtranBSTCTL{bstctl:nodash,
    CTLdash_repeated_names = "no",
    }
    @inproceedings{Ebrahimi09,
    author = {E. Ebrahimi and others},
    title = {Coordinated control of multiple prefetchers in multi-core systems},
    booktitle = {MICRO-42},
    year = {2009},
    pages = {316-326},
    }
    @inproceedings{Ebrahimi09_2,
    author = {E. Ebrahimi and others},
    title = {Techniques for bandwidth-efficient prefetching of linked data structures in hybrid prefetching systems},
    booktitle = {HPCA-15},
    year = {2009},
    pages = {7-17},
    }
    end{filecontents}

    begin{document}
    bstctlcite{bstctl:etal, bstctl:nodash, bstctl:simpurl}

    section{Introduction}
    ... works~cite{Ebrahimi09,Ebrahimi09_2}
    bibliographystyle{IEEEtran}
    bibliography{jobname}
    end{document}


    works as expected



    No dash in the bibliography.






    share|improve this answer




























      0














      In your code bstctlcite must be the first citation command. It will not work if there were any other cites issued before calling bstctlcite.



      The IEEETran BibTeX style documentation explains




      bstctlcite is silent — it will not add any entry to, or affect the numbering of, the bibliography, nor will it place any citation numbers in the main text. There are two main limitations on its use:




      1. For the unsorted BibTeX style, it must be placed before any entries that it is to affect. Because the user will almost always want to apply the changes to all the bibliography entries, a good location is just after begin{document}. For the sorting style, control entries will automatically be given a sort key value that will put them at the beginning of the references. If this is not desired, a control entry can be manually given a key field with a value that will result in the desired sort position.


      2. operation is “one shot.” That is to say the same control entry cannot be used again (within the same bibliography). However, it is possible to call another control entry that uses a different key name. This behavior is directly related to the way BibTeX allows a reference to be cited multiple times, yet still produces only one entry within the bibliography.





      Hence



      documentclass[conference]{IEEEtran}

      %usepackage{filecontents}
      begin{filecontents}{jobname.bib}
      @IEEEtranBSTCTL{bstctl:nodash,
      CTLdash_repeated_names = "no",
      }
      @inproceedings{Ebrahimi09,
      author = {E. Ebrahimi and others},
      title = {Coordinated control of multiple prefetchers in multi-core systems},
      booktitle = {MICRO-42},
      year = {2009},
      pages = {316-326},
      }
      @inproceedings{Ebrahimi09_2,
      author = {E. Ebrahimi and others},
      title = {Techniques for bandwidth-efficient prefetching of linked data structures in hybrid prefetching systems},
      booktitle = {HPCA-15},
      year = {2009},
      pages = {7-17},
      }
      end{filecontents}

      begin{document}
      bstctlcite{bstctl:etal, bstctl:nodash, bstctl:simpurl}

      section{Introduction}
      ... works~cite{Ebrahimi09,Ebrahimi09_2}
      bibliographystyle{IEEEtran}
      bibliography{jobname}
      end{document}


      works as expected



      No dash in the bibliography.






      share|improve this answer


























        0












        0








        0







        In your code bstctlcite must be the first citation command. It will not work if there were any other cites issued before calling bstctlcite.



        The IEEETran BibTeX style documentation explains




        bstctlcite is silent — it will not add any entry to, or affect the numbering of, the bibliography, nor will it place any citation numbers in the main text. There are two main limitations on its use:




        1. For the unsorted BibTeX style, it must be placed before any entries that it is to affect. Because the user will almost always want to apply the changes to all the bibliography entries, a good location is just after begin{document}. For the sorting style, control entries will automatically be given a sort key value that will put them at the beginning of the references. If this is not desired, a control entry can be manually given a key field with a value that will result in the desired sort position.


        2. operation is “one shot.” That is to say the same control entry cannot be used again (within the same bibliography). However, it is possible to call another control entry that uses a different key name. This behavior is directly related to the way BibTeX allows a reference to be cited multiple times, yet still produces only one entry within the bibliography.





        Hence



        documentclass[conference]{IEEEtran}

        %usepackage{filecontents}
        begin{filecontents}{jobname.bib}
        @IEEEtranBSTCTL{bstctl:nodash,
        CTLdash_repeated_names = "no",
        }
        @inproceedings{Ebrahimi09,
        author = {E. Ebrahimi and others},
        title = {Coordinated control of multiple prefetchers in multi-core systems},
        booktitle = {MICRO-42},
        year = {2009},
        pages = {316-326},
        }
        @inproceedings{Ebrahimi09_2,
        author = {E. Ebrahimi and others},
        title = {Techniques for bandwidth-efficient prefetching of linked data structures in hybrid prefetching systems},
        booktitle = {HPCA-15},
        year = {2009},
        pages = {7-17},
        }
        end{filecontents}

        begin{document}
        bstctlcite{bstctl:etal, bstctl:nodash, bstctl:simpurl}

        section{Introduction}
        ... works~cite{Ebrahimi09,Ebrahimi09_2}
        bibliographystyle{IEEEtran}
        bibliography{jobname}
        end{document}


        works as expected



        No dash in the bibliography.






        share|improve this answer













        In your code bstctlcite must be the first citation command. It will not work if there were any other cites issued before calling bstctlcite.



        The IEEETran BibTeX style documentation explains




        bstctlcite is silent — it will not add any entry to, or affect the numbering of, the bibliography, nor will it place any citation numbers in the main text. There are two main limitations on its use:




        1. For the unsorted BibTeX style, it must be placed before any entries that it is to affect. Because the user will almost always want to apply the changes to all the bibliography entries, a good location is just after begin{document}. For the sorting style, control entries will automatically be given a sort key value that will put them at the beginning of the references. If this is not desired, a control entry can be manually given a key field with a value that will result in the desired sort position.


        2. operation is “one shot.” That is to say the same control entry cannot be used again (within the same bibliography). However, it is possible to call another control entry that uses a different key name. This behavior is directly related to the way BibTeX allows a reference to be cited multiple times, yet still produces only one entry within the bibliography.





        Hence



        documentclass[conference]{IEEEtran}

        %usepackage{filecontents}
        begin{filecontents}{jobname.bib}
        @IEEEtranBSTCTL{bstctl:nodash,
        CTLdash_repeated_names = "no",
        }
        @inproceedings{Ebrahimi09,
        author = {E. Ebrahimi and others},
        title = {Coordinated control of multiple prefetchers in multi-core systems},
        booktitle = {MICRO-42},
        year = {2009},
        pages = {316-326},
        }
        @inproceedings{Ebrahimi09_2,
        author = {E. Ebrahimi and others},
        title = {Techniques for bandwidth-efficient prefetching of linked data structures in hybrid prefetching systems},
        booktitle = {HPCA-15},
        year = {2009},
        pages = {7-17},
        }
        end{filecontents}

        begin{document}
        bstctlcite{bstctl:etal, bstctl:nodash, bstctl:simpurl}

        section{Introduction}
        ... works~cite{Ebrahimi09,Ebrahimi09_2}
        bibliographystyle{IEEEtran}
        bibliography{jobname}
        end{document}


        works as expected



        No dash in the bibliography.







        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered Mar 24 at 12:05









        moewemoewe

        95.8k10116359




        95.8k10116359






























            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%2f173730%2fdashes-for-same-author-name-in-bib-file%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

            Biblatex bibliography style without URLs when DOI exists (in Overleaf with Zotero bibliography)

            ComboBox Display Member on multiple fields

            Is it possible to collect Nectar points via Trainline?