DOCTYPE(1) General Commands Manual DOCTYPE(1)NAME
doctype - intuit command line for formatting a document
SYNOPSIS
doctype [ option ... ] [ file ] ...
DESCRIPTION
Doctype examines a troff(1) input file to deduce the appropriate text formatting command and prints it on standard output. Doctype recog-
nizes input for troff(1), related preprocessors like eqn(1), and the ms(6) and mm macro packages.
Option -n invokes nroff instead of troff. Other options are passed to troff.
EXAMPLES
eval `{doctype chapter.?} | lp
Typeset files named chapter.0, chapter.1, ...
SOURCE
/rc/bin/doctype
SEE ALSO troff(1), eqn(1), tbl(1), pic(1), grap(1), ms(6), man(6)BUGS
In true A.I. style, its best guesses are inspired rather than accurate.
DOCTYPE(1)
Check Out this Related Man Page
GROG(1) General Commands Manual GROG(1)NAME
grog - guess options for groff command
SYNOPSIS
grog [ -option ... ] [ files ... ]
DESCRIPTION
grog reads files and guesses which of the groff(1) options -e, -man, -me, -mm, -mom, -ms, -mdoc, -mdoc-old, -p, -R, -g, -G, -s, and -t are
required for printing files, and prints the groff command including those options on the standard output. A filename of - is taken to
refer to the standard input. If no files are specified the standard input will be read. Any specified options will be included in the
printed command. No space is allowed between options and their arguments. The only options recognized are -C (which is also passed on) to
enable compatibility mode, and -v to print the version number.
For example,
`grog -Tdvi paper.ms`
will guess the appropriate command to print paper.ms and then run it after adding the -Tdvi option.
SEE ALSO doctype(1), groff(1), troff(1), tbl(1), pic(1), eqn(1), refer(1), grn(1), grap(1), soelim(1)Groff Version 1.18.1 06 June 2002 GROG(1)
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 (2 Replies)
i have been trying to understand this chapter titled "Searching for Files and Text" for a few weeks now.
unfortunately, this chapter is one of those things, that no matter how hard you try and how long you try for, you are incapable of understanding (at least in my case)
this entire chapter,... (2 Replies)
Hi, does anyone knows how to give the page feed command to Printer in troff.
Actually I want to implement the functionality where I'll print say 10 pages and I want user to stop printer at 5th page to do manual feed by user .... (2 Replies)
Sorry for being a n00b, but I'm having a lot more trouble than I should with formatting the output to the program I finally completed. I'm basically looking for the linux equivalent to setw( ) from c++ so that I can print things in columns like this (but without the underlines lol):
MISSPELLED: ... (4 Replies)