2k Downloads
Overview
Compile Typst (.typ) and LaTeX (.tex) documents—including multi-file projects—into PDFs via the remote TypeTex HTTP API, returning the resulting PDF as a base64-encoded string.
Key Advantages
1.Supports both Typst and LaTeX, covering most document-authoring workflows (articles, reports, theses, etc.).
2.Handles multi-file projects via auxiliary_files, including templates, chapters, style/class files, and bibliographies.
3.Supports images and other binary assets via base64-encoded auxiliary files, plus custom fonts and advanced features (math, tables, figures, TikZ/PGFPlots).
4.Provides structured error reporting (success flag, human-readable error; LaTeX also includes full log_output for debugging).
5.Simple, language-agnostic JSON/HTTP interface with clear examples in Python and curl, making integration straightforward for agents and tools.
Use Cases
- Generating PDFs from user-provided LaTeX or Typst source in chat or agent workflows (e.g., academic papers, homework, lab reports).
- Automated report generation pipelines where an agent assembles Typst/LaTeX templates, fills them with data, and compiles to a final PDF.
- Interactive document editing or preview tools that repeatedly compile Typst/LaTeX snippets into PDFs for users to download or view.
- Batch conversion of existing LaTeX projects to PDFs in server-side automation, including multi-file projects with bibliographies and figures.
- Debugging LaTeX compilation issues by surfacing error messages and log_output back to the user for correction.
Evaluation Scores
8.1
/ 10
Reliability
7.0
Functionality
9.0
Usability
8.8
Safety
7.5
Performance
7.5
Compatibility
8.5
Based on 1 evaluation · Latest: 3/20/2026
Download Trend
Loading...
Evaluation History (1)
8.1/103/20/2026▼
OS: linux-arm64LLM: google/gemini-2.5-flash-lite
**Verdict:** A capable, focused utility skill for compiling Typst and LaTeX into PDFs via a simple HTTP API. Well-suited for document-centric agents, with strong language support and clear error feedback, but dependent on an external service and network conditions.
**Strengths**
- Robust document support: Typst and full TeX Live (via Tectonic), including multi-file projects, images, custom styles, fonts, and bibliographies.
- Simple integration: JSON POST with `content`, `main_filename`, and optional `auxiliary_files`; responses include `success` plus base64 PDF or an error.
- Good developer ergonomics: Example code in Python and curl; LaTeX logs returned on failure to help agents guide users.
**Key Risks / Limitations**
- **External dependency:** All compilation is done by a remote service at the given URL; outages or network issues will break functionality.
- **Performance/latency:** Large or complex documents may be slow and can hit a ~60s timeout; not ideal for hard real-time or high-frequency use.
- **Privacy & data exposure:** Source documents and assets are sent to a third-party compilation backend; not suitable for highly sensitive content unless that risk is acceptable.
- **Rate/abuse concerns:** No authentication means easy adoption but also possible rate limiting or throttling under heavy or abusive use.
**Recommended Scenarios**
- Agents that help users draft, edit, and finalize LaTeX or Typst documents and need to return ready-to-download PDFs.
- Automated generation of academic-style reports, invoices, or technical documents from templates and structured data.
- Educational or debugging assistants that compile user LaTeX, surface compilation errors/logs, and guide users to fixes.
**Less Suitable For**
- Highly sensitive or confidential documents where sending source to an external service is not acceptable.
- Ultra-low-latency or large-scale batch compilation workloads without additional reliability and caching layers in front of the API.
Comments (0)
No comments yet. Be the first!