diff -urN stgit-0.16.orig/Documentation/asciidoc.conf stgit-0.16/Documentation/asciidoc.conf
--- stgit-0.16.orig/Documentation/asciidoc.conf 2012-01-09 13:12:42.000000000 -0800
+++ stgit-0.16/Documentation/asciidoc.conf 2012-07-06 04:31:38.279051055 -0700
@@ -100,3 +100,9 @@
[linkstgsub-inlinemacro]
{target}
endif::backend-xhtml11[]
+
+[macros]
+# regexen to match macro templates above
+(?Plinkman):(?P\w+)\[(?P\d+)]=
+(?Plinkstgsub):(?P\w+)\[]=
+(?Plinkstg):(?P\w+)\[]=