Yannick Gingras wrote: > Stuart Rackham <[EMAIL PROTECTED]> writes: > >> Unfortunately there is only one pass, the writer.write() calls generate >> the output. A possible solution to implement features that require 2nd >> pass fixups would be to write to a StringIO object during the first pass >> (this would incur minimal change to the existing code and could used >> conditionally if required). It would go something like this: >> >> if 2 passes required: >> do first pass to StringIO obj >> perform 2nd pass fixups on StingIO obj >> write StringIO obj to actual output file > > Sounds good. Should we wait after 9.0? We just promised no markup > change.
It would be a very general good feature for all sorts of things, I'll put it on my todo list and try to get something underway. Cheers, Stuart _______________________________________________ asciidoc-discuss mailing list [email protected] http://lists.metaperl.com/cgi-bin/mailman/listinfo/asciidoc-discuss
