You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@forrest.apache.org by Linda Rose <li...@cox.net> on 2004/11/06 00:29:37 UTC
named anchors in html docs
Hi,
I have an html source file with links to named anchors. When I convert it
using Forrest, the named anchors seemed to be stripped out, see
http://www.alexandria.ucsb.edu/adl/docs_software/site/devguide/SBD.html and
scroll down to the Geographic locations link. It's suppose to link to a
named anchor further down in the file. Is there a better way to create links
within a file?
Thanks,
Linda
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Linda Rose
Webmaster, Alexandria Digital Library Project
http://www.alexandria.ucsb.edu
lrose@alexandria.ucsb.edu
805 893-8902
Re: named anchors in html docs
Posted by Ross Gardler <rg...@apache.org>.
Fred Deniger wrote:
> <snip/>
>
>>
>> What appears is happening is Forrest is rewriting the anchor name for
>> use in the table of contents, thus breaking your original link. This
>> is a bug (probably in html2document.xsl), please submit it to the
>> issue tracker and if you patch the file please add the patch to the
>> issue too.
>>
> I encountered the same "bug" (with accent) . I have submitted it to the
> issue tracker :
> http://issues.cocoondev.org/browse/FOR-345
> I believe the bug comes from the file "sitmap.xmap" (see the issue for a
> suggestion).
> Fred
Thanks for that info, I just assigned that bug to myself, so it will be
fixed in SVN soon.
Ross
Re: named anchors in html docs
Posted by Fred Deniger <fr...@ifrance.com>.
<snip/>
>
> What appears is happening is Forrest is rewriting the anchor name for
> use in the table of contents, thus breaking your original link. This
> is a bug (probably in html2document.xsl), please submit it to the
> issue tracker and if you patch the file please add the patch to the
> issue too.
>
I encountered the same "bug" (with accent) . I have submitted it to the
issue tracker :
http://issues.cocoondev.org/browse/FOR-345
I believe the bug comes from the file "sitmap.xmap" (see the issue for a
suggestion).
Fred
Re: named anchors in html docs
Posted by Ross Gardler <rg...@apache.org>.
Linda Rose wrote:
> I have an html source file with links to named anchors. When I convert
> it using Forrest, the named anchors seemed to be stripped out, see
> http://www.alexandria.ucsb.edu/adl/docs_software/site/devguide/SBD.html
> and scroll down to the Geographic locations link. It's suppose to link
> to a named anchor further down in the file. Is there a better way to
> create links within a file?
Looking at that the source of that document I see that the link is
marked up as:
<strong><a href="#geoloc">Geographic locations</a></strong>
whilst the intended destination of the link is:
<a name="adl%3Ageographic+locations"></a>
<h3 class="underlined_5">adl:geographic locations</h3>
What appears is happening is Forrest is rewriting the anchor name for
use in the table of contents, thus breaking your original link. This is
a bug (probably in html2document.xsl), please submit it to the issue
tracker and if you patch the file please add the patch to the issue too.
Ross