The Next Generation Platform is Coming - Get Ready Now!
GitHub Readme.md
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
heroku buildpacks:add git://github.com/Thermondo/heroku-buildpack-tex.git#VERSION_NUMBER
scheme-small
to have a working minimal setup.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.
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.
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.
Copy the snippet above into CLI.
We use three kinds of cookies on our websites: required, functional, and advertising. You can choose whether functional and advertising cookies apply. Click on the different cookie categories to find out more about each category and to change the default settings.
Privacy Statement
Required cookies are necessary for basic website functionality. Some examples include: session cookies needed to transmit the website, authentication cookies, and security cookies.
Functional cookies enhance functions, performance, and services on the website. Some examples include: cookies used to analyze site traffic, cookies used for market research, and cookies used to display advertising that is not directed to a particular individual.
Advertising cookies track activity across websites in order to understand a viewer’s interests, and direct them specific marketing. Some examples include: cookies used for remarketing, or interest-based advertising.