[FM Discuss] Creating table of contents via anchor links

Luka Frelih luka at ljudmila.org
Sat May 21 05:01:06 PDT 2011


hi ed!

yes, adam asked me to look into it. i was just really busy on account of 
opening an exhibition...
hopefully soon i'll have more substantial things to say... and perhaps a 
solution :)

thanks for caring,
LF

On 20. 05. 2011 20:29, Ed Cable wrote:
> Adam,
>
> Were you able to contact Luka this past week inquiring about this?
>
> Thanks,
>
> Ed
>
> On Thu, May 12, 2011 at 5:46 PM, Ed Cable <edcable at gmail.com 
> <mailto:edcable at gmail.com>> wrote:
>
>     Thanks for checking into that Adam. I'll keep my eyes peeled for a
>     response from Luka - thank you for getting in touch with him.
>
>     Ed
>
>
>     On Thu, May 12, 2011 at 5:36 PM, adam <adam at xs4all.nl
>     <mailto:adam at xs4all.nl>> wrote:
>
>         -----BEGIN PGP SIGNED MESSAGE-----
>         Hash: SHA1
>
>         hey Ed,
>
>         actually i found the problem. i cant fix it as it is an objavi
>         issue.
>         thats good news since tahts lukas domain and luka can probably
>         look at
>         it - hopefully in the next days ...so maybe mid next week it
>         will be
>         fixed...i'll email him and see when he has time
>
>
>         adam
>
>
>
>         On 05/13/2011 02:08 AM, Ed Cable wrote:
>         > Thanks for heads up and your speedy replies.
>         >
>         > Ed
>         > On May 12, 2011 5:04 PM, "adam" <adam at xs4all.nl
>         <mailto:adam at xs4all.nl>> wrote:
>         > ah ok
>         >
>         > i dont think this will be fixed quickly. its complex to
>         explain. it
>         > could be fixed if there any projects that could lend a php
>         programmer to
>         > fm for an afternoon otherwise it will have to wait until i
>         have time
>         > which isnt going to be very soon...
>         >
>         >
>         >
>         > adam
>         >
>         >
>         > On 05/13/2011 01:54 AM, Ed Cable wrote:
>         >>>> 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
>         <mailto:adam at xs4all.nl>> wrote:
>         >>>>
>         >>>> 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
>         <mailto: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
>         <mailto:Discuss at lists.flossmanuals.net>
>         >>>>>>>>>>
>         http://lists.flossmanuals.net/listinfo.cgi/discuss-flossmanuals.net
>         >>>>>>>
>         >>>> _______________________________________________
>         >>>> Discuss mailing list
>         >>>> Discuss at lists.flossmanuals.net
>         <mailto:Discuss at lists.flossmanuals.net>
>         >>>>
>         http://lists.flossmanuals.net/listinfo.cgi/discuss-flossmanuals.net
>         >>>>>>>>
>         >>>>
>         >>>>>>> _______________________________________________
>         >>>>>>> Discuss mailing list
>         >>>>>>> Discuss at lists.flossmanuals.net
>         <mailto:Discuss at lists.flossmanuals.net>
>         >>>>>>>
>         http://lists.flossmanuals.net/listinfo.cgi/discuss-flossmanuals.net
>         >>>>
>         > _______________________________________________
>         > Discuss mailing list
>         > Discuss at lists.flossmanuals.net
>         <mailto:Discuss at lists.flossmanuals.net>
>         >
>         http://lists.flossmanuals.net/listinfo.cgi/discuss-flossmanuals.net
>         >>>>>
>         >
>         >>>> _______________________________________________
>         >>>> Discuss mailing list
>         >>>> Discuss at lists.flossmanuals.net
>         <mailto:Discuss at lists.flossmanuals.net>
>         >>>>
>         http://lists.flossmanuals.net/listinfo.cgi/discuss-flossmanuals.net
>         >
>         _______________________________________________
>         Discuss mailing list
>         Discuss at lists.flossmanuals.net
>         <mailto:Discuss at lists.flossmanuals.net>
>         http://lists.flossmanuals.net/listinfo.cgi/discuss-flossmanuals.net
>
>         > _______________________________________________
>         > Discuss mailing list
>         > Discuss at lists.flossmanuals.net
>         <mailto: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 <tel:%2B49%2001774935122>
>
>
>         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/
>
>         iQEcBAEBAgAGBQJNzH0JAAoJENaIz+he8+X+x8QH/1Iz98GR2B93GWZxYOCbkL5/
>         ZExLZrTvOccplzee1znHLd8EjtkalOrjkxIMqkRo6snZOblHN5AzCq1+TqTyPZ9g
>         H6Q6C4w2DR39DcngIIFdQ5M1av8qERB80Wx2jSelJSUIxQT0Yf7Ix3y6fsi2Otev
>         ZeGI4XQdsC3Py3e++nRBCOY3v82foBirwwzO9ATX2NdHRlVfbJes9DjBkYAnBXwE
>         wI8+PVuGmaLvJjxbA8S5sZI/jT5bfmlphxJwe1vJctF4tZgvq2mryB5LpPjduqSb
>         TyiHbXg54oNnnlZA3Vv8TeTQT4nEuU9SV6/11z5/GBN1o0WoPJ+6qomcQGY2iMs=
>         =rrf4
>         -----END PGP SIGNATURE-----
>         _______________________________________________
>         Discuss mailing list
>         Discuss at lists.flossmanuals.net
>         <mailto: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




More information about the Discuss mailing list