From LibreOffice to ePub
Off the Beat: Bruce Byfield's Blog
As someone contemplating ebook publishing, I found the LibreOffice / OpenOffice.org extension Writer2ePub worth investigating. After all, while GNU/Linux has a couple of apps that can read the popular ePub format -- Calibre and Lucidor -- about the only way to actually produce ePub content is to export from DocBook. However, I'll have to wait a version or two before relying on Writer2ePub.
Writer2ePub is available from the OpenOffice.org extensions site, where it is currently the highest rated extension -- which makes me wonder how carefully people have examined it before rating it. You can download it in seconds, then use Tools -> Extension Manager to install it. As with most extensions, you need to restart so that Writer2ePub is loaded.
The extension creates a toolbar of three buttons in the upper left corner of the editing window -- one for exporting to ePub format, one for editing meta-data, and the third for preferences.
However, before you use Writer2ePub, you need to save your document. As you write, you will want to use at least the Heading1 style, because that is the easiest way to divide your output into the chapters. If you want smaller divisions, you can use Heading2 and Heading3 as well. Probably, though, you'll want to use character, paragraph, and page styles throughout the document, because if you need to make any adjustments -- and, very likely, you will -- changing a style is much quicker than making corrections line by line.
When you are ready to export to ePub format, click Writer2ePub's Preferences button. There, you can decide how to create chapters -- either by specifying which Heading style marks the start of each chapter, or else by kilobytes (an option I don't recommend, because it is a less reliable indicator of where to divide chapters than using a style as marker.
The Preference window also gives you the option of selecting the font height and font. In most cases, you'll probably only need to make sure that the font is the same for both the source and output files, but the option to make adjustments is there if you need it.
Other preferences include the meta-data you want to include in the file, and operational options: you can keep the working file after you export to ePub, hide any messages Writer2ePub gives during export, and automatically close the source file after you finish exporting. It's also a good idea to choose to show the meta-data window before exporting, so you can have one final check before you create the export file.
Exporting to ePub format
Before you export, you are required to give at least a title as meta-data for the output. Note that the title is not the file name.
You also have the option of adding an ISBN, publisher, publishing date, tags, a cover, and comments. The cover, though, should be the same dimensions as the rest of the pages, or else it won't show up.
So far, so trouble-free. But when you click the OK button and export, you'll quickly find that Writer2ePub output is usually adequate, but far from perfect if you are exporting anything except a basic text-heavy document.
Even if you are careful to use the same font in the source and output, spacing such as line indentation or spaces between paragraphs may change. Bullets and numbers in lists simply disappear. Pictures are forced into left alignment. Tables are reduced to a single row of cells.
Once you know these limitations, you can work around many of them. You can, for example, create graphics with white space on each side to center-align a graphic, or create a table as a graphic.
However, these makeshifts are going to look clumsy unless you labor over them, and the real question is why you should have to. Writer2ePub is supposed to be a simple desktop solution, so users have a right to complain if it falls short of its goal. In layout, kludges and almost are rarely good enough, especially if you need professional-looking output.
Writer2ePub has the basics down, so its developers can now concentrate on improving its conversion. However, until improvements come, giving it a five start rating is an exaggeration that will only mislead others -- to say nothing of a disappointment to those of us who want a tool we don't have to think much about.
ODFToEPubODFToEPub is also an extension that works with LibreOffice. Find out more about it at http://www.pincette.biz/odftoepub/.
Writer2ePubI would highly suggest that the author look at Sigil. Hands down it is far better than W2E in almost all respects. Granted Sigil may lack some of the niceties of Libre but the best way to eliminate that problem is use Sigil what it was meant for -- constructing the ePub. For the authoring side, use AbiWord and save as a html doc. Abi will generate a well formed XHTML doc that can dropped directly into Sigil with only a minor tweaks. I find the combination of those two applications are much better working suite than W2E.
New release targets Linux professionals.
The Fedora project adds Wayland and Gnome 3.22
CeBIT 2017: Open Source Forum Call for Papers
Long-time Linux antagonist joins the revolution.
Major bug affects Debian/Ubuntu distributions.
Canonical releases the minimal edition for embedded devices, Internet of Things, and cloud deployments.
The new release features improvements across the board, from performance to security.
Two out of three of the new members are women.
More than 5,000 people attended the event.
Linux Magazine will include the best of both magazines.