28.03.2013 Views

Guide to LaTeX (4th Edition) (Tools and Techniques

Guide to LaTeX (4th Edition) (Tools and Techniques

Guide to LaTeX (4th Edition) (Tools and Techniques

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

1.6. T E X processing procedure 15<br />

The final step is <strong>to</strong> produce the printed pages from the DVI file. This<br />

requires another program, a driver, <strong>to</strong> generate the instructions specific<br />

<strong>to</strong> the given printer. For example, <strong>to</strong> produce a PostScript file, one runs<br />

dvips hi<br />

<strong>to</strong> obtain hi.ps from hi.dvi. And then one sends hi.ps <strong>to</strong> the PostScript<br />

printer with the regular comm<strong>and</strong> for that computer system.<br />

Previewing the DVI file on a computer moni<strong>to</strong>r before printing was<br />

a later development, requiring high quality graphics displays. These<br />

programs are essentially special drivers that send the output directly <strong>to</strong><br />

the moni<strong>to</strong>r rather than <strong>to</strong> a printer or printer file. One very popular<br />

previewer is called with<br />

xdvi hi<br />

<strong>to</strong> view hi.dvi before committing it <strong>to</strong> paper.<br />

1.6.2 And <strong>to</strong>day<br />

The various steps for L AT E X processing described above are still necessary<br />

<strong>to</strong>day, <strong>and</strong> one can open up a comm<strong>and</strong> prompt window <strong>and</strong> carry them<br />

out just as before. However, there now exist intelligent edi<strong>to</strong>rs with L AT E Xsavvy<br />

that not only assist writing the source text, but also will call the<br />

various programs, T E X, previewer, printer driver, BIBT E X, MakeIndex (these<br />

are explained later) with a mouse click.<br />

One such edi<strong>to</strong>r for Windows, available on the enclosed T E XLive CD in<br />

the support direc<strong>to</strong>ry, is called WinShell, written by Ingo H. de Boer (www.<br />

winshell.de). Although free of charge, its author appreciates donations<br />

<strong>to</strong> offset his expenses.<br />

Another such edi<strong>to</strong>r <strong>and</strong> L AT E X interface is WinEdt by Aleks<strong>and</strong>er Simonic<br />

(www.winedt.com). A sample window with the opening text of this<br />

chapter is shown in Figure 1.1. This program is available for a 30-day trial<br />

period, after which one must pay a nominal fee <strong>to</strong> obtain a licence. It is<br />

the edi<strong>to</strong>r that we ourselves use <strong>and</strong> we can highly recommend it.<br />

An alternative is LyX, a free, open source software for document processing<br />

in near WYSIWYG, acting as a front-end <strong>to</strong> L AT E X, where the user<br />

need not know anything about L AT E X. See its home page at www.lyx.org.<br />

It must be stressed that all the above are interfaces <strong>to</strong> an existing L AT E X<br />

installation. On the other h<strong>and</strong>, there are also commercial packages which<br />

include both the T E X/L AT E X installation <strong>and</strong> a graphics interface. These are<br />

listed in Section B.1.1.<br />

1.6.3 Alternative <strong>to</strong> T E X: pdfT E X<br />

As we mentioned earlier, it is permitted <strong>to</strong> use the T E X source code <strong>to</strong><br />

generate something else, as long as it bears another name. One such

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!