
Lee, My opinion is that in this book page numbers serve no useful purpose. I was planning to get rid of them entirely and joining paragraphs that are split across pages. I just wanted to be certain that Bowerbird had some plan to do that. James Simmons On Wed, Jan 18, 2012 at 11:06 AM, Lee Passey <lee@novomail.net> wrote:
On Wed, January 18, 2012 9:12 am, James Simmons wrote:
I'm still kind of puzzled about how we're going to deal with page breaks (and numbers) in the final output.
Am I correct in assuming that the final output will be HTML? If so, I see two options:
1. Place an anchor at each page break, e.g.:
<a id="pg0027" title="27"></a>
(I don't like self-closing anchor tags because many user agents don't understand them). This will provide a mark inside the file that will be invisible to the user, but can be used for navigational purposes, as well as automated refactoring.
2. Use a page-break <span>, e.g.:
<span id="pg0027" class="page-break">27</span>
This case is a little more intrusive, but on a CSS-enabled user agent the page numbers can still be suppressed by adding a CSS rule to hide page numbers, e.g.:
span.page-break { display:none }
It also allows fancy CSS to move page numbers into the margin. I'm less happy with this solution because I have a rule of thumb that says that everyone should author HTML in such a way that the rendering should be acceptable (not necessarily ideal) on a user agent that doesn't understand CSS.
HTH Lee
_______________________________________________ gutvol-d mailing list gutvol-d@lists.pglaf.org http://lists.pglaf.org/mailman/listinfo/gutvol-d