Thanks for the very prompt reply.<div>I believe that this is a bug then, include does not use the same definition of an anchor token as does the code that parses links and anchors.<div><br></div><div>PmWiki correctly creates anchors, and correctly links to them. (ie [[#sec1.2]] and [[#sec1.2 | 1.2]])</div>
<div>(Honouring the syntax as defined in <a href="http://www.w3.org/TR/html4/types.html#type-name">http://www.w3.org/TR/html4/types.html#type-name</a> - "ID and NAME tokens must begin with a letter ([A-Za-z]) and may be followed by any number of letters, digits ([0-9]), hyphens ("-"), underscores ("_"), colons (":"), and periods (".").").</div>
<div><br></div><div>I have created hundreds of these anchors, and links to them.</div><div>This is the first time I tried to include using them however.</div>
<div><br></div><div>I'll create a PITS entry</div><div><br></div><div>thanks</div><div><br></div><div>Simon</div><div><br></div><div><br><br><div class="gmail_quote">On 8 April 2012 12:50, Petko Yotov <span dir="ltr"><<a href="mailto:5ko@5ko.fr" target="_blank">5ko@5ko.fr</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div>On Sunday 08 April 2012 12:12:35 Simon wrote:<br>
> <a href="http://www.pmwiki.org/wiki/Test/IncludeAndAnchor" target="_blank">http://www.pmwiki.org/wiki/Test/IncludeAndAnchor</a><br>
> I am having difficulty with including content from another page where the<br>
> anchor is of the format [[#sec1.2]]<br>
<br>
</div>Currently, the included sections should start with a letter, followed by<br>
letters, digits, simple dash - or underscore _ characters.<br>
<br>
I suppose you could select one of [[#sec12]], [[#sec1-2]] or [[#sec1_2]].<br>
<br>
Petko<br>
<br>
<br>
_______________________________________________<br>
pmwiki-devel mailing list<br>
<a href="mailto:pmwiki-devel@pmichaud.com" target="_blank">pmwiki-devel@pmichaud.com</a><br>
<a href="http://www.pmichaud.com/mailman/listinfo/pmwiki-devel" target="_blank">http://www.pmichaud.com/mailman/listinfo/pmwiki-devel</a><br>
</blockquote></div><br><br clear="all"><div><br></div>-- <br>____<br><a href="http://kiwiwiki.co.nz" target="_blank">http://kiwiwiki.co.nz</a><br>
</div></div>