Skip to content

Releases: alvinwan/TexSoup

TexSoup 0.3.3

05 Apr 11:44
0bf0606

Choose a tag to compare

Summary

  • add built-in JSON and XML export helpers
  • move the richer paper-style HTML renderer into examples
  • include the recent parser and docs fixes shipped since 0.3.2

TexSoup 0.3.2

04 Apr 12:14
03e4eee

Choose a tag to compare

What's Changed

New Contributors

Full Changelog: 0.3.1...0.3.2

Math Environment Parsing

03 Aug 10:18
e9e89cf

Choose a tag to compare

  • Math environment parsing was previously skipped; these envs are now support all standard TexSoup APIs
  • See #108 for future todos
  • See #110 for included docs update

Improved Fault Tolerance, Modification Support

22 Jul 09:25

Choose a tag to compare

  • can tolerate unclosed bracket or brace groups when tolerance=1 kwarg is given to TexSoup constructor
  • more ubiquitous support for .name, .string, .contents in-place modification
  • improved documentation

under the hood

  • more robust generic string + spacer tokenization
  • more uniform usage of read_command + generic read_to_peek converter
  • coverage of more in-place modification scenarios

Fault Tolerance + Robustness

20 Jul 12:45

Choose a tag to compare

  • major tokenization refactor (#102) and parsing refactor (#103) supporting all sorts of funky latex commands and arguments
  • initial support for fault tolerance mode (#77)
  • initial support for different command signatures (#59)

Bug Fixes

08 Mar 11:01

Choose a tag to compare

  • env search and parsing fixes
  • python3.8 python setup.py test fix
  • other misc fixes: replace_with, deleting tokens, etc.

Docs, More Streamlined API

14 Apr 12:37

Choose a tag to compare

  • added documentation at https://texsoup.alvinwan.com
  • clearer documentation and naming convention for content: contents, all (whitespace-preserving v. not)
  • more list-like apis for modifying parse tree: append, insert, remove etc.
  • 110+ tests for 100% test coverage!

Fix Math Environment Parsing

29 Nov 22:43

Choose a tag to compare

  • Fix math environment parsing
  • Recognize more math environments
  • Fix items with labels
  • Add regex search

Advanced Item Parsing

14 Apr 05:01

Choose a tag to compare

\items are now parsed correctly:

  • includes correctly tex parsing for all item contents (e.g., environments, text, commands etc.)
  • respects strange item parsing rules: preceding whitespace can be arbitrarily long, but once content starts, there can only be one line break between content (not 2 successive line breaks)
  • (biggest change) adds a new line to the end of each \item

Command Argument Parsing Fix

29 Jan 07:45

Choose a tag to compare

  • fixed command argument parsing (ate up strange characters at random)