Article View: comp.text.tex
Article #2307Re: Problem with comp.text.tex
From: Robin Fairbairns
Date: Mon, 07 Sep 1992 08:28
Date: Mon, 07 Sep 1992 08:28
56 lines
2327 bytes
2327 bytes
In article <1992Sep4.091432.10868@aber.ac.uk>, cmk@aber.ac.uk (C M King)
writes:
|>
|> I have an odd problem with the use of miniboxedpage.
You bet
|> \documentstyle[a4wide]{report}
|> \input{boxedminipage.sty}
usually, if the file name ends `.sty', the implication is that you
should include it inside the optional argument of \documentstyle. So
your first two lines should be just one, and shopuld read
\documentstyle[a4wide,boxedminipage]{report}
|> \begin{document}
|> \begin{minipage}[c]{10in}
|> hello
|> \end{minipage}
|> \begin{boxedminipage}[b]{10in}
|> hello
|> \end{boxedminipage}
|> \end{document}
|>
|> -------------------------------
|>
|> the error I get when I try to run it through latex is as follows
|>
|> latex header.tex
|> This is TeX, C Version 3.14
|> (header.tex
|> LaTeX Version 2.09 <7 Dec 1989>
|> (/usr/local/TeX/lib/tex/inputs/report.sty
|> Document Style `report' <13 Nov 89>.
|> (/usr/local/TeX/lib/tex/inputs/rep10.sty)
|> (/usr/local/TeX/lib/tex/inputs/titlepage.sty))
|> (/usr/local/TeX/lib/tex/local_inputs/a4wide.sty
|> (/usr/local/TeX/lib/tex/local_inputs/a4.sty)) (boxedminipage.sty)
(header.aux)
|> Overfull \hbox (313.11375pt too wide) in paragraph at lines 7--10
|> []$[]$
|> ! Use of \@ doesn't match its definition.
|> \boxedminipage ->\@if
|> nextchar [{\@iboxedminipage}{\@iboxedminipage[c]}
|>...
Read as I suggest, boxedminipage.sty will behave as if it was `part'
of LaTeX, where `@' behaves like a letter. Read in your file, it was
being parsed as part of your text, where the control sequence \@ gets
activated.
--
Robin (dump Brian Kay) Fairbairns rf@cl.cam.ac.uk
U of Cambridge Computer Lab, Pembroke St, Cambridge CB2 3QG, UK
[Finally back in work - what a relief!]
Technical Details
Message-ID:
<1992Sep7.082808.16437@infodev.cam.ac.uk>Path:
arc1-ca.pugleaf.net!sparky!uunet!pipex!warwick!pavo.csi.cam.ac.uk!cam-cl!rfReferences:
<1992Sep4.091432.10868@aber.ac.uk>Show Full Headers
Complete Article Headers
Newsgroups: comp.text.tex Path: arc1-ca.pugleaf.net!sparky!uunet!pipex!warwick!pavo.csi.cam.ac.uk!cam-cl!rf From: rf@cl.cam.ac.uk (Robin Fairbairns) Subject: Re: Problem with comp.text.tex Message-ID: <1992Sep7.082808.16437@infodev.cam.ac.uk> Sender: news@infodev.cam.ac.uk (USENET news) Nntp-Posting-Host: ely.cl.cam.ac.uk Reply-To: rf@cl.cam.ac.uk (Robin Fairbairns) Organization: U of Cambridge, England References: <1992Sep4.091432.10868@aber.ac.uk> Date: Mon, 7 Sep 1992 08:28:08 GMT Lines: 56