Previous Page | Next Page

  1. Introduction
  2. About Linux
  3. Installation and getting started
  4. Logging in and out
  5. Basic Linux Commands
  6. Linux Files and File Permissions
  7. Linux Directory Structure
  8. Finding Files
  9. Linux Help
  10. Setting Time
  11. Devices
  12. Tips
  13. Accessing Other Filesystems
  14. Accessing Removable Media
  15. Making and Managing Filesystems
  16. Emergency Filesystems and Procedures
  17. LILO and Runlevels
  18. Init
  19. Environment, Shell Selection, and Startu
  20. Linux Kernel
  21. Package Installation and Printing
  22. Configuration, Logging and CRON
  23. Keys and Terminal Configuration
  24. Sound Configuration
  25. Managing Users
  26. Passwords
  27. Process Control
  28. Configuration and Diagnostic Tools
  29. Overall Configuration
  30. Using PAM
  31. Basic Network Setup
  32. Tools and Terms
  33. Novell and Printing
  34. Inetd Services
  35. Xinetd Services
  36. Other Network Services
  37. FTP and Telnet
  38. Samba
  39. Identd (auth)
  40. X Configuration
  41. X Use
  42. Using X Remotely
  43. X Documentation
  44. DNS
  45. DHCP and BOOTP
  46. Apache
  47. NFS
  48. PPP
  49. Mail
  50. Routing
  51. IP Masquerading
  52. Proxy Servers and ipchains
  53. UUCP
  54. News
  55. NIS
  56. Network Security
  57. Secure Shell
  58. Text Processing
  59. Shell Programming
  60. Emacs
  61. VI
  62. Recommended Reading
  63. Credits

Linux Text Processing


GNU's version of nroff and troff. Groff produces output both for printing and plain ASC text. Macro packages are provided for different types of documents.

  • mgs - Writing papers
  • man - For writing man pages

To make a man page from a created file(see the section on how to make a man page) type:

groff -t -man -Tascii viewmod.txt > viewmod.1

-Tascii Procuces ASCII text -Tps Produces postscript -Tdvi Output similar to TeX (DVI - Device Independent)

TEX and LaTeX

LaTeX is a set of macros on top of TEX that is concerned with the structure of a document such as chapters, footnotes and sections.
TEX Commands:

\documentstyle{letter} Choices: article, report, book, letter. They specify global macros
\beginBegin document
\EndEnd document
\\Line break
\Starts a command, If backslach is trailing, a space is forced
~Forces a space between tow words or characters without a line break
{\em }Text within brackets is emphasized
\ttTypwriter text


\address{123 Desert Rd \\Unit 2B\\Wayside, AZ  08821}
\signature{John Smith}
		1100 N East Street \\
		California, MD  20190}
\opening{Dear George,}
I would like to inform you that I have just discovered \LaTex\ and it is the greatest
thing since sliced bread.  You should use it for all your text processing needs.
\closing{Most Sincerely,}

Save as tolinux.tex
Type "latex tolinux"
Results are output in tolinux.dvi

Use "dvips" to make a postscript file from the dvi file, Ex: dvips ľo tolinux.dvi
To see the output, you can use "xdvi" from X windows.
The program "dvilj" will print dvi files on Laserjet printers.
The program "eps" will print dvi files on epson printers.

LaTeX user's Guide and Reference Manual
The TEXbook
Making TEX Work


Used to produce hypertext info pages and printed manuals.

  • @ - Begins a command
  • @c or @comment - Begins a comment
  • @setfilename - Name of output file
  • @settitle - The title of the document
  • @setchapternewpage - Tells where to start new chapters. Choices: odd, even
  • @code - Specifies text to be emphasized
  • @ifinfo - Specified text to show up only in info file
  • @enumerate
  • @end - Way to end things like ifinfo, titlepage, menu, enumerate
  • @table
  • @var - Indicates a metavariable
  • @xref - Cross reference to another node
  • @cindex - Makes entries in the concept index at the end of the document

Example file:

\input texinfo @c -*-texinfo-*-
@c %**start of header
@settitle An example texinfo file
@c %**end of header

@sp 10
@comment This is to be in large font
@center @titlefont(This Test Title)
@end titlepage

@c	       Node, Next            , Previous, Up
@node Top , First Chapter , (dir), (dir)
This is a test info file.  There is no worthwhile text here.
This is only a test.
@end ifinfo

* First Chapter::   	The only chapter
* Concept Index::	Index of Concepts
@end menu

@c		Node             , Next               ,previous, up
@node	First Chapter, Concept Index, Top, Top
@chapter First Chapter
@cindex Sample index entry

@c A numbered list
The first one
The second one
@end enumerate

The @code{makeinfo} and @code{texinfo-format-buffer}
commands transform a Texinfo file into an Info file.  @TeX{}
typesets it for a printed manual.

@c		Node              ,next , previous         , up
@node	Concept Index,       ,  First Chapter, Top
@unnumbered Concept Index

@printindex cp


If the file is called test.texi, type "makeinfo test.texi" to make an info file called