=================
Added
-----
- Add rules for commands:
- | core:
| \\a, \\RequirePackage,
| \\pagestyle, \\thispagestyle,
| \\verb (replaced by ||)
- | amsthm:
| \\newtheoremstyle, \\theoremstyle
- | glossaries:
| \\setacronymstyle, \\loadglsentries
- | listings:
| \\lstinline (replaced by ||)
- | tikz:
| \\tikzset, \\tikzstyle
- Add rules for environments:
- | core:
| tabbing,
| verbatim (omit content)
- | listings:
| lstlisting (omit content)
- Add rules for classes:
- | drdc:
| \\rank
- Add rules for following ligatures: ff, fi, fl, ffi, and ffl (not
LaTeX-specific).
- Support creation of application shortcuts on macOS and Linux.
- Names of capturing groups for content of %c, %C, %s, and %r placeholders can
be specified explicitly by placing empty named capturing group after
placeholder; for instance: '%c(?P<custom_name>)'.
Changed
-------
- Improve reporting of runtime exceptions during shortcut creation.
- Referring to capturing groups by index in replacement patterns no longer
supported when using %c, %C, %s, and %r placeholders.
- Make \\author command of drdc document class an alias of its \\authors
command.
- Split setup rule function into three: core_insertion, core_removal and
core_setup.
- Rename core, cleanup_braces, and cleanup rule functions as core_main,
core_cleanup_braces, and core_cleanup, respectively.
- Add suffix to name of class, package, and style rule functions to indicate
when they are to be applied: insertion, removal, setup, main, and cleanup.
- Add optional phase argument to document rules to specify when they are to be
applied: insertion, removal, setup, main, and cleanup.
- Log names of rule functions as they are run.
- Rename not_in_comment argument of rule functions as not_commented. Add a
similar not_escaped argument.
- Replace delatexify-shortcuts by --shortcuts option to help with command
autocompletion at command line.
Fixed
-----
- Allow matching of non-bracketed content, with %C placeholder, before closing
curly bracket.
- Add space after colon in rule for \\item[].
- Support starred versions of align, alignat, flalign, gather, and multline
environments of amsmath package.
- Remove call to Path.with_stem method in processing of "Copy Log" button,
because it was introduced in Python 3.9.
- Remove white padding on left and right sides of shortcut window.
- Process rules for math environments earlier (setup phase rather than main) to
prevent automatic rules from inserting dollar signs into them before their
removal.
- Fix output of number of matches to times file.
- Replace \\i with a regular i rather than a dot-less i, because the latter
does not compose properly with accents.
- Move rules for \\url command to removal phase so URLs with % characters are
processed correctly.
- Omit space before percent signs to avoid issues in URLs.
- Modify rules for printing glossaries and indexes so all entries are printed
with re module even when more than two levels of curly braces are present.
- Fix bug in default rule for one-argument commands that made it match the
first argument of multi-argument commands when using re module.
- Replace \\clearpage, \\cleardoublepage, and \\newpage by two newlines rather
than just removing them.
- Detect language before checking grammar when opening converted text in
Microsoft Word.
- Run launch of Microsoft Word and creation of shortcuts in other threads so
busy cursor is displayed.