Problem with Springer bibliography style(spbasic + natbib)












6















I am writing a paper to a Springer journal and I am trying to use their bibliographystyle{spbasic}. I want to sort citation by appearance, hence the first citation in the article should be cited with [1] and second with [2] and so on. But citation is sort by the reference's alphabetically order.



documentclass[smallextended]{svjour3}
begin{document}
usepackage[sort&compress,numbers]{natbib}
.............. cite{S1} .......... cite{S2}
bibliographystyle{spbasic}
bibliography{sssat.bib} % name your BibTeX data base

end{document}









share|improve this question





























    6















    I am writing a paper to a Springer journal and I am trying to use their bibliographystyle{spbasic}. I want to sort citation by appearance, hence the first citation in the article should be cited with [1] and second with [2] and so on. But citation is sort by the reference's alphabetically order.



    documentclass[smallextended]{svjour3}
    begin{document}
    usepackage[sort&compress,numbers]{natbib}
    .............. cite{S1} .......... cite{S2}
    bibliographystyle{spbasic}
    bibliography{sssat.bib} % name your BibTeX data base

    end{document}









    share|improve this question



























      6












      6








      6


      3






      I am writing a paper to a Springer journal and I am trying to use their bibliographystyle{spbasic}. I want to sort citation by appearance, hence the first citation in the article should be cited with [1] and second with [2] and so on. But citation is sort by the reference's alphabetically order.



      documentclass[smallextended]{svjour3}
      begin{document}
      usepackage[sort&compress,numbers]{natbib}
      .............. cite{S1} .......... cite{S2}
      bibliographystyle{spbasic}
      bibliography{sssat.bib} % name your BibTeX data base

      end{document}









      share|improve this question
















      I am writing a paper to a Springer journal and I am trying to use their bibliographystyle{spbasic}. I want to sort citation by appearance, hence the first citation in the article should be cited with [1] and second with [2] and so on. But citation is sort by the reference's alphabetically order.



      documentclass[smallextended]{svjour3}
      begin{document}
      usepackage[sort&compress,numbers]{natbib}
      .............. cite{S1} .......... cite{S2}
      bibliographystyle{spbasic}
      bibliography{sssat.bib} % name your BibTeX data base

      end{document}






      bibtex bibliographies natbib






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Jun 3 '16 at 13:58









      Mico

      286k32391779




      286k32391779










      asked Jun 3 '16 at 2:50









      Animesh Kumar PaulAnimesh Kumar Paul

      160136




      160136






















          1 Answer
          1






          active

          oldest

          votes


















          7














          You need to create and use a modified version of the spbasic bibliography style.




          • Find the file spbasic.bst on your computer. Create a copy of this file and call the copy, say, spbasic_unsort.bst.


          • Open the file spbasic_unsort.bst in a text editor.


          • Find the two lines that start with SORT (note: uppercase is important), and comment out -- or simply delete -- both of these lines.


          • Save the file spbasic_unsort.bst either in the directory that contains your main tex file or in a directory that's searched by your tex distribution. If you choose the latter method, be sure to also update the filename database of your TeX distribution.


          • In your main tex file, change the instruction bibliographystyle{spbasic} to bibliographystyle{spbasic_unsort}. Then, rerun LaTeX, BibTeX, and LaTeX twice more to fully propagate all changes.



          Happy BibTeXing!






          share|improve this answer


























          • I delete the line but it doesn't work. I think i make some mistakes. Can you please see ideone.com/akgvBN ? Can you tell me the exact line number? @Mico

            – Animesh Kumar Paul
            Jun 4 '16 at 4:55











          • @AnimeshKumarPaul - One of the instructions said, "Find the two lines that start with SORT ...". Please look for lines 1572 and 1625.

            – Mico
            Jun 4 '16 at 5:56













          • If removing lines starting with SORT does not work, that's probably because you did not remove temporary files created by LaTeX.

            – Didier
            Sep 15 '16 at 14:07










          protected by Community Apr 2 at 17:09



          Thank you for your interest in this question.
          Because it has attracted low-quality or spam answers that had to be removed, posting an answer now requires 10 reputation on this site (the association bonus does not count).



          Would you like to answer one of these unanswered questions instead?














          1 Answer
          1






          active

          oldest

          votes








          1 Answer
          1






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes









          7














          You need to create and use a modified version of the spbasic bibliography style.




          • Find the file spbasic.bst on your computer. Create a copy of this file and call the copy, say, spbasic_unsort.bst.


          • Open the file spbasic_unsort.bst in a text editor.


          • Find the two lines that start with SORT (note: uppercase is important), and comment out -- or simply delete -- both of these lines.


          • Save the file spbasic_unsort.bst either in the directory that contains your main tex file or in a directory that's searched by your tex distribution. If you choose the latter method, be sure to also update the filename database of your TeX distribution.


          • In your main tex file, change the instruction bibliographystyle{spbasic} to bibliographystyle{spbasic_unsort}. Then, rerun LaTeX, BibTeX, and LaTeX twice more to fully propagate all changes.



          Happy BibTeXing!






          share|improve this answer


























          • I delete the line but it doesn't work. I think i make some mistakes. Can you please see ideone.com/akgvBN ? Can you tell me the exact line number? @Mico

            – Animesh Kumar Paul
            Jun 4 '16 at 4:55











          • @AnimeshKumarPaul - One of the instructions said, "Find the two lines that start with SORT ...". Please look for lines 1572 and 1625.

            – Mico
            Jun 4 '16 at 5:56













          • If removing lines starting with SORT does not work, that's probably because you did not remove temporary files created by LaTeX.

            – Didier
            Sep 15 '16 at 14:07
















          7














          You need to create and use a modified version of the spbasic bibliography style.




          • Find the file spbasic.bst on your computer. Create a copy of this file and call the copy, say, spbasic_unsort.bst.


          • Open the file spbasic_unsort.bst in a text editor.


          • Find the two lines that start with SORT (note: uppercase is important), and comment out -- or simply delete -- both of these lines.


          • Save the file spbasic_unsort.bst either in the directory that contains your main tex file or in a directory that's searched by your tex distribution. If you choose the latter method, be sure to also update the filename database of your TeX distribution.


          • In your main tex file, change the instruction bibliographystyle{spbasic} to bibliographystyle{spbasic_unsort}. Then, rerun LaTeX, BibTeX, and LaTeX twice more to fully propagate all changes.



          Happy BibTeXing!






          share|improve this answer


























          • I delete the line but it doesn't work. I think i make some mistakes. Can you please see ideone.com/akgvBN ? Can you tell me the exact line number? @Mico

            – Animesh Kumar Paul
            Jun 4 '16 at 4:55











          • @AnimeshKumarPaul - One of the instructions said, "Find the two lines that start with SORT ...". Please look for lines 1572 and 1625.

            – Mico
            Jun 4 '16 at 5:56













          • If removing lines starting with SORT does not work, that's probably because you did not remove temporary files created by LaTeX.

            – Didier
            Sep 15 '16 at 14:07














          7












          7








          7







          You need to create and use a modified version of the spbasic bibliography style.




          • Find the file spbasic.bst on your computer. Create a copy of this file and call the copy, say, spbasic_unsort.bst.


          • Open the file spbasic_unsort.bst in a text editor.


          • Find the two lines that start with SORT (note: uppercase is important), and comment out -- or simply delete -- both of these lines.


          • Save the file spbasic_unsort.bst either in the directory that contains your main tex file or in a directory that's searched by your tex distribution. If you choose the latter method, be sure to also update the filename database of your TeX distribution.


          • In your main tex file, change the instruction bibliographystyle{spbasic} to bibliographystyle{spbasic_unsort}. Then, rerun LaTeX, BibTeX, and LaTeX twice more to fully propagate all changes.



          Happy BibTeXing!






          share|improve this answer















          You need to create and use a modified version of the spbasic bibliography style.




          • Find the file spbasic.bst on your computer. Create a copy of this file and call the copy, say, spbasic_unsort.bst.


          • Open the file spbasic_unsort.bst in a text editor.


          • Find the two lines that start with SORT (note: uppercase is important), and comment out -- or simply delete -- both of these lines.


          • Save the file spbasic_unsort.bst either in the directory that contains your main tex file or in a directory that's searched by your tex distribution. If you choose the latter method, be sure to also update the filename database of your TeX distribution.


          • In your main tex file, change the instruction bibliographystyle{spbasic} to bibliographystyle{spbasic_unsort}. Then, rerun LaTeX, BibTeX, and LaTeX twice more to fully propagate all changes.



          Happy BibTeXing!







          share|improve this answer














          share|improve this answer



          share|improve this answer








          edited Jun 3 '16 at 13:37

























          answered Jun 3 '16 at 13:31









          MicoMico

          286k32391779




          286k32391779













          • I delete the line but it doesn't work. I think i make some mistakes. Can you please see ideone.com/akgvBN ? Can you tell me the exact line number? @Mico

            – Animesh Kumar Paul
            Jun 4 '16 at 4:55











          • @AnimeshKumarPaul - One of the instructions said, "Find the two lines that start with SORT ...". Please look for lines 1572 and 1625.

            – Mico
            Jun 4 '16 at 5:56













          • If removing lines starting with SORT does not work, that's probably because you did not remove temporary files created by LaTeX.

            – Didier
            Sep 15 '16 at 14:07



















          • I delete the line but it doesn't work. I think i make some mistakes. Can you please see ideone.com/akgvBN ? Can you tell me the exact line number? @Mico

            – Animesh Kumar Paul
            Jun 4 '16 at 4:55











          • @AnimeshKumarPaul - One of the instructions said, "Find the two lines that start with SORT ...". Please look for lines 1572 and 1625.

            – Mico
            Jun 4 '16 at 5:56













          • If removing lines starting with SORT does not work, that's probably because you did not remove temporary files created by LaTeX.

            – Didier
            Sep 15 '16 at 14:07

















          I delete the line but it doesn't work. I think i make some mistakes. Can you please see ideone.com/akgvBN ? Can you tell me the exact line number? @Mico

          – Animesh Kumar Paul
          Jun 4 '16 at 4:55





          I delete the line but it doesn't work. I think i make some mistakes. Can you please see ideone.com/akgvBN ? Can you tell me the exact line number? @Mico

          – Animesh Kumar Paul
          Jun 4 '16 at 4:55













          @AnimeshKumarPaul - One of the instructions said, "Find the two lines that start with SORT ...". Please look for lines 1572 and 1625.

          – Mico
          Jun 4 '16 at 5:56







          @AnimeshKumarPaul - One of the instructions said, "Find the two lines that start with SORT ...". Please look for lines 1572 and 1625.

          – Mico
          Jun 4 '16 at 5:56















          If removing lines starting with SORT does not work, that's probably because you did not remove temporary files created by LaTeX.

          – Didier
          Sep 15 '16 at 14:07





          If removing lines starting with SORT does not work, that's probably because you did not remove temporary files created by LaTeX.

          – Didier
          Sep 15 '16 at 14:07





          protected by Community Apr 2 at 17:09



          Thank you for your interest in this question.
          Because it has attracted low-quality or spam answers that had to be removed, posting an answer now requires 10 reputation on this site (the association bonus does not count).



          Would you like to answer one of these unanswered questions instead?



          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?