Giter Club home page Giter Club logo

screenplay-xslt's Introduction

Screenplay XSLT

This project is an attempt to develop an XSLT for processing a screenplay XML format into PDF following a conventional screenplay layout.

It uses xsltproc with screenplay.xsl to produce XML-FO from a simple screenplay XML, and uses Apache FOP to produce PDF from the XML-FO.

Apache FOP: https://xmlgraphics.apache.org/fop/

The apache-fop directory is built and published on Docker Hub as donovan/apache-fop

Running

To run is fairly simple assuming xsltproc and docker are available.

xsltproc screenplay.xsl sample.xml > input.fo
docker run --rm -i -v $PWD:/s donovan/apache-fop /s/input.fo /s/output.pdf

(it would be a simple matter to run xsltproc in the container, too, but I find it convenient for debugging the xsl to leave it out for now)

screenplay-xslt's People

Contributors

dkolbly avatar

Stargazers

 avatar

Watchers

 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.