Archive for the ‘Linux’ Category

Self-publishing a Book with LyX

Saturday, October 3rd, 2009

Screenshot-LyX

I write 1000 words in my journal nearly every day. Some days I miss, and other days I write up to 2500 words or more.  The result is that I produce between 25,000-30,00 words a month of personal observations, notes, story ideas, rants, and records of what’s going on with the family — a hodgepodge of private material where I feel free to write anything I want. Material never intended for anyone else to read. My writing compost heap, as it were.

A year’s worth of this journalling produces the equivalent of a novel in terms of length. It recently occurred to me that there was nothing to prevent me from turning this into a privately printed paperback, through a self-publishing site such as Lulu.com. I can think of a few reasons for doing this: it’s easier for me to dig out material I’ve written if I can see it on the printed page, it can become part of my family legacy after my demise, and it’s a good exercise in book creation. Above all, it’s a reward for my efforts. I can have three or four copies printed so I can mark up one of them and keep the others from getting dog-eared.

Once I’d decided to proceed, the next decision was what software to use. I’m not a fan of Microsoft Word for long documents. It’s feature rich, but sometimes unstable. Open Office Writer is a better choice. But better than either is LyX, a graphical front end to the LaTeX publishing system. The typeset ouput from LaTeX is superb, with exceptionally fine font kerning, and there are several well-defined book classes to select from. I’m working with Book (Memoir), a newer class that’s highly adjustable.

My Dell Mini 10V netbook is a dual-boot Windows/Linux computer and I prefer to work with LyX in Linux because it’s easy to set up all the LaTeX components. In Ubuntu you simply select and install LyX from a menu of installable programs, and everything else you need gets installed along with it.

LyX uses several LaTeX utilities in the background to create final output, including excellent PDF, the format preferred by Lulu. I’ve set my book size at 6×9″ and have re-learned how to create master-child documents so I can work on each month in a separate LyX file. LaTeX has a strong indexing module, so I intend to index my journal fairly extensively. Things like family events, camera equipment notes, writing ideas, health notes — things I want to locate easily.

So far I’ve set and edited January and February 2009 but I’ve not yet started the indexing. Is all this effort worth it? For me, yes, though I can understand how others might prefer to access their journals electronically. I like having a physical book in hand. I’ll post updates on this project as it progresses.

Addendum, 5 Oct 2009

I realized that my journal might make too fat a book for the binding at 6×9″, especially after indexing, so I’m beginning to think 8.5×11″ and double-columned.

Linux Onna Stick

Tuesday, April 28th, 2009

Linux Netbook (by StarbuckGuy)

As part of my “Fresh Start” I thought about the way I use my Acer Aspire One netbook and realized that I didn’t have many Windows-specific programs that were critical. I don’t use it for photo editing, so I don’t need Photoshop and all my plugins. For word processing I normally use Open Office Writer and I’m committed to Firefox for browsing, and there’s nothing Windows-specific about them. I don’t use iTunes on the Acer either. I use it almost exclusively for writing and web access.

So, last night I downloaded the latest Ubuntu Linux 9.04 (Jaunty Jackalope) Netbook Remix image and tried burning it to a DVD so I could install Linux from my portable DVD reader. After trashing two discs it occurred to me to RTFM1, at which point I learned that the IMG file was for “burning” to a memory stick (USB flash drive, thumb drive). I’d never installed “Linux onna stick”2 before and it was almost spooky to watch the fast, silent install with no optical disc drive whirring.

I’ve installed Ubuntu Linux before so there were no surprises. I opted to blow away Windows XP entirely and reformat the entire 160GB hard disk with the Linux EXT3 file system.

The surprise came after I installed the OS and saw the new netbook-specific interface. Wow! Very iPod Touch-like. I elected to stick with it, despite a usual preference for the spare conventional Gnome interface. It caught my fancy.

This morning I downloaded LyX and the accompanying LaTeX packages. I love the easy LyX interface to the complex LaTeX typesetting markup language. It produces beautifully typeset output.

Connecting to my home Laserjet printer via Samba was simple, and all I needed to do to configure my wireless LAN connection was enter the correct passphrase.

One of my secret pleasures is installing operating systems — even Windows in a pinch. Every time I install a recent Linux distribution I marvel at how far Linux has come as a desktop alternative to Windows and MacOS. And free, natch. It feels like a homecoming.

Notes:

1 Read the F*ing Manual (or Instructions)

2 Thank you to Terry Pratchett for the “onna stick” phrase.