How set two bibliography in latex?












0















newsection
phantomsection
addcontentsline{toc}{chapter}{Bibliography}
bibliography{bibliography}{}
bibliographystyle{unsrt}

newsection
phantomsection
addcontentsline{toc}{chapter}{Bibliography_ilustration}
bibliography{bibliography_ilustration}{}
bibliographystyle{unsrt}


But I got some error when I use cite{item_from_bibliography_ilustration}










share|improve this question









New contributor




Badum is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
















  • 1





    You might want to take a look at this answer tex.stackexchange.com/a/98681/184389 on how to use multibib to have several bibliographies in one document.

    – KersouMan
    9 hours ago











  • @KersouMan, OP isn't asking about having two .bib files in one bibliography, he's asking about having two sections that each have their own bibliography. The sections shouldn't share the same bibliographie nor the same .bib file.

    – Vinccool96
    9 hours ago


















0















newsection
phantomsection
addcontentsline{toc}{chapter}{Bibliography}
bibliography{bibliography}{}
bibliographystyle{unsrt}

newsection
phantomsection
addcontentsline{toc}{chapter}{Bibliography_ilustration}
bibliography{bibliography_ilustration}{}
bibliographystyle{unsrt}


But I got some error when I use cite{item_from_bibliography_ilustration}










share|improve this question









New contributor




Badum is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
















  • 1





    You might want to take a look at this answer tex.stackexchange.com/a/98681/184389 on how to use multibib to have several bibliographies in one document.

    – KersouMan
    9 hours ago











  • @KersouMan, OP isn't asking about having two .bib files in one bibliography, he's asking about having two sections that each have their own bibliography. The sections shouldn't share the same bibliographie nor the same .bib file.

    – Vinccool96
    9 hours ago
















0












0








0








newsection
phantomsection
addcontentsline{toc}{chapter}{Bibliography}
bibliography{bibliography}{}
bibliographystyle{unsrt}

newsection
phantomsection
addcontentsline{toc}{chapter}{Bibliography_ilustration}
bibliography{bibliography_ilustration}{}
bibliographystyle{unsrt}


But I got some error when I use cite{item_from_bibliography_ilustration}










share|improve this question









New contributor




Badum is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.












newsection
phantomsection
addcontentsline{toc}{chapter}{Bibliography}
bibliography{bibliography}{}
bibliographystyle{unsrt}

newsection
phantomsection
addcontentsline{toc}{chapter}{Bibliography_ilustration}
bibliography{bibliography_ilustration}{}
bibliographystyle{unsrt}


But I got some error when I use cite{item_from_bibliography_ilustration}







bibliographies






share|improve this question









New contributor




Badum is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.











share|improve this question









New contributor




Badum is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.









share|improve this question




share|improve this question








edited 9 hours ago









Phelype Oleinik

24.8k54689




24.8k54689






New contributor




Badum is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.









asked 10 hours ago









BadumBadum

6




6




New contributor




Badum is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.





New contributor





Badum is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.






Badum is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.








  • 1





    You might want to take a look at this answer tex.stackexchange.com/a/98681/184389 on how to use multibib to have several bibliographies in one document.

    – KersouMan
    9 hours ago











  • @KersouMan, OP isn't asking about having two .bib files in one bibliography, he's asking about having two sections that each have their own bibliography. The sections shouldn't share the same bibliographie nor the same .bib file.

    – Vinccool96
    9 hours ago
















  • 1





    You might want to take a look at this answer tex.stackexchange.com/a/98681/184389 on how to use multibib to have several bibliographies in one document.

    – KersouMan
    9 hours ago











  • @KersouMan, OP isn't asking about having two .bib files in one bibliography, he's asking about having two sections that each have their own bibliography. The sections shouldn't share the same bibliographie nor the same .bib file.

    – Vinccool96
    9 hours ago










1




1





You might want to take a look at this answer tex.stackexchange.com/a/98681/184389 on how to use multibib to have several bibliographies in one document.

– KersouMan
9 hours ago





You might want to take a look at this answer tex.stackexchange.com/a/98681/184389 on how to use multibib to have several bibliographies in one document.

– KersouMan
9 hours ago













@KersouMan, OP isn't asking about having two .bib files in one bibliography, he's asking about having two sections that each have their own bibliography. The sections shouldn't share the same bibliographie nor the same .bib file.

– Vinccool96
9 hours ago







@KersouMan, OP isn't asking about having two .bib files in one bibliography, he's asking about having two sections that each have their own bibliography. The sections shouldn't share the same bibliographie nor the same .bib file.

– Vinccool96
9 hours ago












1 Answer
1






active

oldest

votes


















0














You might be interested in the use of multibib.
This package allows you, first, to print several bibliographies in your document and, second, to use several .bib files to do so.



An example is:



documentclass{article}

usepackage{filecontents}

begin{filecontents}{bibliography.bib}
@Book{Knuth:1990,
author = {Knuth, Donald E.},
title = {The {TeX}book},
year = {1990},
isbn = {0-201-13447-0},
publisher = {Addison,textendash,Wesley},
}

@Book{Lamport:94,
author = {Lamport, Leslie},
title = {{LaTeX}: A Document Preparation System},
year = {1994},
isbn = {0-021-52983-1},
publisher = {Addison,textendash,Wesley},
}
end{filecontents}

begin{filecontents}{bibliography_ilustration.bib}
@article{Olfati:2004,
title = {Consensus problems in networks of agents with switching topology and time-delays},
author = {Olfati-Saber, Reza and Murray, Richard M},
journal = {IEEE Transactions on automatic control},
volume = {49},
number = {9},
pages = {1520--1533},
year = {2004}
}
end{filecontents}

usepackage{multibib}
newcites{secone,sectwo}{References for section 1, References for section 2}

begin{document}

section{Section 1}

citesecone{Knuth:1990}

bibliographystylesecone{unsrt}
bibliographysecone{bibliography}{}

section{Section 2}

citesectwo{Olfati:2004}

bibliographystylesectwo{unsrt}
bibliographysectwo{bibliography_ilustration}{}

end{document}


which gives you as a result:



result_code



However, by using multibib this way, you will have to run bibtex for each of your bibliographies:



bibtex secone
bibtex sectwo
...


This answer does the same thing using only one .bib file and several bibliography styles.






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
    });


    }
    });






    Badum is a new contributor. Be nice, and check out our Code of Conduct.










    draft saved

    draft discarded


















    StackExchange.ready(
    function () {
    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f483167%2fhow-set-two-bibliography-in-latex%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














    You might be interested in the use of multibib.
    This package allows you, first, to print several bibliographies in your document and, second, to use several .bib files to do so.



    An example is:



    documentclass{article}

    usepackage{filecontents}

    begin{filecontents}{bibliography.bib}
    @Book{Knuth:1990,
    author = {Knuth, Donald E.},
    title = {The {TeX}book},
    year = {1990},
    isbn = {0-201-13447-0},
    publisher = {Addison,textendash,Wesley},
    }

    @Book{Lamport:94,
    author = {Lamport, Leslie},
    title = {{LaTeX}: A Document Preparation System},
    year = {1994},
    isbn = {0-021-52983-1},
    publisher = {Addison,textendash,Wesley},
    }
    end{filecontents}

    begin{filecontents}{bibliography_ilustration.bib}
    @article{Olfati:2004,
    title = {Consensus problems in networks of agents with switching topology and time-delays},
    author = {Olfati-Saber, Reza and Murray, Richard M},
    journal = {IEEE Transactions on automatic control},
    volume = {49},
    number = {9},
    pages = {1520--1533},
    year = {2004}
    }
    end{filecontents}

    usepackage{multibib}
    newcites{secone,sectwo}{References for section 1, References for section 2}

    begin{document}

    section{Section 1}

    citesecone{Knuth:1990}

    bibliographystylesecone{unsrt}
    bibliographysecone{bibliography}{}

    section{Section 2}

    citesectwo{Olfati:2004}

    bibliographystylesectwo{unsrt}
    bibliographysectwo{bibliography_ilustration}{}

    end{document}


    which gives you as a result:



    result_code



    However, by using multibib this way, you will have to run bibtex for each of your bibliographies:



    bibtex secone
    bibtex sectwo
    ...


    This answer does the same thing using only one .bib file and several bibliography styles.






    share|improve this answer






























      0














      You might be interested in the use of multibib.
      This package allows you, first, to print several bibliographies in your document and, second, to use several .bib files to do so.



      An example is:



      documentclass{article}

      usepackage{filecontents}

      begin{filecontents}{bibliography.bib}
      @Book{Knuth:1990,
      author = {Knuth, Donald E.},
      title = {The {TeX}book},
      year = {1990},
      isbn = {0-201-13447-0},
      publisher = {Addison,textendash,Wesley},
      }

      @Book{Lamport:94,
      author = {Lamport, Leslie},
      title = {{LaTeX}: A Document Preparation System},
      year = {1994},
      isbn = {0-021-52983-1},
      publisher = {Addison,textendash,Wesley},
      }
      end{filecontents}

      begin{filecontents}{bibliography_ilustration.bib}
      @article{Olfati:2004,
      title = {Consensus problems in networks of agents with switching topology and time-delays},
      author = {Olfati-Saber, Reza and Murray, Richard M},
      journal = {IEEE Transactions on automatic control},
      volume = {49},
      number = {9},
      pages = {1520--1533},
      year = {2004}
      }
      end{filecontents}

      usepackage{multibib}
      newcites{secone,sectwo}{References for section 1, References for section 2}

      begin{document}

      section{Section 1}

      citesecone{Knuth:1990}

      bibliographystylesecone{unsrt}
      bibliographysecone{bibliography}{}

      section{Section 2}

      citesectwo{Olfati:2004}

      bibliographystylesectwo{unsrt}
      bibliographysectwo{bibliography_ilustration}{}

      end{document}


      which gives you as a result:



      result_code



      However, by using multibib this way, you will have to run bibtex for each of your bibliographies:



      bibtex secone
      bibtex sectwo
      ...


      This answer does the same thing using only one .bib file and several bibliography styles.






      share|improve this answer




























        0












        0








        0







        You might be interested in the use of multibib.
        This package allows you, first, to print several bibliographies in your document and, second, to use several .bib files to do so.



        An example is:



        documentclass{article}

        usepackage{filecontents}

        begin{filecontents}{bibliography.bib}
        @Book{Knuth:1990,
        author = {Knuth, Donald E.},
        title = {The {TeX}book},
        year = {1990},
        isbn = {0-201-13447-0},
        publisher = {Addison,textendash,Wesley},
        }

        @Book{Lamport:94,
        author = {Lamport, Leslie},
        title = {{LaTeX}: A Document Preparation System},
        year = {1994},
        isbn = {0-021-52983-1},
        publisher = {Addison,textendash,Wesley},
        }
        end{filecontents}

        begin{filecontents}{bibliography_ilustration.bib}
        @article{Olfati:2004,
        title = {Consensus problems in networks of agents with switching topology and time-delays},
        author = {Olfati-Saber, Reza and Murray, Richard M},
        journal = {IEEE Transactions on automatic control},
        volume = {49},
        number = {9},
        pages = {1520--1533},
        year = {2004}
        }
        end{filecontents}

        usepackage{multibib}
        newcites{secone,sectwo}{References for section 1, References for section 2}

        begin{document}

        section{Section 1}

        citesecone{Knuth:1990}

        bibliographystylesecone{unsrt}
        bibliographysecone{bibliography}{}

        section{Section 2}

        citesectwo{Olfati:2004}

        bibliographystylesectwo{unsrt}
        bibliographysectwo{bibliography_ilustration}{}

        end{document}


        which gives you as a result:



        result_code



        However, by using multibib this way, you will have to run bibtex for each of your bibliographies:



        bibtex secone
        bibtex sectwo
        ...


        This answer does the same thing using only one .bib file and several bibliography styles.






        share|improve this answer















        You might be interested in the use of multibib.
        This package allows you, first, to print several bibliographies in your document and, second, to use several .bib files to do so.



        An example is:



        documentclass{article}

        usepackage{filecontents}

        begin{filecontents}{bibliography.bib}
        @Book{Knuth:1990,
        author = {Knuth, Donald E.},
        title = {The {TeX}book},
        year = {1990},
        isbn = {0-201-13447-0},
        publisher = {Addison,textendash,Wesley},
        }

        @Book{Lamport:94,
        author = {Lamport, Leslie},
        title = {{LaTeX}: A Document Preparation System},
        year = {1994},
        isbn = {0-021-52983-1},
        publisher = {Addison,textendash,Wesley},
        }
        end{filecontents}

        begin{filecontents}{bibliography_ilustration.bib}
        @article{Olfati:2004,
        title = {Consensus problems in networks of agents with switching topology and time-delays},
        author = {Olfati-Saber, Reza and Murray, Richard M},
        journal = {IEEE Transactions on automatic control},
        volume = {49},
        number = {9},
        pages = {1520--1533},
        year = {2004}
        }
        end{filecontents}

        usepackage{multibib}
        newcites{secone,sectwo}{References for section 1, References for section 2}

        begin{document}

        section{Section 1}

        citesecone{Knuth:1990}

        bibliographystylesecone{unsrt}
        bibliographysecone{bibliography}{}

        section{Section 2}

        citesectwo{Olfati:2004}

        bibliographystylesectwo{unsrt}
        bibliographysectwo{bibliography_ilustration}{}

        end{document}


        which gives you as a result:



        result_code



        However, by using multibib this way, you will have to run bibtex for each of your bibliographies:



        bibtex secone
        bibtex sectwo
        ...


        This answer does the same thing using only one .bib file and several bibliography styles.







        share|improve this answer














        share|improve this answer



        share|improve this answer








        edited 7 hours ago

























        answered 8 hours ago









        KersouManKersouMan

        1365




        1365






















            Badum is a new contributor. Be nice, and check out our Code of Conduct.










            draft saved

            draft discarded


















            Badum is a new contributor. Be nice, and check out our Code of Conduct.













            Badum is a new contributor. Be nice, and check out our Code of Conduct.












            Badum is a new contributor. Be nice, and check out our Code of Conduct.
















            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%2f483167%2fhow-set-two-bibliography-in-latex%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

            Lallio

            Unable to find Lightning Node

            Futebolista