Re: Subfig(ure) in class Memoir

2008-12-04 Thread Johan Tegin
Jean-Marc Lasgouttes wrote:
 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.
 
 If you run LyX 1.5.3, you already have qt4...

1.6.0 compiled nicely after installing the qt4 development stuff and LyX now 
runs great (Ubuntu and OS X) and solves the subfigure issues.
Many thanks,
Johan


Re: Subfig(ure) in class Memoir

2008-12-04 Thread Johan Tegin
Jean-Marc Lasgouttes wrote:
 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.
 
 If you run LyX 1.5.3, you already have qt4...

1.6.0 compiled nicely after installing the qt4 development stuff and LyX now 
runs great (Ubuntu and OS X) and solves the subfigure issues.
Many thanks,
Johan


Re: Subfig(ure) in class Memoir

2008-12-04 Thread Johan Tegin
Jean-Marc Lasgouttes wrote:
>> 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.
> 
> If you run LyX 1.5.3, you already have qt4...

1.6.0 compiled nicely after installing the qt4 development stuff and LyX now 
runs great (Ubuntu and OS X) and solves the subfigure issues.
Many thanks,
Johan


Re: Subfig(ure) in class Memoir

2008-11-25 Thread Johan Tegin


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

Re: Subfig(ure) in class Memoir

2008-11-25 Thread Jean-Marc Lasgouttes
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.


If you run LyX 1.5.3, you already have qt4...

JMarc


Re: Subfig(ure) in class Memoir

2008-11-25 Thread Johan Tegin


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

Re: Subfig(ure) in class Memoir

2008-11-25 Thread Jean-Marc Lasgouttes
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.


If you run LyX 1.5.3, you already have qt4...

JMarc


Re: Subfig(ure) in class Memoir

2008-11-25 Thread Johan Tegin


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

Re: Subfig(ure) in class Memoir

2008-11-25 Thread Jean-Marc Lasgouttes
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.


If you run LyX 1.5.3, you already have qt4...

JMarc


Subfig(ure) in class Memoir

2008-11-24 Thread Johan Tegin
How to get subfigure captions in memoir without resorting to ERT?

I am merging some documents into my thesis, and some of them contain 
subfigures. Now, the thesis class (kthesis.cls) is based upon memoir, which 
seem to have an issue with subfigure.  (LatTeX Error: Command [EMAIL PROTECTED] 
already defined.).

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.5.3 under Linux.

Thanks,
Johan



Re: Subfig(ure) in class Memoir

2008-11-24 Thread Les Denham
On Monday 24 November 2008, Johan Tegin wrote:
 How to get subfigure captions in memoir without resorting to ERT?

 I am merging some documents into my thesis, and some of them contain
 subfigures. Now, the thesis class (kthesis.cls) is based upon memoir, which
 seem to have an issue with subfigure.  (LatTeX Error: Command [EMAIL 
 PROTECTED]
 already defined.).

 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.5.3 under Linux.

 Thanks,
 Johan

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.

-- 
Les

~~
Please avoid sending me Word or PowerPoint attachments.
See http://www.gnu.org/philosophy/no-word-attachments.html


Re: Subfig(ure) in class Memoir

2008-11-24 Thread 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


Subfig(ure) in class Memoir

2008-11-24 Thread Johan Tegin
How to get subfigure captions in memoir without resorting to ERT?

I am merging some documents into my thesis, and some of them contain 
subfigures. Now, the thesis class (kthesis.cls) is based upon memoir, which 
seem to have an issue with subfigure.  (LatTeX Error: Command [EMAIL PROTECTED] 
already defined.).

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.5.3 under Linux.

Thanks,
Johan



Re: Subfig(ure) in class Memoir

2008-11-24 Thread Les Denham
On Monday 24 November 2008, Johan Tegin wrote:
 How to get subfigure captions in memoir without resorting to ERT?

 I am merging some documents into my thesis, and some of them contain
 subfigures. Now, the thesis class (kthesis.cls) is based upon memoir, which
 seem to have an issue with subfigure.  (LatTeX Error: Command [EMAIL 
 PROTECTED]
 already defined.).

 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.5.3 under Linux.

 Thanks,
 Johan

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.

-- 
Les

~~
Please avoid sending me Word or PowerPoint attachments.
See http://www.gnu.org/philosophy/no-word-attachments.html


Re: Subfig(ure) in class Memoir

2008-11-24 Thread 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


Subfig(ure) in class Memoir

2008-11-24 Thread Johan Tegin
How to get subfigure captions in memoir without resorting to ERT?

I am merging some documents into my thesis, and some of them contain 
subfigures. Now, the thesis class (kthesis.cls) is based upon memoir, which 
seem to have an issue with subfigure.  (LatTeX Error: Command [EMAIL PROTECTED] 
already defined.).

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.5.3 under Linux.

Thanks,
Johan



Re: Subfig(ure) in class Memoir

2008-11-24 Thread Les Denham
On Monday 24 November 2008, Johan Tegin wrote:
> How to get subfigure captions in memoir without resorting to ERT?
>
> I am merging some documents into my thesis, and some of them contain
> subfigures. Now, the thesis class (kthesis.cls) is based upon memoir, which
> seem to have an issue with subfigure.  (LatTeX Error: Command [EMAIL 
> PROTECTED]
> already defined.).
>
> 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.5.3 under Linux.
>
> Thanks,
> Johan

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.

-- 
Les

~~
Please avoid sending me Word or PowerPoint attachments.
See http://www.gnu.org/philosophy/no-word-attachments.html


Re: Subfig(ure) in class Memoir

2008-11-24 Thread 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