Opened 21 years ago
Closed 21 years ago
#812 closed defect (fixed)
Proposal to modify the book TOC in newxml
Reported by: | Owned by: | ||
---|---|---|---|
Priority: | lowest | Milestone: | |
Component: | Book | Version: | CVS |
Severity: | normal | Keywords: | |
Cc: |
Description
I've made a couple of changes to the default generated index.html as a POC. This cleans up the index a bit both for the eyes and to reduce redundant links. I only made the change in the HTML because I couldn't figure out how to do it in the xml. The proposal is at: http://www.linuxfromscratch.org/~archaic/index-proposed.html
Attachments (2)
Change History (12)
comment:1 by , 21 years ago
comment:2 by , 21 years ago
This need some disscusion in the list and a editorial decision before make the chages in the
templates. Also there are some issues in the used tags that should be fixed, noted be Jeroen in this post: http://archives.linuxfromscratch.org/mail-archives/lfs-dev/2004-April/044552.html As a side note, archiac, please change in the Summary of this bug "index" by "TOC", I can't do it.
comment:3 by , 21 years ago
rep_platform: | PC → All |
---|---|
Summary: | Proposal to modify the book index in newxml → Proposal to modify the book TOC in newxml |
comment:5 by , 21 years ago
Looks good, though I'm not sure why all links need to be <h4>. If you'd like to get all headers equal in the book it would make sense, but I think the use of <h?> should be decided based on the context of a page. In this context, the <h4>'s aren't real headers of anything. Thus, I recommend dropping the use of <h4> for the links.
comment:7 by , 21 years ago
Added both propossals to the full render of the book and sources that can be found here:
comment:8 by , 21 years ago
Manuel, is this ready to go? It looks great, but before I apply your patch I'd like you to confirm there's no outstanding issues. The only thing left that I can think of is removing "Installing" from our package installation pages. So "Installing Autoconf-2.59" simply becomes "Autoconf-2.59".
comment:9 by , 21 years ago
Ready to go. This changes don't affect the XML code. It's controled by the "toc.list.type" param and
"toc.line" temple under the "TOC Stuff" section in stylesheets/lfs-chunked.xsl Complementary, removing the "Installing" word fron the title pages could improve the readability. Maybe we need also a CSS to fix the spaces betewn lines.
Forgot to mention that some judicious use of <h?> tags might make the sections stand out a little nicer as well.