[OS X TeX] (no subject)
Marco Belleschi
rust82 at hotmail.it
Tue Feb 26 18:43:59 EST 2008
I have inserted the following commands in the preamble and it actually works now.
\makeatletter
\let\c at lofdepth\relax
\let\c at lotdepth\relax
\makeatother
\usepackage{subfigure}
Thank you everybody for your help!!
/rust
> Date: Tue, 26 Feb 2008 18:32:56 -0500
> To: macosx-tex at email.esm.psu.edu
> From: amunn at msu.edu
> Subject: Re: [OS X TeX] (no subject)
>
> At 6:23 PM -0500 2/26/08, Gary L. Gray wrote:
> >On Feb 26, 2008, at 6:10 PM, Alan Munn wrote:
> >
> >>At 10:39 PM +0000 2/26/08, Marco Belleschi wrote:
> >>>I'm using TexShop for my master thesis. If I
> >>>insert the package subfigure in the preamble I
> >>>get the following error
> >>>
> >>>
> >>>! LaTeX Error: Command \c at lofdepth already defined.
> >>> Or name \end... illegal, see p.192 of the manual.
> >>>
> >>>See the LaTeX manual or LaTeX Companion for explanation.
> >>>Type H <return> for immediate help.
> >>>...
> >>>
> >>>l.124 \newcounter{lofdepth}
> >>>
> >>>?
> >>>
> >>>This is the preamble I'm using
> >>>
> >>>\documentclass[a4paper,12pt]{kth-mag}
> >>>\usepackage{url}
> >>>\usepackage{amsmath, amsthm, amssymb}
> >>>\usepackage[T1]{fontenc}
> >>>\usepackage{graphicx}
> >>>\usepackage{textcomp}
> >>>%\usepackage{subfigure}
> >>>\usepackage{lmodern}
> >>>\usepackage[latin1]{inputenc}
> >>>\usepackage[swedish,english]{babel}
> >>>\usepackage{nada-ex}
> >>
> >>You'll need to give more details than this. We
> >>don't have access to your documentclass kth-mag
> >>nor to the package nada-ex.
> >>
> >>The best way to debug this is to keep removing
> >>packages until the error goes away. (For
> >>example, it's unlikely that any of the ams
> >>packages are the cause, so get rid of them
> >>etc.) Then at least you'll know what the
> >>conflict is. If you can then post this
> >>smallest example that causes the error, perhaps
> >>we can help. Can you post a link to the
> >>document class you are using?
> >
> >
> >I have been trying to help him on the TeXShop
> >forum and I it would have been helpful if he
> >posted some of what I discovered. First of all,
> >the kth-mag class uses memoir and it appears to
> >me that the issue is with memoir. If I try
> >typesetting just the following:
> >
> >\documentclass{memoir}
> >\usepackage{subfigure}
> >\begin{document}
> >Hey.
> >\end{document}
> >
> >I get the error he describes. This is odd
> >because the memoir documentation specifically
> >mentions that it supports the subfigure package.
> >In fact, the author mentions that there was a
> >clash at one time and that it has been fixed
> >(first a subfigure option was needed and then he
> >states that even that is no longer needed).
> >
> >At this point I am stumped since what I show
> >above is, I think, supposed to work.
>
> This is the solution. Sorry I'm posting on two different threads...
>
> http://groups.google.com/group/comp.text.tex/browse_frm/thread/d42eec9a99cd9d8d/bffe0066976e8add?hl=en&lnk=st&q=subfigure+memoir#bffe0066976e8add
>
> Alan
>
> --
> Alan Munn
> amunn at msu.edu
> Department of Linguistics
> and Germanic, Slavic, Asian and African Languages Fax. +1-517-432-2736
> Michigan State University, East Lansing MI 48824 Tel. +1-517-355-7491
>
> -------------------------- Helpful Info --------------------------
> TeX FAQ: http://www.tex.ac.uk/faq
> List Reminders and Etiquette: http://www.esm.psu.edu/mac-tex/list/
> List Info: http://email.esm.psu.edu/mailman/listinfo/macosx-tex
> List Archive: http://tug.org/pipermail/macostex-archives/
> Mac-TeX Website: http://www.esm.psu.edu/mac-tex/
>
_________________________________________________________________
Express yourself instantly with MSN Messenger! Download today it's FREE!
http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://email.esm.psu.edu/pipermail/macosx-tex/attachments/20080226/303f5c57/attachment.html>
More information about the MacOSX-TeX
mailing list