jnayak1 / pdflatex-lambda Goto Github PK
View Code? Open in Web Editor NEWAWS Lambda function handler for converting LaTeX documents into PDFs
License: Apache License 2.0
AWS Lambda function handler for converting LaTeX documents into PDFs
License: Apache License 2.0
Create a script that:
Also:
Once we get all the packages onto lambda, how do we get them to work together properly?
Approach:
One issue is that TeXLive, which compiles LaTeX documents, is very large. The full, portable version is about 500MB according to this post 4.6GB.
This is a problem since Lambda limits the size of the zip file you can upload to 250MB unzipped.
However, pdflatex
depends on just a subset of the full version.
TODO:
pdflatex
Approach:
Create a script that launches a lambda function with the permissions we need:
I have seen this issue here where it is mentioned that pdflatex does not work. So what does the PdfLaTeX.zip file contain?
Also, since the main problem is the size limit of the package, have you considered implementing this on Azure Functions?
Thanks.
Unzip configure and compile each rpm package on Amazon EC2 Linux Instance and upload them to repo. Do not install them though.
AWS lambda's size limit for the ZIP file is 50MB. texlive-scheme-basic
zipped up is a little over 59MB. The error message I get when I try to upload the ZIP says that I should use s3 to upload the ZIP instead.
zip -9
but there might be something else that can compress the package further.texlive-scheme-basic
packageTeXCaller is a package that provides an interface to TeXLive in many different languages (C++, Python, etc.). The nice thing about it is that it provides error handling.
TODO:
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.