Strange error of compilation with beamer, extract and hyperref package











up vote
1
down vote

favorite












I noticed a strange error of compilation.



After multiple tests, I noticed url and href{}{} from hyperref package systematically generated the following error



 main.tex, line 31
Runaway argument?

{https://www.geogebra.org/m/ydz69yUz}{beamerbutton {Méthode de
NewtETC.
! Paragraph ended before next was complete.
<to be read again>
par
l.31 end{frame}


I am not as expert as most of you. But I lost my French on this question.



Here is MWE



documentclass{beamer}
usepackage[utf8]{inputenc}
usepackage{hyperref}
usepackage[active,generate=file.tex]{extract}

begin{document}

begin{frame}
{Geogebra}

begin{extract}
href{https://www.geogebra.org/m/ydz69yUz}{Description}
url{https://www.geogebra.org/m/ntbtfxGJ}
url{https://www.geogebra.org/m/Ehnz3hGb}
end{extract}

end{frame}

end{document}









share|improve this question




























    up vote
    1
    down vote

    favorite












    I noticed a strange error of compilation.



    After multiple tests, I noticed url and href{}{} from hyperref package systematically generated the following error



     main.tex, line 31
    Runaway argument?

    {https://www.geogebra.org/m/ydz69yUz}{beamerbutton {Méthode de
    NewtETC.
    ! Paragraph ended before next was complete.
    <to be read again>
    par
    l.31 end{frame}


    I am not as expert as most of you. But I lost my French on this question.



    Here is MWE



    documentclass{beamer}
    usepackage[utf8]{inputenc}
    usepackage{hyperref}
    usepackage[active,generate=file.tex]{extract}

    begin{document}

    begin{frame}
    {Geogebra}

    begin{extract}
    href{https://www.geogebra.org/m/ydz69yUz}{Description}
    url{https://www.geogebra.org/m/ntbtfxGJ}
    url{https://www.geogebra.org/m/Ehnz3hGb}
    end{extract}

    end{frame}

    end{document}









    share|improve this question


























      up vote
      1
      down vote

      favorite









      up vote
      1
      down vote

      favorite











      I noticed a strange error of compilation.



      After multiple tests, I noticed url and href{}{} from hyperref package systematically generated the following error



       main.tex, line 31
      Runaway argument?

      {https://www.geogebra.org/m/ydz69yUz}{beamerbutton {Méthode de
      NewtETC.
      ! Paragraph ended before next was complete.
      <to be read again>
      par
      l.31 end{frame}


      I am not as expert as most of you. But I lost my French on this question.



      Here is MWE



      documentclass{beamer}
      usepackage[utf8]{inputenc}
      usepackage{hyperref}
      usepackage[active,generate=file.tex]{extract}

      begin{document}

      begin{frame}
      {Geogebra}

      begin{extract}
      href{https://www.geogebra.org/m/ydz69yUz}{Description}
      url{https://www.geogebra.org/m/ntbtfxGJ}
      url{https://www.geogebra.org/m/Ehnz3hGb}
      end{extract}

      end{frame}

      end{document}









      share|improve this question















      I noticed a strange error of compilation.



      After multiple tests, I noticed url and href{}{} from hyperref package systematically generated the following error



       main.tex, line 31
      Runaway argument?

      {https://www.geogebra.org/m/ydz69yUz}{beamerbutton {Méthode de
      NewtETC.
      ! Paragraph ended before next was complete.
      <to be read again>
      par
      l.31 end{frame}


      I am not as expert as most of you. But I lost my French on this question.



      Here is MWE



      documentclass{beamer}
      usepackage[utf8]{inputenc}
      usepackage{hyperref}
      usepackage[active,generate=file.tex]{extract}

      begin{document}

      begin{frame}
      {Geogebra}

      begin{extract}
      href{https://www.geogebra.org/m/ydz69yUz}{Description}
      url{https://www.geogebra.org/m/ntbtfxGJ}
      url{https://www.geogebra.org/m/Ehnz3hGb}
      end{extract}

      end{frame}

      end{document}






      beamer hyperref extract






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited 3 hours ago









      samcarter

      83.7k794269




      83.7k794269










      asked 3 hours ago









      Julien-Elie Taieb

      3615




      3615






















          1 Answer
          1






          active

          oldest

          votes

















          up vote
          0
          down vote













          I'm not sure if combining the extract package with beamer is a good idea -- depending on what you like to accomplish, there might be better ways.



          Anyway, you can make your document compile by using a fragile frame. Note that the resulting file.tex is not really usable, it should wrap the contents in a frame environment.



          Also note that you don't need to load hyperref with beamer.



          documentclass{beamer}
          usepackage[utf8]{inputenc}
          %usepackage{hyperref}
          usepackage[active,generate=file.tex]{extract}

          begin{document}

          begin{frame}[fragile]
          frametitle{Geogebra}

          begin{extract}
          href{https://www.geogebra.org/m/ydz69yUz}{Description}
          url{https://www.geogebra.org/m/ntbtfxGJ}
          url{https://www.geogebra.org/m/Ehnz3hGb}
          end{extract}

          end{frame}

          end{document}




          Another solution is to use the extract environment outside of a frame:



          documentclass{beamer}
          usepackage[utf8]{inputenc}
          %usepackage{hyperref}
          usepackage[active,generate=file.tex]{extract}

          begin{document}

          begin{extract}
          href{https://www.geogebra.org/m/ydz69yUz}{Description}
          url{https://www.geogebra.org/m/ntbtfxGJ}
          url{https://www.geogebra.org/m/Ehnz3hGb}
          end{extract}

          begin{frame}
          frametitle{Geogebra}
          end{frame}

          end{document}





          share|improve this answer























          • Thank you @samcarter ! I basically tried to extract all the urls to send them to my students. I don't like sending the whole pdf of my slides.
            – Julien-Elie Taieb
            3 hours ago












          • @Julien-ElieTaieb I see. Using different modes would probably be the beamer way to do this, e.g. beamer mode for the normal presentation and handout to create a slide with the urls.
            – samcarter
            2 hours ago











          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',
          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%2f464419%2fstrange-error-of-compilation-with-beamer-extract-and-hyperref-package%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








          up vote
          0
          down vote













          I'm not sure if combining the extract package with beamer is a good idea -- depending on what you like to accomplish, there might be better ways.



          Anyway, you can make your document compile by using a fragile frame. Note that the resulting file.tex is not really usable, it should wrap the contents in a frame environment.



          Also note that you don't need to load hyperref with beamer.



          documentclass{beamer}
          usepackage[utf8]{inputenc}
          %usepackage{hyperref}
          usepackage[active,generate=file.tex]{extract}

          begin{document}

          begin{frame}[fragile]
          frametitle{Geogebra}

          begin{extract}
          href{https://www.geogebra.org/m/ydz69yUz}{Description}
          url{https://www.geogebra.org/m/ntbtfxGJ}
          url{https://www.geogebra.org/m/Ehnz3hGb}
          end{extract}

          end{frame}

          end{document}




          Another solution is to use the extract environment outside of a frame:



          documentclass{beamer}
          usepackage[utf8]{inputenc}
          %usepackage{hyperref}
          usepackage[active,generate=file.tex]{extract}

          begin{document}

          begin{extract}
          href{https://www.geogebra.org/m/ydz69yUz}{Description}
          url{https://www.geogebra.org/m/ntbtfxGJ}
          url{https://www.geogebra.org/m/Ehnz3hGb}
          end{extract}

          begin{frame}
          frametitle{Geogebra}
          end{frame}

          end{document}





          share|improve this answer























          • Thank you @samcarter ! I basically tried to extract all the urls to send them to my students. I don't like sending the whole pdf of my slides.
            – Julien-Elie Taieb
            3 hours ago












          • @Julien-ElieTaieb I see. Using different modes would probably be the beamer way to do this, e.g. beamer mode for the normal presentation and handout to create a slide with the urls.
            – samcarter
            2 hours ago















          up vote
          0
          down vote













          I'm not sure if combining the extract package with beamer is a good idea -- depending on what you like to accomplish, there might be better ways.



          Anyway, you can make your document compile by using a fragile frame. Note that the resulting file.tex is not really usable, it should wrap the contents in a frame environment.



          Also note that you don't need to load hyperref with beamer.



          documentclass{beamer}
          usepackage[utf8]{inputenc}
          %usepackage{hyperref}
          usepackage[active,generate=file.tex]{extract}

          begin{document}

          begin{frame}[fragile]
          frametitle{Geogebra}

          begin{extract}
          href{https://www.geogebra.org/m/ydz69yUz}{Description}
          url{https://www.geogebra.org/m/ntbtfxGJ}
          url{https://www.geogebra.org/m/Ehnz3hGb}
          end{extract}

          end{frame}

          end{document}




          Another solution is to use the extract environment outside of a frame:



          documentclass{beamer}
          usepackage[utf8]{inputenc}
          %usepackage{hyperref}
          usepackage[active,generate=file.tex]{extract}

          begin{document}

          begin{extract}
          href{https://www.geogebra.org/m/ydz69yUz}{Description}
          url{https://www.geogebra.org/m/ntbtfxGJ}
          url{https://www.geogebra.org/m/Ehnz3hGb}
          end{extract}

          begin{frame}
          frametitle{Geogebra}
          end{frame}

          end{document}





          share|improve this answer























          • Thank you @samcarter ! I basically tried to extract all the urls to send them to my students. I don't like sending the whole pdf of my slides.
            – Julien-Elie Taieb
            3 hours ago












          • @Julien-ElieTaieb I see. Using different modes would probably be the beamer way to do this, e.g. beamer mode for the normal presentation and handout to create a slide with the urls.
            – samcarter
            2 hours ago













          up vote
          0
          down vote










          up vote
          0
          down vote









          I'm not sure if combining the extract package with beamer is a good idea -- depending on what you like to accomplish, there might be better ways.



          Anyway, you can make your document compile by using a fragile frame. Note that the resulting file.tex is not really usable, it should wrap the contents in a frame environment.



          Also note that you don't need to load hyperref with beamer.



          documentclass{beamer}
          usepackage[utf8]{inputenc}
          %usepackage{hyperref}
          usepackage[active,generate=file.tex]{extract}

          begin{document}

          begin{frame}[fragile]
          frametitle{Geogebra}

          begin{extract}
          href{https://www.geogebra.org/m/ydz69yUz}{Description}
          url{https://www.geogebra.org/m/ntbtfxGJ}
          url{https://www.geogebra.org/m/Ehnz3hGb}
          end{extract}

          end{frame}

          end{document}




          Another solution is to use the extract environment outside of a frame:



          documentclass{beamer}
          usepackage[utf8]{inputenc}
          %usepackage{hyperref}
          usepackage[active,generate=file.tex]{extract}

          begin{document}

          begin{extract}
          href{https://www.geogebra.org/m/ydz69yUz}{Description}
          url{https://www.geogebra.org/m/ntbtfxGJ}
          url{https://www.geogebra.org/m/Ehnz3hGb}
          end{extract}

          begin{frame}
          frametitle{Geogebra}
          end{frame}

          end{document}





          share|improve this answer














          I'm not sure if combining the extract package with beamer is a good idea -- depending on what you like to accomplish, there might be better ways.



          Anyway, you can make your document compile by using a fragile frame. Note that the resulting file.tex is not really usable, it should wrap the contents in a frame environment.



          Also note that you don't need to load hyperref with beamer.



          documentclass{beamer}
          usepackage[utf8]{inputenc}
          %usepackage{hyperref}
          usepackage[active,generate=file.tex]{extract}

          begin{document}

          begin{frame}[fragile]
          frametitle{Geogebra}

          begin{extract}
          href{https://www.geogebra.org/m/ydz69yUz}{Description}
          url{https://www.geogebra.org/m/ntbtfxGJ}
          url{https://www.geogebra.org/m/Ehnz3hGb}
          end{extract}

          end{frame}

          end{document}




          Another solution is to use the extract environment outside of a frame:



          documentclass{beamer}
          usepackage[utf8]{inputenc}
          %usepackage{hyperref}
          usepackage[active,generate=file.tex]{extract}

          begin{document}

          begin{extract}
          href{https://www.geogebra.org/m/ydz69yUz}{Description}
          url{https://www.geogebra.org/m/ntbtfxGJ}
          url{https://www.geogebra.org/m/Ehnz3hGb}
          end{extract}

          begin{frame}
          frametitle{Geogebra}
          end{frame}

          end{document}






          share|improve this answer














          share|improve this answer



          share|improve this answer








          edited 2 hours ago

























          answered 3 hours ago









          samcarter

          83.7k794269




          83.7k794269












          • Thank you @samcarter ! I basically tried to extract all the urls to send them to my students. I don't like sending the whole pdf of my slides.
            – Julien-Elie Taieb
            3 hours ago












          • @Julien-ElieTaieb I see. Using different modes would probably be the beamer way to do this, e.g. beamer mode for the normal presentation and handout to create a slide with the urls.
            – samcarter
            2 hours ago


















          • Thank you @samcarter ! I basically tried to extract all the urls to send them to my students. I don't like sending the whole pdf of my slides.
            – Julien-Elie Taieb
            3 hours ago












          • @Julien-ElieTaieb I see. Using different modes would probably be the beamer way to do this, e.g. beamer mode for the normal presentation and handout to create a slide with the urls.
            – samcarter
            2 hours ago
















          Thank you @samcarter ! I basically tried to extract all the urls to send them to my students. I don't like sending the whole pdf of my slides.
          – Julien-Elie Taieb
          3 hours ago






          Thank you @samcarter ! I basically tried to extract all the urls to send them to my students. I don't like sending the whole pdf of my slides.
          – Julien-Elie Taieb
          3 hours ago














          @Julien-ElieTaieb I see. Using different modes would probably be the beamer way to do this, e.g. beamer mode for the normal presentation and handout to create a slide with the urls.
          – samcarter
          2 hours ago




          @Julien-ElieTaieb I see. Using different modes would probably be the beamer way to do this, e.g. beamer mode for the normal presentation and handout to create a slide with the urls.
          – samcarter
          2 hours ago


















          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%2f464419%2fstrange-error-of-compilation-with-beamer-extract-and-hyperref-package%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

          A CLEAN and SIMPLE way to add appendices to Table of Contents and bookmarks

          Calculate evaluation metrics using cross_val_predict sklearn

          Insert data from modal to MySQL (multiple modal on website)