- LaTeX macros / environments
- yalafi.mathparser: improve handling of nested display equation environments (PR #251, issue #197)
- improve codebase (remove relative imports, remove bare
except:
, add docstrings, refactor variable names, change space) (see PR #249)
- Maintainer change @matze-dd → @torik42
- changed URLs and add info in README.md
- LaTeX macros / environments
- builtins
- added special token \/ for italic correction thanks to @symphorien (PR #215)
- package cleveref
(PR #229)
- added macro \crefalias and more reference commands like \cpageref
- fixed handling of multi-language sed files
- extended documentation
- fixed minor problems
- package glossaries
- package glossaries-extra
- added macros \Glsxtrfull, \glsxtrfull, \Glsxtrlong, \glsxtrlong, \Glsxtrshort, \glsxtrshort; thanks to @JulianGoeltz (PR #234)
- CI tests: added test for successful local installation thanks to @JulianGoeltz (PR #236)
- CD: added GitHub action for CD together with @JulianGoeltz (PR #237)
- on new version tags: create draft releases, publish to
test.pypi
, and test installation fromtest.pypi
- on releases: publish the assets to PyPI
- on new version tags: create draft releases, publish to
- moved build configuration to
pyproject.toml
- LaTeX macros / environments
- yalafi.shell: on --include, also respect \subfile, \subfileinclude
- yalafi core: added file names in LaTeX-related error messages to stderr (issue #169)
- added CONTRIBUTING.md (issue #167)
- README.md: added section on multi-file projects
- LaTeX macros / environments
- new package geometry: macro \geometry; thanks to @blipp (PR #133)
- new package xspace: macro \xspace; thanks to @blipp (PR #134, issue #140)
- new package mathtools: macro \mathtoolsset; thanks to @torik42 (PR #160)
- new package unicode-math, thanks to @torik42
(PR #162)
- macros \setmathfont, \unimathsetup
- unicode math operators
- new package circuitikz: environment circuitikz (issue #158)
- new package cleveref, macros like \cref and companions; thanks to @torik42 (issue #161, PR #171)
- package amsthm: added macro \newtheoremstyle; thanks to @torik42 (PR #164)
- package amsmath: added macro \substack (issue #163)
- package babel
- yalafi.shell
- yalafi core
- changed interface to extension modules for packages and document classes (issue #172): function init_module() now has an additional argument 'position' that gives the position of the \documentclass or \usepackage token
- changed interface to macro handler functions: added argument 'delim' (issue #136)
- added approximation of macro \def (issue #125)
- added option --nosp (issue #131)
- fixed bug: macro could consume a closing } as argument token (issue #135)
- added iterator for tokens and {} nesting levels (iter_token_levels() in yalafi/parser.py, for issue #163)
- improved error message on recursive \LTinput (issue #169)
- README.md: updated (issues #137, #159)
- CI tests: moved to GitHub Actions
- added file .gitignore; thanks to @mfbehrens99 (PR #156)
- LaTeX macros / environments
- Vim compiler scripts ltyc.vim and vlty.vim: small change for compatibility with vim-dispatch
- yalafi.shell
- yalafi core
- changed interface to extension modules for packages and document classes (issue #110). Entry point is now function init_module() with two arguments: parser and list of package options. See for instance yalafi/packages/amsmath.py and yalafi/packages/babel.py.
- added support for multi-language documents (issue #98); including fixed issues #104, #108, #109, #117
- added CLI option '--mula file' for multi-language output (issue #115)
- added flushs for all messages to stderr (issue #123)
- corrected character position mapping in verbatim environment (issue #126)
- README.md: updated, added section for multi-language support
- LaTeX macros / environments
- builtins: added \bibitem, \bibliographystyle, \begin{thebibliography} (issue #80)
- package babel: added optional argument for \foreignlanguage
- Vim scripts
- vlty.vim, ltyc.vim: now pass Vim's 'fileencoding' to yalafi.shell
- lty.vim: removed redundant key read_temporary_file
- yalafi.shell
- added option --simple-equations for simple replacements of displayed equations (issue #85)
- yalafi core
- added tests with Python 3.9
- README.md: updated
- new LaTeX packages
- yalafi.shell
- Vim script vlty.vim (for vimtex): minor update
- README.md: minor edits
- yalafi core
- yalafi.shell
- Vim scripts
- Bash script yalafi-grammarous: assume plugin installed under ~/.vim/bundle
- new directory editors/ with all editor interfaces
- README.md: updated, shifted some sections, added screenshot for vimtex plugin
- new LaTeX packages: glossaries, glossaries-extra, pgfplots
- added macros
- LaTeX builtins: \index, \pagenumbering, \pagestyle, \thispagestyle, \begin{tabular}
- package biblatex: \addbibresource, \printbibliography
- list-of-macros.md: updated
- yalafi core
- allow '@' in macro names (parameters.py:Parameters.macro_characters())
- added method parser.py:Parser.parse_keyval_list(): parses lists like
name=xxx, description={a b c}
- non-alphanumeric characters (except '.') in LaTeX package names are replaced by '_' for corresponding Python module names (utils.py:get_module_handler())
- travis.yml: use 'python -m pytest' instead of 'pytest'
- added copy of vimtex compiler script vlty.vim
- added extension modules
- packages: biblatex, graphicx, hyperref, listings, tikz
- document classes: article, book, report, scrartcl, scrbook
- added file list-of-macros.md
- yalafi
- added tests for extension modules
- reduced error message in filter output on LaTeX syntax problem;
full message now only with
Parameters.mark_latex_error_verbose = True
(full message unchanged to stderr)
- ltyc.vim: added file information to errorformat
- updated README
- yalafi
- added submodule yalafi.packages, currently with: amsmath, amsthm, xcolor (incomplete initial versions)
- added submodule yalafi.documentclasses
- changed otion --pyth to --pack
- added option --dcls
- macros \documentclass and \usepackage activate package modules from yalafi.documentclasses and yalafi.packages
- removed redundancies in Parameters.math_space and Parameters.math_ignore (issue #29)
- shifted declarations from yalafi/parameters.py to extension modules (issue #29)
- closed issue #30 (optional argument for figure environment, missing \phantom macros)
- changed definition of table environment
- \LTmacros renamed to \LTinput: also may activate extension modules
- yalafi.shell
- changed option --python-defs to --packages
- added option --documentclass
- added option --add-modules
- added Vim "compiler" ltyc.vim
- removed file definitions.py
- README: updated
- yalafi: fixed issue #26 (handling of \\[...]), added tests/test_linebreak.py
- yalafi: fixed issue #23 (error recovery for missing ] or }), added test to tests/test_error.py
- yalafi.shell
- yalafi/shell/proofreader.py: fixed issue #14
- added output mode 'xml-b' for XML report, addresses issue #16
- added some fields to JSON output
- added option --lt-command, issue #19
- added options --enable, --disablecategories, --enablecategories (issue #21)
- added ALE linter component lty.vim
- README.md
- new section on related projects, added reference to vscode-ltex
- added application of Vim plug-in vim-LanguageTool
- added application of Vim plug-in ALE
- shifted screenshots to directory figs/
- this file: added dates to versions
- yalafi/shell/proofreader.py
- fixed issue #12
- more verbose error messages, if start of LT fails
- replaced screenshots for Vim and Emacs application
- updated README.md
- now hopefully close to 1.0.0 ;-)
- yalafi.shell
- closed issue #7, option --as-server: emulate an LT server with integrated LaTeX filter
- added interface for Emacs-langtool
- added output mode --output json
- added option --no-config
- closed issue #9 (a hack): better highlighting, if a single backslash is tagged that actually starts a macro name (as before for HTML output only)
- removed option --t2t-lang (just use 'en' on unknown language)
- subdivided yalafi/shell/shell.py into several files
- README.md: updated
- yalafi.shell
- option --lt-options: added passing of -l / --language to HTML request
- fixed problem with Java under Cygwin: always first go to LT's directory, then start Java
- fixed Issue #6
- closed Issue #2, except: cannot gracefully recover from wrong parameters of Python definitions in Macro() etc. in yalafi/paramters.py
- fixed Issue #3, added Bash script yalafi-grammarous
- closed Issue #4
- fixed Issue #5
- yalafi/mathparser.py: slightly improved character position tracking in displayed equations
- speed optimisation
- for large input files, modifications at the start of the token list are expensive, producing roughly quadratic run-time of the complete filter
- we now operate on reversed lists in class scanner.Buffer and in method parser.Parser.remove_pure_action_lines()
- result: faster, and run-time increases quasi linearly with file size
- renamed 'opts' parameter of Macro() etc. to 'defaults'
- README.md: updated
- yalafi.shell
- added output in XML format for vim-grammarous
- removed option --html
- added option '--output mode', mode value in plain, html, xml
- changed option name --plain to --plain-input
- added option --lt-directory
- README.md: updated
- added replication of punctuation marks at specified \item labels
- verbatim environment now can be removed or replaced like other environments with appropriate entry in Parser.environment_defs
- added default labels for environment enumerate
- yalafi/tex2txt.py: option --ienc is effective for file from --defs, too
- README.md: updated
- yalafi/scanner.py: tested use of regular expression; only a bit faster for short texts, but much slower for large texts
- yalafi/shell/shell.py
- added option --python-defs
- option --encoding now also effective for file from --define
- macro arguments: optional '*' appears in argument list (was skipped before); added tests/test_asterisk.py
- yalafi/parameters.py: shifted some environment definitions to ./definitions.py
- fixed bug from Issue #1
- README.md: added sections
- included file __init__.py in yalafi/ and yalafi/shell
- yalafi/defs.py: added check of argument references in Expandable.__init__()
- added this file
- initial version