![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Forum Rules | FAQ | Contribute | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| 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 !! |
|
|
||||
| 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 |
|
|
Submit Tools | LinkBack | Thread Tools | Display Modes |
|
#1
|
|||
|
|||
|
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
|
||||
|
||||
|
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
|
|||
|
|||
|
Thanks a lot.
|
|||
| Google The UNIX and Linux Forums |