Markdown (.md)
kakemono convert paper.pdf -o paper.md (or --format md) writes Markdown, from the same
analysis, readable on GitHub, in Obsidian, Jupyter, Pandoc, or by an LLM:
- the title (
#), headings (##–#####), lists, footnotes, references and code listings (fenced blocks) get their Markdown syntax; bold, italic, code, links and<sup>/<sub>are kept; - rebuilt tables become pipe tables. With
-m friendly(the default) every table is adapted to one, its meaning kept rather than its layout: the header rows become one (BLEU: EN-DE), and a cell spanning rows, or columns under one group header, is repeated in each, so that every row reads on its own. With-m mediumthe layout is kept: a table whose cells span rows or columns stays an HTML table; - formulas whose structure is clear become LaTeX between
$$(with\tag{n}for their number), the others pictures; formulas inside the text become$…$; - figures are pictures, written to
<name>_assets/next to the file (--image-dir imagesforimages/);--images inlineembeds them as data URIs instead, for a single file; - citations and references to figures, tables and sections are links within the document.
--scale and --equations apply.