Git Product home page Git Product logo

pollen-slides's Introduction


This is a convenient bundle of presentation capabilities built on top of (Markdown parsing to presentations) provided by Remark.js.

Everything is organized through Pollen.

Provides a convenient meta-language including:

  1. Compile custom LaTeX inline and embed them in the presentation.
  2. Compile custom GraphViz graphs and embed them in the presentation.
  3. Inline and block equation rendering using MathJax.

These capabilities are provided using Racket + Pollen, see the source folder and pollen.rkt.

The Racket/Pollen expansion to *.html occurs before the Remark.js parser operates -- allowing programmable presentations built on top of Remark.

Dependencies

racket
pollen
To use LaTeX Pollen markup -- a working LaTeX distro on PATH.
To use GraphViz Pollen markup -- a working GraphViz distro on PATH.

If you read the code, you'll see that custom markup rendering invokes pdflatex, or dot (for graphs, for example). These commands basically require access to the binaries.

If you'd like to include your own custom rendering for other software, you might follow the dot example in pollen/src.

Usage

The pollen sub-directory contains the configuration for Pollen, the Racket shims for LaTeX, MathJax, etc. When developing a slideshow, you'll develop in this directory -- by modifying index.html.pm. Pollen will expand this file to index.html.

To support interactive development, use raco pollen start in the pollen sub-directory. This will start a local webserver which can be used to view your presentation.

Using the build.sh script is a convenient way to build the slides, moving the finishing static HTML slideshow into the /docs sub-directory.

The repo uses the /docs sub-directory to host an example.


Note: the fonts are not free! Please see Matthew Butterick's typography.

Note: Ignore the Languages content representation on GitHub -- it doesn't know how to handle Pollen markup.


pollen-slides's People

Contributors

femtomc avatar

Stargazers

 avatar  avatar  avatar  avatar

Forkers

baig

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.