跳转至

Convertor


Pandoc

If you need to convert files from one markup format into another, pandoc is your swiss-army knife.

  • Markdown to PDF

    Bash
    pandoc -N -s --toc --smart --latex-engine=xelatex \
      -V mainfont='WenQuanYi Micro Hei' -V geometry:margin=1in \
      note.md  -o output.pdf
    

  • Ubuntu上怎么把MS的Word docx文档转为LaTeX

    Bash
    pandoc -s a.docx --extract-media ./ -o ./b.tex
    

Docutils

Docutils: an open-source text processing system for processing plaintext documentation into useful formats, such as HTML, LaTeX, man-pages, open-document or XML.

Dos2Unix/Unix2Dos

Dos2Unix / Unix2Dos - Text file format converters

PDF.js

PDF.js is a Portable Document Format (PDF) viewer that is built with HTML5.

wkhtmltoPDF

wkhtmltopdf and wkhtmltoimage are open source (LGPLv3) command line tools to render HTML into PDF and various image formats using the Qt WebKit rendering engine. These run entirely "headless" and do not require a display or display service. There is also a C library, if you're into that kind of thing.

Other PDF tools