piccolbo/Pweave

View on GitHub
CHANGELOG.txt

Summary

Maintainability
Test Coverage
In 0.30.2
* Fix bug in initial whitespace in chunk output
* Remove build artefacts from release tarball

In 0.30.1
* Fix ptangle script
* Create also intermediate directories for figure directory

In 0.30
* Use IPython kernel to run Python code:
  - support for rich output
  - support IPython magics
  - Improved error handling
* Render tracebacks correctly
* Drop Python 2 support
* Run code using any Jupyter kernel with `--kernel` option
* Output directly to Jupyter notebooks with chunk options preserved
  as metadata -> ability to use custom nbconvert templates in addition to builtin formatters.
* Drop uppercase versions on `pweave` and `ptangle` scripts
* Weave documents from URLs
* md2html is the new default format for `.pmd` and `.py` input
* Drop support for specification of figure format. Use default figure format as specified by
  output format.

In 0.25
* New pweave option: `output` allows to set the output file
* New better themes for pypublish and an option to choose theme
* New output format: softcover (https://www.softcover.io/)

In 0.24
* New input format: markdown
* New supported script format: Spyder cell markup
* Support new link attributes for pandoc >= 1.16
* pypublish now embeds figures in html output
* pypublish no longer defaults to wrap = False in html output
* Improved test coverage
* More robust script reader, not sensitive to empty lines anymore
* Removed obsolete Julia support.

In 0.23.2
* Add --latex_engine option to pypublish. Enables the use xetex or luatex
* Bug fixes
  - Fix formatting bugs for eval=FALSE #18
  - Fix white space error in code chunks for wrap = FALSE #24
  - Fix unicode bug with pypublish #21
  - Update pypublish template to include textcomp due to changes in Pandoc #23

In 0.23.1
* Fix for multiline indented blocks by @abukaj
* Pypublish missing \begin{document} problem fixed by @abukaj
* Fix for pandoc 1.14 - \tightlist not defined @trsaunders

In 0.23
* New Python option --shell eshell, runs python as subprocess and is not affected by Pweave imports.
* Pweave can now be used to weave Octave, Matlab and Julia code using --shell option. Have a look at the examples on Github

In 0.22.2
* Figure and cache directory are now handled relative to weaved document
* Fixed caching
* Improved error reporting and exception handling

In 0.22.1
* Fixed a bug with inline code chunks.

In 0.22
* Package global options moved to pweave.rcParams. This is a breaking change if you have used
  Pweb class to modify Pweave options. Should not affect commandline usage.
* Renamed pweave.pweave to pweave.weave, pweave.ptangle to pweave.tangle
* Python 3 compatibilty, Thanks to Grant Goodyear https://github.com/g2boojum
* Publishing of scripts from command line : pypublish script
* Conversion between input formats and markups: Pweave-convert script
    - Convert to IPython notebooks by Aaron O'Leary https://github.com/aaren
* Possibility to run shell code from Pweave. See `engine` chunk option.
* New input formats:
    - Script
    - IPython notebook
* Bugfix: setting figure format from command line fixed.
* Ipython terminal
* Source option for chunks
    - Read from module
    - Read from file
* Multichunk blocks: complete option
* rst format uses `.. codeblock::` python directive for code chunks.
* Output formats:
    - Leanpub markdown
* New options for figures
    - f_size ( (8,6) ) Saved figure size in inches a tuple (w, h)
    - f_env (None) Environment that goes around figure e.g. sidefigure
    - f_spines (True) removes spines from figure right and top if False.
    - complete (False)
    - source: Read chunk source from file or python module or file
    - engine: Choose engine running the code. "python" or "shell"