All Projects → rst2pdf → Rst2pdf

rst2pdf / Rst2pdf

Licence: mit
Use a text editor. Make a PDF.

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to Rst2pdf

Rinohtype
The Python document processor
Stars: ✭ 365 (-9.65%)
Mutual labels:  restructuredtext, pdf, pdf-generation
Openpdf
OpenPDF is a free Java library for creating and editing PDF files with a LGPL and MPL open source license. OpenPDF is based on a fork of iText. We welcome contributions from other developers. Please feel free to submit pull-requests and bugreports to this GitHub repository. ⛺
Stars: ✭ 2,174 (+438.12%)
Mutual labels:  hacktoberfest, pdf, pdf-generation
Educative.io Downloader
📖 This tool is to download course from educative.io for offline usage. It uses your login credentials and download the course.
Stars: ✭ 139 (-65.59%)
Mutual labels:  hacktoberfest, pdf
React Native Pdfview
📚 PDF viewer for React Native
Stars: ✭ 198 (-50.99%)
Mutual labels:  hacktoberfest, pdf
Hummusrecipe
A powerful PDF tool for NodeJS based on HummusJS.
Stars: ✭ 274 (-32.18%)
Mutual labels:  pdf, pdf-generation
Backslide
💦 CLI tool for making HTML presentations with Remark.js using Markdown
Stars: ✭ 679 (+68.07%)
Mutual labels:  hacktoberfest, pdf
Geeksforgeeksscrapper
Scrapes g4g and creates PDF
Stars: ✭ 124 (-69.31%)
Mutual labels:  hacktoberfest, pdf
Parsr
Transforms PDF, Documents and Images into Enriched Structured Data
Stars: ✭ 2,736 (+577.23%)
Mutual labels:  hacktoberfest, pdf
Android Pdfmyxml
convert android xml layouts into PDF document, works on all versions of Android.
Stars: ✭ 231 (-42.82%)
Mutual labels:  pdf, pdf-generation
Phpjasper
A PHP report generator
Stars: ✭ 327 (-19.06%)
Mutual labels:  hacktoberfest, pdf-generation
Django Easy Pdf
PDF views, the easy way
Stars: ✭ 324 (-19.8%)
Mutual labels:  pdf, pdf-generation
Tea School
Simplified HTML + CSS --> PDF Generator for Nodejs
Stars: ✭ 326 (-19.31%)
Mutual labels:  pdf, pdf-generation
Images To Pdf
An app to convert images to PDF file!
Stars: ✭ 602 (+49.01%)
Mutual labels:  hacktoberfest, pdf
Laravel Dompdf
A DOMPDF Wrapper for Laravel
Stars: ✭ 4,978 (+1132.18%)
Mutual labels:  hacktoberfest, pdf
Pdfvuer
A PDF viewer for Vue using Mozilla's PDF.js
Stars: ✭ 443 (+9.65%)
Mutual labels:  hacktoberfest, pdf
Svg2pdf.js
A javascript-only SVG to PDF conversion utility that runs in the browser. Brought to you by yWorks - the diagramming experts
Stars: ✭ 231 (-42.82%)
Mutual labels:  hacktoberfest, pdf
Pdf Lib
Create and modify PDF documents in any JavaScript environment
Stars: ✭ 3,426 (+748.02%)
Mutual labels:  pdf, pdf-generation
Pdf Bot
🤖 A Node queue API for generating PDFs using headless Chrome. Comes with a CLI, S3 storage and webhooks for notifying subscribers about generated PDFs
Stars: ✭ 2,551 (+531.44%)
Mutual labels:  pdf, pdf-generation
Pandoc Latex Template
A pandoc LaTeX template to convert markdown files to PDF or LaTeX.
Stars: ✭ 3,750 (+828.22%)
Mutual labels:  pdf, pdf-generation
Md To Pdf
Hackable CLI tool for converting Markdown files to PDF using Node.js and headless Chrome.
Stars: ✭ 374 (-7.43%)
Mutual labels:  pdf, pdf-generation

.. image:: https://travis-ci.org/rst2pdf/rst2pdf.svg?branch=master :target: https://travis-ci.org/rst2pdf/rst2pdf

.. image:: https://img.shields.io/pypi/v/rst2pdf.svg :target: https://pypi.org/project/rst2pdf/

.. image:: https://img.shields.io/pypi/pyversions/rst2pdf.svg :target: https://pypi.org/project/rst2pdf/

.. image:: https://img.shields.io/pypi/l/rst2pdf.svg :target: https://pypi.org/project/rst2pdf/

======================================= rst2pdf: Use a text editor. Make a PDF.

The usual way of creating PDF from reStructuredText is by going through LaTeX. This tool provides an alternative by producing PDF directly using the ReportLab library.

More information is available at the main website <https://rst2pdf.org>_.

Features

  • User-defined page layout. Multiple frames per page, multiple layouts per document.

  • Page transitions

  • Cascading stylesheet mechanism, define only what you want changed.

  • Supports TTF and Type1 font embedding.

  • Any number of paragraph styles using the class directive.

  • Any number of character styles using text roles.

  • Custom page sizes and margins.

  • Syntax highlighter for many languages, using Pygments.

  • Supports embedding almost any kind of raster or vector images.

  • Supports hyphenation.

  • Sphinx <https://www.sphinx-doc.org>_ integration

  • Full user's manual <https://rst2pdf.org/static/manual.pdf>_

Installation

rst2pdf supports Python 3.6 or greater. Version 0.97 was the last version to support Python 2.7.

Install from PyPI


The latest released version may be installed from PyPI by using ``pip``::

    $ pip install --user rst2pdf

Install from Snap

If you are using a system that supports snaps <https://snapcraft.io/>__ then you can install from there with::

$ snap install rst2pdf

Install from GitHub


Work on rst2pdf has restarted on GitHub, with the goals of adding new
features, addressing outstanding issues, and not breaking anything. You
can clone the repository and install this version::

    $ git clone https://github.com/rst2pdf/rst2pdf
    $ cd rst2pdf
    $ git checkout <desired-branch> # if you want something other than master
    $ pip install --user .

Note that you may need to use ``sudo python setup.py install`` or ``sudo python3 setup.py install`` in this final step, depending on your configuration.

You may want to install it in a virtualenv, but that is beyond the scope
of this readme.


Usage
-----

To convert a reStructuredText document to a PDF, simply run::

    $ rst2pdf <document name> output.pdf

For information on available options, use ``-h``::

    $ rst2pdf -h

To enable basic integration with Sphinx, modify your ``conf.py`` file to enable
the ``rst2pdf.pdfbuilder`` extension and configure the ``pdf_documents``
option. For example::

    extensions = [
        # ...
        'rst2pdf.pdfbuilder',
    ]

    # Grouping the document tree into PDF files. List of tuples
    # (source start file, target name, title, author, options).
    pdf_documents = [
        ('index', 'MyProject', 'My Project', 'Author Name'),
    ]

For information on the ``pdf_documents`` option and the many other options
available, refer to the `manual <https://rst2pdf.org/static/manual.pdf>`_.

Contributing
------------

See `CONTRIBUTING <CONTRIBUTING.rst>`_.

Code of conduct
---------------

rst2pdf is an inclusive and welcoming community. To participate in this project, everyone is bound by our
`Community Code of Conduct <CODE_OF_CONDUCT.rst>`_.
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].