And you could disable the ++...++ unconstrained quotes completely by putting
this in the document header:
:quotes.++:
See
http://www.methods.co.nz/asciidoc/userguide.html#_setting_configuration_entries
Cheers, Stuart
On 21/01/11 00:05, Henrik wrote:
This topic has also been discussed earlier:
http://groups.google.com/group/asciidoc/t/b838e2b5d2ca6d0c
and
http://groups.google.com/group/asciidoc/t/91d4524fe0fe6d96
On Jan 15, 3:15 pm, Markus<[email protected]> wrote:
I think I have found some unintended behaviour in ASCIIDOC 8.6.3. In
fact, I did a "hg pull" the other day, so it might even be newer than
"regular" 8.6.3.
$ hg parents
changeset: 915:4f55b34a5b02
tag: tip
user: Stuart Rackham<[email protected]>
date: Thu Dec 02 12:25:20 2010 +1300
summary: Documentation updates.
Consider this sample document:
This document demonstrates the C++ bug
--------------------------------------
If you mention C++ only once in a paragraph, all is well.
If, however, you mention C++ twice in a paragraph, saying, for
instance,
that C++ is an object oriented language ASCIIDOC will take the
``plus''
symbols to mean ``monospaced''. Mentioning C++ a third time, it'll
work
again.
The resulting HTML is not quite what I would have expected:
<h2 id="_this_document_demonstrates_the_c_bug">This document
demonstrates the C++ bug</h2>
<div class="sectionbody">
<div class="paragraph"><p>If you mention C++ only once in a paragraph,
all is well.</p></div>
<div class="paragraph"><p>If, however, you mention C<tt> twice in a
paragraph, saying, for instance,
that C</tt> is an object oriented language, ASCIIDOC will take the
“plus”
symbols to mean“monospaced”. Mentioning C++ a third
time, it’ll work
again.</p></div>
</div>
As you can see, if C++ appears once in a paragraph (heading and 1st
paragraph of the body text), all is well. But if there's two C++
mentions in one paragraph, ASCIIDOC will strip both occurrences of "+
+" and will format the text in between monospaced.
Thanks,
-Markus
--
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.