An AsciiDoc bibliographic anchor can only contain alphanumeric characters and
dashes. I cannot remember why that restriction was adopted since you are allowed
any ascii characters in the anchor name
(http://www.w3.org/TR/html401/struct/links.html#h-12.2.1). My understanding is
that in XHTML and DocBook the anchor id can be any valid XML name
(http://www.w3.org/TR/REC-xml/#NT-Name), correct me if I'm wrong. So underscore
and colon characters should also be allowed.
> Thanks for your consideration.
Your example should now work.
On 11/08/10 17:38, Suraj N. Kurapati wrote:
Thank you very much! I'll try to adjust the Vim syntax highlighting
to reflect this change also.
Thanks for the patch, but I'm afraid it did not fix the highlighting:
The "::Unit" portion still appears in the same style as the "::" above.
This is a very minor problem, so please don't bother too much about it.
On 12/08/10 17:19, Suraj Kurapati wrote:
> On Wed, Aug 11, 2010 at 4:10 PM, Stuart Rackham<srac...@gmail.com> wrote:
>> On 12/08/10 10:41, Suraj Kurapati wrote:
>>> On Wed, Aug 11, 2010 at 2:13 PM, Stuart Rackham wrote:
>>>> I've relaxed the anchor ID name syntax in the trunk:
>>> I'll try to adjust the Vim syntax highlighting to reflect this change
>> Try attached patch.
> Thanks for the patch, but I'm afraid it did not fix the highlighting:
> [[[Test::Unit]]]:: http://...
> ^^^^^^ ^^
> |||||| ||
> The "::Unit" portion still appears in the same style as the "::" above.
Works for me with your example:
See attached screenshot.
You are correct. I did not install the syntax file correctly. Sorry.