On 23 October 2015 at 10:02, Ted Toal <[email protected]> wrote: > Thanks for looking into it. I got around it by changing from ### to #@@. > But, I could use passthru too. Is that when you indent each line by two > spaces? >
That is a literal *block*, you only need to mark the stuff you don't want translated as quotes, eg the ###es. See http://asciidoc.org/userguide.html#X80 (and the rest of that section above it). Cheers Lex > > On Oct 22, 2015, at 4:30 PM, Lex Trotman <[email protected]> wrote: > > On 23 October 2015 at 01:45, Ted Toal <[email protected]> wrote: > > So are you saying that the particular escaping that is needed for ### > differs depending on context, and therefore I'd need to try different > combinations at EACH OCCURRENCE within the document? > > > No, clearly Asciidoc is a program, so its deterministic, but ... > > Quotes are detected by regular expressions. The context that the > regular expression applies to is complex and as I said above depends > on what other quotes are around, if the quote can be interpreted as an > opening quote, or a closing quote, if other quotes are processed > before or after this quote and the context, ie how much text the > regular expression looks in. And I can't tell you if thats all > without checking the code in great detail. > > Two situations are the same when they are *exactly* the same, but as a > human we may have difficulty telling. > > In the specific case here I think the difference is the first > occurrence of that sentence is in a paragraph with lots of other > hashes around, which might be interpreted as the closing quotes for > the ones in that sentence. The second case the hashes only occur by > themselves in a paragraph. > > It is unfortunate that the specific topic of your document uses many > literal occurrences that might be interpreted as markup. Usually > things are not so complex. > > What I tend to do is to use a passthrough markup around literal > content, such as backquotes. Also this is usually styled so it makes > the literal text different, making it more distinguishable to readers. > But I acknowledge you might not want to do that. > > Cheers > Lex > > -- > You received this message because you are subscribed to a topic in the > Google Groups "asciidoc" group. > To unsubscribe from this topic, visit > https://groups.google.com/d/topic/asciidoc/_7q0bIp0BNo/unsubscribe. > To unsubscribe from this group and all its topics, 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. > > > -- > Ted Toal, PhD Candidate, [email protected] > Brady Lab, UC Davis, Life Sciences 2243 > One Shields Ave., Davis, CA 95616, ph: (530) 752-2537 > > > > > > > > -- > 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. -- 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.
