GB
  
You are currently viewing the United Kingdom version of the site.
Would you like to switch to your local site?
16 MIN READ TIME

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.

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.
Unlock this article and much more with
You can enjoy:
Enjoy this edition in full
Instant access to 600+ titles
Thousands of back issues
No contract or commitment
Try for 99p
SUBSCRIBE NOW
30 day trial, then just £9.99 / month. Cancel anytime. New subscribers only.


Learn more
Pocketmags Plus
Pocketmags Plus

This article is from...


View Issues
Linux Format
April 2022
VIEW IN STORE

Other Articles in this Issue


WELCOME
MEET THE TEAM
This issue we’re compiling the Linux kernel from source. We wondered if our experts compile anything from source, or does even the thought of this cause them to run screaming into the night?
Kernel of truth
Compiling the kernel from source was always a
REGULARS AT A GLANCE
Linux malware grows by 35%
Malware aimed directly at Linux systems increased drastically last year
Major Linux exploit found
Almost every distro is affected by a major vulnerability – make sure that your systems are patched
US government wants your messages
And the UK government wants to confirm IDs online
IT’S COOL
Michael Meeks is general manager at Collabora Productivity
OLD AND UNTRUSTED
Keith Edmunds is MD of Tiger Computing Ltd,
Framework open sources its firmware
Users can change how the modular laptop manages its hardware
FreeCAD Project Association formed
New legal non-profit association set up in Belgium
LibreOffice 7.3 Community now out
New features in the latest version of the office suite
Distro watch
What’s down the side of the free software sofa?
TRUST ME?
Matt Yonkovit Head of open source strategy and
MEASURE THE PULSE
Jon Masters has been involved with Linux for
KERNEL WATCH
Jon Masters summarises the latest happenings in the Linux kernel, because someone has to…
Answers
Got a burning question about open source or the kernel? Whatever your level, email it to lxf.answers@futurenet.com
Mailserver
WRITE TO US Do you have a burning
Hot Picks
THE BEST NEW OPEN SOURCE SOFTWARE ON THE PLANET
REVIEWS
Intel Core i5 12400
It’s the new Q6600, Dave James’ greatest compliment ever!
ArchLabs 2022.02.12
Mayank Sharma has a soft spot for new Arch-based distros, and this time around he’s found one that tickles his fancy
UBOS Linux
Mechanisms for simplifying the installation of popular web tools are like snake oil. Or so thought Mayank Sharma, until he came across UBOS…
Slackware 15.0
He’s no masochist… until there’s a new Slackware release, when Mayank Sharma puts himself through all kinds of pains to relive the good ol’ days
Valve Steam Deck
Our PCGamer friends got a hands-on preview hardware of the Steam Deck before the big launch at the end of February. Here’s what they learnt…
Ubuntu alternatives
WE COMPARE TONS OF STUFF SO YOU DON’T HAVE TO!
The Verdict
Ubuntu alternatives
BUILD THE KERNEL
The kernel is what makes Linux tick. Jonni Bidwell is happy to get his hands dirty and help you tune up those ticks…
Grasp the kernel basics
Just what is a kernel and why is it telling my computer what to do?
Compiling a kernel
Get straight to business and build your own Ubuntu-esque kernel
Kernel minification
Perfection is reached not when there’s nothing left to add, but rather when there’s nothing left to take away…
Popular patches
Forget trawling through configs – use a pre-rolled patchset to set the rules
Pi USER
The maker’s Coolest Projects goes Global!
The once US-centric event is opening its doors to makers from around the world. Yes, that means you!
FLIRC Pi Zero Case
Les Pounder keeps his cool with a case for his beloved Raspberry Pi Zero 2 W. Will it beat the heat of a benchmark?
Assemble a Micro Dot pHAT news ticker
Les Pounder builds his own homage to the famous Times Square news ticker, this time scaled for ants!
Create your own Chromecast device
Mats Tage Axelsson takes you on a tour of the Linux tools that will enable you to stream media between your laptop and other devices
IN-DEPTH
LINUX FROM SCRATCH
Like to get your hands dirty? Aaron Peters is your man, as we get deep into building Linux
TUTORIALS
Rapid fuzzy finder
Shashank Sharma isn’t one for magic, but he’s not averse to using the Accio spell or its computing incarnation, fuzzy finder, to find things quickly
Store and search your research notes
Always on the look-out for organisational tools, Nick Peers reveals how to bring all your research materials and notes into a single convenient space
May the forth be with the Jupiter Ace
Les Pounder nips back to the early 80s and pays homage to a home computer that sold less than 6,000 units, despite its go-faster stripes!
Make your home as smart as possible
Matt Holder, who’s a bit of a clever-clogs himself, investigates the usage of Home Assistant to make your home as smart as it can be
Create your own virtual classroom
David Rutland moodles along with classroom management software on the LXF virtual private server and starts his own online course
TOP OF THE FOSS
CHARITABLE CHARACTERS
The Emmabuntüs collective enlightens Jonni Bidwell as to its kind and open source efforts
CODING ACADEMY
Working with binary tree data structures
Mihalis Tsoukalos explains how to construct and use binary trees for faster searches and easier relationships (of the data sort, mind)
How to use Mojolicious for web scraping
Mark Gardner reveals how you can retrieve and parse HTML and XML from websites with a few lines of Perl and the Mojolicious framework
Interact with your 3D game environment
Enhance your gaming world by adding collision detection and custom objects, as Andrew Smith throws barrels at you
Chat
X
Pocketmags Support