LIBREOFFICE
Publishing your own slick ebooks
Seeking to chalk up a best seller, Michael Reed goes further into the intricacies of publishing a book from his Ubuntu desktop.
Credit: www.libreoffice.org
OUR EXPERT
Michael Reed is a Linux nerd and a selfpublished author. Guess which one pays the bills.
QUICK TIP
If you need help when using LibreOffice for your book project, the LibreOffice website has a comprehensive traditional manual. See https:// documentation. libreoffice.org.
We’re going to take a basic ebook and make it shine with the help of images such as photographs and charts. We’ll also add some features that are appropriate for non-fiction books, such as tip boxes, an index and citations within the text. Finally, we’ll get a bit further into what it takes to upload your files to services that can print books or make them available as ebooks.
This month’s tutorial picks up from where part one left off in LXF286, with a basic formatted ebook, so you don’t need to read part one but we’re assuming that you have some formatted text to work with in LibreOffice.
Illustrations and other Images
You may want to add images to your book. These could be photographs that relate to the content of the book, other types of illustration such as diagrams, or even graphs or charts.
First, we’d recommend copying any images that you intend to use as part of the book into the project directory of the book. LibreOffice does include some simple image-editing facilities, but generally it’s worth loading the images into a dedicated image editor such as GIMP (www.gimp.org) to carry out any required manipulations such as cropping the image or adjusting the brightness.
Colour printing is quite a lot more expensive than outputting your book in monochrome, and if you’re making a monochrome print edition then any included images will have to look good in black and white. In the case of an ebook, your images will show up as colour or monochrome, depending on the type of device it’s viewed on. In that case, the best compromise is to at least check the image in monochrome. If you use GIMP to reduce an image to black and white then the option you need is Colours>Desaturate>Colour to Gray..., which can be found in the main menu.
For print or ebook publication, 300dpi is roughly the correct resolution to aim for. However, the actual resolution in pixels varies, depending on the size of the image. For example, an image that filled the entire page, including the borders, of a 6x9-inch book would have a resolution of 300 multiplied by six (1,800 pixels) by 300 multiplied by nine (27,00 pixels). That should give you a rough guide, but remember that most images won’t cover the entire page. So, a 3:2 ratio photograph, with text above and below, should be fine at around 1,500x1,000 resolution.
We adjusted this image so that it doesn’t go over the borders and then added a short caption below it.