[FM Discuss] Creating table of contents via anchor links

Ed Cable edcable at gmail.com
Thu May 12 16:54:40 PDT 2011


Adam,

I think you might have been confused on my original post.

I've been using the format of #anchor and not chaptername#anchorname but
this results in a proper bookmark link in the edit mode but in published
mode the #anchor gets rendered as chaptername#anchorname

Ed

On Thu, May 12, 2011 at 4:47 PM, adam <adam at xs4all.nl> wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> hey Ed,
>
>
>
> On 05/13/2011 01:41 AM, Ed Cable wrote:
> > Hey Adam,
> >
> > I hope whatever sprint you are it is going well. Just checking to see if
> > you'd had a chance to fix the internal linking issue.
>
> did u try the solution i suggested? for internal links in a chapter that
> suggestion should work...
>
> :)
>
> adam
>
>
> >
> > Cheers,
> >
> > Ed
> >
> > On Fri, May 6, 2011 at 3:31 AM, adam <adam at xs4all.nl> wrote:
> >
> > ok....so...if the link is internal to the chapter use the format :
> >
> > '#anchor'
> >
> > not
> >
> > 'chaptername#anchorname'
> >
> > if the anchor is in another chapter we have a problem and one i will fix
> > shortly. essentially its a response to michaels issue some weeks ago
> > that we should not rename chapters at publish time to include the
> > chapter number in the url (eg. 'chaptername' not 'chxxxx_chaptername')
> >
> > i will fix this and do so in such away that the chxxx_ links still
> > work...then your anchors will also work between chapters
> >
> > wont be this week though
> >
> >
> >
> >
> > adam
> >
> >
> >
> >
> > On 05/05/2011 05:52 PM, Ed Cable wrote:
> >>>> Hello all,
> >>>>
> >>>> Seeking some assistance with the Booki editor.
> >>>>
> >>>> Across a number of pages in our Mifos User Manual (
> >>>> http://en.flossmanuals.net/mifos-user-manual), we've set up anchor
> links
> > to
> >>>> create table of contents at the top of each page.
> >>>>
> >>>> What we did was simply create the anchor and then created an internal
> > link
> >>>> at the top (i.e. <a href="#anchor-name">...
> >>>>
> >>>> While in the book editing/viewing interface these links would work
> fine
> > with
> >>>> them properly going to the anchored section further down the page.
> >>>>
> >>>> However once published, the internal links weren't formed properly.
> >>>>
> >>>> For example on the How to Work with Roles, Permissions, and Systems
> Users
> >>>> page, while viewing you can click through to the anchors successfully:
> >>>> http://booki.flossmanuals.net/mifos-user-manual/edit/#hierarchies
> >>>>
> >>>> However on the published page, the URLs are as such:
> >>>>
> >>>> On the chapter, How to define new and change existing loan products (
> >>>>
> >
> http://en.flossmanuals.net/mifos-user-manual/ch024_how-to-define-new-and-change-existing-loan-products/
> >>>> )
> >>>>
> >>>> The anchor link formed when inserting <a href="#waive-interest"> is:
> >>>>
> >
> http://en.flossmanuals.net/mifos-user-manual/ch024_how-to-define-new-and-change-existing-loan-products/how-to-define-new-and-change-existing-loan-products/#waive-interest
> >>>>
> >>>> If I add <a href="/#waive-interest">, the url becomes:
> >>>> http://en.flossmanuals.net/#waive-interest
> >>>>
> >>>> I'm pretty certain (but might be wrong) that these were working fine
> > until I
> >>>> recently started publishing changes to our manual via the GetBooki
> >>>> interface.
> >>>>
> >>>> I've looked around for documentation on this but not found any -
> please
> >>>> point me in the right direction if there is some :)
> >>>>
> >>>> Thanks,
> >>>>
> >>>> Ed
> >>>>
> >>>>
> >>>>
> >>>>
> >>>> _______________________________________________
> >>>> Discuss mailing list
> >>>> Discuss at lists.flossmanuals.net
> >>>> http://lists.flossmanuals.net/listinfo.cgi/discuss-flossmanuals.net
> >
> _______________________________________________
> Discuss mailing list
> Discuss at lists.flossmanuals.net
> http://lists.flossmanuals.net/listinfo.cgi/discuss-flossmanuals.net
> >>
>
> > _______________________________________________
> > Discuss mailing list
> > Discuss at lists.flossmanuals.net
> > http://lists.flossmanuals.net/listinfo.cgi/discuss-flossmanuals.net
>
> - --
>
>
> - --
> Adam Hyde
> Founder FLOSS Manuals
> Project Manager Booki
> Book Sprint Facilitator
> +49 01774935122
>
>
> Please note: I am not usually online on weekends unless facilitating a
> Book Sprint
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.10 (GNU/Linux)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
>
> iQEcBAEBAgAGBQJNzHGpAAoJENaIz+he8+X+XO4H+wSNj7AffOv8Dba97PjkACss
> 79ek46RXVBOHJc9J34uGcsOql0rKt9SgQdGZX11Y1puKZcpeARZRe4Pg2z4uIPhV
> gswG/8sJvtxYUSi1dEkpxBWdvGTNIZGgJkABxSSrpxssxDRJJfHgtUrkJSYbX3Lk
> Wu4gePDAPYXfmD2iWCBARUPH5Pj8YITVPqgj9ra9P68ctS6cPzuxV/MPjh6mI8v+
> pDaQiT2mfiGjBpmXzsD1bK48cNpCq9bCR/wwW0fVkG7at/g9akeUlZm43C0SQg/6
> ZX2LwZGGgalXf0/UnlGXRClIN6tppGyeLQu0YYqQQr7/HtSu1A1YhHfT3s+9odo=
> =5mKm
> -----END PGP SIGNATURE-----
> _______________________________________________
> Discuss mailing list
> Discuss at lists.flossmanuals.net
> http://lists.flossmanuals.net/listinfo.cgi/discuss-flossmanuals.net
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.flossmanuals.net/pipermail/discuss-flossmanuals.net/attachments/20110512/4194f005/attachment.htm>


More information about the Discuss mailing list