# Automatically generate material course based on the corresponding beamer slideshow [closed]

I have a teaching course in the form of a pretty long beamer slideshow (like more than 300 slides).

Now I would like to create a course material in such a way that, on each page, the reader finds one slide from the slideshow inserted in the page, with some textual explanation placed right next to it, for instance:

``````+-------------------------------------------------------------+
+  +----------------------+   slide i                         +
+  +      This is         +   Blabla bla bla bla bla bla  bla +
+  +  slide #i from the   +   bla blabla bla blabla   bla bla +
+  +      original        +   blabla bla bla blabla bla   bla +
+  +  beamer slideshow    +   blabla bla  bla bla bla bla bla +
+  +  (PDF inserted e.g   +   blabla bla blablabla blabla bla +
+  +  w/ includegraphics) +   blabla bla bla blabla bla   bla +
+  +----------------------+   blabla bla bla bla bla bla bla  +
+                             blabla bla bla  blabla bla bla  +
+  Blabla bla bla blabla blabla blabla blabla bla bla bla bla +
+  bla bla blabla bla bla bla blabla blabla blabla blabla bla +
+  bla bla blabla bla bla bla blabla blabla blabla blabla bla +
+  bla bla blabla bla bla bla blabla blabla blabla blabla bla +
+  bla bla blabla bla bla bla blabla blabla blabla blabla bla +
+  bla bla blabla bla bla bla blabla blabla blabla blabla bla +
+  bla bla blabla bla bla bla blabla blabla blabla blabla bla +
+  bla bla blabla bla bla bla blabla blabla blabla blabla bla +
+-------------------------------------------------------------+

(sorry but this is not code of course!)
``````

An example of that kind of layout can be seen here (follow the Amazon "Look inside" link and go for instance to page viii): https://www.amazon.com/Design-Essentials-Integrated-Circuits-Systems/dp/0387717129 (it's the book "Low power essentials" by Jan Rabaey).

If I automatically excerpt each slide of the original beamer slideshow in one separate PDF file (without having to compile 300 times, one for each slide while commenting all the others and not to mention the possible cross-reference errors...) I could then generate the material course using another LaTeX file, automatically based on the slideshow. All I'd have to do would be to create the text associated to each slide.

Thanks in advance to everybody!

## closed as off-topic by user36296, Zarko, Stefan Pinnow, CarLaTeX, Maarten DhondtJul 28 '17 at 10:22

• This question does not fall within the scope of TeX, LaTeX or related typesetting systems as defined in the help center.
If this question can be reworded to fit the rules in the help center, please edit the question.

• You can label slides and import them, see 21.2.3 Including Slides from the Presentation Version in the Article Version in the beamer documentation. And you can anyway include an arbitrary page from a pdf with \includegraphics[page=X]{..}. – Ulrike Fischer Jul 27 '17 at 21:31
• I'd put it in one source file, I think. At least, no separate the slides from the text. Then tell Beamer to ignore non-frame text for slides and use a different wrapper with `beamerarticle` for the combined version. – cfr Jul 28 '17 at 0:35
• You can delete your own answer if you have already found a solution with `pdftk` tool. – CarLaTeX Jul 28 '17 at 4:16
• I'm voting to close this question because it is solved by some method undisclosed by the OP – user36296 Jul 28 '17 at 8:19