[FM Discuss] Creating table of contents via anchor links
adam
adam at xs4all.nl
Fri May 6 03:31:47 PDT 2011
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
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
- --
- --
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/
iQEcBAEBAgAGBQJNw84SAAoJENaIz+he8+X+eU8H/2ymJlIHqEWnIvbkh2RGzzBq
UXoqj5Wsw7fRSXvqEuWAiuaAeqU+LkFLieng0MsNzrk8czMbC3AOIgBBdYCmZNZI
WfyxQQMf1rKZ6DsK5QA/xyFgH2sUf8k6i3iEqlyYlnD4OOWALAFrS/wz8HJRl8US
Q8OWFV4onIDNMAcwjq5xWVWV/fszG0G8ylxd+Qxutf2c67mk3XxL4ekMP9ERm7SV
naVWgrXw+/QMsKmruKZNZXJi9cDNbpI6t+VLbOloBLBct6439EN6MmwZf1mJh8kB
SEe3GYTpjYOl5cmaVg/a0T/Apl3SIpUn4XCBSwu1GxLdoEC9Ctz+MB4GWhSL240=
=tIk6
-----END PGP SIGNATURE-----
More information about the Discuss
mailing list