{"id":12447,"date":"2016-06-29T21:49:06","date_gmt":"2016-06-29T20:49:06","guid":{"rendered":"http:\/\/krabat.menneske.dk\/kkblog\/?p=12447"},"modified":"2017-11-08T02:27:49","modified_gmt":"2017-11-08T01:27:49","slug":"solved-auto-breaking-lines-in-epub-poetry-collections","status":"publish","type":"post","link":"https:\/\/krabat.menneske.dk\/kkblog\/2016\/06\/29\/solved-auto-breaking-lines-in-epub-poetry-collections\/","title":{"rendered":"SOLVED&#8230; Auto-Breaking lines in ePub poetry collections! Well, sorta&#8230;"},"content":{"rendered":"<p><span style=\"font-size: 1em;\">No code or CSS in epub and mobi can give you full control of auto-breaking lines and a poem&#8217;s continuity and pauses. <\/span><\/p>\n<p><span style=\"font-size: 1em;\">Use this simple formatting to reclaim <em>both<\/em>\u00a0\u2013 on small screens.<\/span><span style=\"font-size: 1em;\"><br \/>\n<!--more--><\/span><\/p>\n<p>&#8211; &#8211;<\/p>\n<p><strong>OH, I FORGOT!<\/strong><br \/>\nGoing through the contract for my new collection of poetry-as-ebook, ROSSO.NIENTE., I realised\u00a0I was\u00a0<em>still in need <\/em>of\u00a0a way to ensure control of line breaks on various ebook platforms.<\/p>\n<p>Thinking about it <em>miraculously<\/em>\u00a0a Columbus egg manifested \u2013\u00a0a viable solution to the\u00a0problem, which had bugged me since 2010 &amp; prevented me from publishing my poetry in epub and mobi!<\/p>\n<p>&nbsp;<\/p>\n<p><strong>BREATH<\/strong><br \/>\nFor 30+ years line-breaks for me has meant Breath, Breathing. Same\u00a0for punctuation. And\u00a0tabulations. And empty lines. All of these pauses <em>make<\/em> the music of the text. They are the <a href=\"http:\/\/krabat.menneske.dk\/kkblog\/2000\/05\/01\/pause-notation-or-the-music-of-pauses\/\"><strong>Music of Pauses<\/strong><\/a>.<\/p>\n<p>When lines of poetry in modern ebooks come up against\u00a0the right margin (or the left, when reading right to left), industry standard format code encapsulating and controlling the text will auto-break these lines and deposit surplus words as a new line.<\/p>\n<p>Imagine a sheet of music without fractional notes or time signature \u2013\u00a0all sounds would have optional or the same length and there would be no beat to the melody. Songs like that might be termed &#8220;musical info-pieces&#8221; or &#8220;DIY songs&#8221;.<\/p>\n<p>The same with poetry. Without a way to regulate and control intended pauses (&#8216;continuity&#8217;) there is no possibility of a music <em>intentionally<\/em> being embedded in the text. At best the text would just become a stuttering of poetic images. DIY poetry.<\/p>\n<p>&nbsp;<\/p>\n<p><strong>STANDARDS&#8230;<\/strong><br \/>\nBefore the latest epub industry standard EPUB3 was given over to the world, there was a long period in which everyone connected to the industry could contribute by stating their\u00a0wishes \u2013\u00a0which, if implemented, would ultimately determine the look and functionality of ebook-text.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-12478 alignright\" src=\"http:\/\/krabat.menneske.dk\/kkblog\/..\/wp_uploads\/\/2016\/06\/a-madrigal-2.jpg\" alt=\"a-madrigal-2\" width=\"223\" height=\"516\" srcset=\"https:\/\/krabat.menneske.dk\/kkblog\/wp-content\/uploads\/2016\/06\/a-madrigal-2.jpg 391w, https:\/\/krabat.menneske.dk\/kkblog\/wp-content\/uploads\/2016\/06\/a-madrigal-2-151x350.jpg 151w\" sizes=\"auto, (max-width: 223px) 85vw, 223px\" \/>In this period I was trying to make coders realize there was a problem with presenting poetry. ePub had spawned out of html on relatively large computer screens, but once such a text format hits a mobile phone or even a 9&#8243; tablet screen, poetry looking <em>alright<\/em> on a bigger screen will be auto-destroyed by automatically breaking lines \u2013\u00a0simultaneously stealing the copyright of authors by auto-converting text into an EPUB-code made\u00a0<em>simile<\/em>.<\/p>\n<p>2010 EPUB3 coders mocked me by presenting me with their visual perception of\u00a0poetry \u2013\u00a0what\u00a0they had been taught in high school: short-lined\u00a0verses by Shakespeare. <em>Well, but ALL\u00a0poetry is like that!<\/em><\/p>\n<p>Yeah, right!\u00a0And <em>this<\/em> was going to be the industry standard by which all of the world would be publishing digital literature for mass marked sale!?\u00a0I began struggling\u00a0to be heard, but no one cared. The marked for prose was too important.<\/p>\n<p>&nbsp;<\/p>\n<p><strong>INDENTIONS<\/strong><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-12449 alignright\" src=\"http:\/\/krabat.menneske.dk\/kkblog\/..\/wp_uploads\/\/2016\/06\/Screen-Shot-2016-06-29-at-22.00.38.jpg\" alt=\"Screen Shot 2016-06-29 at 22.00.38\" width=\"401\" height=\"366\" srcset=\"https:\/\/krabat.menneske.dk\/kkblog\/wp-content\/uploads\/2016\/06\/Screen-Shot-2016-06-29-at-22.00.38.jpg 460w, https:\/\/krabat.menneske.dk\/kkblog\/wp-content\/uploads\/2016\/06\/Screen-Shot-2016-06-29-at-22.00.38-300x274.jpg 300w, https:\/\/krabat.menneske.dk\/kkblog\/wp-content\/uploads\/2016\/06\/Screen-Shot-2016-06-29-at-22.00.38-383x350.jpg 383w\" sizes=\"auto, (max-width: 401px) 85vw, 401px\" \/>As I was thinking about how to let my new publisher understand that publishing\u00a0an ebook of <em>possibly<\/em> randomized line-breakings was out of the question, and that a\u00a0solution to the problem <em>had<\/em> to be found and agreed upon by both parties, I suddenly remembered the ebook-enthusiastic programmer of <a href=\"https:\/\/calibre-ebook.com\" target=\"_blank\" rel=\"noopener\"><strong>Calibre<\/strong><\/a>, David Goyal.<\/p>\n<p>Back in 2011 he wrote a hack to accommodate poetry, which would indent an auto-broken line enough to give an expression of line coherence (maybe the equivalent of 3 spaces) &#8211; but even if that takes the edge off of poems with auto-broken lines, it still doesn&#8217;t work for people considering tabulations viable in a vocabulary of pauses. One would need to indicate that such an auto-indentation was different from intended tabulations. With a color, maybe&#8230;<\/p>\n<p>(Known EPUB authors <a href=\"http:\/\/www.pigsgourdsandwikis.com\/2012\/01\/media-queries-for-formatting-poetry-on.html\"><strong>Liz Castro<\/strong><\/a>\u00a0[EPUB3] and <a href=\"http:\/\/ebookarchitects.com\/blog\/backwards-compatible-poetry-for-kf8mobi\/\"><strong>Joshua Tallent<\/strong><\/a>\u00a0[mobi\/KF8] both try to code their way out of the problem, but neither\u00a0really see or care about the use of indentations as relevant parts of a poem \u2013 as do neither of two other EPUB coders, I recently spoke with. Though, compared to the coders of 2010 they at least understand that writers can have specific needs, <em>even<\/em> if xml+css cannot help.)<\/p>\n<p>&nbsp;<\/p>\n<p><strong style=\"font-size: 1em;\">COLOR<\/strong><\/p>\n<p>Use of color was a fresh idea.\u00a0Colors would work within the framework of the EPUB3 limitations\u00a0without requiring hacks or special CSS; it actually could be done manually and poetry collections are rarely very large&#8230;<\/p>\n<p>Dark colours, greys and black would work on all ebook-readers. But maybe there was an easy way to CSS\u00a0a color preceding\u00a0Goyal&#8217;s auto-indentation after auto line-break&#8230;<\/p>\n<p><em>Color!<\/em> There was the answer to my pet-peeve! The answer to the question that has been bugging me, ever since coders decided that poetry was not <em>text<\/em> fit for mass consumption in industry standard code. &#8220;Too few people read poetry anyway, so why bother catering to them?&#8221;<\/p>\n<p>Well, maybe because poets are the pioneers of language?!\u00a0<img loading=\"lazy\" decoding=\"async\" class=\" wp-image-12448 aligncenter\" src=\"http:\/\/krabat.menneske.dk\/kkblog\/..\/wp_uploads\/\/2016\/06\/Screen-Shot-2016-06-29-at-13.28.36.jpg\" alt=\"Screen Shot 2016-06-29 at 13.28.36\" width=\"582\" height=\"531\" srcset=\"https:\/\/krabat.menneske.dk\/kkblog\/wp-content\/uploads\/2016\/06\/Screen-Shot-2016-06-29-at-13.28.36.jpg 460w, https:\/\/krabat.menneske.dk\/kkblog\/wp-content\/uploads\/2016\/06\/Screen-Shot-2016-06-29-at-13.28.36-300x274.jpg 300w, https:\/\/krabat.menneske.dk\/kkblog\/wp-content\/uploads\/2016\/06\/Screen-Shot-2016-06-29-at-13.28.36-383x350.jpg 383w\" sizes=\"auto, (max-width: 582px) 85vw, 582px\" \/><\/p>\n<p>Read it\u00a0aloud by colour coherence, and you will hear it works. But the <em>main<\/em> thing is, with <em>this<\/em> there IS a way to survive auto-broken lines in poetry!<\/p>\n<p>&nbsp;<\/p>\n<p><strong>GO WITH THE FLOW<br \/>\n<\/strong>The solution is to maintain\u00a0a reader&#8217;s awareness on which lines belong together (coherence), even if a narrow viewing screen causes the ebook code to auto-break lines in the poem:<\/p>\n<ul>\n<li>Text by design belonging on the same line in the original is given the same color.<\/li>\n<li>Text on the next line has a different colour.<\/li>\n<li>Every second line the two colors interchange.<\/li>\n<\/ul>\n<p>Simple. No coding. Just formatting! Maybe <em>even<\/em> simple CSS?! And you work WITH the fact of\u00a0<strong>poetry<\/strong>\u00a0behaving differently on different size reader screens, rather than become frustrated despite your\u00a0<em>super<\/em> coding skills.<\/p>\n<p>I hope this will make you publish more poetry as ebooks.<\/p>\n<p>Kind regards, kenneth krabat<\/p>\n","protected":false},"excerpt":{"rendered":"<p>No code or CSS in epub and mobi can give you full control of auto-breaking lines and a poem&#8217;s continuity. Use this simple formatting to reclaim continuity on small screens.<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[762,529,1045,147,1920],"tags":[2244,1218,907,1357],"class_list":["post-12447","post","type-post","status-publish","format-standard","hentry","category-ebook","category-ebger","category-edigtsamling","category-kenneth-krabat","category-pausens-musik-2","tag-design","tag-ebog","tag-epub3","tag-layout"],"_links":{"self":[{"href":"https:\/\/krabat.menneske.dk\/kkblog\/wp-json\/wp\/v2\/posts\/12447","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/krabat.menneske.dk\/kkblog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/krabat.menneske.dk\/kkblog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/krabat.menneske.dk\/kkblog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/krabat.menneske.dk\/kkblog\/wp-json\/wp\/v2\/comments?post=12447"}],"version-history":[{"count":44,"href":"https:\/\/krabat.menneske.dk\/kkblog\/wp-json\/wp\/v2\/posts\/12447\/revisions"}],"predecessor-version":[{"id":13353,"href":"https:\/\/krabat.menneske.dk\/kkblog\/wp-json\/wp\/v2\/posts\/12447\/revisions\/13353"}],"wp:attachment":[{"href":"https:\/\/krabat.menneske.dk\/kkblog\/wp-json\/wp\/v2\/media?parent=12447"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/krabat.menneske.dk\/kkblog\/wp-json\/wp\/v2\/categories?post=12447"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/krabat.menneske.dk\/kkblog\/wp-json\/wp\/v2\/tags?post=12447"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}