GithubHelp home page GithubHelp logo

20-talk-gp-pce's Introduction

Reveal.js and Custom Beamer Themes by Pandoc and Markdown

Using markdown, one can compile a slidedeck for a presentation in no time.

The finishing, say the adaption to a custom beamer theme or the inclusion of reveal.js niceties, is better done by hand.

This repo provides example files and an example workflow how the core of the slides are written in markdown and then merged into a branch that includes the beamer styles or the reveal.js add ons.

Workflow for markdown - pandoc - reveal.js

  1. on master, one changes the md source file.

  2. on pandoc-outputs the outputs index.html and slides-body.tex that are produced with pandoc are put into the git index so that

  3. they can be merged into gh-pages. On gh-pages, one may also change html attributes directly that go beyond what is possible with markdown.

git checkout master
git add slides.md
git commit -m 'updated the markdown source'

git checkout pandoc-outputs
git merge master
source makethedoc.sh
git add index.html
git commit -m 'updated the index.html'
LSTCHSH=$(git rev-parse HEAD)

git checkout gh-pages
git cherry-pick $LSTCHSH  # merge only the last commit

Pandoc and (local) mathjax and reveal.js

One can install reveal.js and mathjax using npm like

npm install mathjax-full
npm install ${path-to-reveal.js-repo}

add the node_modules/... paths to the pandoc script and start a local http server via

npx http-server

to watch the index.html at http://127.0.0.1:8080

On the master branch the local versions are used. On the gh-pages we use versions provided via cdns.

Workflow for Pandoc - texfile - custom beamer theme

git checkout master
git add slides.md
git commit -m 'updated the markdown source'

git checkout pandoc-outputs
git merge master
source makethedoc.sh
git add slides-body.tex
git commit -m 'updated the slides body'
LSTCHSH=$(git rev-parse HEAD)

git checkout mpi-style
git cherry-pick $LSTCHSH

20-talk-gp-pce's People

Contributors

highlando avatar

Watchers

James Cloos avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.