On Thursday, January 24, 2013 3:45:51 PM UTC+7, Dan Allen wrote: > > You'll want to use the double dollar macro (i.e., $$text$$). This macro > removes the text from the document while processing and reinserts it once > all the parsing is done. > > Here's how that would look for your case: > > Complex form:: > + > -- > $$[(] <'basic form'> <'logical operator'> <'basic form'> [)]$$ > -- >
Still gives me an error :( To make sure it is the leading square bracket that is causing havoc I tried the following: Complex form:: + -- $$\[(] <'basic form'> <'logical operator'> <'basic form'> [)]$$ -- But it naturally renders the \ in the PDF. > > The long hand of this macro is pass:[]. The benefit of pass is that you > can control how that text is processed. Here's the equivalent of the double > dollar: > > Complex form:: > + > -- > pass:specialcharacters[[(\] <'basic form'> <'logical operator'> <'basic > form'> [)\]] > -- > > Notice that you have to escape the closing square brackets when using the > pass:[] macro. > Same experience as the above. The opening square bracket is indeed special and resilient. -- 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]. Visit this group at http://groups.google.com/group/asciidoc?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
