View Single Post
Old 02-12-2020, 06:43 PM   #15
Tex2002ans
Wizard
Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.
 
Posts: 2,306
Karma: 13057279
Join Date: Jul 2012
Device: Kobo Forma, Nook
Quote:
Originally Posted by BetterRed View Post
Free plug for Ruben

Code:
any topic + RbnJrg site:mobileread.com
lol, yes... all of the cool people are trustworthy.

And over the past few years, RbnJrg been getting quite a bit better at marking when things work in EPUB (which ADE he's tested on) + where they won't work in KF8/MOBI.

Quote:
Originally Posted by Dabcar View Post
I quickly realised how much bloated code is produced by InDesign, so I have stripped almost everything out and used the approach you have indicated. The only real styling is in some of the headings, which need differentiating.


Quote:
Originally Posted by Dabcar View Post
Looks like I've still got quite a bit to learn!
KISS, and you'll be fine.

Quote:
Originally Posted by Dabcar View Post
As for Blitz, I only looked into it because Laura Brady of EPUB Secrets recommended it.
Just keep in mind, it's a lot of InDesign + iBooks-focused stuff... so take a lot of that advice with a big grain of salt.

(And if you thought that InDesign code in that topic above looked bad... woowee, you should look at InDesign's Fixed Layout code! Every, single, word, is wrapped in a span about a mile long and absolutely positioned.)

Quote:
Originally Posted by Dabcar View Post
However, one of the indexes uses three levels, so I'm a bit concerned about that (it took forever to recode from InDesign's bloat, and includes two html pages because it is two large)
Regular Expressions are your best friend.

And if you're the one in charge of designing the book in InDesign, definitely learn how to use Styles. It'll make your life (plus code cleanup) SO much easier.

Last edited by Tex2002ans; 02-13-2020 at 12:16 PM.
Tex2002ans is offline   Reply With Quote