On Thursday, July 23, 2015 at 5:31:24 PM UTC-7, Mark C wrote: > > > > On Thursday, July 23, 2015 at 4:17:37 PM UTC-7, Lex Trotman wrote: >> >> You can define an attribute just before the include, and use ifdef:: >> in the included file. >> >> > Thanks for the tip. The files I want to include are c++ files so I would > have to protect the ifdef:: by putting it inside a comment, '/*. It seems > that at the very least that initial comment is going to be included in the > output document. Is there any way to avoid this? >
I am struggling to see how to use this suggestion. Apart from the question above, how does defining an attribute before the include prevent any of the text in the included file before an ifdef:: from being included? Please give an example of how to use. -- You received this message because you are subscribed to the Google Groups "asciidoc" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/asciidoc. For more options, visit https://groups.google.com/d/optout.
