On Tue, Feb 24, 2009 at 3:24 PM, Makhoma <j.d.woo...@gmail.com> wrote: > > I don't think this has been answered before, but I am running into an 'error > undefined' problem when trying to export to pdf. I have placed the > \counterwithin{figure}{section} to the preamble and selected the AMS package > as I should, I was able to get \numberwithin{equation}{section} to work that > way. When I have it in the preamble it gives me the error, when I take it > out it exports normally, but all my figures are numbered sequentially > throughout. > > Perhaps I am missing a file, and if so: what file is it and where do I put > it so this works? > > If this is needed, I am running Ubuntu 8.04 and am using Lyx version 1.5.3 > -- > View this message in context: > http://n2.nabble.com/Figure-Numbering-Error-tp2380764p2380764.html > Sent from the LyX - Users mailing list archive at Nabble.com. > >
Isn't it: \numberwithin{figure}{section} not: \counterwithin{figure}{section} Cheers, /Bob