On 22 November 2012 20:52, Philipp Marek <[email protected]> wrote: > Hello Lex, > > thank you for your quick answer. > > >> > is there some way to emphasize/italicize pieces of text in a literal >> > listing? >> > I'd like to mark the text that has to be replaced by the reader in some >> > way. >> Just mark the block to use quote substitution and use normal quotes markup. >> >> [subs="quotes"] >> ---- >> italicise _this_ >> ---- >> >> Of course now you will have to escape all other uses of the quotes >> characters. > Yes, that's the reason why I'd like to use some unicode characters for > highlightning. > > Is there an easy way to define a "quotes2" or something like that, similar to > "replacements{,2,3}", to have _only_ my rules in there?
Basically no, the substitution types are built in to the code that does them, you can't add more. Possibly you could do something with replacements (or 2 or 3) but note that since they are processed *after* the quotes are processed (see http://www.methods.co.nz/asciidoc/userguide.html#_document_processing ) you can't just transform them into quoted text like you did in your first post, you need to generate the output markup, for each backend you use. Cheers Lex > > > Regards, > > Phil > > > > > > -- > 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. > -- 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.
