How to use .inc file in ~/.lyx/layouts

2009-01-11 Thread A B
Hello. I have a file mystuff.inc that I had included in .lyx/layouts/article.layout Input mystuff.inc but now I have an empty directory .lyx/layouts so I wonder how I can get lyx to take notice to my own layouts. I would prefer not to copy everything to my own .lyx directory, but if that is what

Re: How to use .inc file in ~/.lyx/layouts

2009-01-11 Thread rgheck
A B wrote: Hello. I have a file mystuff.inc that I had included in .lyx/layouts/article.layout Input mystuff.inc but now I have an empty directory .lyx/layouts so I wonder how I can get lyx to take notice to my own layouts. I would prefer not to copy everything to my own .lyx directory, but if

Re: How to use .inc file in ~/.lyx/layouts

2009-01-11 Thread A B
You can put your own layouts where you wish. The obvious place, though, is .lyx/layouts/, since the main LyX directory can be overwritten on updates, etc. But then I have to edit the already existing article.layout to include mystuff.inc :-( Note that in 1.6.x you can turn your mystuff.inc

Re: How to use .inc file in ~/.lyx/layouts

2009-01-11 Thread A B
Soo... this is a simple little example of my module. There are some questionmarks that I have no idea what to write in? what should I call my file? mystuff.module? #\DeclareLyXModule[??]{mystuff} #DescriptionBegin #My module #DescriptionEnd Style MyCode LatexType Environment

Re: How to use .inc file in ~/.lyx/layouts

2009-01-11 Thread A B
Soo... this is a simple little example of my module. There are some questionmarks that I have no idea what to write in? what should I call my file? mystuff.module? Yes, that was a good name #\DeclareLyXModule[??]{mystuff} I skiped the [...] part and it worked. Problem solved. Oh,

Re: How to use .inc file in ~/.lyx/layouts

2009-01-11 Thread rgheck
A B wrote: Soo... this is a simple little example of my module. There are some questionmarks that I have no idea what to write in? what should I call my file? mystuff.module? #\DeclareLyXModule[??]{mystuff} That's optional. You only need to put something there if this module depends

How to use .inc file in ~/.lyx/layouts

2009-01-11 Thread A B
Hello. I have a file mystuff.inc that I had included in .lyx/layouts/article.layout Input mystuff.inc but now I have an empty directory .lyx/layouts so I wonder how I can get lyx to take notice to my own layouts. I would prefer not to copy everything to my own .lyx directory, but if that is what

Re: How to use .inc file in ~/.lyx/layouts

2009-01-11 Thread rgheck
A B wrote: Hello. I have a file mystuff.inc that I had included in .lyx/layouts/article.layout Input mystuff.inc but now I have an empty directory .lyx/layouts so I wonder how I can get lyx to take notice to my own layouts. I would prefer not to copy everything to my own .lyx directory, but if

Re: How to use .inc file in ~/.lyx/layouts

2009-01-11 Thread A B
You can put your own layouts where you wish. The obvious place, though, is .lyx/layouts/, since the main LyX directory can be overwritten on updates, etc. But then I have to edit the already existing article.layout to include mystuff.inc :-( Note that in 1.6.x you can turn your mystuff.inc

Re: How to use .inc file in ~/.lyx/layouts

2009-01-11 Thread A B
Soo... this is a simple little example of my module. There are some questionmarks that I have no idea what to write in? what should I call my file? mystuff.module? #\DeclareLyXModule[??]{mystuff} #DescriptionBegin #My module #DescriptionEnd Style MyCode LatexType Environment

Re: How to use .inc file in ~/.lyx/layouts

2009-01-11 Thread A B
Soo... this is a simple little example of my module. There are some questionmarks that I have no idea what to write in? what should I call my file? mystuff.module? Yes, that was a good name #\DeclareLyXModule[??]{mystuff} I skiped the [...] part and it worked. Problem solved. Oh,

Re: How to use .inc file in ~/.lyx/layouts

2009-01-11 Thread rgheck
A B wrote: Soo... this is a simple little example of my module. There are some questionmarks that I have no idea what to write in? what should I call my file? mystuff.module? #\DeclareLyXModule[??]{mystuff} That's optional. You only need to put something there if this module depends

How to use .inc file in ~/.lyx/layouts

2009-01-11 Thread A B
Hello. I have a file mystuff.inc that I had included in .lyx/layouts/article.layout Input mystuff.inc but now I have an empty directory .lyx/layouts so I wonder how I can get lyx to take notice to my own layouts. I would prefer not to copy everything to my own .lyx directory, but if that is what

Re: How to use .inc file in ~/.lyx/layouts

2009-01-11 Thread rgheck
A B wrote: Hello. I have a file mystuff.inc that I had included in .lyx/layouts/article.layout Input mystuff.inc but now I have an empty directory .lyx/layouts so I wonder how I can get lyx to take notice to my own layouts. I would prefer not to copy everything to my own .lyx directory, but if

Re: How to use .inc file in ~/.lyx/layouts

2009-01-11 Thread A B
> You can put your own layouts where you wish. The obvious place, though, is > .lyx/layouts/, since the main LyX directory can be overwritten on updates, > etc. But then I have to edit the already existing article.layout to include mystuff.inc :-( > Note that in 1.6.x you can turn your

Re: How to use .inc file in ~/.lyx/layouts

2009-01-11 Thread A B
Soo... this is a simple little example of my module. There are some questionmarks that I have no idea what to write in? what should I call my file? mystuff.module? #\DeclareLyXModule[??]{mystuff} #DescriptionBegin #My module #DescriptionEnd Style MyCode LatexType Environment

Re: How to use .inc file in ~/.lyx/layouts

2009-01-11 Thread A B
> Soo... this is a simple little example of my module. There are some > questionmarks that I have no idea what to write in? what should I call > my file? mystuff.module? Yes, that was a good name > #\DeclareLyXModule[??]{mystuff} I skiped the [...] part and it worked. Problem solved. Oh,

Re: How to use .inc file in ~/.lyx/layouts

2009-01-11 Thread rgheck
A B wrote: Soo... this is a simple little example of my module. There are some questionmarks that I have no idea what to write in? what should I call my file? mystuff.module? #\DeclareLyXModule[??]{mystuff} That's optional. You only need to put something there if this module depends