VI/NROFF symbolics question

Jenni Hufnagel jenni at elan.UUCP
Tue Jan 24 12:53:09 AEST 1989


>From article <108 at mdiva1.uucp>, by fontana at mdiva1.uucp:
> I am a IBM SCRIPT and GGML user.  I need to know how to
> do a symbolic reference in VI and NROFF. (i.e. I want to
> be able to define a table of symbolic strings and their
> expanded names or string.  Then I want to only type the
> symbolics in the text and have the system input the expanded
> names when I run off the text.)
> 
> Any helpful hints would be appreciated.


In nroff you can define any string you want in a nterm file.  
These files are found in /usr/lib/nterm.   Pick the one that is
correct for your printer.
In the nterm file an example would be as follows

charset
sq 2 []
+- 1 +\b_
  


you  would reference sq in your document by \*(sq.




					Jenni Hufnagel	
					Elan Computer Group, Inc.
					..!{ames,hplabs,uunet}!elan!jenni
-- 
Jenni Hufnagel
..!{ames,hplabs}!elan!jenni
Elan Computer Group, Inc.
410 Cambridge Avenue, Suite A,  Palo Alto,  CA 94306,  (415) 322-2450



More information about the Comp.unix.questions mailing list