2 ms·
Hey, there's quite a few LaTeX enthusiasts on HN! Great question and observation! Currently, the platform doesn't handle external non-text assets at all. This
by VelNZ 6y ago
Hey, there's quite a few LaTeX enthusiasts on HN!
Great question and observation! Currently, the platform doesn't handle external non-text assets at all. This is something I will definitely be incorporating in the future. You can submit a private template where you bundle your logo and any other images and those will compile as normal with \includegraphics{}, but users of the template can't submit images or other assets beyond text at this stage.
An image is a string of characters, so I don't imagine it will be too difficult to accept an image as a new document variable type, send it along with the bundle that goes to the workers, recreate it as a .jpg, and make use of it in the template. The difficulty then becomes coding the template in a way that if a user specifies a really tall or really wide image, the document still looks good.