Releases: alvinwan/TexSoup
Releases · alvinwan/TexSoup
Math Environment Parsing
Improved Fault Tolerance, Modification Support
- can tolerate unclosed bracket or brace groups when
tolerance=1kwarg is given toTexSoupconstructor - more ubiquitous support for
.name,.string,.contentsin-place modification - improved documentation
under the hood
- more robust generic string + spacer tokenization
- more uniform usage of
read_command+ genericread_to_peekconverter - coverage of more in-place modification scenarios
Fault Tolerance + Robustness
Bug Fixes
Docs, More Streamlined API
- 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,removeetc. - 110+ tests for 100% test coverage!
Fix Math Environment Parsing
- Fix math environment parsing
- Recognize more math environments
- Fix items with labels
- Add regex search
Advanced Item Parsing
\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
- fixed command argument parsing (ate up strange characters at random)
Refactored Parsing
- Bug fixes related to parsing and tokenization errors
- More robust behavior for
itemand environments such as$$,verbatimetc.
Whitespace Preservation
- 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