Importing Zotero library in Overleaf turns into $backslash$, won't compile












2














I am writing a paper on Overleaf (v1) and connected it to my Zotero account to keep my references up to date. I am using a journal template, so my BibTeX entries have the journal names as mnras for the MNRAS journal, for example, and the template fills out the correct name.



When I use Zotero from Overleaf, or when I export my Zotero library as a .bib file, the gets turned into $backslash$. So, the journal entry mnras turns into $backslash$mnras, which does not compile.



I can edit the .bib file on my computer, but Overleaf does not let me manually make changes to my bibliography file, since it's linked to my Zotero library.



Is there any way to override this change, other than manually editing my .bib file, or every single Zotero entry? I don't mind that much when working offline, but I like the versatility of having Overleaf linked to my Zotero library.



I am also using Better BibTeX for Zotero, which allows for customized exports, but like I said I'm more concerned about the Overleaf case.










share|improve this question
























  • At least with Better BibTeX you can type in something like <pre>mnras</pre> to avoid the conversion of the backslash.
    – moewe
    Oct 29 '18 at 14:43






  • 1




    That won't work with Zotero plain unfortunately. Since Zotero isn't designed as a bibtex frontend primarily, it doesn't expect bibtex input in its field -- i.e. it expects a backslash to be an actual backslash and since Overleaf is taking information via the API, you can't change this locally or rely on Better BibTeX (BBT) functionality. I don't think there is a way to do this with direct Zotero integration into Overleaf (I believe you can use some github based version of integration that lets you use BBT output).
    – adam.smith
    Oct 29 '18 at 14:50






  • 1




    Again with Better BibTeX you can also add the tag #LaTeX to automatically wrap all fields in <pre>...</pre>, see retorque.re/zotero-better-bibtex/advanced
    – moewe
    Oct 29 '18 at 14:50












  • @adam.smith thank you. Seems like I will just have to stick to uploading my .bib file to Overleaf then!
    – Francisca Concha-Ramírez
    Oct 29 '18 at 15:04










  • @moewe thank you. It looks like I'll have to do that and manually upload my library to Overleaf.
    – Francisca Concha-Ramírez
    Oct 29 '18 at 15:04
















2














I am writing a paper on Overleaf (v1) and connected it to my Zotero account to keep my references up to date. I am using a journal template, so my BibTeX entries have the journal names as mnras for the MNRAS journal, for example, and the template fills out the correct name.



When I use Zotero from Overleaf, or when I export my Zotero library as a .bib file, the gets turned into $backslash$. So, the journal entry mnras turns into $backslash$mnras, which does not compile.



I can edit the .bib file on my computer, but Overleaf does not let me manually make changes to my bibliography file, since it's linked to my Zotero library.



Is there any way to override this change, other than manually editing my .bib file, or every single Zotero entry? I don't mind that much when working offline, but I like the versatility of having Overleaf linked to my Zotero library.



I am also using Better BibTeX for Zotero, which allows for customized exports, but like I said I'm more concerned about the Overleaf case.










share|improve this question
























  • At least with Better BibTeX you can type in something like <pre>mnras</pre> to avoid the conversion of the backslash.
    – moewe
    Oct 29 '18 at 14:43






  • 1




    That won't work with Zotero plain unfortunately. Since Zotero isn't designed as a bibtex frontend primarily, it doesn't expect bibtex input in its field -- i.e. it expects a backslash to be an actual backslash and since Overleaf is taking information via the API, you can't change this locally or rely on Better BibTeX (BBT) functionality. I don't think there is a way to do this with direct Zotero integration into Overleaf (I believe you can use some github based version of integration that lets you use BBT output).
    – adam.smith
    Oct 29 '18 at 14:50






  • 1




    Again with Better BibTeX you can also add the tag #LaTeX to automatically wrap all fields in <pre>...</pre>, see retorque.re/zotero-better-bibtex/advanced
    – moewe
    Oct 29 '18 at 14:50












  • @adam.smith thank you. Seems like I will just have to stick to uploading my .bib file to Overleaf then!
    – Francisca Concha-Ramírez
    Oct 29 '18 at 15:04










  • @moewe thank you. It looks like I'll have to do that and manually upload my library to Overleaf.
    – Francisca Concha-Ramírez
    Oct 29 '18 at 15:04














2












2








2







I am writing a paper on Overleaf (v1) and connected it to my Zotero account to keep my references up to date. I am using a journal template, so my BibTeX entries have the journal names as mnras for the MNRAS journal, for example, and the template fills out the correct name.



When I use Zotero from Overleaf, or when I export my Zotero library as a .bib file, the gets turned into $backslash$. So, the journal entry mnras turns into $backslash$mnras, which does not compile.



I can edit the .bib file on my computer, but Overleaf does not let me manually make changes to my bibliography file, since it's linked to my Zotero library.



Is there any way to override this change, other than manually editing my .bib file, or every single Zotero entry? I don't mind that much when working offline, but I like the versatility of having Overleaf linked to my Zotero library.



I am also using Better BibTeX for Zotero, which allows for customized exports, but like I said I'm more concerned about the Overleaf case.










share|improve this question















I am writing a paper on Overleaf (v1) and connected it to my Zotero account to keep my references up to date. I am using a journal template, so my BibTeX entries have the journal names as mnras for the MNRAS journal, for example, and the template fills out the correct name.



When I use Zotero from Overleaf, or when I export my Zotero library as a .bib file, the gets turned into $backslash$. So, the journal entry mnras turns into $backslash$mnras, which does not compile.



I can edit the .bib file on my computer, but Overleaf does not let me manually make changes to my bibliography file, since it's linked to my Zotero library.



Is there any way to override this change, other than manually editing my .bib file, or every single Zotero entry? I don't mind that much when working offline, but I like the versatility of having Overleaf linked to my Zotero library.



I am also using Better BibTeX for Zotero, which allows for customized exports, but like I said I'm more concerned about the Overleaf case.







bibtex overleaf zotero






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Oct 29 '18 at 14:25

























asked Oct 29 '18 at 14:02









Francisca Concha-Ramírez

113




113












  • At least with Better BibTeX you can type in something like <pre>mnras</pre> to avoid the conversion of the backslash.
    – moewe
    Oct 29 '18 at 14:43






  • 1




    That won't work with Zotero plain unfortunately. Since Zotero isn't designed as a bibtex frontend primarily, it doesn't expect bibtex input in its field -- i.e. it expects a backslash to be an actual backslash and since Overleaf is taking information via the API, you can't change this locally or rely on Better BibTeX (BBT) functionality. I don't think there is a way to do this with direct Zotero integration into Overleaf (I believe you can use some github based version of integration that lets you use BBT output).
    – adam.smith
    Oct 29 '18 at 14:50






  • 1




    Again with Better BibTeX you can also add the tag #LaTeX to automatically wrap all fields in <pre>...</pre>, see retorque.re/zotero-better-bibtex/advanced
    – moewe
    Oct 29 '18 at 14:50












  • @adam.smith thank you. Seems like I will just have to stick to uploading my .bib file to Overleaf then!
    – Francisca Concha-Ramírez
    Oct 29 '18 at 15:04










  • @moewe thank you. It looks like I'll have to do that and manually upload my library to Overleaf.
    – Francisca Concha-Ramírez
    Oct 29 '18 at 15:04


















  • At least with Better BibTeX you can type in something like <pre>mnras</pre> to avoid the conversion of the backslash.
    – moewe
    Oct 29 '18 at 14:43






  • 1




    That won't work with Zotero plain unfortunately. Since Zotero isn't designed as a bibtex frontend primarily, it doesn't expect bibtex input in its field -- i.e. it expects a backslash to be an actual backslash and since Overleaf is taking information via the API, you can't change this locally or rely on Better BibTeX (BBT) functionality. I don't think there is a way to do this with direct Zotero integration into Overleaf (I believe you can use some github based version of integration that lets you use BBT output).
    – adam.smith
    Oct 29 '18 at 14:50






  • 1




    Again with Better BibTeX you can also add the tag #LaTeX to automatically wrap all fields in <pre>...</pre>, see retorque.re/zotero-better-bibtex/advanced
    – moewe
    Oct 29 '18 at 14:50












  • @adam.smith thank you. Seems like I will just have to stick to uploading my .bib file to Overleaf then!
    – Francisca Concha-Ramírez
    Oct 29 '18 at 15:04










  • @moewe thank you. It looks like I'll have to do that and manually upload my library to Overleaf.
    – Francisca Concha-Ramírez
    Oct 29 '18 at 15:04
















At least with Better BibTeX you can type in something like <pre>mnras</pre> to avoid the conversion of the backslash.
– moewe
Oct 29 '18 at 14:43




At least with Better BibTeX you can type in something like <pre>mnras</pre> to avoid the conversion of the backslash.
– moewe
Oct 29 '18 at 14:43




1




1




That won't work with Zotero plain unfortunately. Since Zotero isn't designed as a bibtex frontend primarily, it doesn't expect bibtex input in its field -- i.e. it expects a backslash to be an actual backslash and since Overleaf is taking information via the API, you can't change this locally or rely on Better BibTeX (BBT) functionality. I don't think there is a way to do this with direct Zotero integration into Overleaf (I believe you can use some github based version of integration that lets you use BBT output).
– adam.smith
Oct 29 '18 at 14:50




That won't work with Zotero plain unfortunately. Since Zotero isn't designed as a bibtex frontend primarily, it doesn't expect bibtex input in its field -- i.e. it expects a backslash to be an actual backslash and since Overleaf is taking information via the API, you can't change this locally or rely on Better BibTeX (BBT) functionality. I don't think there is a way to do this with direct Zotero integration into Overleaf (I believe you can use some github based version of integration that lets you use BBT output).
– adam.smith
Oct 29 '18 at 14:50




1




1




Again with Better BibTeX you can also add the tag #LaTeX to automatically wrap all fields in <pre>...</pre>, see retorque.re/zotero-better-bibtex/advanced
– moewe
Oct 29 '18 at 14:50






Again with Better BibTeX you can also add the tag #LaTeX to automatically wrap all fields in <pre>...</pre>, see retorque.re/zotero-better-bibtex/advanced
– moewe
Oct 29 '18 at 14:50














@adam.smith thank you. Seems like I will just have to stick to uploading my .bib file to Overleaf then!
– Francisca Concha-Ramírez
Oct 29 '18 at 15:04




@adam.smith thank you. Seems like I will just have to stick to uploading my .bib file to Overleaf then!
– Francisca Concha-Ramírez
Oct 29 '18 at 15:04












@moewe thank you. It looks like I'll have to do that and manually upload my library to Overleaf.
– Francisca Concha-Ramírez
Oct 29 '18 at 15:04




@moewe thank you. It looks like I'll have to do that and manually upload my library to Overleaf.
– Francisca Concha-Ramírez
Oct 29 '18 at 15:04










1 Answer
1






active

oldest

votes


















0














You can actually have BBT push the Bib(La)TeX it generates to Overleaf: https://retorque.re/zotero-better-bibtex/push-and-pull/#git-support . For Overleaf V2 you will for the time being have to go through GitHub; V1 has direct git support. Direct git support is planned for V2 but there's no published ETA for it.






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%2f457353%2fimporting-zotero-library-in-overleaf-turns-into-backslash-wont-compile%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 can actually have BBT push the Bib(La)TeX it generates to Overleaf: https://retorque.re/zotero-better-bibtex/push-and-pull/#git-support . For Overleaf V2 you will for the time being have to go through GitHub; V1 has direct git support. Direct git support is planned for V2 but there's no published ETA for it.






    share|improve this answer


























      0














      You can actually have BBT push the Bib(La)TeX it generates to Overleaf: https://retorque.re/zotero-better-bibtex/push-and-pull/#git-support . For Overleaf V2 you will for the time being have to go through GitHub; V1 has direct git support. Direct git support is planned for V2 but there's no published ETA for it.






      share|improve this answer
























        0












        0








        0






        You can actually have BBT push the Bib(La)TeX it generates to Overleaf: https://retorque.re/zotero-better-bibtex/push-and-pull/#git-support . For Overleaf V2 you will for the time being have to go through GitHub; V1 has direct git support. Direct git support is planned for V2 but there's no published ETA for it.






        share|improve this answer












        You can actually have BBT push the Bib(La)TeX it generates to Overleaf: https://retorque.re/zotero-better-bibtex/push-and-pull/#git-support . For Overleaf V2 you will for the time being have to go through GitHub; V1 has direct git support. Direct git support is planned for V2 but there's no published ETA for it.







        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered Nov 14 '18 at 17:47









        retorquere

        635613




        635613






























            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%2f457353%2fimporting-zotero-library-in-overleaf-turns-into-backslash-wont-compile%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?