Skip to content

4.2.0

Latest

Choose a tag to compare

@github-actions github-actions released this 24 May 17:22

2026-05-24: Version 4.2.0

The release build of xmq for linux now includes the libxml2 and libxslt sources compiled
into the binary. Use configure --with-libxml2=source --with-libxslt=source to automatically
download libxml2 and libxslt and build them for use inside xmq.

This seems to be necessary to solve the future upgrade problems in different versions of linux where
the libraries are being upgraded differently on different distributions.

You can now theme the colors generated by xmq and a theme can support both light and dark backgrounds.

export XMQ_THEME=dark+C=#ff0000_U_B,light+C=#880000

This will change the comment color to max red underline bold for terminals with dark backgrounds
and medium red (no underline no bold) for terminals with light backgrounds.
You can override the background setting with XMQ_BG=light and XMQ_BG=dark.
This works for html and tex output as well. The README contains the list of all color settings available.

The theme can specify the background color in html with BG=#ffffff and foreground text color
with FG=#00ff00.

At the same time xmq now use 256color for the default Apple_Terminal which does not support truecolor.
Previously it generated odd looking color artifacts on the Apple default terminal.

Fix bug that caused a new parse with an already used ixml grammar
to potentially be reported as failed if the previous parse failed.

You can override the IXML engine with export XMQ_IXML_ENGINE=markup-blitz
or any other tool that takes two arguments and outputs xml.
The first argument is the ixml grammar and the second argument is the file to parse.
If you write a script you can adjust this to work for coffeepot as well.

You can now generate a colorized version in html for an ixml grammar using ixml itself:
xmq ixml:core/ixml2html mygrammar.ixml to-text br