I recently test the new version 1.2 of LyX. The work done by the
developers is impresive. But I encountred the following problem.
I wrote some document class for LyX containing many layouts with
preambles. In the previous version of LyX those preambles where send to
the TeX file in the order they appear in the document. In this last
version they appear in the alphabetical order of the names of the
layouts. For me this gets a unsolvable (without important modifications)
TeX problem : in those layouts I have some counters which are not
defined indpendently: for example I have a counter B (defined in layout
(B)) which is defined on a counter A (defined in layout (A)), but the
name of the layout (A) comes, alphabetically, after the name of the
layout (B) (of course the layout (B) have no sense if the layout (A) is
not used before in the document, and it is not necessary to define a
priori the counter B if it is not used...): with lyx-1.1.6 all was OK,
but with lyx-1.2, I get of course a tex error (counter A is not defined)
when I use the layout (B) (even, of course, if layout (A) is used
before). This can only be solved by modifing my tex macros and my
layouts.
If this change is definitive, I will be obliged to do those
modifications in my macros.
Thanks you
-- 
_________

Philippe Charpentier

[EMAIL PROTECTED]
[EMAIL PROTECTED]

Reply via email to