
Scott Lawton wrote:
Since the original example is the first chapter, it has an additional (and common) complication: the book title appears first. Well, that description suggests:
<div n="1" type="chapter"> <head type="book">The Romance of Merlin.</head> <head type="label">CHAPTER I</head> <head>CONSULTATION OF DEVILS, AND BIRTH OF MERLIN.</head>
Thoughts?
The book title is at a different level from a chapter title so it gets its own div. If you find multiple chapter titles, you decide which is the main one and which are subtitles. <div type="book"> <head>The Romance of Merlin</head> <div type="chapter"> <head type="sub">Chapter I</head> <index index="toc" /> <head>Consultations of Devils, and Birth of Merlin</head> In PGTEI the <index level1> attribute defaults to the contents of the next <head> element. This will give you "Consultatons ..." in the TOC instead of "Chapter I". If you want it different just use <index index="toc" level1="Chapter I, Birth of Merlin" /> or something like this. -- Marcello Perathoner webmaster@gutenberg.org