Hi, I have a block of text, which is the output from a program testing a hardware protocol. I put the output into my asciidoc like this: ---- 0 0-375 -> ff 00 34 27 66 1 480-575 <- ff 00 32 54 ff 2 1020 - 1232 -> ff 00 21 84 23 88 ---- Now, I have written a simple python program that takes this text and generate a svg to show how the protocol data flows. The python program fires off convert to generate png. I am now scratching my head how to write the filter so that I would keep the original block content and add an image below based on the data in the block.
block text image I am currently also thinking about having the data external and just do like this: ---- include::protocol_tc_llc_bv_01.log[] ---- for the text part as the protocol test will spit out a lot of data for different test cases. then I could have done something like this: [myfilter] include::protocol_tc_llc_bv_01.log[] to get the log and picture included and generated in one run. Any idea? -- Svenn -- You received this message because you are subscribed to the Google Groups "asciidoc" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/asciidoc?hl=en.
