Coder Social home page Coder Social logo

milos-korenciak / heroku-buildpack-tex Goto Github PK

View Code? Open in Web Editor NEW

This project forked from mezis/heroku-buildpack-tex

0.0 1.0 1.0 242.4 MB

A XeLaTeX buildpack for Solargis .pdf reports on Heroku

License: MIT License

Shell 0.65% TeX 89.71% HTML 0.01% Perl 5.36% QMake 0.03% IDL 0.01% PostScript 0.14% Prolog 0.07% Makefile 0.01% Gosu 0.01% Lua 4.00% Perl 6 0.02%

heroku-buildpack-tex's Introduction

Heroku buildpack: XeLaTeX

This is a Heroku buildpack for XeLaTeX documents compilation on heroku. It just bundles a statically-linked working TeX Live environment - nothing more.

To use the environment, unpack the .tar.xz archive in some directory and add its ./buildpack/bin/x86_64-linux directory into the $PATH.

Then just run your command - e.g.:

$ xelatex --shell-escape -synctex=1 -interaction=nonstopmode *.tex

How to add this buildpack as second one

It is advised to use this buildpack as a second one. It makes you not to forget about the fact it just adds a commandline TeX utility, so it is useless solely.

$ heroku buildpacks:add --index 2 https://github.com/milos-korenciak/heroku-buildpack-tex.git

Then just run usual push / deploy:

$ git push heroku master
...
-----> Heroku receiving push
-----> Fetching custom build pack... done
-----> XeLaTeX app detected
-----> Fetching XeLaTeX Live statically linked
...

How to add this buildpack as second one

It is advised to use this buildpack as a second one. It makes you not to forget about the fact it just adds a commandline TeX utility, so it is useless solely.

$ heroku buildpacks:add --index 2 https://github.com/milos-korenciak/heroku-buildpack-tex.git

Adding new fonts, .sty packages, etc.

If you added some .sty packages, reindex them:

$ mktexlsr

The fonts are a bit problem - simply link them hard manner through their path.

Note: Make sure you copy also the file, not just the link! (Fonts in Linux are often just linked.)

Local playing with XeLaTeX

This repository is forked mezis / heroku-buildpack-tex. It can be better for some usages.

heroku-buildpack-tex's People

Contributors

gulopine avatar mezis avatar milos-korenciak avatar

Watchers

 avatar

Forkers

burasdiana

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.