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
Fehlermeldungen
Repository
Version1.1 2026-07-22
LizenzenThe Project Public License 1.3c
Copyright2026 Erik Nijenhuis
BetreuerErik Nijenhuis
Enthalten inTeX Live als comment2tex
ThemenLua-Verwendung
Lua-Verwendung
Literate Programming
Dokumentation
Listings
Verbatim

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

Bewertungskommentare

Laden...

Ankündigungen

Hier erscheint bei neueren Browsern ein entsprechendes Diagramm.

mehr

Paket-Links

Gästebuch Seiten-Struktur Impressum Autor kontaktieren