LyX and Lulu
Writers are everywhere. They can be in school, in business or trying to make a living printing text on the page. The Internet abounds with various Microsoft Windows tools to aid in writing books, transcripts and other media. Many of these sites and programs still rely on traditional word-processing programs for output.
LyX is different. It's a typesetting tool designed on LaTeX. In short, LyX makes your printed documents look more like what comes from a professional publishing company. Lulu.com is a fast-growing Web site where you can publish that book you've been meaning to write for the last ten years.
Together, LyX and Lulu make a great pair. Although they can't fix your poor writing habits, they will make your final publication look professionally printed and bound.
This is part one of a two-part series. In this first article, I explain some of the striking benefits of LyX and how to get your final document into the Lulu.com Web site. The next article will focus on using Pixel to create your final book cover for the publication.
LaTeX is a typesetting system, not a word processor. Word processors fit nicely in the business world, because they give command of fancy document layout to the end user. They also have other tools you expect, such as spell checkers or an automated thesaurus.
LaTeX did not impress me at first. Its raw form is ugly and difficult to understand. Just looking at the text, you cannot realize what it will look like in final printed form. Consider the following text example from the LaTeX Web site:
\documentclass{article}
\title{Cartesian closed categories and the price of eggs}
\author{Jane Doe}
\date{September 1994}
\begin{document}
\maketitle
Hello world!
\end{document}
This is what you need to type into a text editor for LaTeX to render a graphical output. But what you get after using LaTeX is:
Cartesian closed categories and the price of eggs Jane Doe September 1994 Hello world!
So what's the big deal with the output? I'll admit in short documents, it is not easy to see a difference with LaTeX typesetting. However, in longer published works, you begin to see the subtle differences expand dramatically.
Looking closer, you will find LaTeX treats printed output with refined precision. Specifically, the kerning, letter spacing and layout is different from what comes out of a word processor. Consider Figures 1 and 2 from dartar.free.fr/w/?wakka=latex.

Figure 1. An Example of Microsoft Word Kerning—Incorrect Kerning for the Ta Letter Pair

Figure 2. The Word Table Processed by LyX/LaTeX—Adjusted Kerning for the Ta Letter Pair
As you can see in Figures 1 and 2, the kerning between characters is slightly different. One word does not make a big difference, but a whole page of text does.
As you can see from the previous example, LaTeX is ugly to work with in plain-text format. The commands provide fine-looking output, but no one wants to key these in by hand. To fix this problem, several popular LaTeX editing programs are available to do the command formatting for you.
LyX is a GUI document-processing front end for LaTeX. With LyX, you can key in the text and let the program organize how it looks on paper. LyX calls this the What You See Is What You Mean (WYSIWN) way of document processing—meaning you don't need to play with formatting the document. You focus on what you're writing and let the LyX commands do the work of making it look good.
LyX is likely in the repository of your Linux distribution. So, all you probably need to do is use your package manager to install the program, and you're ready to begin. If LyX is not in the repository, you can download and install it from www.lyx.org.
Besides the LyX package, it's also important to download and install a spell-checking program, such as ispell or aspell. Again, use your package manager to install these.
Prepare yourself—the starting screen of LyX appears stark compared to a typical word processor (Figure 3). Remember, it's not a word processor; it's a text publishing system. LyX won't disappoint you in its capability for delivering good results.
Before going further, set up some defaults applicable to your environment. First, go to Layout→Document (Figure 4). Here you need to define what document you are creating. For this two-part series, we work with the book class in 8.5x11 US Letter. After selecting the book class, select Paper, as shown in Figure 5. Use the drop-down list to find US Letter.
Next, include either ispell or aspell as the assigned spell checker for LyX. Go to Edit→Preferences, and select Spellchecker under Language Settings. In Figure 6, I have selected aspell as the spell checker for LyX.
Finally, review the document converters installed with LyX. Look further down the Preferences screen, and you will see Converters. Select this, and make sure your distribution lists the proper .dvi and .pdf programs in the right location (Figure 7).

Figure 7. Some distributions (like Kubuntu) have the right converters installed by the package manager.
When finished, you must reconfigure LyX for it to work properly. Go to Edit→Reconfigure, then restart LyX. Now you're ready to learn this powerful program.
Realizing the promise of Apache® Hadoop® requires the effective deployment of compute, memory, storage and networking to achieve optimal results. With its flexibility and multitude of options, it is easy to over or under provision the server infrastructure, resulting in poor performance and high TCO. Join us for an in depth, technical discussion with industry experts from leading Hadoop and server companies who will provide insights into the key considerations for designing and deploying an optimal Hadoop cluster.
Sponsored by AMD
Built-in forensics, incident response, and security with Red Hat Enterprise Linux 6
Every security policy provides guidance and requirements for ensuring adequate protection of information and data, as well as high-level technical and administrative security requirements for a system in a given environment. Traditionally, providing security for a system focuses on the confidentiality of the information on it. However, protecting the data integrity and system and data availability is just as important. For example, when processing United States intelligence information, there are three attributes that require protection: confidentiality, integrity, and availability.
Learn more about catching the bad guy in this free white paper.
Sponsored by DLT Solutions
| Designing Electronics with Linux | May 22, 2013 |
| Dynamic DNS—an Object Lesson in Problem Solving | May 21, 2013 |
| Using Salt Stack and Vagrant for Drupal Development | May 20, 2013 |
| Making Linux and Android Get Along (It's Not as Hard as It Sounds) | May 16, 2013 |
| Drupal Is a Framework: Why Everyone Needs to Understand This | May 15, 2013 |
| Home, My Backup Data Center | May 13, 2013 |
- Designing Electronics with Linux
- Making Linux and Android Get Along (It's Not as Hard as It Sounds)
- Dynamic DNS—an Object Lesson in Problem Solving
- Using Salt Stack and Vagrant for Drupal Development
- New Products
- Build a Skype Server for Your Home Phone System
- Validate an E-Mail Address with PHP, the Right Way
- Why Python?
- A Topic for Discussion - Open Source Feature-Richness?
- Tech Tip: Really Simple HTTP Server with Python
Enter to Win an Adafruit Pi Cobbler Breakout Kit for Raspberry Pi

It's Raspberry Pi month at Linux Journal. Each week in May, Adafruit will be giving away a Pi-related prize to a lucky, randomly drawn LJ reader. Winners will be announced weekly.
Fill out the fields below to enter to win this week's prize-- a Pi Cobbler Breakout Kit for Raspberry Pi.
Congratulations to our winners so far:
- 5-8-13, Pi Starter Pack: Jack Davis
- 5-15-13, Pi Model B 512MB RAM: Patrick Dunn
- 5-21-13, Prototyping Pi Plate Kit: Philip Kirby
- Next winner announced on 5-27-13!
Free Webinar: Hadoop
How to Build an Optimal Hadoop Cluster to Store and Maintain Unlimited Amounts of Data Using Microservers
Realizing the promise of Apache® Hadoop® requires the effective deployment of compute, memory, storage and networking to achieve optimal results. With its flexibility and multitude of options, it is easy to over or under provision the server infrastructure, resulting in poor performance and high TCO. Join us for an in depth, technical discussion with industry experts from leading Hadoop and server companies who will provide insights into the key considerations for designing and deploying an optimal Hadoop cluster.
Some of key questions to be discussed are:
- What is the “typical” Hadoop cluster and what should be installed on the different machine types?
- Why should you consider the typical workload patterns when making your hardware decisions?
- Are all microservers created equal for Hadoop deployments?
- How do I plan for expansion if I require more compute, memory, storage or networking?








3 hours 17 min ago
3 hours 25 min ago
5 hours 40 min ago
8 hours 9 min ago
18 hours 12 min ago
22 hours 39 min ago
1 day 2 hours ago
1 day 2 hours ago
1 day 5 hours ago
1 day 5 hours ago