bibliography from in document to .bib/.bbl file?












1















I have a tex file that has its biblography at the bottom of the article, but ArXiv does not like that and demands a bbl file. Is there an easy way to copy paste the bibitem objects into one of these files without having to completely change the format?



e.g. bibitem[Landau et al.(1992)]{1992A&A...259..696L} Landau, R., Grasdalen, G., & Sloan, G.~C. 1992, aap, 259, 696










share|improve this question


















  • 1





    Mhhh, I always thought the arXiv liked it when the bibliography was added directly at the end with thebibliography. That is standard procedure and avoids all the .bbl malarkey that is normally necessary to upload to the arXiv (since they don't run BibTeX/process .bib files). Can you show us what your document looks like and what exactly the arXiv complains about?

    – moewe
    Feb 21 at 10:34








  • 1





    The first error is ! LaTeX Error: Option clash for package hyperref. and has little to do with citations. (See for example tex.stackexchange.com/q/329461/35864). Note also that currently your .bbl file is missing the begin{thebibliography}{9}...end{thebibliography}. There are also errors about the figures.

    – moewe
    Feb 21 at 12:41


















1















I have a tex file that has its biblography at the bottom of the article, but ArXiv does not like that and demands a bbl file. Is there an easy way to copy paste the bibitem objects into one of these files without having to completely change the format?



e.g. bibitem[Landau et al.(1992)]{1992A&A...259..696L} Landau, R., Grasdalen, G., & Sloan, G.~C. 1992, aap, 259, 696










share|improve this question


















  • 1





    Mhhh, I always thought the arXiv liked it when the bibliography was added directly at the end with thebibliography. That is standard procedure and avoids all the .bbl malarkey that is normally necessary to upload to the arXiv (since they don't run BibTeX/process .bib files). Can you show us what your document looks like and what exactly the arXiv complains about?

    – moewe
    Feb 21 at 10:34








  • 1





    The first error is ! LaTeX Error: Option clash for package hyperref. and has little to do with citations. (See for example tex.stackexchange.com/q/329461/35864). Note also that currently your .bbl file is missing the begin{thebibliography}{9}...end{thebibliography}. There are also errors about the figures.

    – moewe
    Feb 21 at 12:41
















1












1








1








I have a tex file that has its biblography at the bottom of the article, but ArXiv does not like that and demands a bbl file. Is there an easy way to copy paste the bibitem objects into one of these files without having to completely change the format?



e.g. bibitem[Landau et al.(1992)]{1992A&A...259..696L} Landau, R., Grasdalen, G., & Sloan, G.~C. 1992, aap, 259, 696










share|improve this question














I have a tex file that has its biblography at the bottom of the article, but ArXiv does not like that and demands a bbl file. Is there an easy way to copy paste the bibitem objects into one of these files without having to completely change the format?



e.g. bibitem[Landau et al.(1992)]{1992A&A...259..696L} Landau, R., Grasdalen, G., & Sloan, G.~C. 1992, aap, 259, 696







bibliographies






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Feb 21 at 10:24









CoolcrabCoolcrab

12516




12516








  • 1





    Mhhh, I always thought the arXiv liked it when the bibliography was added directly at the end with thebibliography. That is standard procedure and avoids all the .bbl malarkey that is normally necessary to upload to the arXiv (since they don't run BibTeX/process .bib files). Can you show us what your document looks like and what exactly the arXiv complains about?

    – moewe
    Feb 21 at 10:34








  • 1





    The first error is ! LaTeX Error: Option clash for package hyperref. and has little to do with citations. (See for example tex.stackexchange.com/q/329461/35864). Note also that currently your .bbl file is missing the begin{thebibliography}{9}...end{thebibliography}. There are also errors about the figures.

    – moewe
    Feb 21 at 12:41
















  • 1





    Mhhh, I always thought the arXiv liked it when the bibliography was added directly at the end with thebibliography. That is standard procedure and avoids all the .bbl malarkey that is normally necessary to upload to the arXiv (since they don't run BibTeX/process .bib files). Can you show us what your document looks like and what exactly the arXiv complains about?

    – moewe
    Feb 21 at 10:34








  • 1





    The first error is ! LaTeX Error: Option clash for package hyperref. and has little to do with citations. (See for example tex.stackexchange.com/q/329461/35864). Note also that currently your .bbl file is missing the begin{thebibliography}{9}...end{thebibliography}. There are also errors about the figures.

    – moewe
    Feb 21 at 12:41










1




1





Mhhh, I always thought the arXiv liked it when the bibliography was added directly at the end with thebibliography. That is standard procedure and avoids all the .bbl malarkey that is normally necessary to upload to the arXiv (since they don't run BibTeX/process .bib files). Can you show us what your document looks like and what exactly the arXiv complains about?

– moewe
Feb 21 at 10:34







Mhhh, I always thought the arXiv liked it when the bibliography was added directly at the end with thebibliography. That is standard procedure and avoids all the .bbl malarkey that is normally necessary to upload to the arXiv (since they don't run BibTeX/process .bib files). Can you show us what your document looks like and what exactly the arXiv complains about?

– moewe
Feb 21 at 10:34






1




1





The first error is ! LaTeX Error: Option clash for package hyperref. and has little to do with citations. (See for example tex.stackexchange.com/q/329461/35864). Note also that currently your .bbl file is missing the begin{thebibliography}{9}...end{thebibliography}. There are also errors about the figures.

– moewe
Feb 21 at 12:41







The first error is ! LaTeX Error: Option clash for package hyperref. and has little to do with citations. (See for example tex.stackexchange.com/q/329461/35864). Note also that currently your .bbl file is missing the begin{thebibliography}{9}...end{thebibliography}. There are also errors about the figures.

– moewe
Feb 21 at 12:41












1 Answer
1






active

oldest

votes


















2














It sounds like you created the thebibliography environment by hand. If this assumption is correct, and assuming further that your main tex file is called main.tex, you should




  • copy all material in main.tex between begin{thebibliography}{} and end{thebibliography} into a file called main.bbl. (You may have to create this file from scratch; and



  • replace the copied material in the main tex file with the single instruction



    input{main.bbl}



where main should correspond to the filename of your main tex file.



If you then rerun LaTeX on your main tex file, the output should be exactly the same.






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%2f475972%2fbibliography-from-in-document-to-bib-bbl-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









    2














    It sounds like you created the thebibliography environment by hand. If this assumption is correct, and assuming further that your main tex file is called main.tex, you should




    • copy all material in main.tex between begin{thebibliography}{} and end{thebibliography} into a file called main.bbl. (You may have to create this file from scratch; and



    • replace the copied material in the main tex file with the single instruction



      input{main.bbl}



    where main should correspond to the filename of your main tex file.



    If you then rerun LaTeX on your main tex file, the output should be exactly the same.






    share|improve this answer




























      2














      It sounds like you created the thebibliography environment by hand. If this assumption is correct, and assuming further that your main tex file is called main.tex, you should




      • copy all material in main.tex between begin{thebibliography}{} and end{thebibliography} into a file called main.bbl. (You may have to create this file from scratch; and



      • replace the copied material in the main tex file with the single instruction



        input{main.bbl}



      where main should correspond to the filename of your main tex file.



      If you then rerun LaTeX on your main tex file, the output should be exactly the same.






      share|improve this answer


























        2












        2








        2







        It sounds like you created the thebibliography environment by hand. If this assumption is correct, and assuming further that your main tex file is called main.tex, you should




        • copy all material in main.tex between begin{thebibliography}{} and end{thebibliography} into a file called main.bbl. (You may have to create this file from scratch; and



        • replace the copied material in the main tex file with the single instruction



          input{main.bbl}



        where main should correspond to the filename of your main tex file.



        If you then rerun LaTeX on your main tex file, the output should be exactly the same.






        share|improve this answer













        It sounds like you created the thebibliography environment by hand. If this assumption is correct, and assuming further that your main tex file is called main.tex, you should




        • copy all material in main.tex between begin{thebibliography}{} and end{thebibliography} into a file called main.bbl. (You may have to create this file from scratch; and



        • replace the copied material in the main tex file with the single instruction



          input{main.bbl}



        where main should correspond to the filename of your main tex file.



        If you then rerun LaTeX on your main tex file, the output should be exactly the same.







        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered Feb 21 at 10:45









        MicoMico

        281k31384772




        281k31384772






























            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%2f475972%2fbibliography-from-in-document-to-bib-bbl-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

            mysqli_query(): Empty query in /home/lucindabrummitt/public_html/blog/wp-includes/wp-db.php on line 1924

            How to change which sound is reproduced for terminal bell?

            Can I use Tabulator js library in my java Spring + Thymeleaf project?