The New York Times: Stanza: “The iPhone or iPod Touch can act as an electronic book reader.”
Tip of the Week: Turn Your iPhone Into an e-Book

Poetry line endings

For poetry, line endings are quite important and there's a need for lines that end with no extra leading, just go down to the next line.

It appears the Stanza in all formats I've tried has no way to do this. It appears that always adds extra leading after in an HTML file and after LF/CR in a text file. Most other line ending combinations are ignored such as CR/LF in a txt file or just CR or just LF.

Similarly the line endings in .DOC files seem pretty much out of control as well.

Is there a concept in Stanza of a single spaced line? If so, how is it encoded either in .txt or .html?

nice new thanks for sharing

nice new thanks for sharing :)
saç ekimi
estetik
laptop

support's picture

Poetry is a problem for

Poetry is a problem for Stanza Desktop because we use statistical analysis to determine how line breaks are handled in a document, and we make some assumptions that the input text is prose. The most reliable solution might be to take the poem and save it as an .html file, and then take that .html file and convert it to ePub using a non-Stanza tool like Calibre (available at http://calibre.kovidgoyal.net). Once you have it in ePub, you can open it in Stanza Desktop and transfer it to Stanza iPhone. Note that Stanza Desktop will continue to ignore the line breaks, but they will be preserved when transferring it to Stanza iPhone (this is assuming that your goal is to read the poems on Stanza iPhone).

If you have the file in HTML,

If you have the file in HTML, then enclose the poem in <PRE> tags
e.g.
<PRE>
poen
...
</PRE>
That should stop it being re-formatted.

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.