[bksvol-discuss] Re: Protecting page numbers and chapter headings

  • From: "Gerald Hovas" <GeraldHovas@xxxxxxxxxxx>
  • To: <bksvol-discuss@xxxxxxxxxxxxx>
  • Date: Sat, 13 May 2006 08:35:06 -0500

Donna,

 

1. The page numbers are what the Stripper is looking for.  That's it's
primary job, to recognize and process page numbers.  Stripping the text that
it finds along with them was just something that the Engineer decided to
throw in for a bonus.  The page numbers are stripped and stored in the SMIL
file according to the DAISY specification.  DAISY readers use this
information to navigate through the book.  The page numbers are put back in
the BRF and HTML files when those files are created.

 

2. Sorry about the periods.  They're just a kind of vertical ellipses to
signify that something's there.  Just a way to make the text part take up
more room.  Ignore them.

 

HTH

 

Gerald

 

  _____  

From: bksvol-discuss-bounce@xxxxxxxxxxxxx
[mailto:bksvol-discuss-bounce@xxxxxxxxxxxxx] On Behalf Of Donna Smith
Sent: Saturday, May 13, 2006 8:20 AM
To: bksvol-discuss@xxxxxxxxxxxxx
Subject: [bksvol-discuss] Re: Protecting page numbers and chapter headings

 

Gerald, this is great information.

 

Two more questions if you don't mind.

 

1.      So if I manually strip all headers, put a blank line then the page
number and then another blank line, the BookShare stripper won't then strip
the page number as the closest thing resembling a header?
2.      I hope I'm not just being too obtuse, but in your examples, do you
mean that I should put in the three lines with a period separated by a blank
line?  What's the purpose of this?

 

Thanks.

 

Donna

 

  _____  

From: bksvol-discuss-bounce@xxxxxxxxxxxxx
[mailto:bksvol-discuss-bounce@xxxxxxxxxxxxx] On Behalf Of Gerald Hovas
Sent: Friday, May 12, 2006 7:19 PM
To: bksvol-discuss@xxxxxxxxxxxxx
Subject: [bksvol-discuss] Re: Protecting page numbers and chapter headings

 

Donna,

 

1.      Yes, put a blank line before and after the page number when the page
number is in the header as well as a blank line at the bottom of the page.
I'm not sure if the blank line is necessary between the page number and the
text, but I can say that putting one after the header does work well.  If
you leave the blank lines at the top and bottom of the pages off, then some
odd things will happen to the page numbers when the HTML file is created.
The page numbers end up as part of a paragraph instead of on a separate
line.

 

Example of how the page should look...

 

[Page Break]

 

95

 

.

.

.

text

.

.

.

 

[Page Break]

 

2.      Yes, put a blank line between the chapter heading and the first line
of text.  Again, I don't know that this is necessary, but it does work well,
and some people have said that it is necessary.

 

3. Yes, you need to give the Stripper something to strip other than the
chapter heading or the chapter heading will be stripped.  The easiest thing
to do when page numbers are normally at the top of pages except on pages
where a chapter begins is to move the page number from the bottom of the
page to the top.  If page numbers are always at the bottom of the page, then
place a false header above the chapter heading.  Using the title works well,
and it won't look as odd if the Stripper fails to strip it for some odd
reason.  It helps to strip all of the real headers manually since its easier
to strip them yourself than to insure that they are consistent so that the
Stripper will remove them all, but if you do leave them in, then just follow
the pattern of the headers and put whatever header would normally appear on
the top of that page above the chapter heading.

 

Examples of how pages should look...

 

[Page Break]

 

95

 

Chapter Seven

 

.

.

.

text

.

.

.

 

[Page Break]

 

[Page Break]

 

The Firm

 

Chapter Seven

 

.

.

.

text

.

.

.

 

95

 

[Page Break]

 

Or if the page would normally contain the author's name instead of the
title...

 

[Page Break]

 

John Grisham

 

Chapter Seven

 

.

.

.

text

.

.

.

 

[Page Break]

 

I can't say that these are the only ways to do it, but I've had excellent
results with these approaches.

 

HTH

 

Gerald

 

  _____  

From: bksvol-discuss-bounce@xxxxxxxxxxxxx
[mailto:bksvol-discuss-bounce@xxxxxxxxxxxxx] On Behalf Of Donna Smith
Sent: Friday, May 12, 2006 5:41 PM
To: bksvol-discuss@xxxxxxxxxxxxx
Subject: [bksvol-discuss] Protecting page numbers and chapter headings

 

Hi all.

 

I hesitate to ask this question, but I can't find the answer on any of the
official or unofficial sites giving tips to scanners.

 

Did we ever determine absolutely what should be done to protect page numbers
and chapter headings?  What I want to know is:

 

1.      At the top of each page, do I need to put a blank line before and/or
after the page number?
2.      For chapter numbers/titles that appear at the top of the page, do I
put a blank line before and/or after it?
3.      Is it necessary to have something at the top of the page for the
BookShare stripper to strip?

 

I spend a good bit of time cleaning up each scan regarding page numbers,
chapter headings and stripping out unwanted headers.  I'm trying to do it in
such a way that it will result in the best book in the finished product.

 

I really, really hope that an answer has been found to this question and
that I'm not opening up the can of worms we've had before about the
different perceptions of what might work.  <smile>

 

Thanks.

 

Peace and Hope,

 

Donna

Other related posts: