Release v0.5.0
This new release introduces some breaking changes (they are 100% worth it in my biased opinion):
-
The API for compiling and showing a figure has simplified significantly when the
tectonic
feature is not enabled. This will not break old code that ran e.g.pdflatex
directly using thestandalone_string()
, but it provides a much easier way of compiling a pdf (Picture::from(plot).to_pdf(Engine::PdfLatex)
) and showing (Picture::from(plot).show_pdf(Engine::PdfLatex)
).This will break old code that used the
inclusive
feature in the following ways:- The
inclusive
feature no longer exists. It has been renamed totectonic
. - You will need to change
plot.show()
forPicture::from(plot).show_pdf(Engine::Tectonic)
. This is a little bit more verbose, but is consistent with the non-tectonic way of viewing a plot.
- The
-
Additionally error handling is now done properly using the
thiserror
crate.