How to use a subset of a beamer presentation?












7















I am trying to take the PDF output of a beamer presentation and take only a subset of the slides, and create a PDF file out of them (I can't recompile the beamer presentation with the relevant slides, since they are annotated).



When I use:



documentclass{article}
usepackage{pdfpages}
begin{document}
includepdf[pages=1-15]{presentation.pdf}
end{document}


The pages are enlarged, and the pdf slides are not the usual size of a beamer presentation slide.



If I change document class to beamer, all pages appear blank.



How can I fix that?










share|improve this question




















  • 2





    You can just use a tool to extract the pages you want or remove the ones you don't directly from the PDF. Preview in Mac OS X lets you do that. So does pdftk.

    – lhf
    Jan 30 '15 at 15:41
















7















I am trying to take the PDF output of a beamer presentation and take only a subset of the slides, and create a PDF file out of them (I can't recompile the beamer presentation with the relevant slides, since they are annotated).



When I use:



documentclass{article}
usepackage{pdfpages}
begin{document}
includepdf[pages=1-15]{presentation.pdf}
end{document}


The pages are enlarged, and the pdf slides are not the usual size of a beamer presentation slide.



If I change document class to beamer, all pages appear blank.



How can I fix that?










share|improve this question




















  • 2





    You can just use a tool to extract the pages you want or remove the ones you don't directly from the PDF. Preview in Mac OS X lets you do that. So does pdftk.

    – lhf
    Jan 30 '15 at 15:41














7












7








7








I am trying to take the PDF output of a beamer presentation and take only a subset of the slides, and create a PDF file out of them (I can't recompile the beamer presentation with the relevant slides, since they are annotated).



When I use:



documentclass{article}
usepackage{pdfpages}
begin{document}
includepdf[pages=1-15]{presentation.pdf}
end{document}


The pages are enlarged, and the pdf slides are not the usual size of a beamer presentation slide.



If I change document class to beamer, all pages appear blank.



How can I fix that?










share|improve this question
















I am trying to take the PDF output of a beamer presentation and take only a subset of the slides, and create a PDF file out of them (I can't recompile the beamer presentation with the relevant slides, since they are annotated).



When I use:



documentclass{article}
usepackage{pdfpages}
begin{document}
includepdf[pages=1-15]{presentation.pdf}
end{document}


The pages are enlarged, and the pdf slides are not the usual size of a beamer presentation slide.



If I change document class to beamer, all pages appear blank.



How can I fix that?







beamer pdf pdfpages






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Jan 30 '15 at 15:13









Gonzalo Medina

403k4113171582




403k4113171582










asked Jan 30 '15 at 14:45









kloopkloop

3,468133960




3,468133960








  • 2





    You can just use a tool to extract the pages you want or remove the ones you don't directly from the PDF. Preview in Mac OS X lets you do that. So does pdftk.

    – lhf
    Jan 30 '15 at 15:41














  • 2





    You can just use a tool to extract the pages you want or remove the ones you don't directly from the PDF. Preview in Mac OS X lets you do that. So does pdftk.

    – lhf
    Jan 30 '15 at 15:41








2




2





You can just use a tool to extract the pages you want or remove the ones you don't directly from the PDF. Preview in Mac OS X lets you do that. So does pdftk.

– lhf
Jan 30 '15 at 15:41





You can just use a tool to extract the pages you want or remove the ones you don't directly from the PDF. Preview in Mac OS X lets you do that. So does pdftk.

– lhf
Jan 30 '15 at 15:41










2 Answers
2






active

oldest

votes


















5














If you know how big your presentation slides are do



documentclass{article}
usepackage[paperheight=197mm,paperwidth=254mm]{geometry}
usepackage{pdfpages}

begin{document}
includepdf[pages=1-15]{presentation.pdf}
end{document}


If you use beamer documentclass, you don't even have to know the size of the slides, just exchange the default white background with a transparent one to make the slides visible:



documentclass{beamer}
usepackage{pdfpages}

setbeamercolor{background canvas}{bg=}

begin{document}
includepdf[pages=1-15]{presentation.pdf}
end{document}





share|improve this answer

































    3














    For testing purposes, said that the original presentation is xxx.pdf generated from:



    documentclass{beamer}
    usepackage{lipsum}
    title{Non Source Presentation}
    author{Someone}
    usetheme{Berkeley}
    begin{document}
    maketitle
    section{Lore} begin{frame}{Lore ipsum} lipsum[1] end{frame}
    section{Ipsum} begin{frame}{Nam dui ligula} lipsum[2] end{frame}
    section{Dolor} begin{frame}{Nulla malesada} lipsum[3] end{frame}
    end{document}


    Then, in your new presentation, to include only the slides 1 and 4 from xxx.pdf, you can simply insert each PDF page as images:



    documentclass{beamer}
    setbeamersize{text margin left=0pt,text margin right=0pt}
    begin{document}
    frame{includegraphics[page=1,width=textwidth]{xxx.pdf}}
    frame{includegraphics[page=4,width=textwidth]{xxx.pdf}}
    end{document}


    Result:



    MWE






    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%2f225717%2fhow-to-use-a-subset-of-a-beamer-presentation%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









      5














      If you know how big your presentation slides are do



      documentclass{article}
      usepackage[paperheight=197mm,paperwidth=254mm]{geometry}
      usepackage{pdfpages}

      begin{document}
      includepdf[pages=1-15]{presentation.pdf}
      end{document}


      If you use beamer documentclass, you don't even have to know the size of the slides, just exchange the default white background with a transparent one to make the slides visible:



      documentclass{beamer}
      usepackage{pdfpages}

      setbeamercolor{background canvas}{bg=}

      begin{document}
      includepdf[pages=1-15]{presentation.pdf}
      end{document}





      share|improve this answer






























        5














        If you know how big your presentation slides are do



        documentclass{article}
        usepackage[paperheight=197mm,paperwidth=254mm]{geometry}
        usepackage{pdfpages}

        begin{document}
        includepdf[pages=1-15]{presentation.pdf}
        end{document}


        If you use beamer documentclass, you don't even have to know the size of the slides, just exchange the default white background with a transparent one to make the slides visible:



        documentclass{beamer}
        usepackage{pdfpages}

        setbeamercolor{background canvas}{bg=}

        begin{document}
        includepdf[pages=1-15]{presentation.pdf}
        end{document}





        share|improve this answer




























          5












          5








          5







          If you know how big your presentation slides are do



          documentclass{article}
          usepackage[paperheight=197mm,paperwidth=254mm]{geometry}
          usepackage{pdfpages}

          begin{document}
          includepdf[pages=1-15]{presentation.pdf}
          end{document}


          If you use beamer documentclass, you don't even have to know the size of the slides, just exchange the default white background with a transparent one to make the slides visible:



          documentclass{beamer}
          usepackage{pdfpages}

          setbeamercolor{background canvas}{bg=}

          begin{document}
          includepdf[pages=1-15]{presentation.pdf}
          end{document}





          share|improve this answer















          If you know how big your presentation slides are do



          documentclass{article}
          usepackage[paperheight=197mm,paperwidth=254mm]{geometry}
          usepackage{pdfpages}

          begin{document}
          includepdf[pages=1-15]{presentation.pdf}
          end{document}


          If you use beamer documentclass, you don't even have to know the size of the slides, just exchange the default white background with a transparent one to make the slides visible:



          documentclass{beamer}
          usepackage{pdfpages}

          setbeamercolor{background canvas}{bg=}

          begin{document}
          includepdf[pages=1-15]{presentation.pdf}
          end{document}






          share|improve this answer














          share|improve this answer



          share|improve this answer








          edited 10 hours ago

























          answered Jan 30 '15 at 15:41









          samcartersamcarter

          93.8k7105303




          93.8k7105303























              3














              For testing purposes, said that the original presentation is xxx.pdf generated from:



              documentclass{beamer}
              usepackage{lipsum}
              title{Non Source Presentation}
              author{Someone}
              usetheme{Berkeley}
              begin{document}
              maketitle
              section{Lore} begin{frame}{Lore ipsum} lipsum[1] end{frame}
              section{Ipsum} begin{frame}{Nam dui ligula} lipsum[2] end{frame}
              section{Dolor} begin{frame}{Nulla malesada} lipsum[3] end{frame}
              end{document}


              Then, in your new presentation, to include only the slides 1 and 4 from xxx.pdf, you can simply insert each PDF page as images:



              documentclass{beamer}
              setbeamersize{text margin left=0pt,text margin right=0pt}
              begin{document}
              frame{includegraphics[page=1,width=textwidth]{xxx.pdf}}
              frame{includegraphics[page=4,width=textwidth]{xxx.pdf}}
              end{document}


              Result:



              MWE






              share|improve this answer




























                3














                For testing purposes, said that the original presentation is xxx.pdf generated from:



                documentclass{beamer}
                usepackage{lipsum}
                title{Non Source Presentation}
                author{Someone}
                usetheme{Berkeley}
                begin{document}
                maketitle
                section{Lore} begin{frame}{Lore ipsum} lipsum[1] end{frame}
                section{Ipsum} begin{frame}{Nam dui ligula} lipsum[2] end{frame}
                section{Dolor} begin{frame}{Nulla malesada} lipsum[3] end{frame}
                end{document}


                Then, in your new presentation, to include only the slides 1 and 4 from xxx.pdf, you can simply insert each PDF page as images:



                documentclass{beamer}
                setbeamersize{text margin left=0pt,text margin right=0pt}
                begin{document}
                frame{includegraphics[page=1,width=textwidth]{xxx.pdf}}
                frame{includegraphics[page=4,width=textwidth]{xxx.pdf}}
                end{document}


                Result:



                MWE






                share|improve this answer


























                  3












                  3








                  3







                  For testing purposes, said that the original presentation is xxx.pdf generated from:



                  documentclass{beamer}
                  usepackage{lipsum}
                  title{Non Source Presentation}
                  author{Someone}
                  usetheme{Berkeley}
                  begin{document}
                  maketitle
                  section{Lore} begin{frame}{Lore ipsum} lipsum[1] end{frame}
                  section{Ipsum} begin{frame}{Nam dui ligula} lipsum[2] end{frame}
                  section{Dolor} begin{frame}{Nulla malesada} lipsum[3] end{frame}
                  end{document}


                  Then, in your new presentation, to include only the slides 1 and 4 from xxx.pdf, you can simply insert each PDF page as images:



                  documentclass{beamer}
                  setbeamersize{text margin left=0pt,text margin right=0pt}
                  begin{document}
                  frame{includegraphics[page=1,width=textwidth]{xxx.pdf}}
                  frame{includegraphics[page=4,width=textwidth]{xxx.pdf}}
                  end{document}


                  Result:



                  MWE






                  share|improve this answer













                  For testing purposes, said that the original presentation is xxx.pdf generated from:



                  documentclass{beamer}
                  usepackage{lipsum}
                  title{Non Source Presentation}
                  author{Someone}
                  usetheme{Berkeley}
                  begin{document}
                  maketitle
                  section{Lore} begin{frame}{Lore ipsum} lipsum[1] end{frame}
                  section{Ipsum} begin{frame}{Nam dui ligula} lipsum[2] end{frame}
                  section{Dolor} begin{frame}{Nulla malesada} lipsum[3] end{frame}
                  end{document}


                  Then, in your new presentation, to include only the slides 1 and 4 from xxx.pdf, you can simply insert each PDF page as images:



                  documentclass{beamer}
                  setbeamersize{text margin left=0pt,text margin right=0pt}
                  begin{document}
                  frame{includegraphics[page=1,width=textwidth]{xxx.pdf}}
                  frame{includegraphics[page=4,width=textwidth]{xxx.pdf}}
                  end{document}


                  Result:



                  MWE







                  share|improve this answer












                  share|improve this answer



                  share|improve this answer










                  answered Jan 30 '15 at 20:57









                  FranFran

                  53.6k6119183




                  53.6k6119183






























                      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%2f225717%2fhow-to-use-a-subset-of-a-beamer-presentation%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