RE: [l2h] Fails to number figures: bogus "arguments too complex" erro r.

2005-10-19 Thread John Blackburn
Thanks for that, but \times is not causing the problem, it's ok to leave it unprotected. The only problem is my \rms and \peak commands. If I remove them all is well. I have not come across problems with built in latex commands needing protection. In fact the problem may not be protection at a

RE: [l2h] Fails to number figures: bogus "arguments too complex" erro r.

2005-10-19 Thread John Blackburn
Thanks for that, Ross, The \rms and \peak commands I defined are certainly causing the problem. Replacing with something simple like \newcommand{\rms}{\textbf{rms}~} \newcommand{\peak}{\textbf{peak}~} solves the problem (though its not what I wanted!) However using \DeclareRobustCommand{\rm

Re: [l2h] Fails to number figures: bogus "arguments too complex" erro r.

2005-10-19 Thread Ross Moore
On 19/10/2005, at 9:06 PM, John Blackburn wrote: Thanks for that, Ross, The \rms and \peak commands I defined are certainly causing the problem. Replacing with something simple like \newcommand{\rms}{\textbf{rms}~} \newcommand{\peak}{\textbf{peak}~} solves the problem (though its not what

Re: [l2h] Fails to number figures: bogus "arguments too complex" erro r.

2005-10-19 Thread Thomas Bewley
Regarding figure captions & disappearing figure numbers: The first trick is to \protect every command that might get translated to something different before latex writes the aux file. The second trick is to not use any of your own definitions, but to write out explicitly what you want don

Re: [l2h] Fails to number figures: bogus "arguments too complex" error.

2005-10-19 Thread Shigeharu TAKENO
shige 10/19 2005 > I don't understand the problem as I am not using the \leftmargin command. > I don't even know what it does! > I am not using these commands, I don't know what they are! see your .aux file. ++ Shigeharu

Re: [l2h] Fails to number figures: bogus "arguments too complex" erro r.

2005-10-19 Thread Thomas Bewley
John - Try changing \times to \protect\times in your caption. Each and every fragile symbol in the captions, (there are typically a lot of them in math mode), needs to to have this \protect prefix. See the latex book for what fragile means, and see the associated .aux file that latex genera