Return-Path: owner-LDP-L@cornell.edu Received: from listproc.mail.cornell.edu (LISTPROC.MAIL.CORNELL.EDU [132.236.56.14]) by keos.Helsinki.FI (8.6.9/H46) with SMTP id XAA20933 for ; Sun, 5 Feb 1995 23:15:19 +0200 Received: from localhost.mail.cornell.edu ([127.0.0.1]) by listproc.mail.cornell.edu with SMTP id <659609-3>; Sun, 5 Feb 1995 15:40:57 -0500 Received: from cornell.edu ([132.236.56.6]) by listproc.mail.cornell.edu with SMTP id <659596-8>; Sun, 5 Feb 1995 15:37:52 -0500 Received: (from daemon@localhost) by cornell.edu (8.6.9/8.6.9) id PAA02173 for LDP-L@listproc.mail.cornell.edu; Sun, 5 Feb 1995 15:37:21 -0500 Received: from imladris.p93.pip.dknet.dk (khp@p93.pip.dknet.dk [193.88.66.93]) by cornell.edu (8.6.9/8.6.9) with SMTP id PAA02148 for ; Sun, 5 Feb 1995 15:37:15 -0500 Received: (from khp@localhost) by imladris.p93.pip.dknet.dk (8.6.9/8.6.9) id VAA00172; Sun, 5 Feb 1995 21:15:11 +0100 Message-Id: <199502052015.VAA00172@imladris.p93.pip.dknet.dk> Date: Sun, 5 Feb 1995 15:15:10 -0500 Reply-To: LDP-L@cornell.edu Sender: owner-LDP-L@cornell.edu From: Kai Harrekilde-Petersen To: Linux Documentation Project writers Subject: Re: trouble with sgml and my PPP document In-Reply-To: <199501020303.TAA19803@netcom8.netcom.com> from "Al Longyear" at Jan 1, 95 10:03:41 pm Content-Type: text X-Cc: longyear@netcom.com (Al Longyear) X-PH: V4.1@cornell.edu (Cornell Modified) X-Mailer: ELM [version 2.4 PL23] X-Listprocessor-Version: 7.1 -- ListProcessor by CREN Content-Length: 2541 Status: RO X-Status: Al Longyear wrote: > > I am having trouble getting the sgml macros to properly format the > PPP-HOWTO document. It seems to have rearranged the words in the > question. It splits sentenances and re-arranges the terms. > > I could use some help here. How do I fix it? Would shortening the > question help? If so, what would I do with the remainder of the text > which is used to isolate the question? OK, it seems that I was able to somewhat isolate the source of the problem (which I have in the ftape-HOWTO): I ran "format -Tnroff howto > howto.ms" and took a look at the output. I found that the rearranging of the words in the headline appears IF - and only if - the following headline is split onto two or more lines. The mangling occurs exactly where the line breaks occur! Below I have included a diff which shows how I was able to get rid of the garbling of my section headers. I tried to trace this a bit backwards, but I didn't get very far, as I don't know the internals of sgmls and sgmlasp (and I know naught of *roff). Hopefully, this ring a bell for someone. --- howto.ms.orig Sun Feb 5 20:57:15 1995 +++ howto.ms Sun Feb 5 21:01:07 1995 @@ -390,8 +390,7 @@ consider to upgrade to at least \fC1.14d\fR. .Pp .NH 2+\n(il -.ds h Following the development of the -\fCftape\fR driver +.ds h Following the development of the \fCftape\fR driver \*h .XS \n% \*(SN \*h @@ -806,8 +805,7 @@ .Pp .Pp .NH 2+\n(il -.ds h Getting PCI motherboards to work with -\fCftape\fR +.ds h Getting PCI motherboards to work with \fCftape\fR \*h .XS \n% \*(SN \*h @@ -1360,8 +1358,7 @@ .Pp .Pp .NH 2+\n(il -.ds h The \fCv1.1.0\fR kernel wont compile when \fCftape\fR support is -added +.ds h The \fCv1.1.0\fR kernel wont compile when \fCftape\fR support is added \*h .XS \n% \*(SN \*h @@ -1378,8 +1375,7 @@ .Pp .Pp .NH 2+\n(il -.ds h \fCftape\fR complains that ``\fCThis tape has no 'Linux raw -format'\fR'' +.ds h \fCftape\fR complains that ``\fCThis tape has no 'Linux raw format'\fR'' \*h .XS \n% \*(SN \*h @@ -1395,8 +1391,7 @@ .Pp .Pp .NH 2+\n(il -.ds h Where can I find the \fCtar\fR/\fCmt\fR/\fCcpio\fR/\fCdd\fR -binaries/sources/manpages? +.ds h Where can I find the \fCtar\fR/\fCmt\fR/\fCcpio\fR/\fCdd\fR binaries/sources/manpages? \*h .XS \n% \*(SN \*h Kai -- Kai Harrekilde-Petersen Linux: choice of a GNU generation >> Inside every little problem there's a BIG problem, struggling to get out << ===== Please do not use my old account as it's void ===== .