您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
Jonathan Spratte 15efae0ef0 prettier code formatting in documentation 3 个月前
.gitignore -p added 1年前
README.md -p added 1年前
documentation.pdf prettier code formatting in documentation 3 个月前
documentation.tex prettier code formatting in documentation 3 个月前
example.c documentation 1年前
listings-extx.py remove unnecessary empty line in output 3 个月前

README.md

listings-extx.py

Some programme to get named entries for listings-ext

Author : Jonathan P. Spratte

Version : 1.0.1

Copyright © : 2019 Jonathan P. Spratte

License : GPLv3+ https://gnu.org/licenses/gpl.html

Documentation : documentation.pdf

Short description

Extracts code blocks which are guarded by

\s+<cc> be: <name> .*
.
.
.
\s+<cc> ee: <name> .*

With <cc> being a comment starting character or character sequence and <name> being a string matching [\w:]+. .* is discarded. Combining different code blocks is possible with

\s+<cc> je: <name> <others...> .*

Where <others...> is a space separated list of names matching [\w:]. Additionally every code block can be combined with

\s+<cc> ae: <name> .*