On 23.09.2008, at 04:43, Fil wrote:

Hi Daniel,

Thanks for your quick reply. Your suggestion is what I was hoping for and i added it to the
preamble, but I get a lot of errors which I otherwise didn't have.

My setup is I have a main file the calls up all my other chapters. I'm assuming that the modifications only need to be done for the main call up file, I did try to include it in the other
files just in case but it didn't have any effect.

Yes, it is supposed to be in the master document's preamble.

The errors I get are listed below and checking the latex log it looks like a lot of undefined references are missing }, I have references listed in the figure captions to so maybe its not
recognising this properly?

I just tried, references in the captions are no problem here. It may, however, have to do with the LaTeX class and how it defines \caption and so on. I am using koma-script (srcbook).


About 40 errors, mostly -paragraph ended before \takeshort was complete Latex log say suspect forgotten } ...which may be related to the references in caption as a lot of
these are listed.

Are you sure you have a full stop (".") somewhere in the caption? I only get the "paragraph ended before \takeshort was complete" when I forgot to add a full stop. Maybe you have to adapt the \takeshort macro definition to better reflect your situation.


Also- latex error: not in outer par mode, in latex log says \begin{figure}[h] you've lost some text

And -latex error:\begin{figure} on imput line 485 ended by \end{document}

If it looks like its going to be a lot more complicated then I may just do the longer method
previously mention in my first email.

Well, having to manually change 60 or more captions might well be worth the effort to look for a more engineering-like solution :-)

Daniel

Reply via email to