Archive for August, 2007

556 Part IV . Running Applications Groff (Mac os x web server) macro

Tuesday, August 21st, 2007

556 Part IV . Running Applications Groff macro packages are stored in /usr/share/groff/*/tmac. The man macros are called from the an.tmac file, mm macros are from m.tmac, and me macros are from e.tmac. The naming convention for each macro package is xxx.tmac, where xxx represents the macro package. In each case, you can deduce the name of the macro package by adding an m to the beginning of the file prefix. Instead of noting a specific macro package, you can use -mandoc to choose one. When you run the groff formatting command, you can indicate on the command line which macro packages you are using. You can also indicate that the document should be run through any of the following commands that preprocess text for special formats: . eqn Formats macros that produce equations in groff. . pic Formats macros that create simple line drawings in groff. . tbl Formats macros that produce tables within groff. The formatted Groff document is output for a particular device type. The device can be a printer, a window, or (for plain text) your shell. Here are the output forms Groff supports: . ps PostScript output for PostScript printer or a PostScript previewer . lj4 Output for an HP LaserJet4 printer or other PCL5-compatible printer . ascii Plain-text output that can be viewed from a Terminal window . dvi Output in TeX dvi, to output to a variety of devices described later . X75 Output for an X11 75 dots/inch previewer . X100 Output for an X11 100 dots/inch previewer . latin1 Typewriter-like output using the ISO Latin-1 character set Formatting and Printing Documents with Groff Try formatting and printing an existing Groff document using any man pages on your system. You ll find some in /usr/share/man/*; they re compressed, so copy them to a temporary directory and unzip them to try out Groff. The following commands copy the chown man page to the /tmp directory, unzip it, and format it in plain text so you can page through it on your screen: $ cp /usr/share/man/man1/chown.1.gz /tmp $ gunzip /tmp/chown.1.gz $ groff -Tascii -man /tmp/chown.1 | less In this example, the chown man page (chown.1.gz) is copied to the /tmp directory, unzipped (using gunzip), and output in plain text (-Tascii) using the man macros Tip
Go visit our java server pages services for a reliable, lowcost webhost to satisfy all your needs.

Chapter 21 . Working with Words and Images (Web design service)

Tuesday, August 21st, 2007

554 Part (Web design templates) IV . Running Applications Choosing a

Monday, August 20th, 2007

Chapter 21 . Working with Words and (Web site translator) Images

Monday, August 20th, 2007

552 Part IV . Running Applications Other Microsoft (Web page design)

Monday, August 20th, 2007

Chapter 21 . Working with Words and Images (Free web hosting with ftp)

Sunday, August 19th, 2007

550 Part IV . Running Applications AbiWord (Apache web server for windows) is

Sunday, August 19th, 2007

Apache web server for windows - Chapter 21 . Working with Words and Images

Saturday, August 18th, 2007

548 Part IV . Running Applications Other (Mac os x web server) Word

Saturday, August 18th, 2007

Geocities web hosting - Chapter 21 . Working with Words and Images

Friday, August 17th, 2007