PDF and LaTeX
Career OS has one main PDF path and a beta LaTeX path. Do not mix them up when debugging a blank or “wrong looking” file.
Main PDF (iLovePDF)
- Resume JSON → DOCX (server-side generator).
- DOCX → PDF via iLovePDF.
Used by the editor download button, /api/account?action=generate-pdf, and MCP generate_resume_pdf.
- Server keys:
ILOVEPDF_PUBLIC_KEYandILOVEPDF_SECRET_KEYon the Career OS deployment. - Per-request only:
x-ilovepdf-public-keyandx-ilovepdf-secret-key. Never persisted, never pooled, never written to a sheet. - If neither is present, conversion fails with a configuration error — it does not fall back to harvesting keys.
PDF 2.0
The editor’s PDF 2.0 button uses the same iLovePDF conversion as PDF. The only differences are in the DOCX that is converted:
- Typed markers become formatting:
**bold**,*italic*or_italic_, and***bold italic***. Markers are stripped in the PDF. - Certifications render as bullets (same style as experience and project bullets), not plain paragraphs.
- All links (header and project URLs) are dark and underlined, matching the header contact links — not blue.
- Date and location text uses the same near-black as body copy (
#111111), not italic gray, so it stays readable after conversion.
The original PDF button is unchanged: it prints markers as typed and keeps certifications as plain lines. MCP generate_resume_pdf still uses that original layout.
Use the editor’s THEA Prompt 2.0 button when an external LLM should emit JSON for PDF 2.0 (**bold**, *italic*, certification strings that render as bullets). The original THEA Prompt button stays the unmarked schema.
Beta LaTeX
convert_resume_to_latexemits Jake-style LaTeX (Times-like layout, one page).compile_latex_to_pdfsends source to the public ytotechpdflatexcompiler.- LaTeX special characters and injection attempts (
\input{...},%,$,&,_, braces) are escaped.
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.