>>>>> "Frederic" == Frederic F Leymarie <[EMAIL PROTECTED]> writes:

Frederic> On Mon, November 8, 2004 15:47, Jean-Marc Lasgouttes said:

Frederic> I found a source of the problem: I do not have float:table
Frederic> available. It seems all my float set-up is screwed up. (the
Frederic> lyx file I am using used to work fine on another
Frederic> computer/set-up). When I go in the INSERT pull-down menu,
Frederic> under FLOATS I only have one choice: Floatflt Figure
Frederic> Shouldn't I have regular Float Figure as well as Float Table
Frederic> and maybe Floatflt Table
>>  What files do you have in ~/.lyx/layouts/ ?
>> 
>> JMarc

Frederic> It is my old set-up: many files; here is the listing:

So basically, you just copied everything from some old LyX tree,
right? Presumably some of these files need to be updated according to
what is described in the UPGRADING file. Here is the relevant part:

   If you have your own layout files, you may need to update them a little:

   - floats are now defined in the layout file, using the "Float"..."End"
     construct. In most cases, adding "Input stdfloats.inc" to your layout
     file is enough.

   - counters are also defined in the layout files, using the
     "Counter"..."End" construct. As for floats, adding "Input
     stdfloats.inc" is probably a good idea.

   And of course, if you upgrade from LyX 1.1.x, remember that since
   1.2.0, you have to do the following changes:

   - all layout files should have a "DefaultStyle" entry

   - the "Latex" font style does not exist anymore. If you really need
     its functionality, consider using the "PassThru" keyword instead.

So basically, you should add
  Input stdfloats.inc
  Input stdcounters.inc
to stdclass.inc. However, I suggest that you analyse what change you
did to those files and revert when possible to the newer versions.

JMarc

Reply via email to