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.
Today’s modular x86 servers are compute-centric, designed as a least common denominator to support a wide range of IT workloads. Those generic, virtualized IT workloads have much different resource optimization requirements than hyperscale and cloud applications. They have resulted in a “one size fits all” enterprise IT architecture that is not optimized for a specific set of IT workloads, and especially not emerging hyperscale workloads, such as web applications, big data, and object storage. In this report, you will learn how shifting the focus from traditional compute-centric IT architectures to an innovative disaggregated fabric-based architecture can optimize and scale your data center.
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
| 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 |
| Non-Linux FOSS: Seashore | May 10, 2013 |
| Trying to Tame the Tablet | May 08, 2013 |
| Dart: a New Web Programming Experience | May 07, 2013 |
- New Products
- Making Linux and Android Get Along (It's Not as Hard as It Sounds)
- A Topic for Discussion - Open Source Feature-Richness?
- Drupal Is a Framework: Why Everyone Needs to Understand This
- Home, My Backup Data Center
- What's the tweeting protocol?
- New Products
- Readers' Choice Awards
- RSS Feeds
- Dart: a New Web Programming Experience
Enter to Win an Adafruit Prototyping Pi Plate 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 Prototyping Pi Plate 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
- Next winner announced on 5-21-13!
Free Webinar: Linux Backup and Recovery
Most companies incorporate backup procedures for critical data, which can be restored quickly if a loss occurs. However, fewer companies are prepared for catastrophic system failures, in which they lose all data, the entire operating system, applications, settings, patches and more, reducing their system(s) to “bare metal.” After all, before data can be restored to a system, there must be a system to restore it to.
In this one hour webinar, learn how to enhance your existing backup strategies for better disaster recovery preparedness using Storix System Backup Administrator (SBAdmin), a highly flexible bare-metal recovery solution for UNIX and Linux systems.








11 hours 41 min ago
14 hours 14 min ago
15 hours 31 min ago
16 hours 6 min ago
16 hours 28 min ago
21 hours 17 min ago
22 hours 3 min ago
23 hours 37 min ago
1 day 1 hour ago
1 day 3 hours ago