pandoc-plot

Render and include figures in Pandoc documents using your plotting toolkit of choice

GPL-2.0 License

Downloads
160
Stars
223
Committers
4

Bot releases are hidden (Show)

pandoc-plot - Release 0.6.0.0

Published by LaurentRDC over 4 years ago

This release brings the following changes:

New toolkits:

  • Added support for the Plotly/R plotting library.
  • Added support for Graphviz.

Other changes:

  • The determination of which figures to re-render or not has been improved. For example, changing the caption will not trigger a re-render of a figure anymore.

  • pandoc-plot will look for executables more thoroughly.

  • pandoc-plot toolkits will now show the exact executable that is being used, if possible.

  • Added a check when running the filter that the Pandoc version is at least 2.8. This is easier to understand that the default Pandoc warning on API incompatibility.

  • Added the ability to write the example configuration to an arbitrary file using pandoc-plot write-example-config.

  • Added the possibility to specify the configuration file via metadata. For example, in Markdown:

    ---
    title: My document
    author: John Doe
    plot-configuration: /path/to/file.yml
    ---     
    

or on the command line:

pandoc --filter pandoc-plot -M plot-configuration=/path/to/file.yml ...
  • Added the ability to specify configuration file to the pandoc-plot clean and pandoc-plot toolkits commands.
pandoc-plot - Release 0.5.0.0 : large performance improvements

Published by LaurentRDC over 4 years ago

This release sees one large change:

  • The pandoc-plot executable will now process documents in parallel. This should dramatically speed up processing of large documents with lots of figures. This happens automatically through the function plotTransform.

Other small changes:

  • Added a benchmarking suite.
  • Added defaultConfiguration so that people don't have to install the data-default package to get access to default configuration values.
  • Added a check for the matplotlib toolkit, preventing users from using matplotlib.pyplot.show in figures. This would halt pandoc-plot.
pandoc-plot - Release 0.4.0.1: Critical bug fix

Published by LaurentRDC over 4 years ago

This release fixes a critical bug:

  • Fixed an issue where the pandoc-plot executable could not be built outside of its git repository.

This mainly affects installs from Hackage.

pandoc-plot - 0.4.0.0: cleaning output and other tweaks

Published by LaurentRDC over 4 years ago

Release 0.4.0.0 sees a few changes:

  • Added a --full-version flag to the executable, which includes which version of pandoc/pandoc-types was used, as well as the git revision.
  • Added the clean command to the executable. This can be used to clean-up output files produced by pandoc-plot.
  • Added the top-level function cleanOutputDir to clean output of pandoc-plot. This is only accessible if pandoc-plot is used as a library.

There is one small breaking change:

  • Changed the flag --write-example-config to the command write-example-config. This creates a distinction between commands (which can perform IO operations), and command-line flags, which cannot.

Less important changes:

  • Updated documentation.
  • Added a distinction between failure to render a figure because of a mistake, and failing to render a figure because the toolkit is not installed. pandoc-plot will give better error messages in the latter case.
pandoc-plot - Caption formatting

Published by LaurentRDC over 4 years ago

This release sees one major change: caption formatting can now be specified in configuration files .pandoc-plot.yml. Parsing captions based on source file was not working. This unfortunately changes the type signature of a few high-level functions.

The default caption format is "markdown+tex_math_dollars".

pandoc-plot - Bug fixes and linux executables

Published by LaurentRDC over 4 years ago

This release sees two major changes:

  • Linux executables are now available.
  • Paths with spaces were not handled by a few toolkits (issue #2) . This has been fixed.
pandoc-plot - Initial installers and executables

Published by LaurentRDC over 4 years ago

This release includes the first Windows installer, as well as executable for Windows and Linux.

The supported toolkits are:

  • Matplotlib
  • Plotly/Python
  • MATLAB
  • ggplot2
  • GNU Octave
  • gnuplot
  • Mathematica (untested)

If you have experience with building Linux executables on Azure pipelines, or if you would like to help test Mathematica support, don't hesitate to reach out :).