Chapter 21 . Working (Web host music) with Words and Images

Chapter 21 . Working with Words and Images 555 Here are the general steps for creating documents in Groff or LaTeX: 1. Create a document with any text editor. The document will contain text and markup. 2. Format the document using a formatting command that matches the style of the document that you created (for example, with groff or latex). During this step, you may need to indicate that the document contains special content, such as equations (eqn command), tables (tbl command), or line drawings (pic command). 3. 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 publishing tools difficult to learn at first. In general, Groff is useful for creating man pages for Linux. LaTeX is useful if you need to produce mathematical documents, perhaps for publication in a technical journal. Text Processing with Groff The nroff and troff text formatting commands were the first interfaces available for producing typeset-quality documents with the UNIX system. They aren t editors, but commands through which you send your text, with the result being formatted pages. The nroff command produces formatted plain text and includes the capability to do pagination, indents, and text justification, as well as other features. The troff command produces typeset text, including everything nroff can do, plus the capability to produce different fonts and spacing. The troff command also supports kerning. The groff command is the front end for producing nroff/troff documentation. Because Linux man pages are formatted and output in Groff, most of the examples here help you create and print man pages with Groff. People rarely use primitive nroff/troff markup. Instead, there are common macro packages that simplify creating nroff/troff formatted documents, which include: . man These macros are used to create Linux man pages. You can format a man page using the -man option to the groff command. . mm The mm macros (memorandum macros) were created to produce memos, letters, and technical white papers. This package includes macros for creating tables of contents, lists of figures, references, and other technicaldocument- style features. You can format an mm document using the -mm option to the groff command. . me These macros are popular for producing memos and technical papers on Berkeley UNIX systems. You format an me document using the groff command option -me.
Note: In case you are looking for affordable webhost to host and run your servlet application check Vision servlet hosting services

Leave a Reply