[texhax] Runaway argument - includegraphics...

Steve Schwartz s.schwartz at imperial.ac.uk
Tue Jun 27 17:28:45 CEST 2006


Alex,

Try \usepackage{graphicx} instead of \usepackage{graphics}

Read the graphicx documentation "LaTeX_Graphicx_guide..." - google
should find it for you.

Steve

On Fri, 2006-06-23 at 02:12 -0600, Alex Mann wrote:
> Hi,
> I've looked at various faq's and latex literature for help with this 
> issue.  I hope that there is a solution for this...
> When I use:
> \includegraphics{ec_Cl.eps} - everything works fine
> However, when I use:
> \includegraphics[width=\textwidth]{ec_Cl.eps} - runaway argument
> Things get worse when I use:
> \begin{figure}[htbp]
> \centering
> \includegraphics[width=\textwidth]{ec_Cl.eps}
> \caption{Endothelial cell chloride channel current-voltage curve}
> \label{fig:ec_Cl}
> \end{figure}
> - I get errors that there are extra '}' and also some clashing with 
> \end{document}
> 
> Unfortunately, there are only some of the errors I'm getting.  I've 
> attached the output log file.  Help would be truly appreciated.
> 
> Thanks,
> AM
> plain text document attachment (MyThesis_main.log)
> This is TeXk, Version 3.14159 (Web2C 7.4.5) (format=latex 2006.6.17)  23 JUN 2006 02:06
>  %&-line parsing enabled.
> **MyThesis_main.tex
> (./MyThesis_main.tex
> LaTeX2e <2001/06/01>
> Babel <v3.7h> and hyphenation patterns for american, french, german, ngerman, n
> ohyphenation, loaded.
> (./ucalgthes.cls
> Document Class: ucalgthes 1998/03/01 v1.0 University of Calgary Thesis Class
> (./doublespace.sty) (./thes12.clo)
> \descriptionmargin=\dimen102
> \signwidth=\skip41
> \c at part=\count79
> \c at chapter=\count80
> \c at section=\count81
> \c at subsection=\count82
> \c at subsubsection=\count83
> \c at paragraph=\count84
> \c at subparagraph=\count85
> \c at figure=\count86
> \c at table=\count87
>  (./thesistitlepage.sty))
> (/usr/share/texmf/tex/latex/graphics/graphics.sty
> Package: graphics 2001/07/07 v1.0n Standard LaTeX Graphics (DPC,SPQR)
> 
> (/usr/share/texmf/tex/latex/graphics/trig.sty
> Package: trig 1999/03/16 v1.09 sin cos tan (DPC)
> )
> (/usr/share/texmf/tex/latex/config/graphics.cfg
> File: graphics.cfg 2001/08/31 v1.1 graphics configuration of teTeX/TeXLive
> )
> Package graphics Info: Driver file: dvips.def on input line 80.
> 
> (/usr/share/texmf/tex/latex/graphics/dvips.def
> File: dvips.def 1999/02/16 v3.0i Driver-dependant file (DPC,SPQR)
> ))
> (/usr/share/texmf/tex/latex/amsmath/amsmath.sty
> Package: amsmath 2000/07/18 v2.13 AMS math features
> \@mathmargin=\skip42
> 
> For additional information on amsmath, use the `?' option.
> (/usr/share/texmf/tex/latex/amsmath/amstext.sty
> Package: amstext 2000/06/29 v2.01
> 
> (/usr/share/texmf/tex/latex/amsmath/amsgen.sty
> File: amsgen.sty 1999/11/30 v2.0
> \@emptytoks=\toks14
> \ex@=\dimen103
> ))
> (/usr/share/texmf/tex/latex/amsmath/amsbsy.sty
> Package: amsbsy 1999/11/29 v1.2d
> \pmbraise@=\dimen104
> )
> (/usr/share/texmf/tex/latex/amsmath/amsopn.sty
> Package: amsopn 1999/12/14 v2.01 operator names
> )
> \inf at bad=\count88
> LaTeX Info: Redefining \frac on input line 211.
> \uproot@=\count89
> \leftroot@=\count90
> LaTeX Info: Redefining \overline on input line 307.
> \classnum@=\count91
> \DOTSCASE@=\count92
> LaTeX Info: Redefining \ldots on input line 379.
> LaTeX Info: Redefining \dots on input line 382.
> LaTeX Info: Redefining \cdots on input line 467.
> \Mathstrutbox@=\box26
> \strutbox@=\box27
> \big at size=\dimen105
> LaTeX Font Info:    Redeclaring font encoding OML on input line 567.
> LaTeX Font Info:    Redeclaring font encoding OMS on input line 568.
> \macc at depth=\count93
> \c at MaxMatrixCols=\count94
> \dotsspace@=\muskip10
> \c at parentequation=\count95
> \dspbrk at lvl=\count96
> \tag at help=\toks15
> \row@=\count97
> \column@=\count98
> \maxfields@=\count99
> \andhelp@=\toks16
> \eqnshift@=\dimen106
> \alignsep@=\dimen107
> \tagshift@=\dimen108
> \tagwidth@=\dimen109
> \totwidth@=\dimen110
> \lineht@=\dimen111
> \@envbody=\toks17
> \multlinegap=\skip43
> \multlinetaggap=\skip44
> \mathdisplay at stack=\toks18
> LaTeX Info: Redefining \[ on input line 2666.
> LaTeX Info: Redefining \] on input line 2667.
> )
> (/usr/share/texmf/tex/latex/misc/url.sty
> \Urlmuskip=\muskip11
> Package: url 1999/03/28  ver 1.5x  Verb mode for urls, etc.
> )
> (/usr/share/texmf/tex/latex/graphics/color.sty
> Package: color 1999/02/16 v1.0i Standard LaTeX Color (DPC)
> 
> (/usr/share/texmf/tex/latex/config/color.cfg
> File: color.cfg 2001/08/31 v1.1 color configuration of teTeX/TeXLive
> )
> Package color Info: Driver file: dvips.def on input line 125.
> 
> (/usr/share/texmf/tex/latex/graphics/dvipsnam.def
> File: dvipsnam.def 1999/02/16 v3.0i Driver-dependant file (DPC,SPQR)
> ))
> No file MyThesis_main.aux.
> \openout1 = `MyThesis_main.aux'.
> 
> LaTeX Font Info:    Checking defaults for OML/cmm/m/it on input line 35.
> LaTeX Font Info:    ... okay on input line 35.
> LaTeX Font Info:    Checking defaults for T1/cmr/m/n on input line 35.
> LaTeX Font Info:    ... okay on input line 35.
> LaTeX Font Info:    Checking defaults for OT1/cmr/m/n on input line 35.
> LaTeX Font Info:    ... okay on input line 35.
> LaTeX Font Info:    Checking defaults for OMS/cmsy/m/n on input line 35.
> LaTeX Font Info:    ... okay on input line 35.
> LaTeX Font Info:    Checking defaults for OMX/cmex/m/n on input line 35.
> LaTeX Font Info:    ... okay on input line 35.
> LaTeX Font Info:    Checking defaults for U/cmr/m/n on input line 35.
> LaTeX Font Info:    ... okay on input line 35.
> LaTeX Font Info:    Try loading font information for OMS+cmr on input line 36.
> (/usr/share/texmf/tex/latex/base/omscmr.fd
> File: omscmr.fd 1999/05/25 v2.5h Standard LaTeX font definitions
> )
> LaTeX Font Info:    Font shape `OMS/cmr/bx/n' in size <12> not available
> (Font)              Font shape `OMS/cmsy/b/n' tried instead on input line 36.
>  [1
> 
> ]
> Approval Page
> [2
> 
> ]
> \openout2 = `MyAbstract.aux'.
> 
>  (./MyAbstract.tex
> Abstract
> ) [3
> 
> 
> ]
> \openout2 = `MyAcknowledgements.aux'.
> 
>  (./MyAcknowledgements.tex
> Acknowledgements
> ) [4
> 
> 
> 
> ]
> \openout2 = `MyDedication.aux'.
> 
>  (./MyDedication.tex [5
> 
> 
> 
> ])
> No file MyThesis_main.toc.
> \tf at toc=\write3
> \openout3 = `MyThesis_main.toc'.
> 
> [6
> 
> 
> 
> ]
> No file MyThesis_main.lot.
> \tf at lot=\write4
> \openout4 = `MyThesis_main.lot'.
> 
> [7
> 
> ]
> No file MyThesis_main.lof.
> \tf at lof=\write5
> \openout5 = `MyThesis_main.lof'.
> 
> [8
> 
> ]
> \openout2 = `chapter1.aux'.
> 
>  (./chapter1.tex
> Chapter 1.
> 
> LaTeX Warning: Citation `MTNelson04011995' on page 1 undefined on input line 7.
> 
> 
> 
> LaTeX Warning: Citation `GGEmerson09152000' on page 1 undefined on input line 7
> .
> 
> [1
> 
> 
> 
> ]
> 
> LaTeX Warning: Citation `HKDiep10012005' on page 2 undefined on input line 11.
> 
> 
> Overfull \hbox (5.76353pt too wide) in paragraph at lines 21--22
> []\OT1/cmr/m/n/12 Incorporate de-tailed de-scrip-tions of ionic con-duc-tances 
> from patch-clamp record-
>  []
> 
> [2] [3]) [4]
> \openout2 = `chapter2.aux'.
> 
>  (./chapter2.tex
> Chapter 2.
> ) [5
> 
> 
> 
> ] [6]
> \openout2 = `chapter3.aux'.
> 
>  (./chapter3.tex
> Chapter 3.
> Runaway argument?
> width=\textwidth ]{ec_Cl.eps} 
> ! Paragraph ended before \Gin at iii was complete.
> <to be read again> 
>                    \par 
> l.10 
>      
> ? 
> ) [7
> 
> 
> 
> ]
> Overfull \vbox (363.58795pt too high) has occurred while \output is active []
> 
> 
> [8]
> \openout2 = `chapter4.aux'.
> 
>  (./chapter4.tex
> Chapter 4.
> ) [9
> 
> 
> 
> ]
> \openout2 = `chapter5.aux'.
> 
>  (./chapter5.tex
> Chapter 5.
> ) [10
> 
> 
> 
> ]
> No file MyThesis_main.bbl.
> \openout2 = `appendix.aux'.
> 
> (./appendix.tex
> Appendix A.
> LaTeX Font Info:    Font shape `OMS/cmr/m/n' in size <12> not available
> (Font)              Font shape `OMS/cmsy/m/n' tried instead on input line 7.
> ) [11
> 
> 
> 
> ] (./MyThesis_main.aux (./MyAbstract.aux) (./MyAcknowledgements.aux)
> (./MyDedication.aux) (./chapter1.aux) (./chapter2.aux) (./chapter3.aux)
> (./chapter4.aux) (./chapter5.aux) (./appendix.aux))
> 
> LaTeX Warning: There were undefined references.
> 
> 
> LaTeX Warning: Label(s) may have changed. Rerun to get cross-references right.
> 
>  ) 
> Here is how much of TeX's memory you used:
>  1430 strings out of 10847
>  17438 string characters out of 1195948
>  66311 words of memory out of 1000001
>  4337 multiletter control sequences out of 10000+50000
>  9175 words of font info for 33 fonts, out of 500000 for 1000
>  14 hyphenation exceptions out of 1000
>  27i,5n,20p,1212b,298s stack positions out of 300i,100n,500p,50000b,4000s
> 
> Output written on MyThesis_main.dvi (19 pages, 16852 bytes).
> _______________________________________________
> TeX FAQ: http://www.tex.ac.uk/faq
> Mailing list archives: http://tug.org/pipermail/texhax/
> More links: http://tug.org/begin.html
> 
> Automated subscription management: http://tug.org/mailman/listinfo/texhax
> Human mailing list managers: postmaster at tug.org
-- 
+-------------------------------------------------------------------+
Professor Steven J Schwartz      Phone: +44-(0)20-7594-7660
Space and Atmospheric Physics    Fax:   +44-(0)20-7594-7772
The Blackett Laboratory          E-mail: s.schwartz at imperial.ac.uk
Imperial College London          Office: Huxley 6M70 
London SW7 2BW, U.K.             Web: http://www.sp.ph.ic.ac.uk/~sjs
+-------------------------------------------------------------------+




More information about the texhax mailing list