CTAN Comprehensive TeX Archive Network

CTAN update: xlistings

Datum: 21. November 2026 09:57:36 MEZ
Florian Sihler submitted an update to the xlistings package. Version: 1.2.0 2026-11-20 License: lppl1.3c Summary description: Opinionated extensions to the listings package Announcement text:
- Languages loaded on demand by a minted environment keep their macros and colours after it (#15). - minted accepts language names without case and the usual Pygments short names (py, js, sh, tex, ...); new \xlstLanguageFileAlias adds more. - An unknown language gives one error, its code is still typeset unhighlighted. https://github.com/EagleoutIce/xlistings
The package’s Catalogue entry can be viewed at https://ctan.org/pkg/xlistings The package’s files themselves can be inspected at https://mirrors.ctan.org/macros/latex/contrib/xlistings/
Thanks for the upload. For the CTAN Team Petra Rübe-Pugliese
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

Xlistings – Opinionated extensions to the listings package

This package extends listings with an easier front-end for code blocks: language-sensitive highlighting of numbers (including hexadecimal literals, exponents and type suffixes), a drop-in minted environment, per-language wrapper macros and environments, non-selectable line numbers based on accsupp, language badges, and opinionated definitions for a set of common languages that are loaded on demand.

The separate package code-link links the code in xlistings blocks to where it is defined or documented.

PaketXlistings
Version1.2.0 2026-11-20
Copyright2024–2026 Florian Sihler
BetreuerFlorian Sihler

Ankündigungen

mehr

Gästebuch Seiten-Struktur Impressum Autor kontaktieren