惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

爱范儿
爱范儿
博客园 - 【当耐特】
量子位
Engineering at Meta
Engineering at Meta
博客园_首页
大猫的无限游戏
大猫的无限游戏
IT之家
IT之家
V
Visual Studio Blog
小众软件
小众软件
阮一峰的网络日志
阮一峰的网络日志
美团技术团队
Jina AI
Jina AI
The Cloudflare Blog
T
Tailwind CSS Blog
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
雷峰网
雷峰网
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
宝玉的分享
宝玉的分享
WordPress大学
WordPress大学
有赞技术团队
有赞技术团队
酷 壳 – CoolShell
酷 壳 – CoolShell
Last Week in AI
Last Week in AI
人人都是产品经理
人人都是产品经理
博客园 - 聂微东

ctan-ann

New on CTAN: na-tikzornament New on CTAN: boustrophedon CTAN update: menukeys CTAN update: LXGW-fonts CTAN update: pst-barcode CTAN update: tabularht CTAN update: oberdiek CTAN update: dtk-bibliography New on CTAN: na-cover CTAN update: beamer-varbox New on CTAN: plain-grid CTAN update: pas-tableur CTAN update: nicematrix New on CTAN: screenwriter New on CTAN: na-fancyborders New on CTAN: babel-kazakh CTAN update: newpax CTAN update: colortbl CTAN update: abntexto CTAN update: dccpaper CTAN update: utbmciad-report CTAN update: spim-phdthesisthemes CTAN update: latex-base-dev New on CTAN: na-urmborder CTAN update: gia-handout New on CTAN: na-pageborder CTAN update: genealogytree CTAN update: sblfonts CTAN update: mp-gears CTAN update: contract
ann - New on CTAN: comment2tex
Contact Author · 2026-06-09 · via ctan-ann

Date: June 9, 2026 1:38:03 PM CEST

Erik Nijenhuis submitted the comment2tex package. Version: 1.0 2026-06-08 License: lppl1.3c Summary description: Include annotated source files as LaTeX listings Announcement text:


The comment2tex package (v1.0) I am pleased to announce the first release of comment2tex. comment2tex typesets a source file that keeps its documentation in special comments: doc-comment lines become ordinary LaTeX, everything else becomes a listing. A Lua converter handles the transformation and two TeX wrappers, one for LaTeX/LuaLaTeX and one for plain TeX, provide \includebash and \includelua to pull annotated Bash or Lua sources into a document. Under LuaLaTeX the conversion runs in process; under pdfLaTeX it uses shell escape or a separate pre-build run. The package is distributed under the LaTeX Project Public License 1.3c. Erik Nijenhuis


The package’s Catalogue entry can be viewed at https://ctan.org/pkg/comment2tex The package’s files themselves can be inspected at https://mirrors.ctan.org/macros/generic/comment2tex/


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

comment2tex – Include annotated source files as LaTeX listings

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

Packagecomment2tex
Version1.0 2026-06-08
Copyright2026 Erik Nijenhuis
MaintainerErik Nijenhuis

Announcements

more