All Projects → Thermondo → heroku-buildpack-tex

Thermondo / heroku-buildpack-tex

Licence: MIT license
A Heroku buildpack to run TeX Live inside a dyno.

Projects that are alternatives of or similar to heroku-buildpack-tex

Create React App Buildpack
⚛️ Heroku Buildpack for create-react-app: static hosting for React.js web apps
Stars: ✭ 3,161 (+17461.11%)
Mutual labels:  heroku, buildpack, heroku-buildpack
Heroku Buildpack Python
The official Heroku buildpack for Python apps.
Stars: ✭ 849 (+4616.67%)
Mutual labels:  heroku, heroku-buildpack
Heroku Buildpack R
Heroku buildpack for R - Makes deploying R on Heroku easy
Stars: ✭ 258 (+1333.33%)
Mutual labels:  heroku, heroku-buildpack
Heroku Buildpack Hugo
Heroku buildpack for Hugo, the static site generator - https://github.com/spf13/hugo
Stars: ✭ 79 (+338.89%)
Mutual labels:  heroku, heroku-buildpack
heroku-buildpack-deno
Heroku Buildpack for Deno
Stars: ✭ 72 (+300%)
Mutual labels:  heroku, heroku-buildpack
heroku-buildpack-cli
No description or website provided.
Stars: ✭ 38 (+111.11%)
Mutual labels:  heroku, heroku-buildpack
custom-ssh-key-buildpack
🔑 Add an SSH key to you Heroku dyno 🔑
Stars: ✭ 49 (+172.22%)
Mutual labels:  heroku, buildpack
Subdir Heroku Buildpack
Allows to use subdirectory configured via environment variable as a project root
Stars: ✭ 211 (+1072.22%)
Mutual labels:  heroku, heroku-buildpack
Zewo
Lightweight library for web server applications in Swift on macOS and Linux powered by coroutines.
Stars: ✭ 1,856 (+10211.11%)
Mutual labels:  heroku, buildpack
Reddit Bot
🤖 Making a Reddit Bot using Python, Heroku and Heroku Postgres.
Stars: ✭ 99 (+450%)
Mutual labels:  heroku, heroku-buildpack
Dokku
A docker-powered PaaS that helps you build and manage the lifecycle of applications
Stars: ✭ 22,155 (+122983.33%)
Mutual labels:  heroku, buildpack
heroku-integrated-firefox-geckodriver
Buildpack enables your client code to access Firefox along with Geckodriver in a Heroku slug.
Stars: ✭ 40 (+122.22%)
Mutual labels:  heroku, heroku-buildpack
Heroku Pinger
😴 Keep your free Heroku dynos awake
Stars: ✭ 84 (+366.67%)
Mutual labels:  heroku, heroku-buildpack
heroku-buildpack-graphviz
Install Graphviz on Heroku
Stars: ✭ 18 (+0%)
Mutual labels:  buildpack, heroku-buildpack
buildpack-stdlib
[DEPRECATED] A standard library for Heroku buildpacks written in bash.
Stars: ✭ 19 (+5.56%)
Mutual labels:  buildpack, heroku-buildpack
twitter-bot-bootstrap
Template for creating a twitter bot using python (twython) and heroku
Stars: ✭ 26 (+44.44%)
Mutual labels:  heroku
capture-website-api
Capture screenshots of websites as a (host it yourself) API
Stars: ✭ 30 (+66.67%)
Mutual labels:  heroku
nimtesseract
A Tesseract OCR wrapper for Nim
Stars: ✭ 23 (+27.78%)
Mutual labels:  text
Take-Notes
Huge Assignments to Write with only a little time in Hand?
Stars: ✭ 17 (-5.56%)
Mutual labels:  text
tyr
A CLI to generate node.js applications in an opinionated way.
Stars: ✭ 28 (+55.56%)
Mutual labels:  heroku

TeX Live buildpack for Heroku

Build Status Latest Release

This is a Heroku buildpack to run TeX Live inside a dyno.

This can be useful if you simply want to play around with TeX Live without having to build or install it yourself. You can pull it up on your instance easily in bash:

heroku run bash

As an alternative you can also use a local docker build:

docker build . -t heroku-tex
docker run -ti -v path/to/my/tex/files:/app heroku-tex

Setup

heroku buildpacks:add git://github.com/Thermondo/heroku-buildpack-tex.git#VERSION_NUMBER

How does it work?

  • In this form, it uses install-tl it installs a working TeX Live into your application into your Heroku app.
  • It installs scheme-small to have a working minimal setup.
  • It uses tlmgr to install custom packages.
  • On subsequent pushes it uses tlmgr to update all installed packages.

Since we are not using a prepackaged version of TeX Live, the initial install can take some time. But in doing so you also gain more freedom with the selection of your packages.

Custom packages

You can add a file called texlive.packages in your repo:

collection-bibtexextra
collection-fontsextra
collection-langgerman
collection-xetex

It looks similar to the default texlive.profile, but without the 1 or 0 at the end. The buildpack runs tlmgr install on every line in this file. So you can use single packages or these collections.

When you add custom packages, keep in mind that Heroku has a maximum compressed slug-size, see here. A full TeX Live installation is very large.

Custom TeX Live version

By default the latest TeX Live version will be installed. You can customize the path to the repository to be used by adding a file called texlive.repository to your project. It should contain only the path to the location of the TeX Live repository that you want to use without trailing /. For example:

ftp://tug.org/historic/systems/texlive/2016/tlnet-final

This will install the latest TeX Live 2016 release.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].