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

推荐订阅源

U
Unit 42
博客园 - 司徒正美
博客园 - 三生石上(FineUI控件)
博客园_首页
IT之家
IT之家
The Cloudflare Blog
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
酷 壳 – CoolShell
酷 壳 – CoolShell
爱范儿
爱范儿
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
Y
Y Combinator Blog
A
About on SuperTechFans
Microsoft Azure Blog
Microsoft Azure Blog
美团技术团队
S
SegmentFault 最新的问题
T
Tailwind CSS Blog
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
M
MIT News - Artificial intelligence
WordPress大学
WordPress大学
B
Blog RSS Feed
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
博客园 - 【当耐特】
小众软件
小众软件
有赞技术团队
有赞技术团队

ctan-ann

CTAN update: texlive-dummy-fedora CTAN update: appendixnumberbeamer CTAN update: modernruler New on CTAN: pst-eqhz CTAN update: simplebnf CTAN update: fundus CTAN update: unibidi-lua CTAN update: pst-fun CTAN update: hvfloat New on CTAN: attinormativi CTAN update: njuthesis New on CTAN: beamertheme-geode New on CTAN: numodel-bundle CTAN update: bundledoc CTAN update: biblatex-cse 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
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