24 nov 2008 kl. 17.05 skrev Jean-Marc Lasgouttes:
Johan Tegin <[EMAIL PROTECTED]> writes:
One of the suggested solution is using the subfig package instead.
However, LyX automatically adds \usepackage{subfig} to the latex
preamble when a subfigure caption is added to a figure via the GUI.
This result in the above error. Can adding subfigure be avoided?
Can I
force LyX to use subfig instead? Or is there perhaps any other
solution to this dilemma without resorting to ERT?
LyX 1.6.0 has switched to using subfig instead of subfigure. Maybe an
incentive to upgrade ?
JMarc
Indeed. Thanks for the info. Unfortunately I cannot upgrade to qt4 for
other reasons and there is yet no binary for debian. Will install
first thing when available though.
24 nov 2008 kl. 16.36 skrev Les Denham:
Johan,
I ran into exactly this problem a few months ago when I decided to
convert a
rather large document from book(KOMA-script) to memoir, to take
advantage of
some of the neat features in memoir.
My solution (after trying various mechanisms to get subfigures to
work) was to
replace the figures containing subfigures with a single figure
float, putting
more than one image in one float. The only disadvantage I found is
the lack
of separate captions, which I overcame by using phrases such as "on
the left"
in the single caption referring to multiple images.
Thanks for the advise, however it is the subfigure captions that I
desire. I guess I should've made that point more clear.
/johan