[go: nahoru, domu]

Jump to content

PDF export

From mediawiki.org

The following extensions can be used to export the contents of one or more wiki pages into a downloadable PDF file.

Extension Libraries used Last updated Notes
Collection + PDF Writer None 2019 Uses the outside server http://tools.pediapress.com to do PDF conversions. Also supports export to other file formats, including OpenDocument and DocBook. Exported PDFs can also be printed on demand via PediaPress. Used on Wikimedia sites from 2014 to 2017.
DocBookExport pandoc, xsltproc, Apache FOP 2020 Also enables export to DocBook XML, HTML and ODT formats.
DownloadBook pandoc, WeasyPrint 2023 Also enables export to ePub, ODT, etc.
ElectronPdfService Proton 2024 Currently used on Wikimedia sites. Originally used the electron-render-service library, which was deprecated in 2019.
Mpdf mPDF 2023 PDF export has to be done using Vector skin
PdfBook HTMLDOC 2023 The HTMLDOC library lacks support for non-ASCII Unicode characters.

Stand alone converters

[edit]

The following stand alone software can be used to export PDF files from MediaWiki

Software Libraries used Last updated Notes
Proton 2019 Single-article export. Used on Wikimedia sites since 2019.
mediawiki2latex ghc, libghc-http-dev, libghc-blaze-html-dev, libghc-directory-tree-dev, libghc-file-embed-dev, libghc-happstack-server-dev, libghc-hashable-dev, libghc-highlighting-kate-dev, libghc-http-client-dev, libghc-http-conduit-dev, libghc-hxt-http-dev, libghc-strict-dev, libghc-temporary-dev, libghc-url-dev, libghc-utility-ht-dev, libghc-zip-archive-devlibrsvg2-bin, imagemagick, fonts-freefont-ttf, texlive-xetex, texlive-latex-recommended, texlive-latex-extra, texlive-fonts-recommended, texlive-fonts-extra, cm-super-minimal, texlive-lang-all, poppler-utils, lmodern, texlive-generic-recommended, latex-cjk-common, fonts-cmu, ttf-unifont, fonts-wqy-zenhei, calibre, latex2rtf, libreoffice, curl 2024 Also supports export to other file formats, including OpenDocument, LaTeX, and EPUB; Online Converter as well as binaries for Linux and Windows available. GPL licensed open source.