David Abrahams wrote:
I don't have a big problem with self-linking for a heading that isn't in the TOC.
The only heading that's in the TOC in the MPL docs is the one at the top of the page. For that, as Daryle noted, there's a simpler way to grab the URL: get it from the address bar. I don't care so much about that topmost heading. I care about the ones down under. It just so happens that with BoostBook, you can't really know in advance which headings will be a top-page heading. In BoostBook, the user has control over the chunking of the pages to html. You can, for example have it all dumped into one big html file or small, fine grained html files. So, QuickBook does not really have any knowledge if it's a top-page section or not, and change the behavior accordingly. XSLT has that knowledge, though, so the smarts can be moved there. However, I don't quite like having different behavior for top-headings and sub-headings. IMO, we should have one and only one behavior for all headings, else kill it altogether.
Maybe the only right way to resolve this in the end is to get Jonathan Turkanis' menu control integrated with BoostBook.
Maybe :) Or the one Vladimir pointed out. Regards, -- Joel de Guzman http://www.boost-consulting.com http://spirit.sf.net ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ Boost-docs mailing list [email protected] Unsubscribe and other administrative requests: https://lists.sourceforge.net/lists/listinfo/boost-docs
