Opened 21 years ago

Closed 21 years ago

Last modified 21 years ago

#809 closed defect (later)

Customise header and footer information

Reported by: Matthew Burgess Owned by: lfs-book@…
Priority: lowest Milestone:
Component: Book Version: CVS
Severity: normal Keywords:
Cc: jeroen@…

Description

The default headers and footers could be improved in both the HTML & PDF outputs. The closest thing I could find in the archives describing the issue was my response (http://archives.linuxfromscratch.org/mail-archives/lfs-dev/2004-April/044404.html)

to Bill's original observation that the date's had gone AWOL from the header.

Attachments (3)

chapter07.html.bz2 (1.3 KB ) - added by manuel@… 21 years ago.
First test case, original output.
chapter07-tidy.html.bz2 (1.4 KB ) - added by manuel@… 21 years ago.
First test case, tidyed version.
chapter07.html (3.5 KB ) - added by manuel@… 21 years ago.
Second testcase, HTML tidyed.

Download all attachments as: .zip

Change History (11)

by manuel@…, 21 years ago

Attachment: chapter07.html.bz2 added

First test case, original output.

comment:1 by manuel@…, 21 years ago

Cc: jeroen@… added
Summary: Customise header and footer information Customise header and footer information

by manuel@…, 21 years ago

Attachment: chapter07-tidy.html.bz2 added

First test case, tidyed version.

comment:2 by jeroen@…, 21 years ago

I looked at the tidyed output... There's a <hr> in <ul class="headerlinks">; this should be below the containing <div>. I have questioned the use of <li> for the book title and section title, but I'm not sure what would be the most correct tag for it. I thought about <h1> for book title and <h2> for section title, but it doesn't seem appropriate to use those headers for recurring information. And since it's function and thus meaning is similar to the constant navigation on a website, I think that their current markup is probably the best solution.

Everything else seems good in the headers!

by manuel@…, 21 years ago

Attachment: chapter07.html added

Second testcase, HTML tidyed.

comment:3 by manuel@…, 21 years ago

attachments.isobsolete: 01

comment:4 by jeroen@…, 21 years ago

Nice work! The headers are semantically correct and great as far as I am concerned. Will work on some accompanying CSS on saturday.

comment:5 by manuel@…, 21 years ago

Here is a complete version of the book with the new header and footer taging: http://www.lfs-es.org/newxml

comment:6 by manuel@…, 21 years ago

Ready to go. This changes don't affect the XML code, only the stylesheets/lfs-chunked.xsl file.

This is controlled by the templates named "Header Navigation" and "Footer Navigation"

comment:7 by manuel@…, 21 years ago

Resolution: later
Status: newclosed

Fixed in the lfs-xsl-0.8 tarball. Pospossed their aplication to the book until have a good CSS. Jereon??

comment:8 by manuel@…, 21 years ago

Fixed in HEAD

Note: See TracTickets for help on using tickets.