
: Re: Efficient way to colour code text? For the purposes of learning Chinese, I want to write every character in a short novel in a colour that corresponds to its tone (pronunciation thing). The
If you want to stick with EPUB, you can save space by giving each tone a class with a short name and defining the class's color in the CSS. So the example you gave would look something like this:
<span class="a"> 今 </span>
The CSS file, named something like stylesheet.css, would define the class like this:
span.a {
color: #64B4FF
}
You'd need to add a link to the stylesheet in the head element of each HTML file like this:
<link href="stylesheet.css" type="text/css" rel="stylesheet"/>
The path in href is relative, and this example assumes stylesheet.css is in the same directory as the HTML file.
I don't know if this approach will save enough space to speed up highlighting and dictionary lookups, but it's something to try.
Free books android app tbrJar TBR JAR Read Free books online gutenberg
More posts by @Angie

: Rich e-book authoring, other than iBooks Author? i am writing (or should i say, developing) an ebook on iBooks Author with all the cool features it provides. After this I wanted to do a version

: EBook Portfolio / Resume Has anyone created an eBook portfolio to attract clients? I have been working at a publishing house and have converted many titles (some complex and impressive) and