Jean-Marc Lasgouttes wrote:
>>>>>>"Philippe" == Philippe Charpentier <[EMAIL PROTECTED]> writes:
>>>>>>
>
>Philippe> I think it is the simplest way, but if the second Preamble
>Philippe> is write in the latex preamble before the first one I get an
>Philippe> error (of course the second layout cannot be used before the
>Philippe> first one!) If I understand well the situation, the only
>Philippe> solution for me now is to define, à priori, the counters SP
>Philippe> and ConSP in the basic layout (even if they are not used!).
>
>Yes, it is the only solution now.
>
>Would the solution I outlined (with a new DependsOn tag) suit you in
>this case?
>
>JMarc
>
It seems to me that it is a good solution which solve elegantly my
problem with theorems.
For the rest of my layouts, I dont remember exactely all the
properties of the previous LyX traductor I used when I wrote them (two
years ago). I wrote those layouts to be able to use more easily a number
of latex environments and packages which are not present in LyX (for
example, writing a minimum in the preamble, possibility of changing the
theorem style, of defining a new theorem using specific style and
counters, easy use of multicolumns, local change of margins, etc...,
quite easy use of pstricks to draw figures and mathematicals diagrams,
personalisation of the style of the document, etc...), and when I test
those layout (on a document written with lyx-1.1.6) I immediately
discover two problems : the one we speak about now and also the fact
that the Latex tag is replaced by PassThru (this is also a small
problem for me because it is impossible now to use the math editor of
LyX in a paragraph marqued as PassThru (this was possible before with
the Latex tag, and I used this possibility too).
Nevertheless, I can adapt all my layout to the new version of LyX even
if the use of some is now a little bit less easy.
Philippe