Word XXX
Word XXX
Word XXX
calibre
This document demonstrates the ability of the calibre DOCxxx Input
plugin to convert the for Kindles or EPUB for other ebook readers, to see it in
action.
Text Formatting
Inline formatting
Here, we demonstrate various types of inline text formatting and the use
of embedded fonts.
Here is some bold, italic, bold-italic, underlined and struck out text.
Then, we have a superscript and a subscript. Now we see some red, green and
blue text. Some text with a yellow highlight. Some text in a box. Some text in
inverse video.
A paragraph with styled text: subtle emphasis followed by strong text
and intense emphasis. This paragraph uses document wide styles for
styling rather than inline text properties as demonstrated in the previous
paragraph calibre can handle both with equal ease.
For the lovers of poetry amongst you, paragraphs with hanging indents, like
this often come in handy. You can use hanging indents to ensure that a
line of poetry retains its individual identity as a line even when the
screen is too narrow to display it as a single line. Not only does this
paragraph have a hanging indent, it is also has an extra top margin,
setting it apart from the preceding paragraph.
Tables
ITEM
Books
Pens
Pencils
Highlight
er
Scissors
widths using
paragraph is
row.
Now lets look at a fancier tableone with alternating row colors and
partial borders. This table is stretched out to take 100% of the available
width.
City or
Town
Point
Point
Point
Point
Point
A
B
C
D
E
Point A
Point B
Point C
Point D
Point E
87
64
37
93
56
32
35
91
54
43
New
students
Undergradua
te
Graduating
students
Change
Cedar
University
Oak Institute
110
103
+7
202
210
-8
Cedar
University
Elm College
24
20
+4
43
53
-10
998
908
90
Total
Graduate
Two
Three
Four
We end with a fancy calendar, note how much of the original formatting
is preserved. Note that this table will only display correctly on relatively wide
screens. In general, very wide tables or tables whose cells have fixed width
requirements dont fare well in ebooks.
December 2007
Su
n
Mo
n
Tu
e
W
ed
Th
u
Fri
Sa
t
1
10
1
1
1
2
1
3
1
4
1
5
1
6
17
1
8
1
9
2
0
2
1
2
2
2
3
24
2
5
2
6
2
7
2
8
2
9
3
0
31
Structural Elements
Miscellaneous structural elements you can add to your document, like
footnotes, endnotes, dropcaps and the like.
Dropcaps
rop caps are used to emphasize the leading paragraph at the start
of a section. In Word it is possible to specify how many lines of text
a drop-cap should use. Because of limitations in ebook technology,
this is not possible when converting. Instead, the converted drop
cap will use font size and line height to simulate the effect as well as
possible. While not as good as the original, the result is usually tolerable.
This paragraph has a D dropcap set to occupy three lines of text with a font
size of 58.5 pts. Depending on the screen width and capabilities of the
device you view the book on, this dropcap can look anything from perfect to
ugly.
Links
Two kinds of links are possible, those that refer to an external website
and those that refer to locations inside the document itself. Both are
supported by calibre. For example, here is a link pointing to the calibre
download page. Then we have a link that points back to the section on
paragraph level formatting in this document.
Table of Contents
There are two approaches that calibre takes when generating a Table of
Contents. The first is if the Word document has a Table of Contents itself.
Provided that the Table of Contents uses hyperlinks, calibre will automatically
use it. The levels of the Table of Contents are identified by their left indent,
so if you want the ebook to have a multi-level Table of Contents, make sure
you create a properly indented Table of Contents in Word.
1 In paged media, footnotes are usually displayed at the bottom of the
text. However, in ebooks, a better paradigm is to make them clickable
endnotes that the user can browse at her pleasure. This conversion is
handled automatically by calibre.
Images
Images can be of three main types. Inline
images are images that are part of the normal
text flow, like this image of a green dot . Inline
images do not cause breaks in the text and are usually small in size. The
next category of image is a floating image, one that floats on the page
and is surrounded by text. Word supports more types of floating images than
are possible with current ebook technology, so the conversion maps floating
images to simple left and right floats, as you can see with the left and right
arrow images on the sides of this paragraph.
The final type of image is a block image, one that becomes a
paragraph on its own and has no text on either side. Below is a centered
green dot.
Centered images like this are useful for large pictures that should be a
focus of attention.
Generally, it is not possible to translate the exact positioning of images
from a Word document to an ebook. That is because in Word, image
positioning is specified in absolute units from the page boundaries. There is
no analogous technology in ebooks, so the conversion will usually end up
placing the image either centered or floating close to the point in the text
where it was inserted, not necessarily where it appears on the page in Word.
Lists
All types of lists are supported by the conversion, with the exception of
lists that use fancy bullets, these get converted to regular bullets.
Bulleted List
One
Two
Numbered List
1. One, with a very long line to demonstrate that the hanging indent
for the list is working correctly
2. Two
Multi-level Lists
1. One
1.1. Two
1.1.1.
Three
1.1.2.
Four with a very long line to demonstrate that the hanging
indent for the list is working correctly.
1.1.3.
Five
2. Six
A Multi-level list with bullets:
One
Two
This bullet uses an image as the bullet item
o Four
Five
Continued Lists
i. One
ii.
Two
An interruption in our regularly scheduled listing, for this essential and very
relevant public service announcement.
iii.
We now resume our normal programming
iv.
Four
i Endnotes are typically used for longer notes, they remain endnotes when
converted into ebook form, except that they have an additional backlink to make
it easy to return to the current position after reading the note.