mardi 1 mai 2018

Operating Latex from website server

I've build a custom latex class (.cls) which functions as a template for building resumes.

In the class file I've defined new function handles using /newcommand to typeset and position every detail which belongs in a professional resume (e.g. Name, Age, Photo ..etc).

This resume class can easily be used with for example Texmaker by populating a .tex file that fills in all defined function handles that were defined in the resume class. For example: /resumename{John} to typeset the name, and compiling pdflatex subsequently to obtain the resume in .pdf format.

What I want to achieve is to build a website around my custom resume class. The website wil function as a graphical user interface for the resume latex class.

The basic informatie flow will look something like: User -> Webinterface -> HTML -> populate .tex file from user input -> run pdflatex with resume.cls as documentclass.

I have some knowledge of Latex and its packages since I have used it often. I never build a website however. Could someone share information on how to operate and install latex and all its packages via a server/host and point me towards the correct direction to set this up.

It seems to be easy to establish a website via Wordpress nowadays. Ive read that the latex plugings of wordpress are outdated so I am not sure of this is the way to go.

During my research I found sources which discuss how to create a .tex file HTML code. See the two links below:

https://mike42.me/blog/how-to-generate-professional-quality-pdf-files-from-php

How do I convert HTML to LaTeX?

However I want to understand how to make a basic minimal working website that converts a text input to a pdf before writing difficult codes that convert HTML to .tex.

I am working on a Windows platform if that is of any use.




Aucun commentaire:

Enregistrer un commentaire