# Translate technical PDFs through RetainPDF while preserving layout

> Route scanned, scientific, and technical PDFs through RetainPDF so an agent can produce translated PDFs while preserving formulas, tables, code blocks, and page layout.

- Skill: `agentskillexchange/translate-technical-pdfs-through-retainpdf-while-preserving-` (Agent Skill)
- Install (CLI): `npx skillmds@latest add agentskillexchange/translate-technical-pdfs-through-retainpdf-while-preserving-`
- Raw SKILL.md: https://api.skillmd.com/api/skills/agentskillexchange/translate-technical-pdfs-through-retainpdf-while-preserving-/raw
- Safety review: pending (external: skill-scanner PASS, skillspector PASS)
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: AI & ML
- Author: agentskillexchange (https://skillmd.com/u/agentskillexchange)
- Updated: 2026-09-08
- Page: https://skillmd.com/skills/agentskillexchange/translate-technical-pdfs-through-retainpdf-while-preserving-

---


# Translate technical PDFs through RetainPDF while preserving layout

Route scanned, scientific, and technical PDFs through RetainPDF so an agent can produce translated PDFs while preserving formulas, tables, code blocks, and page layout.

## Prerequisites

RetainPDF desktop release or Docker deployment, PDF inputs, OCR/translation backend configuration as required by upstream, optional API access for automation

## Installation

Use the upstream install or setup path that matches your environment:
- git clone https://github.com/wxyhgk/retain-pdf.git
- docker compose up -d
- docker compose pull
- docker compose ps

Requirements and caveats from upstream:
- 如果你想给局域网、团队或多台设备一起用，优先选 Docker 部署。
- 当前仓库提供了 Docker 交付目录：
- [docker/delivery/README.md](docker/delivery/README.md)

- Source: https://github.com/wxyhgk/retain-pdf
- Extracted from upstream docs: https://raw.githubusercontent.com/wxyhgk/retain-pdf/HEAD/README.md

## Documentation

- https://github.com/wxyhgk/retain-pdf

## Source

- [Agent Skill Exchange](https://agentskillexchange.com/skills/translate-technical-pdfs-through-retainpdf-while-preserving-layout/)

