Index: Makefile.in =================================================================== diff -u -re884c2b0d63fa1b5a691e866ccff8d4094a2a8e4 -r1914a014643964e54046fca2960f8c7b2a9d224d --- Makefile.in (.../Makefile.in) (revision e884c2b0d63fa1b5a691e866ccff8d4094a2a8e4) +++ Makefile.in (.../Makefile.in) (revision 1914a014643964e54046fca2960f8c7b2a9d224d) @@ -246,7 +246,7 @@ %.html : %.tcl $(TCLSH) $(src_app_dir_native)/utils/source-doc-beautifier.tcl $< - asciidoc $*.txt + PATH=$(src_app_dir_native)/utils:$(PATH) asciidoc -f $(src_app_dir_native)/utils/asciidoc.conf $*.txt #======================================================================== # TEA TARGETS. Please note that the "libraries:" target refers to platform Index: apps/utils/asciidoc.conf =================================================================== diff -u --- apps/utils/asciidoc.conf (revision 0) +++ apps/utils/asciidoc.conf (revision 1914a014643964e54046fca2960f8c7b2a9d224d) @@ -0,0 +1,2 @@ +[blockdef-listing] +source-style=template="source-highlight-block",presubs=(),postsubs=("callouts",),posattrs=("style","language","src_numbered","src_tab"),filter="source-highlight-with-pp" \ No newline at end of file Index: apps/utils/source-highlight-with-pp =================================================================== diff -u --- apps/utils/source-highlight-with-pp (revision 0) +++ apps/utils/source-highlight-with-pp (revision 1914a014643964e54046fca2960f8c7b2a9d224d) @@ -0,0 +1,5 @@ +#!/usr/bin/env tclsh + +package req nx::pp +lappend argv [read stdin] +puts stdout [nx::pp render {*}$argv] \ No newline at end of file