Welcome to ftp.nluug.nl Current directory: /os/Linux/distr/CTAN/web/noweb/contrib/ydirson/ |
|
Contents of README:guesslang <list of root chunks> Attempts to set the @language of given root chunks. Note: Currently only inspects '#!' lines, not filename. inheritlang Propagates @language to non-root chunks. enscript-html <enscript flags> Uses enscript(1) to pretty-print chunks in HTML according to @language. Most useful enscript flags include --color and --style=... Note: Should ultimately work with all languages supported by enscript, but needs extra info about how to mangle @use clauses. If it complains "Don't know how to mangle @use" for your language, you can edit mangle_use() and demangle_use() to turn the @use clause into a meaningfull language clause, and then convert back in @use form. Note: Supports all highlighting styles of enscript 1.6.4, but the regexp in demangle_use() may need to be adapted in the future. Typical use lokks like: noweave -html \ -filter "guesslang ${NOWEBOUTSRC} | inheritlang | enscript-html" \ -x <your.nw> Be sure to specify -x or possibly other filters *after* the -filter, since the pretty-printer does not preserve the position of remaining directives (esp. @xref) within code chunks. Sample output is viewable at http://ydirson.free.fr/en/software/noweb/dh-kpatches.html |
Name Last modified Size
Parent Directory - Makefile 17-Nov-2003 16:44 169 README 21-Nov-2003 17:01 1.2K email 17-Nov-2003 16:28 19 enscript-html 21-Nov-2003 17:00 3.8K guesslang 15-Nov-2003 17:32 1.5K inheritlang 21-Nov-2003 16:11 2.0K
NLUUG - Open Systems. Open Standards
Become a member
and get discounts on conferences and more, see the NLUUG website!