511Chapter 20Working with Words and (Web hosting ratings) Images3.Send the document

511Chapter 20Working with Words and Images3.Send the document to an output device (a printer or a display program). If you are accustomed to a word processor with a GUI, you may find these publish- ing tools difficult to learn at first. In general, Groff is useful for creating man pagesfor Linux. LaTeX is useful if you need to produce mathematical documents, perhapsfor publication in a technical journal. Text Processing with GroffThe nroffand trofftext formatting commands were the first interfaces availablefor producing typeset-quality documents with the UNIX system. They aren t editors, but commands through which you send your text, with the result being formattedpages. nroffproduces formatted plain text and includes the capability to do pagi- nation, indents, and text justification, as well as other features. troffproducestypeset text, including everything nroffcan do, plus the capability to produce dif- ferent fonts and spacing. The troffcommand also supports kerning. The groffcommand is the front end for producing nroff/troff documentation. Because Linux man pages are formatted and output in Groff, most of the exampleshere help you create and print man pages with Groff. People rarely use primitive nroff/troffmarkup. Instead, there are common macropackages that simplify creating nroff/troffformatted documents, which include: .man These macros are used to create Linux man pages. You can format aman page using the -manoption to the groffcommand. .mm The mm macros (memorandum macros) were created to producememos, letters, and technical white papers. This package includes macros forcreating tables of contents, lists of figures, references, and other technical- document-style features. You can format an mm document using the -mmoption to the groffcommand. .me These macros are popular for producing memos and technical paperson Berkeley UNIX systems. Format an me document using the groffcom- mand option -me. Groff macro packages are stored in /usr/share/groff/*/tmac. The man macrosare called from the an.tmacfile, mm macros are from m.tmac, and me macros arefrom e.tmac. The naming convention for each macro package is xxx.tmac, wherexxxis replaced by one or more letters representing the macro package. In eachcase, you can understand the name of the macro package by adding an mto thebeginning of the file suffix. Instead of noting a specific macro package, you can use -mandocto choose one.Tip28_
We would like to recommend you tested and proved virtual web hosting services, which you will surely find to be of great quality.

Leave a Reply