serverlesspub / latex-aws-lambda-layer Goto Github PK
View Code? Open in Web Editor NEWlatex/pdflatex binaries for AWS Lambda
License: Other
latex/pdflatex binaries for AWS Lambda
License: Other
Can't locate Digest/MD5.pm in @INC (@INC contains: /opt/texlive/texmf-dist/scripts/texlive /opt/texlive/tlpkg /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 .) at /opt/texlive/tlpkg/TeXLive/TLCrypto.pm line 9.
BEGIN failed--compilation aborted at /opt/texlive/tlpkg/TeXLive/TLCrypto.pm line 9.
Compilation failed in require at /opt/texlive/tlpkg/TeXLive/TLPDB.pm line 98.
BEGIN failed--compilation aborted at /opt/texlive/tlpkg/TeXLive/TLPDB.pm line 98.
Compilation failed in require at /opt/texlive/bin/x86_64-linux/tlmgr line 101.
BEGIN failed--compilation aborted at /opt/texlive/bin/x86_64-linux/tlmgr line 101.
Solve by installing perl md5 yum install perl-Digest-MD5 -y
the latex+ perl layer are over 250M unzipped. When I deploy them with my function I got an error:
Serverless Error ----------------------------------------
An error occurred: FooLambdaFunction - Resource handler returned message: "Function code combined with layers exceeds the maximum allowed size of 262144000 bytes. The actual size is 288321462 bytes. (Service: Lambda, Status Code: 400, Request ID: ...)" (RequestToken: ..., HandlerErrorCode: InvalidRequest).
I wonder how to bypass the limit?
Nice work!
It works fine with https://github.com/moznion/aws-lambda-perl5-layer
Just need to link these two layers.
Enjoy ;)
This would help those who don't have access to Docker to compile it themselves.
I tried compiling it on windows but it can't properly set the unix permissions so it uploads without execute permission on aws
Cloud you please provide examples using other runtimes? I'm specifically looking for python
After cloning the project and running make all
I am getting the following error:
[18/19, 00:06/00:06] install: xunicode [26k]
[19/19, 00:06/00:06] install: xurl [2k]
tlmgr: action install returned an error; continuing.
running mktexlsr ...
done running mktexlsr.
running updmap-sys ...
done running updmap-sys.
tlmgr: package log updated: /opt/texlive/texmf-var/web2c/tlmgr.log
tlmgr: An error has occurred. See above messages. Exiting.
make: *** [pandoc-packages] Error 1
make: *** [Makefile:20: all] Error 2
I noticed that by removing ifxetex
and ifluatex
from the pandoc-packages in Makefile_Latex fixes it.
Hi I just want to build it with additional latex package and upgrade to node10x or node12x AWS environment since node8.10 is deprecated.
I would like to ensure that import, svg and graphics latex packages will be compiled.
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.