Date: Tue, 9 Jul 1996 10:04:24 -0700 From: "David E. O'Brien" <obrien@Nuxi.cs.ucdavis.edu> To: FreeBSD-gnats-submit@freebsd.org Subject: docs/1378: sgmlfmt generated freebsd-faq.tex does not LaTeX Message-ID: <199607091704.KAA00901@relay.nuxi.com> Resent-Message-ID: <199607091710.KAA22370@freefall.freebsd.org>
index | next in thread | raw e-mail
>Number: 1378
>Category: docs
>Synopsis: sgmlfmt generated freebsd-faq.tex does not LaTeX
>Confidential: yes
>Severity: non-critical
>Priority: medium
>Responsible: freebsd-bugs
>State: open
>Class: doc-bug
>Submitter-Id: current-users
>Arrival-Date: Tue Jul 9 10:10:01 PDT 1996
>Last-Modified:
>Originator: David E. O'Brien
>Organization:
University of California, Davis
>Release: FreeBSD 2.1.0-RELEASE tools, -current FAQ source file
>Environment:
Using sgmlfmt and LaTeX 2e package from 2.1-RELEASE
>Description:
The freebsd-faq.tex file generated by sgmlfmt is not LaTeX'able.
The problem line in the sgml file is:
<item> Enter <tt/-c/ at the bootprompt. <newline>
[ the kernel goes into configuration mode ]
<item> Disable <tt/sio0/, <tt/sio1/, <tt/sio2/ and <tt/sio3/
In the tex file this becomes:
\item Enter {\tt -c} at the bootprompt. \\
[ the kernel goes into configuration mode ]
\item Disable {\tt sio0}, {\tt sio1}, {\tt sio2} and {\tt sio3}
When LaTeX is run on this is errors with:
[27] [28] [29] [30] [31] [32]
! Missing number, treated as zero.
<to be read again>
t
l.1799 [ the kernel goes into configuration mode ]
?
The problem is LaTeX doesn't like the ``['' and ``]''.
I manually fixed it by changing ``['' to ``\['' or ``(''.
>How-To-Repeat:
sgmlfmt -f latex freebsd-faq.sgm
latex freebsd-faq.tex
>Fix:
Don't know any sgml. Sorry.
>Audit-Trail:
>Unformatted:
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199607091704.KAA00901>
