Johannes Serup wrote:
But as I wrote its not possible to reconfigure. A friend of mine has
the exact same problem in winXP SP3 so it must be a bug.

That is probably the source of all these problems.

Reconfiguration is done by running a python script, and it can be done from outside LyX. I'm guessing that the configure.py script must be in C:\Program Files (x86)\LyX16\Resources\. If so, you can do something like this from a terminal:
   python.exe C:\Program Files (x86)\LyX16\Resources\configure.py
Make sure you do it from inside your LyX user directory, wherever that is (in case it works). If it fails, hopefully you'll get some information about why.

rh

PS Please make sure to cc the list on your replies. Other people with similar problems may be watching the thread, or may try to find information in the list archives.

On Mon, Sep 15, 2008 at 3:47 PM, Richard Heck <[EMAIL PROTECTED]> wrote:
> Johannes Serup wrote:
>>
>> On Mon, Sep 15, 2008 at 3:13 PM, Richard Heck <[EMAIL PROTECTED]> wrote:
>>
>>>
>>> bigblop wrote:
>>>
>>>>
>>>> 1) When running "reconfigure" LyX just freezes.
>>>>
>>>>
>>>>
>>>
>>> What reconfigure does is run the configure.py python script, which is
>>> somewhere like /usr/share/lyx/. You can run this manually, from a
>>> terminal,
>>> via: python /path/to/file/configure.py, and see what happens.
>>>
>>>
>>>>
>>>> 2) When compiling a document with:
>>>>
>>>> \numberwithin{equation}{section}
>>>>
>>>> in the preample I get the error:
>>>>
>>>>
>>>>  \numberwithin{e
>>>>                  quation}{section}
>>>> You're in trouble here.  Try typing  <return>  to proceed.
>>>> If that doesn't work, type  X <return>  to quit.
>>>>
>>>>
>>>> This worked in the previous versions.
>>>>
>>>>
>>>>
>>>
>>> This works fine for me, when using an AMS class. It isn't defined in
>>> non-AMS
>>> classes.
>>>
>>> Richard
>>>
>>>
>>>
>>
>>
>> I use the default document class 'article'.If I choose the class
>> 'article(AMS)' instead I get theorems-ams (Not Found).I can't find any
>> packages in Miktex called theorems-ams.
>>
>>
>
> It's not a LaTeX package but a LyX module, and you should have gotten it
> with the LyX distribution. Try reconfiguring. And try looking wherever the
> layout files are (c:\Program Files\LyX\layouts\?). There should be a file
> called "theorems-ams.module".

Yes there is a file called theorems-ams.module in:

C:\Program Files (x86)\LyX16\Resources\layouts

But as I wrote its not possible to reconfigure. A friend of mine has
the exact same problem in winXP SP3 so it must be a bug.

>
>> In LyX 1.5.6 I could use  \numberwithin{equation}{section} when using
>> the document class 'article', but maybe this bug will be fixed in the
>> final release.
>>
>>
>
> You must have been loading some AMS math stuff. Try clicking "Use AMS math",
> or whatever, in Document>Settings. That should solve the problem. The
> \numberwithin command is defined by the AMS packages, not by standard LaTeX.


That is checked by default.

Reply via email to