PyLaTeX

A Python library for creating LaTeX files

MIT License

Downloads
144.4K
Stars
2.3K
Committers
58

Bot releases are visible (Hide)

PyLaTeX - Latest Release

Published by JelteF about 4 years ago

PyLaTeX - V1.1.0

Published by JelteF over 7 years ago

PyLaTeX - v1.1.1

Published by JelteF over 7 years ago

PyLaTeX - 1.0.0 - The first stable release

Published by JelteF almost 9 years ago

This is the first stable release of PyLaTeX and it brings some great changes. The whole package has been refactored and actual documentation has been added. Because of this, things have been moved an renamed. One of the most notable changes is that all normal text is now escaped by default.

For the full changelog see the new documentation: https://jeltef.github.io/PyLaTeX/current/changelog.html

PyLaTeX - 0.8.0

Published by JelteF over 9 years ago

Added

  • List classes (enumerate, itemize, description)
  • Arguments for plt.savefig
  • SubFigure class for use with subcaption package
  • Command line argument for ./testall.sh to supply a custom python command
  • The generate_tex method is now usable in every class, this makes making
    snippets even easier.
  • MultiColumn and MultiRow classes for generalized table layouts.

Changed

  • BaseLaTeXNamedContainer now uses the name of the class as the default
    container_name
  • The Table object is going to be deprecated in favor of the better named
    Tabular object. This will take a couple of releases.
  • Allow the data keyword argument of containers to be a single item instead of a
    list. If this is the case it will be wrapped in a list on initialization.

Fixed

  • Propagate packages recursively add packages of sub containers
  • Make cleanup of files Windows compatible
  • Filenames can be paths (foo/bar/my_pdf).
  • Replace filename by filepath in the names of the arguments.
  • Matplotlib support now uses the tmpfile module, this fixes permission issues
    with the badly previously badly located tmp directory.
  • The temp directory is only removed in generate_pdf when cleaning is
    enabled
PyLaTeX - 0.7.0

Published by JelteF over 9 years ago

Added

  • Matplotlib support
  • Quite a bit of basic docstrings

Changed

  • Filenames should now be specified to the generate_pdf/generate_tex
    methods of document. If this is not done the default_filename attribute
    will be used.

Fixed

  • Fix a lot of bugs in the escape_latex function
PyLaTeX - 0.7.1

Published by JelteF over 9 years ago

Added

  • Contributing guidelines.

Changed

  • The non keyword argument for filename is now called path instead of filename
    to show it can also be used with paths.
  • Travis now checks for Flake8 errors.

Fixed

  • Fix a bug in Plt and one in fix_filename that caused an error when using them
    with some filenames (dots in directories and a file without an extension)
PyLaTeX - 0.6.1

Published by JelteF almost 10 years ago

  • Fix bug in VectorName
PyLaTeX - 0.6

Published by JelteF almost 10 years ago

  • Add Figure class
  • Add Command and Parameters class
  • Add with statement support
PyLaTeX - 0.4.2

Published by JelteF over 10 years ago

  • Add extra table types
PyLaTeX - 0.5

Published by JelteF over 10 years ago

  • Added Python 2.7 support
PyLaTeX - 0.4.1

Published by JelteF over 10 years ago

  • Fix package delegation with duplicate packages
  • Add partial experimental support for multicol/multirow