From owner-freebsd-ports Wed Aug 4 7:46:14 1999 Delivered-To: freebsd-ports@freebsd.org Received: from att.com (kcgw1.att.com [192.128.133.151]) by hub.freebsd.org (Postfix) with SMTP id E4CFD15153 for ; Wed, 4 Aug 1999 07:46:06 -0700 (PDT) (envelope-from shalunov@att.com) Received: from kcig1.att.att.com by kcgw1.att.com (AT&T/IPNS/UPAS-1.0) for picnic.mat.net!chuckr freebsd.org!freebsd-ports sender att.com!shalunov (att.com!shalunov); Wed Aug 4 09:45 CDT 1999 Received: from tuzik.lz.att.com (tuzik.lz.att.com [135.25.200.84]) by kcig1.att.att.com (AT&T/IPNS/GW-1.0) with ESMTP id JAA16310; Wed, 4 Aug 1999 09:45:56 -0500 (CDT) Received: (from shalunov@localhost) by tuzik.lz.att.com (8.9.2/8.9.2) id KAA18324; Wed, 4 Aug 1999 10:48:34 -0400 (EDT) (envelope-from shalunov@att.com) Date: Wed, 4 Aug 1999 10:48:34 -0400 (EDT) Message-Id: <199908041448.KAA18324@tuzik.lz.att.com> From: stanislav shalunov To: chuckr@picnic.mat.net Cc: freebsd-ports@FreeBSD.ORG In-reply-to: (message from Chuck Robey on Tue, 3 Aug 1999 23:26:05 -0400 (EDT)) Subject: Re: sgmlfmt: producing text files References: Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > From: Chuck Robey > > On Tue, 3 Aug 1999, stanislav shalunov wrote: > You people are forgetting that man pages need to be available on the > base system, and the sgmlformat tools are way too large EVER to be > considered for the main system. Sgmlformat is not a viable solution. Thank you for the flame. You might have kept it to yourself, because nobody even mentioned including sgmlformat into the main system, or formatting man pages for that matter. It would be nice it you had at least read the message you're replying to. Next time you have time to waste, why don't you save it for something more useful? > > * Headings/footings (not so easily fixed, because one needs to > > extract the title, decode entities, etc.); > Untrue, you don't seem to know groff well enough, it's very easy to do. $r="I don't know roff, and don't really want to learn it. I can write a man page, and that's more than enough for me. That's why I asked about LaTeX output. If you had the slightest intention of providing any help (or signal, really), you would have said how one can disable " print $r . "page breaking and headings in roff."; > > * Hyphenations: this makes text not searchable, and > > spell-checking won't work. It's the accepted practice to > > just wrap the lines on word boundaries. > > Not true, man -k uses the troff source for searching, which is not > hyphenated. Hyphenation *could* be turned off, tho. Who mentioned manual pages, again? I don't care for them. I (tried to) use sgmlformat to format my own documents, and no, I don't intend to distribute roff versions. I'm only interested in HTML, text and PostScript. print $r . "hyphenations in roff."; Thank you very much for your helpful and informative reply. I solved my problem with formatting SGML into plain text myself (going through HTML) and wanted to share the recipe with others. What did you try to achieve, Chuck? --Stanislav To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message