Am 17.06.2011 00:53, schrieb Uwe Stöhr:
>> 3) Numbering of theorems within LyX does not work. I tried to copy the
implementation of the
>> theorem-sec.module but LyX does not pick up the correct \thetheorem value.
>
> You need to define a counter. I'll have a look.
Hi Marcus,
I had a look and fixed this. (You forgot to define the counters.) I created now a new file which
contains all theorem environments of classes which already define them, like the sv*** classes.
So we can now just include this file and only need to adapt the on-screen
appearance for every class.
Besides this, some remarks to your changes that Richard put into SVN:
- defining the column and side number in svcommon is no good idea since a book might have 2 columns
and 2 sides, while an article is only 1-sided. Some articles have 1, some 2 columns. I therefore
removed this definition
- Definitions like "LeftMargin "TOC title:xxx"" are problematic. The strings will be translated.
Assume that for "TOC" there is e.g. no corresponding abbreviation in German and it will therefore be
translated to "Inhaltsverzeichnis" which is much longer.
- for titlerunning and authorrunning the InTitle flag was missing. This is necessary that LyX don't
end the title when these commands are inserted
- svcommons contained Style Sol and Style Solution_(theorem-like). From its definition both lead to
the same LaTeX/PDF output. So we only need one of them. The same was for Style Problem. I therefore
removed the doubled Styles.
----
I committed my changes to SVN trunk:
http://www.lyx.org/trac/changeset/39126
and also adapted the svjour3.lyx template file according to the latest version of the official
svjour3 example LaTeX-file. Please test.
I did not yet have a look at svmono and svmult. I will do this the next days. Our template files for
these classes are of course still compilable after my changes but I guess they need to be adapted
for the latest versions of the official LaTeX example files. Do you want to do this?
regards Uwe