GithubHelp home page GithubHelp logo

goldmanm / pandocipy Goto Github PK

View Code? Open in Web Editor NEW

This project forked from drvinceknight/pandocipy

0.0 1.0 0.0 155 KB

Create pdf, html and docx versions of all md files in a directory

HTML 40.88% Python 59.12%

pandocipy's Introduction

Pandocipy

Working on a higher education certification process I've had to take a careful look at inclusivity of teaching resources. As a mathematician I always thought that there was not much more that could be done then a LaTeX and pdfs. Importantly, some students would like and/or need teaching resources (notes, exercise sheets etc) in different formats that would allow them to change formatting to make things easier to read.

Pandoc is a great tool that allows you to go from one format to multiple others. It works great and often surprises me with how it never goes wrong.

Using Pandoc for Universal Notes

Importantly one can use LaTeX in the markdown file and this will still work.

This directory contains a simple python script that will take all markdown files in a directory and convert them to the following formats:

  • html (using webtex which converts mathematics to image files);
  • pdf (using LaTeX);
  • docx.

Usage

pandocipy.py [Target Directory]
pandocipy.py [Target Directory] -i [List of File to Ignore]

License Information

This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 license. You are free to:

  • Share: copy, distribute, and transmit the work,
  • Remix: adapt the work

Under the following conditions:

  • Attribution: You must attribute the work in the manner specified by the author or licensor (but not in any way that suggests that they endorse you or your use of the work).
  • Share Alike: If you alter, transform, or build upon this work, you may distribute the resulting work only under the same or similar license to this one.

When attributing this work, please include me.

pandocipy's People

Contributors

drvinceknight avatar

Watchers

Mark Goldman 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.