I wanted to add that I know, without even looking, that my wiki contributions about MOBI making are WOEFULLY out of date. So, don't believe anything I said, now.
Hmmm...
A refresher of word processor (Word/LibreOffice) stuff? Or basics of EPUB + HTML/CSS?
If EPUB, I don't really know of any good (and up-to-date) tutorial-type things.
But a lot of ebook stuff is just knowing the basics of HTML and CSS.
Side Note: Back in 2018, I had a project to digitize 100 ebooks within a year.
I did train a few editors (who knew
absolutely nothing about HTML) in HTML/CSS + basics of ebooks.
I called it "Clean Ebooks, Workflows, and HTML".
If you want to see those slides, let me know.
(But it may be more basic than your knowledge level.)
* * *
My mentality is KISS (Keep It Simple Stupid).
Strip everything down to the very bare bones, so your ebook is full of simple HTML:
- <h2> = Headings
- <p> = Paragraphs
- <blockquote> = Blockquotes
- <i> or <em> = Italics/Emphasis
- <b> or <strong> = Bold
- [...]
From there, all you typically need is a handful of exceptions:
- <p class="first">
- Your first paragraphs might have no indent.
- <p class="center">
- <p class="right">
- <p class="plaintiff">
- Maybe the plaintiff's name is bold + centered + right-aligned.
- [...]
And the key thing is, human-readable names!
So this is your original code:
Code
<div class="block_53" data-lnum="219"><span class="bullet_" data-lnum="219">5) </span><span class="calibre9" data-lnum="219">Until January 1, 2018, [...]
<div class="block_53" data-lnum="220"><span class="bullet_" data-lnum="220">6) </span><span class="calibre9" data-lnum="220">No entity shall record
Throw away that data-lnum crap:
Spoiler Warning below
Code
<div class="block_53"><span class="bullet_">5) </span><span class="calibre9">Until January 1, 2018, [...]
<div class="block_53"><span class="bullet_">6) </span><span class="calibre9">No entity shall record
<div class="block_##"> + some random numbers? Nope. Use simple HTML + a <p>:
Spoiler Warning below
Code
<p><span class="bullet_">5) </span><span class="calibre9">Until January 1, 2018, [...]
<p><span class="bullet_">6) </span><span class="calibre9">No entity shall record
<span class="bullet_">, but it's actually a list number? REMOVE:
Spoiler Warning below
Code
<p>5) <span class="calibre9">Until January 1, 2018, [...]
<p>6) <span class="calibre9">No entity shall record
<span class="calibre"> that's probably only saying "this is normal text"? Toss it!
Code
<p>5) Until January 1, 2018, [...]
<p>6) No entity shall record
And, wow, now compare that to your original code.
Look how much cleaner and more readable that is.
And guess what, it'll work great on an actual ereader.
* * *
... Anyway, if you're interested in a "basics of ebook" tutorial:
I may be open for meeting on webcam some time next week.I could then see:
- What your skill level is.
- What sort of documents you're doing this on.
- And what you're trying to accomplish by converting this to EPUB?
And testing out some conversion stuff live.
Every single input/output format is going to require slightly different tools/methods.
Yeah, Google Docs creates a bit of a mess.
Yes, the text may "look okay" on the screen, but the innards are horrible.
Note: If you're more comfortable in the word processors (Word/LibreOffice):
You may want to do cleaning + Styles there instead.
THEN when you output to EPUB, you'll have much cleaner HTML to work with.
Side Note: And this looks to be a legal document with lots of nested lists... huge lists+large-negative-indents don't play very nicely in EPUB...
You'd probably have to adjust a lot of that text anyway so it can be read on tall/skinny things like cellphones or IN HUGE FONT SIZES.
Thanks.
It's a growing marketshare, while old-school Microsoft Word is going down.
Side Note: Yesterday, I watched a presentation at LibreOffice's 2021 conference.
Within the past decade:
The old-school desktop suites, down, down, down. Cloud-based + Mobile stuff, up, up, up.
Back in 2017:
- ~18% of word processor usage was Google Docs.
- ~18% were using Open Source as well.
- And ~75% [and falling] was Microsoft Word/365.
Those trajectories have only grown since then. (And with the last year and a half, free/open programs have only gotten much stronger.)
Side Note #2: ... Even many of the kids going into COLLEGE have now grown up on:
- Mobile-only
- Some don't even have a laptop/desktop anymore.
- Chromebooks
- Google Docs / non-Microsoft ecosystems
- Easy sharing
- Cloud-syncing
- And all you need is to log into your account. You can get your documents on any computer/smartphone, anywhere.
Multi-device editing is currently the present/future.
Old school Word + only-typing-on-my-desktop-computer is
so 10/20/40 years ago.
Hi, you're just what I'm looking for, I don't know anything about css and epub and html, I'm a legal girl, the fact that it's for dummies makes it even more fantastic.
Today I posted a thread asking where I could learn css and your slides can be my solution.
Could you send them to me? Thank you so so so much! I don't know if I can put my email here or is there something like private messages.
Hi, you're just what I'm looking for, I don't know anything about css and epub and html, I'm a legal girl, the fact that it's for dummies makes it even more fantastic.
Heh, that "for dummies" style of writing is what I've been working towards the past few years.
linking to a lot of my recent step-by-step tutorials/explanations.
(The past year, I've written more than 400 posts on Reddit, specifically focused on simplified breakdowns/answers.)
A lot of the tips/advice works across ALL document creation.
Sure, the buttons might be in slightly different spots, or they might be called slightly different things, but the concepts are very similar across all formats.
Today I posted a thread asking where I could learn css and your slides can be my solution.
Could you send them to me? Thank you so so so much!
Sure, I'll send you a PM with the slides.
I don't know if I can put my email here or is there something like private messages.
There are PMs. You could post your email too, but, personally, I try to keep my email off many public posts (because of spammers).