Skip to content

Releases: alvinwan/TexSoup

Math Environment Parsing

03 Aug 10:18
e9e89cf
Compare
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
Compare
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
Compare
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
Compare
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
Compare
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
Compare
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
Compare
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
Compare
Choose a tag to compare
  • fixed command argument parsing (ate up strange characters at random)

Refactored Parsing

28 Jan 13:12
Compare
Choose a tag to compare
  • Bug fixes related to parsing and tokenization errors
  • More robust behavior for item and environments such as $$, verbatim etc.

Whitespace Preservation

03 Sep 06:17
Compare
Choose a tag to compare
  • New tokenizer allows for preservation of whitespace
  • More robust to line breaks in command arguments, math environments
  • immune to mumbo jumbo in verbatim, lstlisting etc.
  • Small bug fixes
  • Accommodates more edge cases, involve command parsing