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

LaTeX (.tex)

kakemono convert paper.pdf -o paper.tex (or --format tex) writes a LaTeX document, from the same analysis, that compiles as it is with pdfLaTeX, XeLaTeX or LuaLaTeX (packages of every TeX distribution: amsmath, amssymb, mathtools, graphicx, booktabs, multirow, hyperref):

  • the title, authors and abstract are set as on a title page; headings become \section*, \subsection*, … (their numbers are part of their text); lists keep the markers of the paper;
  • rebuilt tables become tabulars with booktabs rules, \multicolumn and \multirow, shrunk to the width of the text when wider;
  • formulas whose structure is clear become LaTeX math (equation* with \tag{n} for their number), the others pictures; formulas inside the text become $…$;
  • footnotes become \footnotes (see Footnotes);
  • figures are pictures (\includegraphics), always written to <name>_assets/ next to the file (--image-dir to choose it): LaTeX cannot embed them, so --images inline is refused;
  • figures and tables stay where they were in the text (they are not floats) and keep the label of their caption (“Figure 3:”); citations and references to figures, tables and sections are links (\hyperref), web addresses \href.

A character that the fonts of pdfLaTeX lack (Chinese, say) is printed as ? by pdfLaTeX; XeLaTeX and LuaLaTeX print it when their font has it. Vietnamese letters (ơ, ư, ặ, ữ, …) are set in the T5 encoding of the vntex package by pdfLaTeX, the rest of the text staying in T1. --scale and --equations apply.