View Single Post
Old 08-23-2009, 09:13 PM   #58
nrapallo
GuteBook/Mobi2IMP Creator
nrapallo ought to be getting tired of karma fortunes by now.nrapallo ought to be getting tired of karma fortunes by now.nrapallo ought to be getting tired of karma fortunes by now.nrapallo ought to be getting tired of karma fortunes by now.nrapallo ought to be getting tired of karma fortunes by now.nrapallo ought to be getting tired of karma fortunes by now.nrapallo ought to be getting tired of karma fortunes by now.nrapallo ought to be getting tired of karma fortunes by now.nrapallo ought to be getting tired of karma fortunes by now.nrapallo ought to be getting tired of karma fortunes by now.nrapallo ought to be getting tired of karma fortunes by now.
 
nrapallo's Avatar
 
Posts: 2,958
Karma: 2530531
Join Date: Dec 2007
Location: Toronto, Canada
Device: REB1200 EBW1150 Device: T1 NSTG iLiad_v2 NC Device: Asus_TF Next1 WPDN
Quote:
Originally Posted by Stephanos View Post
Thanks. I did notice another issue. I converted Gutenberg text 10739 (Schopenhauer) and ended up losing the "Translator's Preface". This is probably an issue with Gutenmark but any light you can shed on it would be appreciated.
Yes, you're right that GutenMark creates this issue as the translated .txt to .htm has the header removed ( the <DIV class=NOPRINT> ... </DIV>) and that header extends too far. The closing </DIV> just before <h1>HUMAN NATURE.</h1> should have occurred before the Title Page and Translator's Preface. Below is that HTML code created by GutenMark for Etext No. 10739:
Code:
<DIV class=NOPRINT>
<h1>Prefatory Materials</h1>

<blockquote><i><font size="-1">
This is a modified etext created by <b>GutenMark</b> software.
&nbsp; Any comments below about etext preparation refer to the
<u>original</u>, and not to this modified version of the etext.&nbsp;
No individuals named below bear responsibility for changes to the text.
</font></i></blockquote>

<p>Project Gutenberg’s The Essays Of Arthur Schopenhauer,
by Arthur Schopenhauer</p>

<p>This eBook is for the use of anyone anywhere at no
cost and with<br>
almost no restrictions whatsoever.*  You may copy
it, give it away or<br>
re-use it under the terms of the Project Gutenberg
License included<br>
with this eBook or online at www.gutenberg.net</p>

<p>Title:* The Essays Of Arthur Schopenhauer</p>

<p>Author:* Arthur Schopenhauer</p>

<p>Release Date:* January 18, 2004 [EBook #10739]</p>

<p>Language:* English</p>

<p>Character set encoding:* ISO-8859-1</p>

<p>*** START OF THIS PROJECT GUTENBERG EBOOK THE ESSAYS
OF ARTHUR SCHOPENHAUER ***</p>

<p>Produced by Juliet Sutherland, Josephine Paolucci
and the Online<br>
Distributed Proofreading Team.</p>

<p>THE ESSAYS</p>

<p>OF</p>

<p>ARTHUR SCHOPENHAUER</p>

<p>TRANSLATED BY</p>

<p>T. BAILEY SAUNDERS, M.A.</p>

<p>ON HUMAN NATURE.</p>

<p>CONTENTS.</p>

<p>**HUMAN NATURE<br>
**GOVERNMENT<br>
**FREE-WILL AND FATALISM<br>
**CHARACTER<br>
**MORAL INSTINCT<br>
**ETHICAL REFLECTIONS</p>

<p>TRANSLATOR’S PREFACE.</p>

<p>The following essays are drawn from the chapters entitled
<i>Zur Ethik</i><br>
and <i>Zur Rechtslehre und Politik</i> which are to
be found both in<br>
Schopenhauer’s <i>Parerga</i> and in his posthumous
writings.* As in my<br>
previous volumes, so also in this, I have omitted
a few passages which<br>
appeared to me to be either antiquated or no longer
of any general<br>
interest.* For convenience’ sake I have
divided the original chapters<br>
into sections, which I have had to name; and I have
also had to invent<br>
a title which should express their real scope.*
The reader will find<br>
that it is not so much <i>Ethics</i> and <i>Politics</i>
that are here treated,<br>
as human nature itself in various aspects.</p>

<p>T.B.S.</p>

</DIV>
<h1>HUMAN NATURE.</h1>
Please note that I used the following commands (in bold) to see this HTML code:
Code:
E:\ebooks\GuteBook\10739\10739-8>..\..\bin\setpath

E:\ebooks\GuteBook\10739\10739-8>gutenmark --no-prefatory --yes-header --page-breaks 10739-8.txt 10739-8.htm
But all is not lost, as with GuteBook, you can make a quick fix and re-generate your ebook(s) without re-running the GuteBook GUI.

Here's how I would do that:
1. Extract/copy the html code for that Title Page and Translator's Preface i.e.
Code:
<p>THE ESSAYS</p>

<p>OF</p>

<p>ARTHUR SCHOPENHAUER</p>
down to the the line just before the closing </DIV> and paste it into the 10739-8-h.htm file created by GuteBook.
2. 'double-click' the rebuild-10739.bat in the 10739 folder.
3. Inspect your resulting ebook(s) and if not acceptable go back to step 1 above and re-fix the HTML code. For instance, the Translator's Preface contains some <br> that should really be removed to properly allow reflow and I wanted the first chapter (HUMAN NATURE) to then start on a new page. I did re-run rebuild-10739.bat and that's what I'll attached here.

To show you what get's produced, I attach the modified 10739.epub for your review and reading pleasure.

Last edited by nrapallo; 08-24-2009 at 03:07 PM. Reason: typo
nrapallo is offline   Reply With Quote