Margin references in tufte-handout with pandoc












2















I'm trying to convert a Markdown file to PDF using pandoc and a tufte-handout template. I would like to have references in the margin, instead of in the end of the document, is this even possible in a direct MD->PDF conversion?










share|improve this question




















  • 1





    You'll want to make a MWE for this: a simple Pandoc document with one reference, plus your tufte-handout template (possibly minimized to avoid extra package loading or other unlreated macros).

    – Mike Renfro
    Feb 8 '16 at 21:58











  • As far as I know there are multiple ways to generate citations in Pandoc. Can you make sure that you are actually using LaTeX packages to do that (i.e. not CLS files)? If you use a LaTeX solution make sure to tag your question accordingly, do you really use biblatex? It will really be easier to diagnose your problem if we get to see what you are trying to do (code as well as compilation sequence).

    – moewe
    Feb 9 '16 at 7:55


















2















I'm trying to convert a Markdown file to PDF using pandoc and a tufte-handout template. I would like to have references in the margin, instead of in the end of the document, is this even possible in a direct MD->PDF conversion?










share|improve this question




















  • 1





    You'll want to make a MWE for this: a simple Pandoc document with one reference, plus your tufte-handout template (possibly minimized to avoid extra package loading or other unlreated macros).

    – Mike Renfro
    Feb 8 '16 at 21:58











  • As far as I know there are multiple ways to generate citations in Pandoc. Can you make sure that you are actually using LaTeX packages to do that (i.e. not CLS files)? If you use a LaTeX solution make sure to tag your question accordingly, do you really use biblatex? It will really be easier to diagnose your problem if we get to see what you are trying to do (code as well as compilation sequence).

    – moewe
    Feb 9 '16 at 7:55
















2












2








2








I'm trying to convert a Markdown file to PDF using pandoc and a tufte-handout template. I would like to have references in the margin, instead of in the end of the document, is this even possible in a direct MD->PDF conversion?










share|improve this question
















I'm trying to convert a Markdown file to PDF using pandoc and a tufte-handout template. I would like to have references in the margin, instead of in the end of the document, is this even possible in a direct MD->PDF conversion?







biblatex tufte pandoc markdown






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Feb 20 '16 at 11:16









Herbert

272k24411724




272k24411724










asked Feb 8 '16 at 21:06









mariachimariachi

125111




125111








  • 1





    You'll want to make a MWE for this: a simple Pandoc document with one reference, plus your tufte-handout template (possibly minimized to avoid extra package loading or other unlreated macros).

    – Mike Renfro
    Feb 8 '16 at 21:58











  • As far as I know there are multiple ways to generate citations in Pandoc. Can you make sure that you are actually using LaTeX packages to do that (i.e. not CLS files)? If you use a LaTeX solution make sure to tag your question accordingly, do you really use biblatex? It will really be easier to diagnose your problem if we get to see what you are trying to do (code as well as compilation sequence).

    – moewe
    Feb 9 '16 at 7:55
















  • 1





    You'll want to make a MWE for this: a simple Pandoc document with one reference, plus your tufte-handout template (possibly minimized to avoid extra package loading or other unlreated macros).

    – Mike Renfro
    Feb 8 '16 at 21:58











  • As far as I know there are multiple ways to generate citations in Pandoc. Can you make sure that you are actually using LaTeX packages to do that (i.e. not CLS files)? If you use a LaTeX solution make sure to tag your question accordingly, do you really use biblatex? It will really be easier to diagnose your problem if we get to see what you are trying to do (code as well as compilation sequence).

    – moewe
    Feb 9 '16 at 7:55










1




1





You'll want to make a MWE for this: a simple Pandoc document with one reference, plus your tufte-handout template (possibly minimized to avoid extra package loading or other unlreated macros).

– Mike Renfro
Feb 8 '16 at 21:58





You'll want to make a MWE for this: a simple Pandoc document with one reference, plus your tufte-handout template (possibly minimized to avoid extra package loading or other unlreated macros).

– Mike Renfro
Feb 8 '16 at 21:58













As far as I know there are multiple ways to generate citations in Pandoc. Can you make sure that you are actually using LaTeX packages to do that (i.e. not CLS files)? If you use a LaTeX solution make sure to tag your question accordingly, do you really use biblatex? It will really be easier to diagnose your problem if we get to see what you are trying to do (code as well as compilation sequence).

– moewe
Feb 9 '16 at 7:55







As far as I know there are multiple ways to generate citations in Pandoc. Can you make sure that you are actually using LaTeX packages to do that (i.e. not CLS files)? If you use a LaTeX solution make sure to tag your question accordingly, do you really use biblatex? It will really be easier to diagnose your problem if we get to see what you are trying to do (code as well as compilation sequence).

– moewe
Feb 9 '16 at 7:55












2 Answers
2






active

oldest

votes


















1














Yes, the easies way is to use rmarkdown, but the effect is the same in pure pandoc. Just need to adapt the template as previous comment suggested. With rmarkdown, this is how it goes down:



In latest rmarkdown you only need to use a csl that changes references into footnotes and add both tufte-handout and disablebibliography in your yaml header:



---
bibliography: library.bib
csl: chicago-fullnote-bibliography.csl
suppress-bibliography: yes
output:
bookdown::tufte_book2:
toc: yes
highlight: tango
---





share|improve this answer































    0














    When using the tufte-handout class, any footnotes automatically go into the margin. If you're using pandoc-citeproc for references, download a notes style such as Chicago Full Note from the Zotero styles repository, place it in ~/.csl/, and then you'll be able to use it from anywhere when creating a PDF. An example file:



    ---
    documentclass: tufte-handout
    csl: chicago-fullnote-bibliography.csl
    ---

    test^[Footnote.]





    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%2f291876%2fmargin-references-in-tufte-handout-with-pandoc%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









      1














      Yes, the easies way is to use rmarkdown, but the effect is the same in pure pandoc. Just need to adapt the template as previous comment suggested. With rmarkdown, this is how it goes down:



      In latest rmarkdown you only need to use a csl that changes references into footnotes and add both tufte-handout and disablebibliography in your yaml header:



      ---
      bibliography: library.bib
      csl: chicago-fullnote-bibliography.csl
      suppress-bibliography: yes
      output:
      bookdown::tufte_book2:
      toc: yes
      highlight: tango
      ---





      share|improve this answer




























        1














        Yes, the easies way is to use rmarkdown, but the effect is the same in pure pandoc. Just need to adapt the template as previous comment suggested. With rmarkdown, this is how it goes down:



        In latest rmarkdown you only need to use a csl that changes references into footnotes and add both tufte-handout and disablebibliography in your yaml header:



        ---
        bibliography: library.bib
        csl: chicago-fullnote-bibliography.csl
        suppress-bibliography: yes
        output:
        bookdown::tufte_book2:
        toc: yes
        highlight: tango
        ---





        share|improve this answer


























          1












          1








          1







          Yes, the easies way is to use rmarkdown, but the effect is the same in pure pandoc. Just need to adapt the template as previous comment suggested. With rmarkdown, this is how it goes down:



          In latest rmarkdown you only need to use a csl that changes references into footnotes and add both tufte-handout and disablebibliography in your yaml header:



          ---
          bibliography: library.bib
          csl: chicago-fullnote-bibliography.csl
          suppress-bibliography: yes
          output:
          bookdown::tufte_book2:
          toc: yes
          highlight: tango
          ---





          share|improve this answer













          Yes, the easies way is to use rmarkdown, but the effect is the same in pure pandoc. Just need to adapt the template as previous comment suggested. With rmarkdown, this is how it goes down:



          In latest rmarkdown you only need to use a csl that changes references into footnotes and add both tufte-handout and disablebibliography in your yaml header:



          ---
          bibliography: library.bib
          csl: chicago-fullnote-bibliography.csl
          suppress-bibliography: yes
          output:
          bookdown::tufte_book2:
          toc: yes
          highlight: tango
          ---






          share|improve this answer












          share|improve this answer



          share|improve this answer










          answered Oct 31 '17 at 7:41









          lf_araujolf_araujo

          426213




          426213























              0














              When using the tufte-handout class, any footnotes automatically go into the margin. If you're using pandoc-citeproc for references, download a notes style such as Chicago Full Note from the Zotero styles repository, place it in ~/.csl/, and then you'll be able to use it from anywhere when creating a PDF. An example file:



              ---
              documentclass: tufte-handout
              csl: chicago-fullnote-bibliography.csl
              ---

              test^[Footnote.]





              share|improve this answer






























                0














                When using the tufte-handout class, any footnotes automatically go into the margin. If you're using pandoc-citeproc for references, download a notes style such as Chicago Full Note from the Zotero styles repository, place it in ~/.csl/, and then you'll be able to use it from anywhere when creating a PDF. An example file:



                ---
                documentclass: tufte-handout
                csl: chicago-fullnote-bibliography.csl
                ---

                test^[Footnote.]





                share|improve this answer




























                  0












                  0








                  0







                  When using the tufte-handout class, any footnotes automatically go into the margin. If you're using pandoc-citeproc for references, download a notes style such as Chicago Full Note from the Zotero styles repository, place it in ~/.csl/, and then you'll be able to use it from anywhere when creating a PDF. An example file:



                  ---
                  documentclass: tufte-handout
                  csl: chicago-fullnote-bibliography.csl
                  ---

                  test^[Footnote.]





                  share|improve this answer















                  When using the tufte-handout class, any footnotes automatically go into the margin. If you're using pandoc-citeproc for references, download a notes style such as Chicago Full Note from the Zotero styles repository, place it in ~/.csl/, and then you'll be able to use it from anywhere when creating a PDF. An example file:



                  ---
                  documentclass: tufte-handout
                  csl: chicago-fullnote-bibliography.csl
                  ---

                  test^[Footnote.]






                  share|improve this answer














                  share|improve this answer



                  share|improve this answer








                  edited Jan 16 at 21:00

























                  answered Feb 20 '16 at 11:04









                  Andrew DunningAndrew Dunning

                  558214




                  558214






























                      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%2f291876%2fmargin-references-in-tufte-handout-with-pandoc%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

                      How to change which sound is reproduced for terminal bell?

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

                      Title Spacing in Bjornstrup Chapter, Removing Chapter Number From Contents