05-28-2021, 11:06 AM | #31 |
mostly an observer
Posts: 1,515
Karma: 987654
Join Date: Dec 2012
Device: Kindle
|
It's not just phones. I was sent a PDF advance copy of a book to be published in June. Usually I can handle this on my 8-inch Fire tablet, but this one is a large-format book, and though I'm fascinated by the subject and indeed maintain a website about it, I finally quit reading. It's just too aggravating. So Yale University Press will go without a review of the fourth volume of a rather ambitious project, three of which I have previously reviewed and recommended. It's not the only flaw in their marketing plan (charging $85 for a hardcover when the previous three volumes were $24 paperbacks) but it's pretty bad. All because they weren't willing to send out the actual book or an ARC or at the very least bound galleys.
And if I had PAID for the book? Back it would go for refund. Last edited by Notjohn; 05-28-2021 at 11:07 AM. Reason: added a paragraph |
05-28-2021, 09:13 PM | #32 | |||
Wizard
Posts: 2,304
Karma: 12587727
Join Date: Jul 2012
Device: Kobo Forma, Nook
|
Quote:
Just plain, simple HTML+CSS is all that's needed. The simpler and cleaner you do things, it's much less likely to break across devices/formats. Remember: KISS (Keep It Simple, Stupid!). Instead of having this: Spoiler:
this is ~ the typical poetry code I use: Code:
<div class="poem"> <div class="stanza"> <p class="line">He takes Radiant Beings as Radiant Beings.</p> <p class="line">Taking Radiant Beings for Radiant Beings, he conceptualizes Radiant Beings.</p> <p class="line">[...]</p> </div> </div>
Helpful Note: And it's all human-readable names—like "poem" and "stanza"... not "f4" + "ctr c". * * * And this is the CSS: Code:
div.poem { margin-top: 1em; margin-bottom: 1em; margin-left: 2em; } div.stanza { margin-top: 1em; margin-bottom: 1em; } p.line { text-align: left; text-indent: -2em; margin-left: 2em; } What this CSS says:
* * * Why is negative indent important? Compare (Original vs. Adjusted): 1. Something that looks like a single line in print (on a huge 8"x11" page)... can easily become 2+ lines at large font sizes or on a skinny device like a cellphone. 2. A 2-liner in your non-indented version is very hard to tell. Is that one large line that went over? Or is that an actual separate line of poetry? Quote:
The closest you can get is releasing your works as Creative Commons 0 (CC0) or CC-BY 4.0: https://creativecommons.org/share-yo...ic-domain/cc0/ https://creativecommons.org/licenses/by/4.0/ (Although CC0 is arguably unenforceable.) If the original translation is pre-1925 though, you're good to go. (Years after that get a bit more complicated.) Note: I skimmed through your site + see you have CC3.0 on your pages. Perhaps consider updating to 4.0. Creative Commons has since made some changes to apply much more internationally: https://creativecommons.org/version4/ Quote:
And on most ereaders, reading PDFs are just sluggish and painful. Every page turn is a chore, every pan/scan lags, trying to highlight text and leave notes is horrendous. Not to mention: Most people who design PDFs do not design with proper Accessibility in mind, so things like headers/footers are still "a part of the text" + figures/captions/tables are all botched and read out of order. I always like to link to one of my favorite talks from ebookcraft 2019: "The User's Perspective: Accessibility Features in Action", which was given by a blind person and explained many of the pitfalls of poorly converted ebooks. Last edited by Tex2002ans; 05-29-2021 at 08:39 PM. |
|||
Advert | |
|
05-28-2021, 11:29 PM | #33 |
Enthusiast
Posts: 43
Karma: 340
Join Date: Mar 2021
Device: Boox Max Lumi/Kobo Forma/Kindle Paperwhite
|
Hello Tex,
I thank you for your attention to my work and for your suggestions. I do not know how to respond to this without seeming like a cranky stubborn old man ... which I am ... but I will make an effort not to tick you off. You are looking at code, and that from the narrow perspective of these e-book devices. I am looking at the meaning of the text and the amount of work it would take to adopt your style. I am set in my ways after 20+ years of this and as this thread demonstrates, learning new stuff is a real problem. These lines are not poetry, they are single paragraphs broken up into sentences given one new line each. In theory at least a person is to stop and think at the full stop, period, end of sentence. These works are more like scripts for a movie. They were written down from an oral tradition and should be read as though they were being spoken: very slowly and disṭinctly, one sentence at a time. In other cases the sentences will be broken up into meaningful phrases. I do not care if my code is readable by others. The text of my files is readable in source because that is how I like it, but virtually nobody in my audience will ever be looking at the code. (Well there are, interestingly enough, a disproportionate number of tech experts in my audience and I admit they will probably look at the code, but the code is not the important thing.) I have converted files from another site that uses code for poems (these works do have poetery) identical to that which you suggest and have found it more burdensome than the coding I use and it clutters the file equally or moreso. My code for poetry is simplicity itself: <p class="in2"> <br /> <br /> <br /></p> I have many thousands of files on that site, all coded in this way; balance out the possibility of work saved by your method (not by my count) and work created by making the change and factor in a typesetter with only a few more years left on his sentence vs 20+/- years needed for the re-do and ... by my count my code for this is less typing than yours. Using my text editor, the next generation that comes along and wants to put these works into some other format needs to press two keys: "Macros" "Strip Tags". He will then be free to recode according as he wishes. I do not care if these works do not appear on phones. First: these works are 'sacred' and reading suttas on a phone is disrespectful — it shows haste. This stuff needs to be studied; it is not for casual entertainment. In truth it should not even be on the web. In truth, it should never have been put into writing. But we are weak and sentimental and wish to make the valuable available to the many. One way is enough to be able to say: "It is available. Easily copied. Free to use in any way you see fit." That will satisfy me when I think that I had a responsibility to pass along the information I had. Adding to the cyborgization of the human race via these things is not in my interest. Now that I have had a little expereience with e-pub etc. I feel almost the same way about those devices. Reading in this way is not conducive to deep concentration. This is not yet a place for this stuff. Copyright. The law is self-contradictory and in a sane uncorrupted world would be tossed. If I own a thing then I should be able to do with it as I wish (that is basic Buddhism; I could probably win my case claiming religious freedom), and anyone following my wish is free from guilt. I will act according to my beliefs in this case. I doubt it will be objected to by anyone. The law was made for Disney who wants to keep making money off Miki Mouse and authors like Mark Twain who wants his work to keep making money for his family. Fine. Go to it. That is not my thing. Leave me alone. In my case, by the nature of these works, selling them is against the rules and amounts to 'thieving in the name of the Lord.' I didn't create this work, I am merely translating it. It doesn't belong to me or to anyone. Copyrighting that work would be claiming an ownership I do not have. Translation depends on the original, and by that belongs to the original. So say I. You are talking law; I am talking ethics. On the positive side, I believe in what is being taught in these works, and that is generosity, a sophisticated ethical code, self discipline and the development of the mind and these are things I want to see available for learning both for those who have money and for those who do not. I think I am a very small fish in a very large pond and as there is no money in either my own work for me or my own work for future generations, and further there are already hundreds of copies of these files 'out there' I think it very unlikely that anyone will think it in their interest to contest my putting them into the Public Domain and chase down all the others who have made and who distribute 'illegal' copies. There's no money in it. If I have offended you by this rant, I apologize, it was not my intent to do so. Best of luck in your career. |
05-29-2021, 04:33 AM | #34 | ||||||||||||||||
Wizard
Posts: 2,304
Karma: 12587727
Join Date: Jul 2012
Device: Kobo Forma, Nook
|
Quote:
Clean + human-readable code is just as important as the text itself... and actually makes your life much EASIER in the long-run. This also allows you to more quickly:
You spend a little bit of extra time up front, and you've saved yourself TONS of hours of headaches in the future. Quote:
Quote:
If anything I've said is confusing for you, or you need more reasoning, I can break it down further. Hopefully you'll learn to do it the clean/"correct" way, then you'll have 20+ more years of ebook creation! And from all the time saved by having maintainable books, who knows how many other extra Buddhism texts you'd convert and get out there! Quote:
Then name your 3 classes: - "scripts" - "sentences" - "phrases" Similar negative indentation concepts should apply. It would make these works infinitely more readable. Because right now, I skimmed through the PDFs... and the layout itself made for a very tough read. Quote:
Code:
<p class="f4">I H<span class="f2">EAR</span> T<span class="f2">ELL:</span></p> Code:
<p><span class="smallcaps">I Hear Tell:</span></p> Quote:
Now you're getting it! Quote:
I'll even make it easier for you. Here's three Find/Replaces: Note: In Sigil, Press Ctrl+F. You see the "Mode" dropdown? Make sure to put Sigil into Regex mode. Find: <p class="f4"> Replace: <p class="line"> Find: <p class="ctr c">(.)</p> Replace: </div></div> <p class="break">\1</p> <div class="poem"><div class="stanza"> Then you run a: Find: <br/> Replace: </p> <p class="line"> Then press the "Prettify" code button in Sigil/Calibre, and bing, bang, boom... 99.9% of the work is done. All you'd need to fix is the <div>s for the first/last poems. Now what's so hard about that? * * * Side Note: You can even save these three in Sigil as "Saved Searches". Then all you have to do is press a single button! And? Readability? Maintainability? Getting help? "Oh shoot, my line-spacing is broken and I'm getting crazy page breaks. Can anyone help me?" "No problem, stubborn old dog. What's your code?" Spoiler:
"Ahhh yes. Perfectly readable. I know exactly what lgqt c g r means! I'll just pull a 180 and f2 + hrctr right out of here!" * * * Or Scenario #2: "Hey, my ebook is acting weird. Can anyone help me?" "Sure, what's your code?" Spoiler:
"Ahh, yes. No problem, my finely dressed (and non-stubborn) mature dog! Your problem is you accidentally did a page-break before every single one of your poems and lines!" ... now which dog would you rather be? Quote:
Where certain other religious works were translated and brought around the world for hundreds (thousands) of years... Buddhism only was really translated to English in ~1880s. Big shame. And trying to keep this stuff completely off the internet only relegates it to the dustbin of history. How will you even get people interested/excited about topics if they don't even know it exists. (Another reason why you want your code to be as clean/maintainable as possible.) I even wrote about this back in 2014: "Delicate text digitalizing + scanning issues": Quote:
Quote:
You want to make a positive impact in the world? Digitize your books properly and get them spread as far and wide as possible. * * * And you'll just have to get it through your thick head: People read on these newfangled devices called... Personal Computers... and what's that? I can't hear you through my conch. Ahh yes, Cellular Phones. And remember when we had to concentrate and take minutes chiselling a single letter into stone tablets? These new kids nowadays just smack a piece of paper down and scrape a stick of graphite over it in seconds... Damn technology! There's just no place for that! Quote:
Luckily, there's this thing called The Internet, where most of these antiquated concepts locking books/knowledge away are effectively nullified. Quote:
Definitely update to CC-BY 4.0 then. As I said, it's about as close as you can to Public Domain as currently allowed under this rotten system. And CC-BY 4.0 will be more open and closer to Public Domain than CC-BY 3.0. Quote:
Stephan Kinsella, "Let's Make Copyright Opt-OUT" Quote:
Quote:
Quote:
The entire purpose of books and writing is to change people's minds. This cleanup is helping you achieve that, in the present and the long-term future. You'll thank me when a new Kindle or future-format XYZ comes out. You'll say: "Tex, you were amazing. My Buddhist scripts converted perfectly to futuristic e-scrolls—the papyrus transformed beneath my fingers, and the words were chanted to me slowly and methodically by the e-monks themselves... Just as it was originally intended." Last edited by Tex2002ans; 05-29-2021 at 05:49 AM. |
||||||||||||||||
05-29-2021, 01:59 PM | #35 |
Enthusiast
Posts: 43
Karma: 340
Join Date: Mar 2021
Device: Boox Max Lumi/Kobo Forma/Kindle Paperwhite
|
Thanks Tex
|
Advert | |
|
06-02-2021, 10:13 AM | #36 | |
Bookmaker & Cat Slave
Posts: 11,495
Karma: 158448243
Join Date: Apr 2010
Location: Phoenix, AZ
Device: K2, iPad, KFire, PPW, Voyage, NookColor. 2 Droid, Oasis, Boox Note2
|
Quote:
Hitch |
|
06-02-2021, 01:01 PM | #37 |
mostly an observer
Posts: 1,515
Karma: 987654
Join Date: Dec 2012
Device: Kindle
|
>Weeks later, they get some dusty tome shipped to them.
I one time asked Inter-Library Loan to get a Japanese book for me. They found a copy in Australia. By the time it arrived from Oz, the loan had expired. It took all my charm to persuade the ILL librarian to extend the loan for a week. "Hey! How will they ever KNOW you didn't send it back on time?" |
06-02-2021, 05:31 PM | #38 | |
Running with scissors
Posts: 1,557
Karma: 14325282
Join Date: Nov 2019
Device: none
|
Quote:
One of the things I like about the Kobo is if you don't use any text-align for either ragged right or justified you can change it on the fly in the reader. But if it's set to justified you're stuck with that. I don't remember if you can change it on the fly if it's specified as left in the css. |
|
06-02-2021, 07:39 PM | #39 | ||
Grand Sorcerer
Posts: 6,750
Karma: 86234863
Join Date: Nov 2011
Location: Charlottesville, VA
Device: Kindles
|
Quote:
Quote:
|
||
06-02-2021, 07:42 PM | #40 | |
Resident Curmudgeon
Posts: 76,415
Karma: 136564696
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Quote:
|
|
06-02-2021, 07:43 PM | #41 |
Resident Curmudgeon
Posts: 76,415
Karma: 136564696
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
|
06-02-2021, 08:09 PM | #42 |
Running with scissors
Posts: 1,557
Karma: 14325282
Join Date: Nov 2019
Device: none
|
For the second item do you mean when it's a KFX book? I just tried it with an AZW3 book (converted from an EPUB I made that doesn't use text-align) and the Alignment thing is grayed out and under it it says Not Available.
|
06-02-2021, 08:27 PM | #43 | |
Bookmaker & Cat Slave
Posts: 11,495
Karma: 158448243
Join Date: Apr 2010
Location: Phoenix, AZ
Device: K2, iPad, KFire, PPW, Voyage, NookColor. 2 Droid, Oasis, Boox Note2
|
Nope.
Quote:
I've never seen it work when text-align is set, whether ePUB, MOBI or KFX. But then again, I don't spend a lot of time running it down, so I would defer to jhowell's expertise in this. Hitch |
|
06-02-2021, 08:32 PM | #44 | |||
Wizard
Posts: 2,304
Karma: 12587727
Join Date: Jul 2012
Device: Kobo Forma, Nook
|
Quote:
Kobo overrides left/justified text with whatever the user chooses. And it leaves centered/right text alone. This is the way it should be done across all devices/readers... and it's completely baffling why Amazon/Kindle/others haven't done this. I explained some of that in the famous "Footnoteception" thread back in 2018. Quote:
Quote:
Luckily, you still had online (such as Archive.org's Open Library) loaning out all these books, even when physical libraries were closed. |
|||
06-02-2021, 09:17 PM | #45 | |
Grand Sorcerer
Posts: 6,750
Karma: 86234863
Join Date: Nov 2011
Location: Charlottesville, VA
Device: Kindles
|
Setting text-align:left on either the body element or on individual paragraphs overrides the user's alignment setting.
The Amazon Kindle Formatting Guidelines state the following. Ignore it at your own risk. Quote:
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Removing blank pages and page breaks added in a converted Epub | Poltem | Conversion | 25 | 12-31-2020 10:12 PM |
Blank pages before chapter breaks on iPad? | AlexBell | Conversion | 8 | 01-06-2012 10:49 AM |
Maintain Blank-Line-Scene-Breaks while converting? | Uluhara | Conversion | 1 | 06-18-2011 05:54 PM |