PDF and LaTeX
Career OS exports PDFs through one LaTeX compiler path (Times, letter). DOCX is a separate Word download.
LaTeX PDF (editor, account API, MCP)
- Resume JSON → Jake-style LaTeX (
assets/js/latex-template.js). - LaTeX → PDF via ytotech
pdflatex(/api/convert-latex-to-pdf).
Used by the editor PDF button, /api/account?action=generate-pdf, and MCP generate_resume_pdf. Sign-in is required for server compile; the editor falls back to a local letter-size HTML render if the compiler is down.
- No iLovePDF keys are required for PDF export.
- Special characters and injection attempts in resume text are escaped in LaTeX.
Related MCP tools
convert_resume_to_latexemits Jake-style LaTeX source.compile_latex_to_pdfsends raw LaTeX to the same ytotech compiler.
Legacy DOCX → PDF (iLovePDF)
/api/convert-docx-to-pdf remains for direct DOCX uploads only. The editor PDF button does not use it.
- Server keys:
ILOVEPDF_PUBLIC_KEYandILOVEPDF_SECRET_KEY, or per-requestx-ilovepdf-*headers. Never persisted or pooled.
Optional inline markup in resume JSON (**bold**, *italic*) applies to the DOCX generator when you download Word.
Filenames
- Custom name in the editor filename field, if set.
- Else
{Full_Name}_Resume.pdf. - Else
Resume.pdfwhen the name is empty.
Check conversion status on Settings.