elfs: (Default)
[personal profile] elfs
If you're a unix geek, you've probably encountered LaTeX. If you're like me and write stories using a Linux box, you've got only a few choices: OpenOffice, Abiword, or LaTeX. I dislike the first two because they're heavyweight and give you "the power to fiddle endlessly," but they're not really great.

I have discovered (ironic, this) Emacs Muse, a development environment for books. It will automagically generate output in DocBox, LaTeX, and whatever else you want. It will auto-generate PDFs, but it does that by generating LaTeX and calling pdfLaTeX.

But I've always wanted better. And there is better. Enter XeTeX and its accompanying program XeLaTeX. XeLaTex on a properly installed box can use any font installed on the system, once you've given it the list of font paths. With 1,398 True Type fonts on my box, XeLaTeX is truly my cat's meow.

And once it's installed, the syntax is simple. To set the font to "Georgia," just define a font macro:
 \font\fe="Georgia"
\fe


I haven't figure out much beyond this. The title page still renders in the default. But it's a marvelous start, and it totally changes the way I approach LaTeX. The Gentoo installation was trivial, and the installer told it "use the same font libraries and paths as X." Most excellent.

Date: 2007-10-09 12:15 am (UTC)
From: [identity profile] woggie.livejournal.com
Could you be more specific about Open Office being "heavyweight"? Do you mean it has too much power, or that it's bloated and slow?

Date: 2007-10-09 08:30 am (UTC)
lovingboth: (Default)
From: [personal profile] lovingboth
Like the MS Word it's trying to clone, it's not sure whether it's a text processor or a DTP program and ends up nowhere near the best in both categories.

Date: 2007-10-21 06:53 am (UTC)
From: [identity profile] elfs.livejournal.com
DeskTop Publishing.

Date: 2007-10-09 07:14 am (UTC)
From: (Anonymous)
Don't use font-macros if you don't have to; try:

\usepackage{fontspec, xunicode, xltxtra}
\defaultfontfeatures{Mapping=tex-text}% Allows the use of --, --- etc.
\setromanfont{Minion Pro}
\setsansfont[Scale=0.97]{Gill Sans MT}

Date: 2007-10-09 08:44 am (UTC)
From: [identity profile] ewhac.livejournal.com
I take it you've played with LyX (http://lyx.org/)? Thoughts?

LyX is like FrontPage

Date: 2007-10-10 02:22 am (UTC)
From: (Anonymous)
...it does the job, but it puts a LOT of junk in the preamble and too much of it is just for the WYSIWYG interface. I actually prefer WinEdt for my XP boxen, and just plain LaTeX for the Unix varietals. But I've never tried to change the fonts - so I'm really looking to try this!

Joshua

Profile

elfs: (Default)
Elf Sternberg

December 2025

S M T W T F S
 12345 6
78910111213
14151617181920
21222324252627
28293031   

Most Popular Tags

Style Credit

Expand Cut Tags

No cut tags
Page generated Jan. 2nd, 2026 09:02 pm
Powered by Dreamwidth Studios