Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Handout Switch #45

Merged
merged 2 commits into from
Jul 1, 2021
Merged

Handout Switch #45

merged 2 commits into from
Jul 1, 2021

Conversation

dwoiwode
Copy link
Contributor

Adds a switch to compile slides as handout (without animation slides) or as presentation (with animation slides).

With the current implementation there are two possibilitites to use this switch:

  1. Requires the changes proposed in latex_main/main.tex

    • Compile as handout:
      pdflatex "\def\ishandout{} \input{my_slide}

    • Compile as presentation:
      pdflatex my_slide

  2. Also works with proposed change in latex_main/main.tex, but works also by just removing the handout-Option from documentclass in Line 3.

    • Compile as handout:
      pdflatex "\PassOptionsToClass{handout}{beamer} \input{my_slide}

    • Compile as presentation:
      pdflatex my_slide

It is further possible to pass a --handout flag to the slides.py-Script (which internally uses the 2nd option for compilation).

@dwoiwode
Copy link
Contributor Author

With this implementation, existing files are just overridden. Is there a need to add e.g. "_handout.pdf" to the output of slides.py?

@mlindauer mlindauer merged commit 7849ec9 into automl-edu:master Jul 1, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants