Re: Custom .layout files in LyX 1.4
Georg == Georg Baum [EMAIL PROTECTED] writes: Georg Maria Gouskova wrote: I just installed LyX 1.4 on Mac OS 10.4.5 and am having a problem with custom-made .layout files. When I try to change the document class to a custom document class, an error message appears saying the document could not be converted to that format. This happens whether the .layout file is in LyX's own layouts directory or in Library/Application Support/LyX/layouts. LyX can clearly find the .layout file, since it appears in the list of available document classes. The problem disappears in LyX 1.3.7 on the same computer with the same .layout file. I checked the syntax of the .layout file, and it does not seem to be different from the files that LyX 1.4 ships with. Georg The syntax changed slightly from 1.3 to 1.4. You may need to Georg add Georg Include numarticle.inc Georg, I think we should try to add numarticle.inc to stdclass.inc. What do you think of that? JMarc
Re: Custom .layout files in LyX 1.4
Jean-Marc Lasgouttes wrote: Georg, I think we should try to add numarticle.inc to stdclass.inc. What do you think of that? I agree, but the question is: Why was it separated in the first place? Georg
Re: Custom .layout files in LyX 1.4
Georg == Georg Baum [EMAIL PROTECTED] writes: Georg Jean-Marc Lasgouttes wrote: Georg, I think we should try to add numarticle.inc to stdclass.inc. What do you think of that? Georg I agree, but the question is: Why was it separated in the first Georg place? I think it is just that Andre (?) decided to do it like that. I am not sure there is a better answer. JMarc
Re: Custom .layout files in LyX 1.4
i actually did add numarticle.inc (copied it from the new article.layout), so the text of the .layout file that causes the problem is as follows: #% #% Do not delete the line below; configure depends on this # \DeclareLaTeXClass[article]{article (Covington)} # Article textclass definition file. Taken from initial LyX source code # Author : Matthias Ettrich [EMAIL PROTECTED] # Transposed by Pascal Andre [EMAIL PROTECTED] # Heavily modifed and enhanced by several developers. Format 2 Input stdclass.inc Input numarticle.inc Input linguistics.inc NoStyle Chapter NoStyle Chapter* MaxCounter Counter_Section SecNumDepth 3 TocDepth3 End linguistics.inc is juergen's file: http://wiki.lyx.org/uploads/LyX/LinguistLyX/linguistics.inc i didn't change the contents of the linguistics.inc file, though. if that has to be modified as well, then this could be causing the problem. -- mg
Re: Custom .layout files in LyX 1.4
Am Dienstag, 14. März 2006 14:52 schrieb Maria Gouskova: #% #% Do not delete the line below; configure depends on this # \DeclareLaTeXClass[article]{article (Covington)} # Article textclass definition file. Taken from initial LyX source code # Author : Matthias Ettrich [EMAIL PROTECTED] # Transposed by Pascal Andre [EMAIL PROTECTED] # Heavily modifed and enhanced by several developers. Format 2 This line tells LyX that the layout file is in the new format for 1.4, but this is not true, because it contains the old keyword MaxCounter. Read the section 'Upgrading old layout files' in Customization.lyx if you want to know more about this. Input stdclass.inc Input numarticle.inc Input linguistics.inc NoStyle Chapter NoStyle Chapter* MaxCounter Counter_Section SecNumDepth 3 TocDepth3 End End is not valid at this place (neither in 1.3 nor in 1.4). Remove this line and the line with Format above and everything should work. It seems that LyX 1.4 is more picky about unknown keywords in layout files than 1.3. i didn't change the contents of the linguistics.inc file, though. if that has to be modified as well, then this could be causing the problem. No, that one works fine. Georg
Re: Custom .layout files in LyX 1.4
Georg == Georg Baum [EMAIL PROTECTED] writes: Georg Maria Gouskova wrote: I just installed LyX 1.4 on Mac OS 10.4.5 and am having a problem with custom-made .layout files. When I try to change the document class to a custom document class, an error message appears saying the document could not be converted to that format. This happens whether the .layout file is in LyX's own layouts directory or in Library/Application Support/LyX/layouts. LyX can clearly find the .layout file, since it appears in the list of available document classes. The problem disappears in LyX 1.3.7 on the same computer with the same .layout file. I checked the syntax of the .layout file, and it does not seem to be different from the files that LyX 1.4 ships with. Georg The syntax changed slightly from 1.3 to 1.4. You may need to Georg add Georg Include numarticle.inc Georg, I think we should try to add numarticle.inc to stdclass.inc. What do you think of that? JMarc
Re: Custom .layout files in LyX 1.4
Jean-Marc Lasgouttes wrote: Georg, I think we should try to add numarticle.inc to stdclass.inc. What do you think of that? I agree, but the question is: Why was it separated in the first place? Georg
Re: Custom .layout files in LyX 1.4
Georg == Georg Baum [EMAIL PROTECTED] writes: Georg Jean-Marc Lasgouttes wrote: Georg, I think we should try to add numarticle.inc to stdclass.inc. What do you think of that? Georg I agree, but the question is: Why was it separated in the first Georg place? I think it is just that Andre (?) decided to do it like that. I am not sure there is a better answer. JMarc
Re: Custom .layout files in LyX 1.4
i actually did add numarticle.inc (copied it from the new article.layout), so the text of the .layout file that causes the problem is as follows: #% #% Do not delete the line below; configure depends on this # \DeclareLaTeXClass[article]{article (Covington)} # Article textclass definition file. Taken from initial LyX source code # Author : Matthias Ettrich [EMAIL PROTECTED] # Transposed by Pascal Andre [EMAIL PROTECTED] # Heavily modifed and enhanced by several developers. Format 2 Input stdclass.inc Input numarticle.inc Input linguistics.inc NoStyle Chapter NoStyle Chapter* MaxCounter Counter_Section SecNumDepth 3 TocDepth3 End linguistics.inc is juergen's file: http://wiki.lyx.org/uploads/LyX/LinguistLyX/linguistics.inc i didn't change the contents of the linguistics.inc file, though. if that has to be modified as well, then this could be causing the problem. -- mg
Re: Custom .layout files in LyX 1.4
Am Dienstag, 14. März 2006 14:52 schrieb Maria Gouskova: #% #% Do not delete the line below; configure depends on this # \DeclareLaTeXClass[article]{article (Covington)} # Article textclass definition file. Taken from initial LyX source code # Author : Matthias Ettrich [EMAIL PROTECTED] # Transposed by Pascal Andre [EMAIL PROTECTED] # Heavily modifed and enhanced by several developers. Format 2 This line tells LyX that the layout file is in the new format for 1.4, but this is not true, because it contains the old keyword MaxCounter. Read the section 'Upgrading old layout files' in Customization.lyx if you want to know more about this. Input stdclass.inc Input numarticle.inc Input linguistics.inc NoStyle Chapter NoStyle Chapter* MaxCounter Counter_Section SecNumDepth 3 TocDepth3 End End is not valid at this place (neither in 1.3 nor in 1.4). Remove this line and the line with Format above and everything should work. It seems that LyX 1.4 is more picky about unknown keywords in layout files than 1.3. i didn't change the contents of the linguistics.inc file, though. if that has to be modified as well, then this could be causing the problem. No, that one works fine. Georg
Re: Custom .layout files in LyX 1.4
> "Georg" == Georg Baum <[EMAIL PROTECTED]> writes: Georg> Maria Gouskova wrote: >> I just installed LyX 1.4 on Mac OS 10.4.5 and am having a problem >> with custom-made .layout files. When I try to change the document >> class to a custom document class, an error message appears saying >> the document could not be converted to that format. This happens >> whether the .layout file is in LyX's own layouts directory or in >> Library/Application Support/LyX/layouts. LyX can clearly find the >> .layout file, since it appears in the list of available document >> classes. The problem disappears in LyX 1.3.7 on the same computer >> with the same .layout file. I checked the syntax of the .layout >> file, and it does not seem to be different from the files that LyX >> 1.4 ships with. Georg> The syntax changed slightly from 1.3 to 1.4. You may need to Georg> add Georg> Include numarticle.inc Georg, I think we should try to add numarticle.inc to stdclass.inc. What do you think of that? JMarc
Re: Custom .layout files in LyX 1.4
Jean-Marc Lasgouttes wrote: > Georg, I think we should try to add numarticle.inc to stdclass.inc. > What do you think of that? I agree, but the question is: Why was it separated in the first place? Georg
Re: Custom .layout files in LyX 1.4
> "Georg" == Georg Baum <[EMAIL PROTECTED]> writes: Georg> Jean-Marc Lasgouttes wrote: >> Georg, I think we should try to add numarticle.inc to stdclass.inc. >> What do you think of that? Georg> I agree, but the question is: Why was it separated in the first Georg> place? I think it is just that Andre (?) decided to do it like that. I am not sure there is a better answer. JMarc
Re: Custom .layout files in LyX 1.4
i actually did add numarticle.inc (copied it from the new article.layout), so the text of the .layout file that causes the problem is as follows: #% #% Do not delete the line below; configure depends on this # \DeclareLaTeXClass[article]{article (Covington)} # Article textclass definition file. Taken from initial LyX source code # Author : Matthias Ettrich <[EMAIL PROTECTED]> # Transposed by Pascal Andre <[EMAIL PROTECTED]> # Heavily modifed and enhanced by several developers. Format 2 Input stdclass.inc Input numarticle.inc Input linguistics.inc NoStyle Chapter NoStyle Chapter* MaxCounter Counter_Section SecNumDepth 3 TocDepth3 End "linguistics.inc" is juergen's file: http://wiki.lyx.org/uploads/LyX/LinguistLyX/linguistics.inc i didn't change the contents of the linguistics.inc file, though. if that has to be modified as well, then this could be causing the problem. -- mg
Re: Custom .layout files in LyX 1.4
Am Dienstag, 14. März 2006 14:52 schrieb Maria Gouskova: > #% #% Do not delete the line below; configure depends on this > # \DeclareLaTeXClass[article]{article (Covington)} > # Article textclass definition file. Taken from initial LyX source code > # Author : Matthias Ettrich <[EMAIL PROTECTED]> > # Transposed by Pascal Andre <[EMAIL PROTECTED]> > # Heavily modifed and enhanced by several developers. > > Format 2 This line tells LyX that the layout file is in the new format for 1.4, but this is not true, because it contains the old keyword MaxCounter. Read the section 'Upgrading old layout files' in Customization.lyx if you want to know more about this. > Input stdclass.inc > Input numarticle.inc > Input linguistics.inc > > NoStyle Chapter > NoStyle Chapter* > > MaxCounter Counter_Section > SecNumDepth 3 > TocDepth3 > > End End is not valid at this place (neither in 1.3 nor in 1.4). Remove this line and the line with Format above and everything should work. It seems that LyX 1.4 is more picky about unknown keywords in layout files than 1.3. > i didn't change the contents of the linguistics.inc file, though. if > that has to be modified as well, then this could be causing the > problem. No, that one works fine. Georg
Custom .layout files in LyX 1.4
I just installed LyX 1.4 on Mac OS 10.4.5 and am having a problem with custom-made .layout files. When I try to change the document class to a custom document class, an error message appears saying the document could not be converted to that format. This happens whether the .layout file is in LyX's own layouts directory or in Library/Application Support/LyX/layouts. LyX can clearly find the .layout file, since it appears in the list of available document classes. The problem disappears in LyX 1.3.7 on the same computer with the same .layout file. I checked the syntax of the .layout file, and it does not seem to be different from the files that LyX 1.4 ships with. Is this a bug? Maria Gouskova
Re: Custom .layout files in LyX 1.4
Maria Gouskova wrote: I just installed LyX 1.4 on Mac OS 10.4.5 and am having a problem with custom-made .layout files. When I try to change the document class to a custom document class, an error message appears saying the document could not be converted to that format. This happens whether the .layout file is in LyX's own layouts directory or in Library/Application Support/LyX/layouts. LyX can clearly find the .layout file, since it appears in the list of available document classes. The problem disappears in LyX 1.3.7 on the same computer with the same .layout file. I checked the syntax of the .layout file, and it does not seem to be different from the files that LyX 1.4 ships with. The syntax changed slightly from 1.3 to 1.4. You may need to add Include numarticle.inc to the layou file. Read the section Upgrading old layout files of the Customization Guide for details. Is this a bug? Maybe. Can you send a problematic layout file? Then we could have a look. Georg
Custom .layout files in LyX 1.4
I just installed LyX 1.4 on Mac OS 10.4.5 and am having a problem with custom-made .layout files. When I try to change the document class to a custom document class, an error message appears saying the document could not be converted to that format. This happens whether the .layout file is in LyX's own layouts directory or in Library/Application Support/LyX/layouts. LyX can clearly find the .layout file, since it appears in the list of available document classes. The problem disappears in LyX 1.3.7 on the same computer with the same .layout file. I checked the syntax of the .layout file, and it does not seem to be different from the files that LyX 1.4 ships with. Is this a bug? Maria Gouskova
Re: Custom .layout files in LyX 1.4
Maria Gouskova wrote: I just installed LyX 1.4 on Mac OS 10.4.5 and am having a problem with custom-made .layout files. When I try to change the document class to a custom document class, an error message appears saying the document could not be converted to that format. This happens whether the .layout file is in LyX's own layouts directory or in Library/Application Support/LyX/layouts. LyX can clearly find the .layout file, since it appears in the list of available document classes. The problem disappears in LyX 1.3.7 on the same computer with the same .layout file. I checked the syntax of the .layout file, and it does not seem to be different from the files that LyX 1.4 ships with. The syntax changed slightly from 1.3 to 1.4. You may need to add Include numarticle.inc to the layou file. Read the section Upgrading old layout files of the Customization Guide for details. Is this a bug? Maybe. Can you send a problematic layout file? Then we could have a look. Georg
Custom .layout files in LyX 1.4
I just installed LyX 1.4 on Mac OS 10.4.5 and am having a problem with custom-made .layout files. When I try to change the document class to a custom document class, an error message appears saying the document could not be converted to that format. This happens whether the .layout file is in LyX's own layouts directory or in Library/Application Support/LyX/layouts. LyX can clearly find the .layout file, since it appears in the list of available document classes. The problem disappears in LyX 1.3.7 on the same computer with the same .layout file. I checked the syntax of the .layout file, and it does not seem to be different from the files that LyX 1.4 ships with. Is this a bug? Maria Gouskova
Re: Custom .layout files in LyX 1.4
Maria Gouskova wrote: > I just installed LyX 1.4 on Mac OS 10.4.5 and am having a problem with > custom-made .layout files. When I try to change the document class to > a custom document class, an error message appears saying the document > could not be converted to that format. This happens whether the > .layout file is in LyX's own layouts directory or in > Library/Application Support/LyX/layouts. LyX can clearly find the > .layout file, since it appears in the list of available document > classes. The problem disappears in LyX 1.3.7 on the same computer with > the same .layout file. I checked the syntax of the .layout file, and > it does not seem to be different from the files that LyX 1.4 ships > with. The syntax changed slightly from 1.3 to 1.4. You may need to add Include numarticle.inc to the layou file. Read the section "Upgrading old layout files" of the Customization Guide for details. > Is this a bug? Maybe. Can you send a problematic layout file? Then we could have a look. Georg