# Changelog of Document to Markdown for RAG: PDF, DOCX, HWP (`aaron_lee/document-to-markdown-rag-chunks`) Actor

- **URL**: https://apify.com/aaron_lee/document-to-markdown-rag-chunks/changelog.md
- **Full Actor documentation**: https://apify.com/aaron_lee/document-to-markdown-rag-chunks.md

## Changelog

### 0.1.3 (2026-11-11)

Fixes found by checking 28 real public PDFs (government press releases, statistics, laws, arXiv papers, an annual report, a magazine, scanned reports).

- PDF: glyphs drawn two to many times for bold or shadow effects are de-duplicated (`22003300년년` -> `2030년`); genuinely repeated letters (`2200`, `ㅋㅋ`) are kept.
- PDF: two-column pages are read column by column. Lines of one visual line set in mixed font sizes (slide titles) are merged.
- PDF: rotated margin text such as the arXiv side stamp is dropped; many rotated figure labels on a page are dropped as figure residue (no more `TheTheTheThe`).
- PDF tables: a ruled frame around other tables is not output as an extra table; one-row/one-column boxes are not tables; a grid of one-word cells over running prose (word-highlight rectangles) is kept as prose; data rows without rules are split into one row per line; row labels in an unruled label column stay with their numbers. Cell text keeps word spaces.
- PDF: pages whose text layer is mostly unmapped glyphs (`(cid:N)`) are dropped with a warning and not billed; isolated unmapped glyphs are removed.
- PDF: an English line-end hyphen is removed only when the joined word occurs elsewhere in the same document (`representa-`+`tion` -> `representation`); otherwise the hyphen is kept and the lines are joined without a space (`self-attention`).
- Faster duplicate-glyph removal (linear time).

### 0.1.2 (2026-11-11)

- PDF: word spacing is now detected relative to font size. PDFs that store no space characters (for example LaTeX papers) no longer come out with words glued together.

### 0.1 (unreleased, 2026-11-11)

- First version. Converts PDF, DOCX, PPTX, XLSX, CSV/TSV, HTML, TXT/MD, HWPX (beta) and HWP 5.x (beta) into Markdown,
  tables and RAG chunks.
- Ordered and nested lists in every format that has them. Merged table cells are resolved into a rectangular grid.
- PDF: removes page-number headers/footers, joins paragraphs across page breaks, and skips table detection on
  drawing-heavy pages.
- Outputs larger than the dataset item limit go to the key-value store, with a preview in the dataset item.
- Every per-file failure, including storage permission errors, becomes an error item, and the run continues.
- Safety: SSRF filter (including IPv6-embedded IPv4), wall-clock download deadline, decompression caps, a worker
  memory cap on Linux, and a run-level budget for unbillable work.
- Prefilled input is an inline sample document, so the first run needs no external URL.
