CTAN Comprehensive TeX Archive Network

CTAN update: codehigh

Date: February 16, 2025 7:56:28 AM CET
Jianrui Lyu submitted an update to the codehigh package. Version: 2025B 2025-02-15 License: lppl1.3c Summary description: Highlight code and demos with l3regex and lpeg Announcement text:
- add benchmark tests and publish results to github pages - reduce l3regex dependencies to increase performance (#18) - remove varwidth warnings from \color commands in it (#19) - fix wrong results when tracing log function (#20) - use ^^J instead of ^^M in stored code (#21)
This package is located at https://mirrors.ctan.org/macros/latex/contrib/codehigh More information is at https://www.ctan.org/pkg/codehigh
Thanks for the upload. For the CTAN Team Manfred Lotz CTAN is run entirely by volunteers and supported by TeX user groups. Please join a user group or donate to one, see https://ctan.org/lugs .

codehigh – Highlight code and demos with l3regex and lpeg

This package uses the l3regex package from the 3 Programming Layer to parse and highlight source code and demos. It is more powerful than the listings package, and more easy to use than minted. But it is slower than both of them. Therefore in Lua the package provides another way to highlight code: using LPeg (Parsing Expression Grammars for Lua). LPeg is much more powerful and faster than l3regex.

Packagecodehigh
Version2025C 2025-02-21
MaintainerJianrui Lyu

Announcements

more

Guest Book Sitemap Contact Contact Author