View Single Post
Old 06-11-2021, 10:38 AM   #14
Jellby
frumious Bandersnatch
Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.
 
Jellby's Avatar
 
Posts: 7,560
Karma: 20150435
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon, Kobo Aura
Quote:
Originally Posted by Tex2002ans View Post
In EPUB, the only special entity you have to worry about is the Non-Breaking Space (  or  ).
And not even that. You can input that character directly too (the problem is in your input method[*] and code-editing software, not in the EPUB/XML format).

Actually, the only entities one should really need are &lt; &amp; &gt;, because their characters (< & >) would be XML code otherwise.

[*] In vim, I have set two shortcuts (F7 and Shift+F7) to convert from and to entities using recode. That way I can enter &hellip;, press Shift+F7 and have it converted to …, no need to copy-paste, learn codes (other than the mnemonic entities), or change the system configuration. I can also copy paste some fancy text (e.g. "Tiếng Việt") and get its character "decomposition" with F7 (Ti&#7871;ng Vi&#7879;t).
Jellby is offline   Reply With Quote