Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Word (.docx)

kakemono convert paper.pdf -o paper.docx (or --format docx) writes a Word document instead of HTML. It is built from the same analysis as the HTML modes, as one flowing column:

  • the title, authors, abstract, headings (Heading 1–4, so Word’s navigation pane and table of contents work), lists, code and references get Word styles;
  • footnotes become Word footnotes (see Footnotes);
  • rebuilt tables become Word tables, with merged cells and the paper’s rules;
  • formulas whose structure is clear become Word equations (Office Math, editable in Word), the others pictures; numbered formulas keep their number at the right margin; formulas inside the text (fₜ(θₜ), β₁ = 0.9) are equations too;
  • figures are pictures of their area of the page, with their captions; citations and references to figures, tables and sections are links within the document.

The page is US Letter with one-inch margins. --scale and --equations apply. With --images files the pictures stay in the document and are also written to a folder (<name>_assets/, or --image-dir). --mode, --all, --page-image and --fonts are for HTML only.