Cannot cite references as [1]-[7] format











up vote
1
down vote

favorite












I am following all the rules for citation, still, I am unable to cite the references in e.g. 1-[10] format. Please see the attached figure below, while following is the .tex version that generated it.



...MC and the core-network cite{chae2013novel,jangsher2016backhaul,jaziri2016offloading,sui2012potential,khan2017outage,khan2016moving,chae2012dynamic,haider2011spectral,MShinPublicSafety}.


enter image description here



The following is my bibliography insertion



bibliographystyle{IEEEtran}
bibliography{test_bib}









share|improve this question


















  • 2




    Look at your style and what's allowed there, as it seems to be a paper template. natbib (not what you want, probably) and cite packages have the desired functionality.
    – Oleg Lobachev
    Jul 8 at 22:59










  • If I use usepackage{cite}, then I get the error: "paragraph ended before @citex was complete". I looked for it, and all the {-} pairs are complete. I used usepackage{natbib}, but it does not help
    – Kashan
    Jul 8 at 23:10












  • When you added the instruction usepackage{cite} to your preamble, did you first delete the .aux and .bbl file before running a full recompile cycle (LaTeX, BibTeX, LaTeX, & LaTeX)?
    – Mico
    Jul 8 at 23:38






  • 2




    Please provide a MWEB people can compile to reproduce the output you show. If this is for a journal or conference, though, they probably tell you which style and packages to use to get the format they want.
    – cfr
    Jul 9 at 0:38






  • 1




    By MWEB cfr refers to tex.meta.stackexchange.com/questions/4407/…
    – Torbjørn T.
    Jul 12 at 21:55















up vote
1
down vote

favorite












I am following all the rules for citation, still, I am unable to cite the references in e.g. 1-[10] format. Please see the attached figure below, while following is the .tex version that generated it.



...MC and the core-network cite{chae2013novel,jangsher2016backhaul,jaziri2016offloading,sui2012potential,khan2017outage,khan2016moving,chae2012dynamic,haider2011spectral,MShinPublicSafety}.


enter image description here



The following is my bibliography insertion



bibliographystyle{IEEEtran}
bibliography{test_bib}









share|improve this question


















  • 2




    Look at your style and what's allowed there, as it seems to be a paper template. natbib (not what you want, probably) and cite packages have the desired functionality.
    – Oleg Lobachev
    Jul 8 at 22:59










  • If I use usepackage{cite}, then I get the error: "paragraph ended before @citex was complete". I looked for it, and all the {-} pairs are complete. I used usepackage{natbib}, but it does not help
    – Kashan
    Jul 8 at 23:10












  • When you added the instruction usepackage{cite} to your preamble, did you first delete the .aux and .bbl file before running a full recompile cycle (LaTeX, BibTeX, LaTeX, & LaTeX)?
    – Mico
    Jul 8 at 23:38






  • 2




    Please provide a MWEB people can compile to reproduce the output you show. If this is for a journal or conference, though, they probably tell you which style and packages to use to get the format they want.
    – cfr
    Jul 9 at 0:38






  • 1




    By MWEB cfr refers to tex.meta.stackexchange.com/questions/4407/…
    – Torbjørn T.
    Jul 12 at 21:55













up vote
1
down vote

favorite









up vote
1
down vote

favorite











I am following all the rules for citation, still, I am unable to cite the references in e.g. 1-[10] format. Please see the attached figure below, while following is the .tex version that generated it.



...MC and the core-network cite{chae2013novel,jangsher2016backhaul,jaziri2016offloading,sui2012potential,khan2017outage,khan2016moving,chae2012dynamic,haider2011spectral,MShinPublicSafety}.


enter image description here



The following is my bibliography insertion



bibliographystyle{IEEEtran}
bibliography{test_bib}









share|improve this question













I am following all the rules for citation, still, I am unable to cite the references in e.g. 1-[10] format. Please see the attached figure below, while following is the .tex version that generated it.



...MC and the core-network cite{chae2013novel,jangsher2016backhaul,jaziri2016offloading,sui2012potential,khan2017outage,khan2016moving,chae2012dynamic,haider2011spectral,MShinPublicSafety}.


enter image description here



The following is my bibliography insertion



bibliographystyle{IEEEtran}
bibliography{test_bib}






bibliographies citing






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Jul 8 at 22:49









Kashan

1233




1233








  • 2




    Look at your style and what's allowed there, as it seems to be a paper template. natbib (not what you want, probably) and cite packages have the desired functionality.
    – Oleg Lobachev
    Jul 8 at 22:59










  • If I use usepackage{cite}, then I get the error: "paragraph ended before @citex was complete". I looked for it, and all the {-} pairs are complete. I used usepackage{natbib}, but it does not help
    – Kashan
    Jul 8 at 23:10












  • When you added the instruction usepackage{cite} to your preamble, did you first delete the .aux and .bbl file before running a full recompile cycle (LaTeX, BibTeX, LaTeX, & LaTeX)?
    – Mico
    Jul 8 at 23:38






  • 2




    Please provide a MWEB people can compile to reproduce the output you show. If this is for a journal or conference, though, they probably tell you which style and packages to use to get the format they want.
    – cfr
    Jul 9 at 0:38






  • 1




    By MWEB cfr refers to tex.meta.stackexchange.com/questions/4407/…
    – Torbjørn T.
    Jul 12 at 21:55














  • 2




    Look at your style and what's allowed there, as it seems to be a paper template. natbib (not what you want, probably) and cite packages have the desired functionality.
    – Oleg Lobachev
    Jul 8 at 22:59










  • If I use usepackage{cite}, then I get the error: "paragraph ended before @citex was complete". I looked for it, and all the {-} pairs are complete. I used usepackage{natbib}, but it does not help
    – Kashan
    Jul 8 at 23:10












  • When you added the instruction usepackage{cite} to your preamble, did you first delete the .aux and .bbl file before running a full recompile cycle (LaTeX, BibTeX, LaTeX, & LaTeX)?
    – Mico
    Jul 8 at 23:38






  • 2




    Please provide a MWEB people can compile to reproduce the output you show. If this is for a journal or conference, though, they probably tell you which style and packages to use to get the format they want.
    – cfr
    Jul 9 at 0:38






  • 1




    By MWEB cfr refers to tex.meta.stackexchange.com/questions/4407/…
    – Torbjørn T.
    Jul 12 at 21:55








2




2




Look at your style and what's allowed there, as it seems to be a paper template. natbib (not what you want, probably) and cite packages have the desired functionality.
– Oleg Lobachev
Jul 8 at 22:59




Look at your style and what's allowed there, as it seems to be a paper template. natbib (not what you want, probably) and cite packages have the desired functionality.
– Oleg Lobachev
Jul 8 at 22:59












If I use usepackage{cite}, then I get the error: "paragraph ended before @citex was complete". I looked for it, and all the {-} pairs are complete. I used usepackage{natbib}, but it does not help
– Kashan
Jul 8 at 23:10






If I use usepackage{cite}, then I get the error: "paragraph ended before @citex was complete". I looked for it, and all the {-} pairs are complete. I used usepackage{natbib}, but it does not help
– Kashan
Jul 8 at 23:10














When you added the instruction usepackage{cite} to your preamble, did you first delete the .aux and .bbl file before running a full recompile cycle (LaTeX, BibTeX, LaTeX, & LaTeX)?
– Mico
Jul 8 at 23:38




When you added the instruction usepackage{cite} to your preamble, did you first delete the .aux and .bbl file before running a full recompile cycle (LaTeX, BibTeX, LaTeX, & LaTeX)?
– Mico
Jul 8 at 23:38




2




2




Please provide a MWEB people can compile to reproduce the output you show. If this is for a journal or conference, though, they probably tell you which style and packages to use to get the format they want.
– cfr
Jul 9 at 0:38




Please provide a MWEB people can compile to reproduce the output you show. If this is for a journal or conference, though, they probably tell you which style and packages to use to get the format they want.
– cfr
Jul 9 at 0:38




1




1




By MWEB cfr refers to tex.meta.stackexchange.com/questions/4407/…
– Torbjørn T.
Jul 12 at 21:55




By MWEB cfr refers to tex.meta.stackexchange.com/questions/4407/…
– Torbjørn T.
Jul 12 at 21:55










2 Answers
2






active

oldest

votes

















up vote
1
down vote













Use: usepackage[sort&compress]{natbib}






share|improve this answer




























    up vote
    0
    down vote



    accepted










    I think I have found the solution by using the following two packages together.



    usepackage{mciteplus}
    usepackage{cite}


    Note that I have not used any variation of usepackage{natbib}.



    PS. this thing happened with hit-and-trial. I myself don't know the logic behind this. Before compiling, do clear all the auxiliary files.






    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',
      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%2f439823%2fcannot-cite-references-as-1-7-format%23new-answer', 'question_page');
      }
      );

      Post as a guest















      Required, but never shown

























      2 Answers
      2






      active

      oldest

      votes








      2 Answers
      2






      active

      oldest

      votes









      active

      oldest

      votes






      active

      oldest

      votes








      up vote
      1
      down vote













      Use: usepackage[sort&compress]{natbib}






      share|improve this answer

























        up vote
        1
        down vote













        Use: usepackage[sort&compress]{natbib}






        share|improve this answer























          up vote
          1
          down vote










          up vote
          1
          down vote









          Use: usepackage[sort&compress]{natbib}






          share|improve this answer












          Use: usepackage[sort&compress]{natbib}







          share|improve this answer












          share|improve this answer



          share|improve this answer










          answered Jul 9 at 4:19









          Mu30 murugans2katgmail

          1,6501213




          1,6501213






















              up vote
              0
              down vote



              accepted










              I think I have found the solution by using the following two packages together.



              usepackage{mciteplus}
              usepackage{cite}


              Note that I have not used any variation of usepackage{natbib}.



              PS. this thing happened with hit-and-trial. I myself don't know the logic behind this. Before compiling, do clear all the auxiliary files.






              share|improve this answer



























                up vote
                0
                down vote



                accepted










                I think I have found the solution by using the following two packages together.



                usepackage{mciteplus}
                usepackage{cite}


                Note that I have not used any variation of usepackage{natbib}.



                PS. this thing happened with hit-and-trial. I myself don't know the logic behind this. Before compiling, do clear all the auxiliary files.






                share|improve this answer

























                  up vote
                  0
                  down vote



                  accepted







                  up vote
                  0
                  down vote



                  accepted






                  I think I have found the solution by using the following two packages together.



                  usepackage{mciteplus}
                  usepackage{cite}


                  Note that I have not used any variation of usepackage{natbib}.



                  PS. this thing happened with hit-and-trial. I myself don't know the logic behind this. Before compiling, do clear all the auxiliary files.






                  share|improve this answer














                  I think I have found the solution by using the following two packages together.



                  usepackage{mciteplus}
                  usepackage{cite}


                  Note that I have not used any variation of usepackage{natbib}.



                  PS. this thing happened with hit-and-trial. I myself don't know the logic behind this. Before compiling, do clear all the auxiliary files.







                  share|improve this answer














                  share|improve this answer



                  share|improve this answer








                  edited Nov 27 at 22:41









                  Phelype Oleinik

                  21k54380




                  21k54380










                  answered Nov 27 at 22:40









                  Kashan

                  1233




                  1233






























                      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.





                      Some of your past answers have not been well-received, and you're in danger of being blocked from answering.


                      Please pay close attention to the following guidance:


                      • 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%2f439823%2fcannot-cite-references-as-1-7-format%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?