On 07/31/2013 02:15 AM, Itai Shaked wrote:
Hello,
LyX (2.0.6) won't allow using the Named Theorems module combined with Theorems (Numbered by Type) (or the AMS version of this package). I think this is because Named Theorems requires either Theorems or Theorems (AMS), and these conflict with Theorems (Numbered by Type).

Is this a real issue with the LaTeX packages, being incompatible, or is it just a matter of dependencies not configured correctly in LyX?
Is there a way around it?

Try this: Copy the theorems-named.module file to your local LyX directory. On Linux, the original file would be at /usr/share/lyx/layouts/, and you would copy it to ~/.lyx/layouts/. On other systems, you can find the relevant directories by looking at Help> About LyX. Once you have done that, open the local copy and change the Requires line to read:

#Requires: theorems-ams | theorems-starred | theorems-byname

That will allow you to do what you want to do. Let us know whether you get a conflict of some sort of not. If not, then we can make this fix in LyX itself.

Richard

Reply via email to