gulopine / heroku-buildpack-tex Goto Github PK
View Code? Open in Web Editor NEWA buildpack for building TeX documents on Heroku
License: MIT License
A buildpack for building TeX documents on Heroku
License: MIT License
Currently the buildpack fetches the entire TeX Live distribution on every push, which is extremely wasteful. This should be able to be kept around in $CACHE_DIR
, along with a VERSION
file that can be used to update the TeX Live distribution as necessary. Don't worry about the update mechanism quite yet, just cache the distribution and a VERSION
and worry about the rest later.
I get the following error when trying to use latex:
This is pdfTeX, Version 3.14159265-2.6-1.40.20 (TeX Live 2019) (preloaded format=latex)
restricted \write18 enabled.
entering extended mode
(./texput.tex
LaTeX2e <2019-10-01> patch level 1
! LaTeX Error: File `standalone.cls' not found.
Type X to quit or <RETURN> to proceed,
or enter new name. (Default extension: cls)
Enter file name:
! Emergency stop.
<read *>
l.2 ^^M
No pages of output.
Transcript written on texput.log.
I have tried using apt-get install texlive-latex-extra
upon release but that hasn't helped.
How can I get standalone.cls to work?
I managed to execute pdflatex in my Rails app on Heroku using this gem, thanks!
However, tex fails when trying to include a custom .res file. I tried dropping it in the app root but this didn't work, any suggestions?
What is the easiest way to enable xelatex support?
Currently, the buildpack just leaves the newly-built PDF on the server, with no way to access it. It should instead set up a simple static web server, which can be used to retrieve the output PDF as well as any log files generated by the process.
I'm receiving the following message when trying to push to Heroku using this Buildpack:
=====> Downloading Buildpack: https://github.com/holiture/heroku-buildpack-tex
! Heroku push rejected, failed to compile Multipack app
Of note is that I'm using this Buildpack as part of a Multipack (https://github.com/ddollar/heroku-buildpack-multi)
My .buildpacks file looks like this:
https://github.com/heroku/heroku-buildpack-ruby
https://github.com/holiture/heroku-buildpack-tex
Pretty straightforward -- just trying to install TeX along with the RoR buildpack. Are there any other error messages or places to look as to why this is failing?
The process of converting TrueTrype fonts for use with TeX is troublesome, and should be automated as much as possible. Support a fonts
directory, which can contain TrueType fonts to be used in the TeX document. Any new fonts found in that directory should be converted to a suitable format automatically, before attempting to build the TeX document.
The output fonts should be stored in $CACHE_DIR
as well, so that fonts are converted only when necessary. For now, just check that the font has already been converted. Eventually, it should probably also check for updates to the font files, but that'll be another issue for another time.
Want to back this issue? Place a bounty on it! We accept bounties via Bountysource.
KOMA script package seems to be missing in the included TeX Live distro.
Want to back this issue? Place a bounty on it! We accept bounties via Bountysource.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.