[FM Discuss] Creating table of contents via anchor links
adam
adam at xs4all.nl
Thu May 12 17:04:39 PDT 2011
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
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> 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> 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
>
_______________________________________________
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/
iQEcBAEBAgAGBQJNzHWVAAoJENaIz+he8+X+yYQH/jot0+vHQ3JWV/xSGquDsFlQ
1DmBBlo4hoUt1qyJtLdj4NNfFl/7kqhDaZtykOqle6hckKMyWG6+3lrWxqSmIJVv
hzsCmBKZNXVZlqptwimwWOJOiGkM/THXWvVy/cDBKjlq70lHODXnsuLYy0YHVuvA
NX50nX9yTG6jDoTG1CKfN9WtlwGP2hsun4fv/Wk4e8dQJfbqcEEGvIlB4n3HikOV
LBA7AeVpYzhAKi1hdOhY85hk+0nLBmA1ukkU4WtDBgW/SF6K9MoFs0vsZY6USIu5
5dakgGWFm8EmEtoAc3uuNLH5PTcxo4ELR6VylTCsMD1q4+eQtFMt0Gp1baEJxD0=
=TfNS
-----END PGP SIGNATURE-----
More information about the Discuss
mailing list