The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
Google UNIX.COM


UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !!

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Page feed in Troff dpmore UNIX for Dummies Questions & Answers 2 05-18-2008 01:22 AM
Expect Terminal Macros GhettoFish Shell Programming and Scripting 0 02-25-2008 08:01 AM
One last question about capability macros frequency8 High Level Programming 1 05-23-2007 10:10 AM
How do capability macros get named? frequency8 High Level Programming 2 05-23-2007 03:50 AM
saving macros for VIM yngwie UNIX for Dummies Questions & Answers 3 05-13-2007 09:26 PM

Closed Thread
 
Submit Tools LinkBack Thread Tools Display Modes
  #1  
Old 12-31-2001
Registered User
 

Join Date: Nov 2001
Location: China
Posts: 18
troff macros

Hi,
I'm going write a small handbook. The typesetting software I'm going to use is troff. There are -ms -me -mm macros for troff. Which one is the most suitable? Thanks!

-Tony
Forum Sponsor
  #2  
Old 01-02-2002
Perderabo's Avatar
Unix Daemon
 

Join Date: Aug 2001
Location: Washington DC Area
Posts: 8,610
I don't know the troff macro packages that well. But I reviewed my troff documentation to get a sense of the differences.

-ms
This was the first and most widely available macro package.

-mm
This was written by the Unix Support Group and was intended to be an official part of System V. It is much bigger and more powerful than the others. It is also harder to learn. I see that HP-UX has a mm command but SunOS does not. mm is a command to print documented formatted by the -mm macros.

-me
This was written at Berkeley. Its documentation says that it is for technical papers. (The documentation on the other macro packages indicate that they are more general purpose.) This package is much simpler and less powerful. Stuff written in -me will work well in troff or nroff.

So I guess that -ms is probably the best choice for a first package. But if you need very complex stuff, -mm may be best. And if you can settle for some limited capability or need to easily use nroff and troff then -me may be best.

It may be lame, but here is what I do: I find a document that is nicely formatted and I get the source code for it. Then I remove the author's text and put in my own.
  #3  
Old 01-03-2002
Registered User
 

Join Date: Nov 2001
Location: China
Posts: 18
Thanks a lot.
Google The UNIX and Linux Forums
Closed Thread

Thread Tools
Display Modes




All times are GMT -7. The time now is 10:50 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008. All Rights Reserved.Ad Management by RedTyger Visit The Complex Event Processing Blog

Content Relevant URLs by vBSEO 3.2.0