Texsoup

Latest version: v0.3.1

Safety actively analyzes 685525 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 2

0.3.1

- 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

0.3.0

- 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

0.2.2

- major tokenization refactor (102) and parsing refactor (103) supporting all sorts of funky [latex commands](https://github.com/alvinwan/TexSoup/blob/a2517f9e9ebb64be87d4c297aeef7a527aebce62/TexSoup/reader.pyL516) and [arguments](https://github.com/alvinwan/TexSoup/blob/a2517f9e9ebb64be87d4c297aeef7a527aebce62/TexSoup/reader.pyL516)
- initial support for fault tolerance mode (77)
- initial support for different command signatures (59)

0.2.1

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

0.2.0

- 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!

0.1.4

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

Page 1 of 2

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.