Releases: humenda/GladTeX
SVG, Pandoc filtering And More
- new features and incompatible changes:
- add
-P
command-line switch to be used as a Pandoc document filter,
see https://pandoc.org/filters.html - add environment variable
GLADTEX_ARGS
to pass command-line
switches when used as pandocfilter where passing additional
arguments is impossible - redefine colour handling: use xcolor package, therefore handling
text and background colour the same way for both PNG and SVG - add SVG support for scalable images
- use SVG output by default
- gleetex.htmlhandling.HtmlImageFormatter: rename link_path to
link_prefix
- add
- bug fixes:
- correctly parse HTML5 file encoding declarations
- add more exceptions to the unicode table for the unicode replacement
mode (see-R
) - treat
-d
as a relative path
Avoid incorrect spacing
The unicode replacement reafture (-R
) sometimes introduced incorrect spaces, e.g. within a word and hence could alter the formula. This has been fixed.
Improve formula images and their placement.
-
16px/12 pt is now the default font size for documents (seems to be in line
with all major browsers). That means that the default DPI has ben set to 115
DPI.Furthermore, the DPI switch now accepts pt values for fontsizes and will
calculate the corresponding DPI itself. -
When the environment variable
DEBUG=1
is set, the full backtrace will be
printed. -
Extend unicode table creation script to allow blacklisting of certain
commands.
Fix handling of non-ascii alphabetical characters
This bug fix release corrects the handling of diacritics and other characters in formulas. While the -R
switch suggested that non-ascii characters would be replaced by GladTeX automatically, nothing happened. That is fixed now.
Support LaTeX formulas with unicode characters
Add support for unicode characters in LaTeX formulas This release improves handling of different character sets again. It can now cope with a vast amount of non-ascii characters within formulas. This is possible through the -R switch, which will take care of replacing these characters through LaTeX character sequences. As usual, builds are available for Windows users and source code for all other platforms.
2.0.1 - Bug Fix Release
- show user meaningful error message if LaTeX or dvipng is missing
- setup.py: build manual page, if pandoc present
- freeze multiprocessing on Windows, to make executables distributable
GladTeX 2.0
This release brings many new features which focus on using GladTeX within other projects. It has been tested on GNU/Linux, Mac and Windows. The most important changes are:
- add options to allow post-processing of error output for scripts
- add options to handle unreadable (outdated) caches and allow for a smoother transition
- add man page, improve documentation
GladTeX rewrite in pure Python
This version is a rewrite of the original GladTeX in pure Python, thus making it easier portable across platforms.