Print Bibliography OnlyCompile but don't print referencesBibTex and includeonly commandPrint whole...

Do my Windows system binaries contain sensitive information?

Sometimes a banana is just a banana

What's a good word to describe a public place that looks like it wouldn't be rough?

Why can I easily sing or whistle a tune I've just heard, but not as easily reproduce it on an instrument?

How do we edit a novel that's written by several people?

Find the number of ways to express 1050 as sum of consecutive integers

Quenching swords in dragon blood; why?

A Wacky, Wacky Chessboard (That Makes No Sense)

Meth dealer reference in Family Guy

Activating a Alphanet Faucet Wallet Remotely (without tezos-client)

LTSpice: When running a linear AC simulation, how to view the voltage ratio between two voltages?

Is my plan for fixing my water heater leak bad?

Does Windows 10's telemetry include sending *.doc files if Word crashed?

How should I state my MS degree in my CV when it was in practice a joint-program?

On what did Lego base the appearance of the new Hogwarts minifigs?

Meaning of すきっとした

Why didn't Eru and/or the Valar intervene when Sauron corrupted Númenor?

What can I substitute for soda pop in a sweet pork recipe?

Could quantum mechanics be necessary to analyze some biology scenarios?

Why is this code uniquely decodable?

F1 visa even for a three-week course?

Inventor that creates machine that grabs man from future

How do I add a variable to this curl command?

Is the theory of the category of topological spaces computable?



Print Bibliography Only


Compile but don't print referencesBibTex and includeonly commandPrint whole bibliography to PDFNo .bbl generatedCitations undefined - Bibliography not compatible with with author-yearError from IJCA journal ReferencingProblems with bibliography and references in TexWorksTexmaker bibliography quick buildReference and Bibliography













9















I need to generate my references separately from the main document (i.e., one pdf with the content and one with the bibliography). I achieved this the following way:



To generate the pdf lacking references, compile the document with the following line nobibliography{bibfile}. To compile, run pdflatex; bibtex; pdflatex; pdflatex.



To generate the pdf with only references, change the above line to bibliography{bibfile}, and comment the entire document except this line and the bibliographystyle line. To comment, I used verbatim (usepackage{verbatim}) and enclosed everything within begin{document} and end{document} with begin{comment} and end{comment}, except, as mentioned, the bibliography-pertinent commands. To compile, run pdflatex once.



Is there a simpler way to achieve the same result (one file with references only and one with content only)?










share|improve this question























  • Could you tell more information about the way your bibliography is written (style used for instance). If it is only a author-year style, you could easily generate the bibliography file with a nocite{*} instruction before the printbibliography command (syntax for biblatex use).

    – Martigan
    Jan 4 '12 at 16:26













  • Hi Martigan. My bibliography style is unsrt, and references are numerically sorted by their order of appearance. Also, I am using bibtex (not biblatex).

    – user001
    Jan 5 '12 at 13:23











  • Since you have some responses below that seem to answer your question, please consider marking one of them as ‘Accepted’ by clicking on the tickmark below their vote count (see How do you accept an answer?). This shows which answer helped you most, and it assigns reputation points to the author of the answer (and to you!). It's part of this site's idea to identify good questions and answers through upvotes and acceptance of answers.

    – samcarter
    Jul 27 '18 at 19:16
















9















I need to generate my references separately from the main document (i.e., one pdf with the content and one with the bibliography). I achieved this the following way:



To generate the pdf lacking references, compile the document with the following line nobibliography{bibfile}. To compile, run pdflatex; bibtex; pdflatex; pdflatex.



To generate the pdf with only references, change the above line to bibliography{bibfile}, and comment the entire document except this line and the bibliographystyle line. To comment, I used verbatim (usepackage{verbatim}) and enclosed everything within begin{document} and end{document} with begin{comment} and end{comment}, except, as mentioned, the bibliography-pertinent commands. To compile, run pdflatex once.



Is there a simpler way to achieve the same result (one file with references only and one with content only)?










share|improve this question























  • Could you tell more information about the way your bibliography is written (style used for instance). If it is only a author-year style, you could easily generate the bibliography file with a nocite{*} instruction before the printbibliography command (syntax for biblatex use).

    – Martigan
    Jan 4 '12 at 16:26













  • Hi Martigan. My bibliography style is unsrt, and references are numerically sorted by their order of appearance. Also, I am using bibtex (not biblatex).

    – user001
    Jan 5 '12 at 13:23











  • Since you have some responses below that seem to answer your question, please consider marking one of them as ‘Accepted’ by clicking on the tickmark below their vote count (see How do you accept an answer?). This shows which answer helped you most, and it assigns reputation points to the author of the answer (and to you!). It's part of this site's idea to identify good questions and answers through upvotes and acceptance of answers.

    – samcarter
    Jul 27 '18 at 19:16














9












9








9


1






I need to generate my references separately from the main document (i.e., one pdf with the content and one with the bibliography). I achieved this the following way:



To generate the pdf lacking references, compile the document with the following line nobibliography{bibfile}. To compile, run pdflatex; bibtex; pdflatex; pdflatex.



To generate the pdf with only references, change the above line to bibliography{bibfile}, and comment the entire document except this line and the bibliographystyle line. To comment, I used verbatim (usepackage{verbatim}) and enclosed everything within begin{document} and end{document} with begin{comment} and end{comment}, except, as mentioned, the bibliography-pertinent commands. To compile, run pdflatex once.



Is there a simpler way to achieve the same result (one file with references only and one with content only)?










share|improve this question














I need to generate my references separately from the main document (i.e., one pdf with the content and one with the bibliography). I achieved this the following way:



To generate the pdf lacking references, compile the document with the following line nobibliography{bibfile}. To compile, run pdflatex; bibtex; pdflatex; pdflatex.



To generate the pdf with only references, change the above line to bibliography{bibfile}, and comment the entire document except this line and the bibliographystyle line. To comment, I used verbatim (usepackage{verbatim}) and enclosed everything within begin{document} and end{document} with begin{comment} and end{comment}, except, as mentioned, the bibliography-pertinent commands. To compile, run pdflatex once.



Is there a simpler way to achieve the same result (one file with references only and one with content only)?







bibliographies bibtex






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Jan 4 '12 at 13:47









user001user001

3,86383552




3,86383552













  • Could you tell more information about the way your bibliography is written (style used for instance). If it is only a author-year style, you could easily generate the bibliography file with a nocite{*} instruction before the printbibliography command (syntax for biblatex use).

    – Martigan
    Jan 4 '12 at 16:26













  • Hi Martigan. My bibliography style is unsrt, and references are numerically sorted by their order of appearance. Also, I am using bibtex (not biblatex).

    – user001
    Jan 5 '12 at 13:23











  • Since you have some responses below that seem to answer your question, please consider marking one of them as ‘Accepted’ by clicking on the tickmark below their vote count (see How do you accept an answer?). This shows which answer helped you most, and it assigns reputation points to the author of the answer (and to you!). It's part of this site's idea to identify good questions and answers through upvotes and acceptance of answers.

    – samcarter
    Jul 27 '18 at 19:16



















  • Could you tell more information about the way your bibliography is written (style used for instance). If it is only a author-year style, you could easily generate the bibliography file with a nocite{*} instruction before the printbibliography command (syntax for biblatex use).

    – Martigan
    Jan 4 '12 at 16:26













  • Hi Martigan. My bibliography style is unsrt, and references are numerically sorted by their order of appearance. Also, I am using bibtex (not biblatex).

    – user001
    Jan 5 '12 at 13:23











  • Since you have some responses below that seem to answer your question, please consider marking one of them as ‘Accepted’ by clicking on the tickmark below their vote count (see How do you accept an answer?). This shows which answer helped you most, and it assigns reputation points to the author of the answer (and to you!). It's part of this site's idea to identify good questions and answers through upvotes and acceptance of answers.

    – samcarter
    Jul 27 '18 at 19:16

















Could you tell more information about the way your bibliography is written (style used for instance). If it is only a author-year style, you could easily generate the bibliography file with a nocite{*} instruction before the printbibliography command (syntax for biblatex use).

– Martigan
Jan 4 '12 at 16:26







Could you tell more information about the way your bibliography is written (style used for instance). If it is only a author-year style, you could easily generate the bibliography file with a nocite{*} instruction before the printbibliography command (syntax for biblatex use).

– Martigan
Jan 4 '12 at 16:26















Hi Martigan. My bibliography style is unsrt, and references are numerically sorted by their order of appearance. Also, I am using bibtex (not biblatex).

– user001
Jan 5 '12 at 13:23





Hi Martigan. My bibliography style is unsrt, and references are numerically sorted by their order of appearance. Also, I am using bibtex (not biblatex).

– user001
Jan 5 '12 at 13:23













Since you have some responses below that seem to answer your question, please consider marking one of them as ‘Accepted’ by clicking on the tickmark below their vote count (see How do you accept an answer?). This shows which answer helped you most, and it assigns reputation points to the author of the answer (and to you!). It's part of this site's idea to identify good questions and answers through upvotes and acceptance of answers.

– samcarter
Jul 27 '18 at 19:16





Since you have some responses below that seem to answer your question, please consider marking one of them as ‘Accepted’ by clicking on the tickmark below their vote count (see How do you accept an answer?). This shows which answer helped you most, and it assigns reputation points to the author of the answer (and to you!). It's part of this site's idea to identify good questions and answers through upvotes and acceptance of answers.

– samcarter
Jul 27 '18 at 19:16










2 Answers
2






active

oldest

votes


















3














Maybe not exactly the solution to your problem, but I give it a shot: You could start the bibliography on a new page and reset the page counter to one



newpage
setcounter{page}{1}
bibliography{bibfile}


This way you still produce one PDF file with both content and references, but you could separate them into two appropriately page numbered independent files.






share|improve this answer
























  • Thanks vaettchen. That is a very useful suggestion. I could use a linux command line utility to split the document in two afterwards.

    – user001
    Jan 5 '12 at 13:25











  • On linux, the splitting can be achieved with a combination of pdfseparate and pdfsplit.

    – Alfred M.
    Dec 16 '15 at 8:12



















0














Lets assume example.tex is your document. In order to generate a document containing only the references used by example.tex you can proceed as follows:



Compile your document using pdflatex, then run bibtex example in order to generate the file example.bbl file. Now create a document references.tex containing something like



documentclass{article}
begin{document}
input{example.bbl}
end{document}


Finally compile the above document with pdflatex.






share|improve this answer








New contributor




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




















    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%2f40026%2fprint-bibliography-only%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









    3














    Maybe not exactly the solution to your problem, but I give it a shot: You could start the bibliography on a new page and reset the page counter to one



    newpage
    setcounter{page}{1}
    bibliography{bibfile}


    This way you still produce one PDF file with both content and references, but you could separate them into two appropriately page numbered independent files.






    share|improve this answer
























    • Thanks vaettchen. That is a very useful suggestion. I could use a linux command line utility to split the document in two afterwards.

      – user001
      Jan 5 '12 at 13:25











    • On linux, the splitting can be achieved with a combination of pdfseparate and pdfsplit.

      – Alfred M.
      Dec 16 '15 at 8:12
















    3














    Maybe not exactly the solution to your problem, but I give it a shot: You could start the bibliography on a new page and reset the page counter to one



    newpage
    setcounter{page}{1}
    bibliography{bibfile}


    This way you still produce one PDF file with both content and references, but you could separate them into two appropriately page numbered independent files.






    share|improve this answer
























    • Thanks vaettchen. That is a very useful suggestion. I could use a linux command line utility to split the document in two afterwards.

      – user001
      Jan 5 '12 at 13:25











    • On linux, the splitting can be achieved with a combination of pdfseparate and pdfsplit.

      – Alfred M.
      Dec 16 '15 at 8:12














    3












    3








    3







    Maybe not exactly the solution to your problem, but I give it a shot: You could start the bibliography on a new page and reset the page counter to one



    newpage
    setcounter{page}{1}
    bibliography{bibfile}


    This way you still produce one PDF file with both content and references, but you could separate them into two appropriately page numbered independent files.






    share|improve this answer













    Maybe not exactly the solution to your problem, but I give it a shot: You could start the bibliography on a new page and reset the page counter to one



    newpage
    setcounter{page}{1}
    bibliography{bibfile}


    This way you still produce one PDF file with both content and references, but you could separate them into two appropriately page numbered independent files.







    share|improve this answer












    share|improve this answer



    share|improve this answer










    answered Jan 4 '12 at 15:26









    vaettchenvaettchen

    1,581910




    1,581910













    • Thanks vaettchen. That is a very useful suggestion. I could use a linux command line utility to split the document in two afterwards.

      – user001
      Jan 5 '12 at 13:25











    • On linux, the splitting can be achieved with a combination of pdfseparate and pdfsplit.

      – Alfred M.
      Dec 16 '15 at 8:12



















    • Thanks vaettchen. That is a very useful suggestion. I could use a linux command line utility to split the document in two afterwards.

      – user001
      Jan 5 '12 at 13:25











    • On linux, the splitting can be achieved with a combination of pdfseparate and pdfsplit.

      – Alfred M.
      Dec 16 '15 at 8:12

















    Thanks vaettchen. That is a very useful suggestion. I could use a linux command line utility to split the document in two afterwards.

    – user001
    Jan 5 '12 at 13:25





    Thanks vaettchen. That is a very useful suggestion. I could use a linux command line utility to split the document in two afterwards.

    – user001
    Jan 5 '12 at 13:25













    On linux, the splitting can be achieved with a combination of pdfseparate and pdfsplit.

    – Alfred M.
    Dec 16 '15 at 8:12





    On linux, the splitting can be achieved with a combination of pdfseparate and pdfsplit.

    – Alfred M.
    Dec 16 '15 at 8:12











    0














    Lets assume example.tex is your document. In order to generate a document containing only the references used by example.tex you can proceed as follows:



    Compile your document using pdflatex, then run bibtex example in order to generate the file example.bbl file. Now create a document references.tex containing something like



    documentclass{article}
    begin{document}
    input{example.bbl}
    end{document}


    Finally compile the above document with pdflatex.






    share|improve this answer








    New contributor




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

























      0














      Lets assume example.tex is your document. In order to generate a document containing only the references used by example.tex you can proceed as follows:



      Compile your document using pdflatex, then run bibtex example in order to generate the file example.bbl file. Now create a document references.tex containing something like



      documentclass{article}
      begin{document}
      input{example.bbl}
      end{document}


      Finally compile the above document with pdflatex.






      share|improve this answer








      New contributor




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























        0












        0








        0







        Lets assume example.tex is your document. In order to generate a document containing only the references used by example.tex you can proceed as follows:



        Compile your document using pdflatex, then run bibtex example in order to generate the file example.bbl file. Now create a document references.tex containing something like



        documentclass{article}
        begin{document}
        input{example.bbl}
        end{document}


        Finally compile the above document with pdflatex.






        share|improve this answer








        New contributor




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










        Lets assume example.tex is your document. In order to generate a document containing only the references used by example.tex you can proceed as follows:



        Compile your document using pdflatex, then run bibtex example in order to generate the file example.bbl file. Now create a document references.tex containing something like



        documentclass{article}
        begin{document}
        input{example.bbl}
        end{document}


        Finally compile the above document with pdflatex.







        share|improve this answer








        New contributor




        user2262867 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 answer



        share|improve this answer






        New contributor




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









        answered 14 hours ago









        user2262867user2262867

        1




        1




        New contributor




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





        New contributor





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






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






























            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%2f40026%2fprint-bibliography-only%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

            Why does my Macbook overheat and use so much CPU and energy when on YouTube?Why do so many insist on using...

            Puerta de Hutt Referencias Enlaces externos Menú de navegación15°58′00″S 5°42′00″O /...

            How to prevent page numbers from appearing on glossaries?How to remove a dot and a page number in the...