CTAN Comprehensive TeX Archive Network

comment2tex – Include annotated source files as listings

This package typesets source files that keep their documentation in special comments: doc-comment lines become ordinary , everything else becomes a listing. A Lua converter handles the transformation, and two wrappers, one for /Lua and one for plain , provide \includebash and \includelua to pull annotated Bash or Lua sources into the document. Under Lua the conversion runs in process; under pdf it uses shell escape or a separate pre-build run.

Quellen/macros/generic/comment2tex
Dokumentation
Fehlermeldungenhttps://github.com/Xerdi/comment2tex/issues
Repositoryhttps://github.com/Xerdi/comment2tex
Version1.0 2026-06-08
LizenzenThe Project Public License 1.3c
Copyright2026 Erik Nijenhuis
BetreuerErik Nijenhuis
ThemenListings
Lua-Verwendung
Verbatim
Dokumentation
Lua-Verwendung
Literate Programming

Herunterladen des vollständigen Inhalts dieses Pakets in einem Zip-Archiv (131.1k).

Bewertungskommentare

Laden...

Paket-Links

Gästebuch Seiten-Struktur Impressum Autor kontaktieren