Opened 20 years ago

Closed 20 years ago

#808 closed defect (fixed)

Automate the generation of appendix information

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

Description

Appendices A & B can be automated with judicious use of XSL stylesheets and relevant XML tags in the source files. See thread starting at http://archives.linuxfromscratch.org/mail-archives/lfs-dev/2004-April/044402.html and patches/HTML output tarballs at http://archives.linuxfromscratch.org/mail-archives/lfs-dev/2004-April/044404.html

Attachments (1)

longindex.html (18.0 KB ) - added by manuel@… 20 years ago.
longindex.html tidyed

Download all attachments as: .zip

Change History (8)

comment:1 by manuel@…, 20 years ago

A new testcase is ready. HTML: http://www.lfs-es.org/newindex/index.html XML: http://www.lfs-es.org/newindex/newindex.tar.bz2 This version contain more pages indexed to catch all the possible variations that I can find in the current book.

by manuel@…, 20 years ago

Attachment: longindex.html added

longindex.html tidyed

comment:2 by manuel@…, 20 years ago

Another testcase.

HTML: http://www.lfs-es.org/newindex/index.html XML: http://www.lfs-es.org/newindex/newindex.tar.bz2 Changed the <span> tags for <div> and added this code to the CSS: div.item {

font-weight: bold; width: 12pc; float: left;

} div.secitem {

width: 9.5pc; float: left;

}

comment:3 by manuel@…, 20 years ago

Here is a full render and sources of the new Index and other stuff: http://www.lfs-es.org/newxml

comment:4 by manuel@…, 20 years ago

Ready to go. Pluss apply the patch the following is needed:

  • Remove appendixa/appendixa.xml and appendixb/appendixb.xml
  • Adapt prologue/organization.xml to the new structure

comment:5 by Matthew Burgess, 20 years ago

I think I've got my understanding right, but confirmation would be appreciated.

This is a content related fix (i.e. removing XML source), whereas bug 812 is

the layout related fix for the same area. I assume they're independent of each other (i.e. I don't *need* to apply both patches at the same time - although in all likelihood both patches will be applied very closely to each other)?

comment:6 by manuel@…, 20 years ago

Severity: normalminor

Not, Bug 812 is related to the TOC rendering, i.e, the "Table of contects" section in index.html. Both the Index and the TOC issues are different things and are controled by different templates. The only bug that actually require changes in the XML is this. The others could be postponed comment out the relates templates until we will have a good CSS stylesheet to improve their look with grapphical browser.

comment:7 by manuel@…, 20 years ago

Resolution: fixed
Status: newclosed

Fixed in the newxml module.

Note: See TracTickets for help on using tickets.