Coder Social home page Coder Social logo

pandocpublish's Introduction

PandocPublish

Small tool feeding Pandoc with Markdown, and generating HTML, TeX and PDF, and uploading everything online.

This is a really early version of something bigger. I mean, totally different, it's currently for playing with Pandoc power for personnal reports.

Requirements

I'm using Pandoc with Pandoc-citeproc for processing data. In Ubuntu 12.04 LTS, the versions in the repositories are too old, so you will need some time to do:

  1. sudo apt-get install haskell-platform
  2. cabal install pandoc pandoc-citeproc
  3. Drink some tea, it's good for you

In case you upload online, you will need PHP for having the index of the files, but you could manually create an index.html file aside if you want or don't want PHP.

Configuration

Currently, there is not much to configure. Just look for # CONFIGURE HERE in the generate.sh file. If you do not need upload on a server, you can remove everything from echo "<?php to the end.

Usgae

Just open a terminal to the working directory and run the script ./generate.sh SourceFile.md. That's all.

TODO

  1. Check script parameters
  2. Move all that to a nice web interface
  3. Let people change templates and stuff
  4. Upload images

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.