Re: [gutvol-d] Final PGTEI... page numbers

<pb n="x" /> Where x is the original source page number. Here is a tentative TEI2HTML transform for it... <xsl:template match="/TEI.2/text//pb[@n]"> <span id="page{@n}" class="pagenum">[pg <xsl:value-of select="@n"/>]</span> </xsl:template> (Thanks to Marcello for cleaning up my ugly first attempt at the transform.) The CSS will need a span.pagenum defined to put the [pg x] markup in the side margin. Josh ----- Original Message ----- From: Scott Lawton <scott_bulkmail@productarchitect.com> To: Project Gutenberg Volunteer Discussion <gutvol-d@lists.pglaf.org> Subject: Re: [gutvol-d] Final PGTEI... page numbers Date: Wed, 27 Oct 2004 14:25:15 -0400
Page number markup:
No complaints. I'll be looking into a transform that will place the numbers in the margin, but that is a secondary concern.
I didn't see an explicit way to mark the original page numbers. Perhaps as a marginal note?
<note place="margin">27</note> --
Scott
Practical Software Innovation (tm), http://ProductArchitect.com/ _______________________________________________ gutvol-d mailing list gutvol-d@lists.pglaf.org http://lists.pglaf.org/listinfo.cgi/gutvol-d
participants (1)
-
Joshua Hutchinson