Using a custom style in Lyx1.6.5
Hello everyone, I'm currently trying to tex2lyx the file instructions.tex, which can be found here: http://www.acm.org/publications/latex_style/, but I'm having a hard time adding the files acmtrans2m.cls and acmtrans.bst to my Lyx installation folder. I'm using Lyx1.6.5 on Windows XP. I also have a MikTeX2.7 directory. So my question is: where to put the above mentioned .cls file? What about the .bst file? Can someone give me a short set of instructions I need to execute in order to make this work? Thanks in advance, Nick
Re: Using a custom style in Lyx1.6.5
Nick Gaens schreef: Hello everyone, I'm currently trying to tex2lyx the file instructions.tex, which can be found here: http://www.acm.org/publications/latex_style/, but I'm having a hard time adding the files acmtrans2m.cls and acmtrans.bst to my Lyx installation folder. I'm using Lyx1.6.5 on Windows XP. I also have a MikTeX2.7 directory. So my question is: where to put the above mentioned .cls file? What about the .bst file? Can someone give me a short set of instructions I need to execute in order to make this work? Thanks in advance, Nick To add some additional information about the error I'm getting: Error: Could not find layout file for textclass acmtrans2m. Error: Cannot convert file An error occurred whilst running tex2lyx -f instructions.tex instructions.lyx
Re: Using a custom style in Lyx1.6.5
On 2010-01-12, Nick Gaens wrote: Hello everyone, I'm currently trying to tex2lyx the file instructions.tex, which can be found here: http://www.acm.org/publications/latex_style/, but I'm having a hard time adding the files acmtrans2m.cls and acmtrans.bst to my Lyx installation folder. You can keep the LaTeX documentclass files in the TEXPATH but for this to work you need a LyX layout file. This (and how to write one) is explained in the Customization manual (HelpCustomization). What about the .bst file? This should just work. Günter
Re: Using a custom style in Lyx1.6.5
On 01/12/2010 09:56 AM, Guenter Milde wrote: On 2010-01-12, Nick Gaens wrote: I'm currently trying to tex2lyx the file instructions.tex, which can be found here: http://www.acm.org/publications/latex_style/, but I'm having a hard time adding the files acmtrans2m.cls and acmtrans.bst to my Lyx installation folder. You can keep the LaTeX documentclass files in the TEXPATH but for this to work you need a LyX layout file. This (and how to write one) is explained in the Customization manual (HelpCustomization). And, unfortunately, this class does not seem to be based on any other class. Still, the basic environments provided look a lot like article.cls, so you could try copying article.layout to your local layout directory, renaming it to acmtrans2m.layout, and then changing the configuration line to read: \DeclareLaTeXClass{acmtrans2m}. That might get you 95% of the way. rh
Using a custom style in Lyx1.6.5
Hello everyone, I'm currently trying to tex2lyx the file instructions.tex, which can be found here: http://www.acm.org/publications/latex_style/, but I'm having a hard time adding the files acmtrans2m.cls and acmtrans.bst to my Lyx installation folder. I'm using Lyx1.6.5 on Windows XP. I also have a MikTeX2.7 directory. So my question is: where to put the above mentioned .cls file? What about the .bst file? Can someone give me a short set of instructions I need to execute in order to make this work? Thanks in advance, Nick
Re: Using a custom style in Lyx1.6.5
Nick Gaens schreef: Hello everyone, I'm currently trying to tex2lyx the file instructions.tex, which can be found here: http://www.acm.org/publications/latex_style/, but I'm having a hard time adding the files acmtrans2m.cls and acmtrans.bst to my Lyx installation folder. I'm using Lyx1.6.5 on Windows XP. I also have a MikTeX2.7 directory. So my question is: where to put the above mentioned .cls file? What about the .bst file? Can someone give me a short set of instructions I need to execute in order to make this work? Thanks in advance, Nick To add some additional information about the error I'm getting: Error: Could not find layout file for textclass acmtrans2m. Error: Cannot convert file An error occurred whilst running tex2lyx -f instructions.tex instructions.lyx
Re: Using a custom style in Lyx1.6.5
On 2010-01-12, Nick Gaens wrote: Hello everyone, I'm currently trying to tex2lyx the file instructions.tex, which can be found here: http://www.acm.org/publications/latex_style/, but I'm having a hard time adding the files acmtrans2m.cls and acmtrans.bst to my Lyx installation folder. You can keep the LaTeX documentclass files in the TEXPATH but for this to work you need a LyX layout file. This (and how to write one) is explained in the Customization manual (HelpCustomization). What about the .bst file? This should just work. Günter
Re: Using a custom style in Lyx1.6.5
On 01/12/2010 09:56 AM, Guenter Milde wrote: On 2010-01-12, Nick Gaens wrote: I'm currently trying to tex2lyx the file instructions.tex, which can be found here: http://www.acm.org/publications/latex_style/, but I'm having a hard time adding the files acmtrans2m.cls and acmtrans.bst to my Lyx installation folder. You can keep the LaTeX documentclass files in the TEXPATH but for this to work you need a LyX layout file. This (and how to write one) is explained in the Customization manual (HelpCustomization). And, unfortunately, this class does not seem to be based on any other class. Still, the basic environments provided look a lot like article.cls, so you could try copying article.layout to your local layout directory, renaming it to acmtrans2m.layout, and then changing the configuration line to read: \DeclareLaTeXClass{acmtrans2m}. That might get you 95% of the way. rh
Using a custom style in Lyx1.6.5
Hello everyone, I'm currently trying to "tex2lyx" the file instructions.tex, which can be found here: http://www.acm.org/publications/latex_style/, but I'm having a hard time adding the files "acmtrans2m.cls" and "acmtrans.bst" to my Lyx installation folder. I'm using Lyx1.6.5 on Windows XP. I also have a MikTeX2.7 directory. So my question is: where to put the above mentioned .cls file? What about the .bst file? Can someone give me a short set of instructions I need to execute in order to make this work? Thanks in advance, Nick
Re: Using a custom style in Lyx1.6.5
Nick Gaens schreef: Hello everyone, I'm currently trying to "tex2lyx" the file instructions.tex, which can be found here: http://www.acm.org/publications/latex_style/, but I'm having a hard time adding the files "acmtrans2m.cls" and "acmtrans.bst" to my Lyx installation folder. I'm using Lyx1.6.5 on Windows XP. I also have a MikTeX2.7 directory. So my question is: where to put the above mentioned .cls file? What about the .bst file? Can someone give me a short set of instructions I need to execute in order to make this work? Thanks in advance, Nick To add some additional information about the error I'm getting: Error: Could not find layout file for textclass "acmtrans2m". Error: Cannot convert file An error occurred whilst running tex2lyx -f "instructions.tex" "instructions.lyx"
Re: Using a custom style in Lyx1.6.5
On 2010-01-12, Nick Gaens wrote: > Hello everyone, > I'm currently trying to "tex2lyx" the file instructions.tex, which can > be found here: http://www.acm.org/publications/latex_style/, but I'm > having a hard time adding the files "acmtrans2m.cls" and "acmtrans.bst" > to my Lyx installation folder. You can keep the LaTeX documentclass files in the TEXPATH but for this to work you need a LyX layout file. This (and how to write one) is explained in the Customization manual (Help>Customization). > What about the .bst file? This should "just work". Günter
Re: Using a custom style in Lyx1.6.5
On 01/12/2010 09:56 AM, Guenter Milde wrote: On 2010-01-12, Nick Gaens wrote: I'm currently trying to "tex2lyx" the file instructions.tex, which can be found here: http://www.acm.org/publications/latex_style/, but I'm having a hard time adding the files "acmtrans2m.cls" and "acmtrans.bst" to my Lyx installation folder. You can keep the LaTeX documentclass files in the TEXPATH but for this to work you need a LyX layout file. This (and how to write one) is explained in the Customization manual (Help>Customization). And, unfortunately, this class does not seem to be based on any other class. Still, the basic environments provided look a lot like article.cls, so you could try copying article.layout to your local layout directory, renaming it to acmtrans2m.layout, and then changing the configuration line to read: \DeclareLaTeXClass{acmtrans2m}. That might get you 95% of the way. rh