Charles.Forsyth20060303-partialeea662d19 years agoHistory
97 lines · 1.7 KB · Text
RawDownload
.TH COOK 1.SH NAMEcook \- SGML converter.SH SYNOPSIS.B cook[.B -f.I format] [.B -o.I outfile] [.I infile].SH DESCRIPTION.B Cookreads a file in SGML format and produces an interpretation of the file ineither LaTex or HTML format on standard output..PPIf no.I infileargument is present, the standard input is read.If an.I outfileargument is present, the results are written to that file insteadof standard output.The.I formatargument must be either.B htmlto produce HTML format output or one of:.BR latex ,.BR latexbook ,.BR latexpart ,.BR latexproc ,or.B latexslidesto produce LaTex output..PPThe.B latexpartformat assumes that the resulting output is to be included inthe body of a controlling LaTex document. The other LaTexformat options result in the generation of various LaTexwrapping commands..PP.B Cookwas designed to operate on the output of the.B Brutuseditor (See .IR brutus (1)) and so its mapping of SGML tags is closely linked to thosegenerated by.IR brutus ..PPThe following tags are recognised:.BR Author ,.BR Bold. "\fIn\fR,".BR Caption ,.BR Example ,.BR Exercise ,.BR Extension ,.BR Float ,.BR Heading ,.BR Index ,.BR Index-topic ,.BR Italic. "\fIn\fR,".BR Label ,.BR Label-ref ,.BR List ,.BR List-elem ,.BR No-fill ,.BR Par ,.BR Roman. "\fIn\fR,".BR SGML ,.BR Title ,and.BR Type. "\fIn\fR,"where.I nis a character point size and must be one of:.BR 6 ,.BR 8 ,.BR 10 ,.BR 12 " or".BR 16 ..SH FILES.B /dis/wm/brutus/.SH SOURCE.B /appl/cmd/cook.b.SH SEE ALSO.IR brutus (1).SH DIAGNOSTICS.BR "Not an SGML file" :The first line of the input file must contain the SGML tag.B <SGML> and nothing else.