On Sat, Sep 12, 2009 at 11:30 AM, Marcello Perathoner <marcello@perathoner.de> wrote:
Sankar Viswanathan wrote:

Most of the post processors in D.P depend on Guiguts for post processing.  More than 80% of the texts have been produced by using Guiguts. But for the availability of the Guiguts program many of the post processors would have never ventured to post process.

That's the more water to my mill. You need a custom program to proof the txt file while any old editor can proof html.

Guiguts processes the output of the DP proofing process. That output is neither raw text, nor raw HTML. It's a mix of different markups that struggles to find a balance between unambiguous output, and ease of the actual proofing process. The format is one that's relatively easy to pick-up, as unobtrusive as possible to the proofing process, and one that can be fairly automatically converted to both text and html by the tools that have been designed.

 
I installed guiguts and downloaded Hamlet #1524. Then I pushed the 'Autogenerate HTML' button in guiguts. This is part of what I got:

<p>Ham.
To be, or not to be,&mdash;that is the question:&mdash;
Whether 'tis nobler in the mind to suffer
The slings and arrows of outrageous fortune
Or to take arms against a sea of troubles,
And by opposing end them?&mdash;To die,&mdash;to sleep,&mdash;
No more; and by a sleep to say we end
The heartache, and the thousand natural shocks
That flesh is heir to,&mdash;'tis a consummation
Devoutly to be wish'd. To die,&mdash;to sleep;&mdash;
To sleep! perchance to dream:&mdash;ay, there's the rub;
For in that sleep of death what dreams may come,
When we have shuffled off this mortal coil,
Must give us pause: there's the respect
That makes calamity of so long life;
For who would bear the whips and scorns of time,
The oppressor's wrong, the proud man's contumely,
The pangs of despis'd love, the law's delay,
The insolence of office, and the spurns
That patient merit of the unworthy takes,
When he himself might his quietus make
With a bare bodkin? who would these fardels bear,
To grunt and sweat under a weary life,
But that the dread of something after death,&mdash;
The undiscover'd country, from whose bourn
No traveller returns,&mdash;puzzles the will,
And makes us rather bear those ills we have
Than fly to others that we know not of?
Thus conscience does make cowards of us all;
And thus the native hue of resolution
Is sicklied o'er with the pale cast of thought;
And enterprises of great pith and moment,
With this regard, their currents turn awry,
And lose the name of action.&mdash;Soft you now!
The fair Ophelia!&mdash;Nymph, in thy orisons
Be all my sins remember'd.</p>

Guiguts wasn't designed to convert existing texts. It's purpose is to help a DP PPer turn the output of the DP rounds into the final product seen on PG. In this case, the DP text for a piece of poetry would have had the poetry wrapped in poetry markers, signifying to Guiguts that it had to treat the block of text as non-wrappable poetry, and not just a straight paragraph of prose.

 

--
Marcello Perathoner
webmaster@gutenberg.org
_______________________________________________
gutvol-d mailing list
gutvol-d@lists.pglaf.org
http://lists.pglaf.org/mailman/listinfo/gutvol-d