Skip to content

Render final PDF from LaTeX using server-side or in-browser compiler #12

@saviobatista

Description

@saviobatista

Business Value
This is the final output the user needs: a tailored, professional PDF résumé ready to submit. Ensuring smooth PDF generation completes the product value loop.

Description
Render the LaTeX .tex file into a downloadable PDF. Start with server-side rendering for simplicity. Later, explore WebAssembly options for client-side export.

Technical Details

  • Use tectonic (preferred) or pdflatex in a serverless function
  • Implement /lib/latex/renderPdf.ts
  • Support local file rendering and return base64 PDF blob
  • Handle rendering errors (bad LaTeX, missing packages)
  • Consider file size optimization

Acceptance Criteria

  • LaTeX is rendered into a PDF successfully
  • Output can be downloaded by the user
  • PDF quality is visually consistent with the template
  • Errors during compilation are handled cleanly

Metadata

Metadata

Assignees

No one assigned

    Labels

    MVPCore features for the minimum viable productexportPDF preview and download experiencefeatureFunctional feature or user-facing capabilitylatexLaTeX generation and template rendering

    Projects

    Status

    No status

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions