Re: A source for document class layouts?
On Sun, Sep 02, 2007 at 12:32:39PM -0400, Paul A. Rubin wrote: > Richard Heck wrote: > >Paul A. Rubin wrote: > >>>This is a huge issue, and we will have bugs here. One of the biggest > >>>changes with 1.5.x is the switch to unicode. ALL layout files need to > >>>be changed to unicode. See the release notes. > >>Am I right that all layout files shipping with LyX 1.5.x are already > >>unicode, and this just means that people who rolled their own will > >>need to convert theirs to unicode? > >Yes, I think this is in the release notes. If not, it should be. > > > > You mean we're supposed to read the release notes?? :-) Yeah... people are getting weirder by the hour... Andre'
Re: A source for document class layouts?
Richard Heck wrote: Paul A. Rubin wrote: This is a huge issue, and we will have bugs here. One of the biggest changes with 1.5.x is the switch to unicode. ALL layout files need to be changed to unicode. See the release notes. Am I right that all layout files shipping with LyX 1.5.x are already unicode, and this just means that people who rolled their own will need to convert theirs to unicode? Yes, I think this is in the release notes. If not, it should be. You mean we're supposed to read the release notes?? :-)
Re: A source for document class layouts?
Paul A. Rubin wrote: This is a huge issue, and we will have bugs here. One of the biggest changes with 1.5.x is the switch to unicode. ALL layout files need to be changed to unicode. See the release notes. Am I right that all layout files shipping with LyX 1.5.x are already unicode, and this just means that people who rolled their own will need to convert theirs to unicode? Yes, I think this is in the release notes. If not, it should be. rh -- == Richard G Heck, Jr Professor of Philosophy Brown University http://frege.brown.edu/heck/ == Get my public key from http://sks.keyserver.penguin.de Hash: 0x1DE91F1E66FFBDEC Learn how to sign your email using Thunderbird and GnuPG at: http://dudu.dyn.2-h.org/nist/gpg-enigmail-howto
Re: A source for document class layouts?
Richard Heck wrote: Paul A. Rubin wrote: I'll skip over the forensic steps (and the "what was I drinking that made me even think of them" part) and cut to the chase scene. My layout file is coded (according to Notepad++) "ANSI as UTF-8". Yours is coded UTF-8. Turns out either ANSI or "ANSI as UTF-8" works fine, but LyX apparently can't read a non-ANSI UTF-8 layout file and keep a straight face. (Developers are free to weigh in here with corrections if I'm wrong.) There's a bug report along these lines: LyX can't read non-UTF8 text file. I think it's been addressed in a recent fix, but I'm not sure. I'll confess I'm still a bit confused as to what actually went on with Dave's file. Notepad++ had it marked as UTF-8. I'm not sure what the difference between "UTF-8" and "ANSI as UTF-8" is, but apparently there is one. So maybe it's more than LyX just not reading non-UTF-8; maybe there's only one flavor of UTF-8 it reads? This is a huge issue, and we will have bugs here. One of the biggest changes with 1.5.x is the switch to unicode. ALL layout files need to be changed to unicode. See the release notes. Am I right that all layout files shipping with LyX 1.5.x are already unicode, and this just means that people who rolled their own will need to convert theirs to unicode? /Paul
Re: A source for document class layouts?
Paul A. Rubin wrote: I'll skip over the forensic steps (and the "what was I drinking that made me even think of them" part) and cut to the chase scene. My layout file is coded (according to Notepad++) "ANSI as UTF-8". Yours is coded UTF-8. Turns out either ANSI or "ANSI as UTF-8" works fine, but LyX apparently can't read a non-ANSI UTF-8 layout file and keep a straight face. (Developers are free to weigh in here with corrections if I'm wrong.) There's a bug report along these lines: LyX can't read non-UTF8 text file. I think it's been addressed in a recent fix, but I'm not sure. Why would LyX have an aversion to pissed-off crustaceans? Perhaps it's just mimicking? My thinking exactly. But now that we know the encoding is an issue, we can concentrate on those darned alien crabs. This is a huge issue, and we will have bugs here. One of the biggest changes with 1.5.x is the switch to unicode. ALL layout files need to be changed to unicode. See the release notes. rh -- == Richard G Heck, Jr Professor of Philosophy Brown University http://frege.brown.edu/heck/ == Get my public key from http://sks.keyserver.penguin.de Hash: 0x1DE91F1E66FFBDEC Learn how to sign your email using Thunderbird and GnuPG at: http://dudu.dyn.2-h.org/nist/gpg-enigmail-howto
Re: A source for document class layouts?
Paul A. Rubin wrote: I'll skip over the forensic steps (and the "what was I drinking that made me even think of them" part) and cut to the chase scene. My layout file is coded (according to Notepad++) "ANSI as UTF-8". Yours is coded UTF-8. Turns out either ANSI or "ANSI as UTF-8" works fine, but LyX apparently can't read a non-ANSI UTF-8 layout file and keep a straight face. (Developers are free to weigh in here with corrections if I'm wrong.) Dave's last reply came to me but not to the list (at least not yet). Just to finish the thread, he pointed the finger of suspicion at Notepad, which he used to hack the layout file. He cleaned it up using a different editor (Tinn-R) and the layout file works now. /Paul
Re: A source for document class layouts?
Dave Hewitt wrote: So I tried Paul's suggestion, and the resulting two files (yes, it snapped again) are here: http://www.vims.edu/fish/students/dhewitt/lyx/ The layout file is there too, as you made it. The only thing that comes to mind is that I did use the "Save as Document Defaults" button after I altered paper size and a few other things upon first starting LyX. But, the article class is still the default class. Perhaps I changed something in the defaults that's not compatible? (I didn't change much at all, and I don't recall exactly what I did change, but at the time it seemed reasonable.) Nope, that ain't it. We may (and I stress "may") be making progress here. I downloaded all three of your files. I can open either LyX file in LyX 1.5.1 (on Win XP) and convert from article to article (NRC) just fine, using my layout file. Using your layout file, though, I reproduce the crustacean effect. I'll skip over the forensic steps (and the "what was I drinking that made me even think of them" part) and cut to the chase scene. My layout file is coded (according to Notepad++) "ANSI as UTF-8". Yours is coded UTF-8. Turns out either ANSI or "ANSI as UTF-8" works fine, but LyX apparently can't read a non-ANSI UTF-8 layout file and keep a straight face. (Developers are free to weigh in here with corrections if I'm wrong.) Now this raises the twin questions of what changed the layout file to UTF-8 at your end and how to avoid it next time. I'm thinking this is one of those "what the heck is a codepage" moments. When you plopped the layout file I sent into your directory, did you get it as a mail client attachment, or did you have to cut it out of a message and paste it into a text document? If the latter, and if you used the same editor you employed to hack article.layout in the first place, then maybe that editor thinks UTF-8 is the flavor of the month. If my version of the layout file never passed through the editor used for your version, then it's more likely to be an OS setting. Why would LyX have an aversion to pissed-off crustaceans? Perhaps it's just mimicking? My thinking exactly. But now that we know the encoding is an issue, we can concentrate on those darned alien crabs. /Paul
Re: A source for document class layouts?
The error goes like this... The new document class shows up (available and with the right name I gave it) in the LyX drop-down, but when I choose it, LyX generates an error window with a red 'X' on it and a warning that says "The document could not be converted into the document class NRC" -- I click OK and it reverts to "article" in the drop-down. So I tried Paul's suggestion, and the resulting two files (yes, it snapped again) are here: http://www.vims.edu/fish/students/dhewitt/lyx/ The layout file is there too, as you made it. The only thing that comes to mind is that I did use the "Save as Document Defaults" button after I altered paper size and a few other things upon first starting LyX. But, the article class is still the default class. Perhaps I changed something in the defaults that's not compatible? (I didn't change much at all, and I don't recall exactly what I did change, but at the time it seemed reasonable.) Why would LyX have an aversion to pissed-off crustaceans? Perhaps it's just mimicking? At 05:27 PM 8/30/2007 -0400, Richard Heck wrote: Dave Hewitt wrote: Paul, Yes, it repeats that same error message and reversion to article with your file (and three other things I subsequently tried). Sorry, but can you say again EXACTLY what error message you are getting? That will at least let me know which error is happening here. If you're having problems even with the simple file Paul sent, then there must be a problem elsewhere in your installation. Can you explain the proper line for the layout file that would implement the nrc1.sty as a package, as you suggested? Let's try this later. One thing that comes to mind, but may be totally irrelevant, is the location of the User directory. I am an administrator on the machine but have a directory of my own: C:\Documents and Settings\dhewitt\Application Data\lyx15 The Administrator one is of course: C:\Documents and Settings\Administrator\Application Data\lyx15 All LyX tells me about the user directory is "~\Application Data\lyx15" Perhaps I am loading in the wrong spot? I am guessing not since it's finding the new class definition. Right: It's finding it, so it's there. That said, you might want to modify the one Paul sent just a touch on the first line---make something a capital, whatever---just so you're sure you're seeing that one. Richard -- == Richard G Heck, Jr Professor of Philosophy Brown University http://frege.brown.edu/heck/ == Get my public key from http://sks.keyserver.penguin.de Hash: 0x1DE91F1E66FFBDEC Learn how to sign your email using Thunderbird and GnuPG at: http://dudu.dyn.2-h.org/nist/gpg-enigmail-howto - Dave Hewitt Fisheries Science/Crustacean Ecology Virginia Institute of Marine Science College of William and Mary P.O. Box 1346 Gloucester Point, VA 23062 804.684.7333 [EMAIL PROTECTED] http://www.vims.edu/fish/students/dhewitt/
Re: A source for document class layouts?
Dave Hewitt wrote: Yes, it repeats that same error message and reversion to article with your file (and three other things I subsequently tried). Can you explain the proper line for the layout file that would implement the nrc1.sty as a package, as you suggested? As Richard suggested, let's debug this approach first. One thing that comes to mind, but may be totally irrelevant, is the location of the User directory. I am an administrator on the machine but have a directory of my own: C:\Documents and Settings\dhewitt\Application Data\lyx15 The Administrator one is of course: C:\Documents and Settings\Administrator\Application Data\lyx15 All LyX tells me about the user directory is "~\Application Data\lyx15" The tilde is Latin for "logged in user". Assuming you're logged in as dhewitt (and not using the local administrator account), the first directory you listed is your home. In any case, if LyX does not see a layout file for nrc1, you won't find it on the drop down list of classes. If it sees a layout file, when you reconfigure it will test whether LaTeX has the class installed. If that test fails, you'll see the NRC class listed on the drop down list, but it will be prefixed with "Unavailable". So if it's there and not marked unavailable, then (theoretically) LyX can find the layout file, LaTeX can find the class file, and LyX knows that LaTeX can find the class file. This is a bit of a long shot, but maybe you should try the following: 1. Open LyX and use File -> New to start a new document. 2. Save the (empty) document someplace. 3. Go to Document -> Settings... -> Document Class and confirm that the document is initially article class. (This is the norm, but I think it's possible that you could have changed the default document class to something funky.) 4. Select the NRC class and click Ok. 4. Assuming that LyX snaps at you and switches to article, save that as well, then post the before and after saved documents here. I'd like to try converting them to NRC here just to see what happens. Dave Hewitt Fisheries Science/Crustacean Ecology Aha, this may the culprit. Perhaps LyX just can't resist crabbing at you. /Paul
Re: A source for document class layouts?
Dave Hewitt wrote: Paul, Yes, it repeats that same error message and reversion to article with your file (and three other things I subsequently tried). Sorry, but can you say again EXACTLY what error message you are getting? That will at least let me know which error is happening here. If you're having problems even with the simple file Paul sent, then there must be a problem elsewhere in your installation. Can you explain the proper line for the layout file that would implement the nrc1.sty as a package, as you suggested? Let's try this later. One thing that comes to mind, but may be totally irrelevant, is the location of the User directory. I am an administrator on the machine but have a directory of my own: C:\Documents and Settings\dhewitt\Application Data\lyx15 The Administrator one is of course: C:\Documents and Settings\Administrator\Application Data\lyx15 All LyX tells me about the user directory is "~\Application Data\lyx15" Perhaps I am loading in the wrong spot? I am guessing not since it's finding the new class definition. Right: It's finding it, so it's there. That said, you might want to modify the one Paul sent just a touch on the first line---make something a capital, whatever---just so you're sure you're seeing that one. Richard -- == Richard G Heck, Jr Professor of Philosophy Brown University http://frege.brown.edu/heck/ == Get my public key from http://sks.keyserver.penguin.de Hash: 0x1DE91F1E66FFBDEC Learn how to sign your email using Thunderbird and GnuPG at: http://dudu.dyn.2-h.org/nist/gpg-enigmail-howto
Re: A source for document class layouts?
Paul, Yes, it repeats that same error message and reversion to article with your file (and three other things I subsequently tried). Can you explain the proper line for the layout file that would implement the nrc1.sty as a package, as you suggested? One thing that comes to mind, but may be totally irrelevant, is the location of the User directory. I am an administrator on the machine but have a directory of my own: C:\Documents and Settings\dhewitt\Application Data\lyx15 The Administrator one is of course: C:\Documents and Settings\Administrator\Application Data\lyx15 All LyX tells me about the user directory is "~\Application Data\lyx15" Perhaps I am loading in the wrong spot? I am guessing not since it's finding the new class definition. Dave Dave Hewitt wrote: I copied "article.layout" from the LyX\Resources\layouts directory and renamed it "nrc1.layout", then I pasted it into my user layout directory. Following along with Customization -> Ch. 5, I altered the second line in the file this way: # \DeclareLaTeXClass[nrc1,nrc1.sty]{article (nrc1)} (the nrc package comes with nrc1.cls, nrc1.sty, nrc2.cls, nrc2.sty, plus a bunch of other files including a PDF "user's guide", which probably means something to people that know LaTeX) The PDF manual is actually quite well written, but oddly enough it gives no clue what nrc1.sty and nrc2.sty would be used for. Maybe you can use article.cls and load nrc1.sty as a package?? Anyway, you'll want to use nrc1.cls (one column) or nrc2.cls (two column). So the optional arguments (inside the brackets) above are almost surely wrong. I also tried simply: # \DeclareLaTeXClass{article (nrc1)} This is the way to go (and works for me). I also tried adding various combinations of package names into the brackets of example 1 (as I sort of deduced the User's Guide was telling me to do), but unsurprisingly they didn't work either. I added some Preamble code to the file on one attempt as per the UG, but that didn't help (and I really had no clue what I was doing anyway). Probably a good idea to delete that, then. In no attempt did I alter anything else down in the file. Either way, YES, the document class shows up in the LyX drop-down, but when I choose it, LyX generates an error window with a red 'X' on it and a warning that says "The document could not be converted into the document class nrc1" -- I click OK and it reverts to "article" in the drop-down. This is what happened with two other classes I tried as well. This happens when you create a new document (ctrl-N or File -> New) and then switch it to NRC1 using Document -> Settings... -> Document Class? Odd that it doesn't happen for me. I'm attaching the layout file I kludged (from article.layout), although it should exactly match your most parsimonious attempt. I don't know that it exposes all the bells and whistles of the NRC class (such as journal name), but it doesn't blow up in my face. There's one bit of funkiness I came across. It shouldn't cause LyX to revert to article, but it will cause a minor headache trying to get output. By default, LyX adds \usepackage[T1]{fontenc} to every document. According to the NRC manual, this is a bozo no-no. So you need to go to Tools -> Preferences... -> Outputs -> LaTeX and change "TeX encoding" from "T1" to "default". At this point, you have two choices. If all you're ever going to use is the NRC classes, click Save. That gets rid of the encoding line in every LyX document. If you plan to use other classes, though, you're probably going to want to click Apply but not Save. That applies it only to the current session. Unfortunately, that also means you have to remember to do this every time you futz with an NRC document. (Maybe Richard or somebody knows a way to make this document-specific, or to slip it into the layout file. I don't.) One last thing. There are some options for each of the NRC packages, such as 'leqno' for NRC1 (which I assume moves equations numbers from the right margin to the left). If you want to specify any of those for a document, just go to Document -> Settings... -> Document Class and stuff the options, separated by commas, into the aptly named Options field. No need to mess with the layout file. Let us know if the attached layout file blows up on you. /Paul #% Do not delete the line below; configure depends on this # \DeclareLaTeXClass{article (NRC)} # Article textclass definition file. Taken from initial LyX source code # Author : Matthias Ettrich <[EMAIL PROTECTED]> # Transposed by Pascal André <[EMAIL PROTECTED]> # Heavily modifed and enhanced by serveral developers. Format 4 Input stdclass.inc SecNumDepth 3 TocDepth 3 NoStyle Chapter NoStyle Chapter* Style Part Align Left AlignPossible Left TopSep 2 BottomSep 1.5 Font Size Larger EndFont End Style Part* Align Left AlignPossible Left TopSep 2 BottomSep 1.5 Font Size Larger EndFont End --
Re: A source for document class layouts?
Dave Hewitt wrote: I copied "article.layout" from the LyX\Resources\layouts directory and renamed it "nrc1.layout", then I pasted it into my user layout directory. Following along with Customization -> Ch. 5, I altered the second line in the file this way: # \DeclareLaTeXClass[nrc1,nrc1.sty]{article (nrc1)} (the nrc package comes with nrc1.cls, nrc1.sty, nrc2.cls, nrc2.sty, plus a bunch of other files including a PDF "user's guide", which probably means something to people that know LaTeX) The PDF manual is actually quite well written, but oddly enough it gives no clue what nrc1.sty and nrc2.sty would be used for. Maybe you can use article.cls and load nrc1.sty as a package?? Anyway, you'll want to use nrc1.cls (one column) or nrc2.cls (two column). So the optional arguments (inside the brackets) above are almost surely wrong. I also tried simply: # \DeclareLaTeXClass{article (nrc1)} This is the way to go (and works for me). I also tried adding various combinations of package names into the brackets of example 1 (as I sort of deduced the User's Guide was telling me to do), but unsurprisingly they didn't work either. I added some Preamble code to the file on one attempt as per the UG, but that didn't help (and I really had no clue what I was doing anyway). Probably a good idea to delete that, then. In no attempt did I alter anything else down in the file. Either way, YES, the document class shows up in the LyX drop-down, but when I choose it, LyX generates an error window with a red 'X' on it and a warning that says "The document could not be converted into the document class nrc1" -- I click OK and it reverts to "article" in the drop-down. This is what happened with two other classes I tried as well. This happens when you create a new document (ctrl-N or File -> New) and then switch it to NRC1 using Document -> Settings... -> Document Class? Odd that it doesn't happen for me. I'm attaching the layout file I kludged (from article.layout), although it should exactly match your most parsimonious attempt. I don't know that it exposes all the bells and whistles of the NRC class (such as journal name), but it doesn't blow up in my face. There's one bit of funkiness I came across. It shouldn't cause LyX to revert to article, but it will cause a minor headache trying to get output. By default, LyX adds \usepackage[T1]{fontenc} to every document. According to the NRC manual, this is a bozo no-no. So you need to go to Tools -> Preferences... -> Outputs -> LaTeX and change "TeX encoding" from "T1" to "default". At this point, you have two choices. If all you're ever going to use is the NRC classes, click Save. That gets rid of the encoding line in every LyX document. If you plan to use other classes, though, you're probably going to want to click Apply but not Save. That applies it only to the current session. Unfortunately, that also means you have to remember to do this every time you futz with an NRC document. (Maybe Richard or somebody knows a way to make this document-specific, or to slip it into the layout file. I don't.) One last thing. There are some options for each of the NRC packages, such as 'leqno' for NRC1 (which I assume moves equations numbers from the right margin to the left). If you want to specify any of those for a document, just go to Document -> Settings... -> Document Class and stuff the options, separated by commas, into the aptly named Options field. No need to mess with the layout file. Let us know if the attached layout file blows up on you. /Paul #% Do not delete the line below; configure depends on this # \DeclareLaTeXClass{article (NRC)} # Article textclass definition file. Taken from initial LyX source code # Author : Matthias Ettrich <[EMAIL PROTECTED]> # Transposed by Pascal André <[EMAIL PROTECTED]> # Heavily modifed and enhanced by serveral developers. Format 4 Input stdclass.inc SecNumDepth 3 TocDepth3 NoStyle Chapter NoStyle Chapter* Style Part Align Left AlignPossible Left TopSep2 BottomSep 1.5 Font SizeLarger EndFont End Style Part* Align Left AlignPossible Left TopSep2 BottomSep 1.5 Font SizeLarger EndFont End
Re: A source for document class layouts?
I should have been more complete. Below I've tried to address both Paul and Richard's most recent comments/queries. Paul: "Also, you might want to verify that MikTeX did in fact install the class properly. An easy check is to open a DOS shell and run ... (those seem to be the names of the class files). It should give you the path to the class files. If not, the culprit is likely not the layout file. Be sure that the layout files have matching names (nrc1.layout, not nrc.layout)." DONE. I can see that they're installed in the MiKTeX Package Manager and find the pieces (tex, docs) in the MiKTeX latex directories (and the DOS search finds them). That's how I figured out what the .cls files were named (and .sty in this case). I also read the Readme files for the packages. Richard: "Post the layout file or files. What kinds of error messages are you getting?" Paul: "When you say LyX fails to convert files, what error message or pathology do you get? I assume that it's displaying your hacked layouts in Document -> Settings... -> Document class." I copied "article.layout" from the LyX\Resources\layouts directory and renamed it "nrc1.layout", then I pasted it into my user layout directory. Following along with Customization -> Ch. 5, I altered the second line in the file this way: # \DeclareLaTeXClass[nrc1,nrc1.sty]{article (nrc1)} (the nrc package comes with nrc1.cls, nrc1.sty, nrc2.cls, nrc2.sty, plus a bunch of other files including a PDF "user's guide", which probably means something to people that know LaTeX) I also tried simply: # \DeclareLaTeXClass{article (nrc1)} I also tried adding various combinations of package names into the brackets of example 1 (as I sort of deduced the User's Guide was telling me to do), but unsurprisingly they didn't work either. I added some Preamble code to the file on one attempt as per the UG, but that didn't help (and I really had no clue what I was doing anyway). In no attempt did I alter anything else down in the file. Either way, YES, the document class shows up in the LyX drop-down, but when I choose it, LyX generates an error window with a red 'X' on it and a warning that says "The document could not be converted into the document class nrc1" -- I click OK and it reverts to "article" in the drop-down. This is what happened with two other classes I tried as well. Dave
Re: A source for document class layouts?
Dave Hewitt wrote: Many thanks to Paul Rubin for his recent help on document classes. No sweat -- it was either this or do actual work. :-) But, as he probably suspected, my dilemna continues (me and the wolverine are both a bit worse for wear, but we'll live) Good in your case, undesirable w.r.t. the weasels. and now I think it rises to a new level... There's many wonderful document classes out there, and new users are probably interested in trying them out in LyX, but the layout file is (as described) difficult to deal with. I spent an hour or so messing with NRC's classes and a couple others (using Paul's suggestions and the Customization Ch. 5), all to no avail. LyX fails to convert files with just a single line of text into any of the three I tried (from article). So, my question is: is there a repository somewhere of layout files that people have created to work with the various document classes? Someone (Christian?) started a page on the wiki for contributed layouts (http://wiki.lyx.org/Layouts/Layouts). People who create or modify layouts are invited to contribute them there. As you'll see upon visiting, so far there have not been very many contributions, and in particular none that strike me as matching your class. When you say LyX fails to convert files, what error message or pathology do you get? I assume that it's displaying your hacked layouts in Document -> Settings... -> Document class. Also, you might want to verify that MikTeX did in fact install the class properly. An easy check is to open a DOS shell and run kpsewhich nrc1.cls kpsewhich nrc2.cls (those seem to be the names of the class files). It should give you the path to the class files. If not, the culprit is likely not the layout file. Be sure that the layout files have matching names (nrc1.layout, not nrc.layout). /Paul
Re: A source for document class layouts?
Dave Hewitt wrote: Many thanks to Paul Rubin for his recent help on document classes. But, as he probably suspected, my dilemna continues (me and the wolverine are both a bit worse for wear, but we'll live) and now I think it rises to a new level... There's many wonderful document classes out there, and new users are probably interested in trying them out in LyX, but the layout file is (as described) difficult to deal with. I spent an hour or so messing with NRC's classes and a couple others (using Paul's suggestions and the Customization Ch. 5), all to no avail. LyX fails to convert files with just a single line of text into any of the three I tried (from article). Post the layout file or files. What kinds of error messages are you getting? So, my question is: is there a repository somewhere of layout files that people have created to work with the various document classes? Other than /usr/share/lyx/layouts/? Seriously, I think there are some on the wiki somewhere, but this remains one of the biggest issues with LyX. Some kind of layout editor would be really nice to have, and I think some of Helge's students started one in Java. And some of us have thought about it from time to time. It really wouldn't be that hard, if you know some C++. I'd do it, but I have other targets at the moment (not to mention a dayjob). Richard -- == Richard G Heck, Jr Professor of Philosophy Brown University http://frege.brown.edu/heck/ == Get my public key from http://sks.keyserver.penguin.de Hash: 0x1DE91F1E66FFBDEC Learn how to sign your email using Thunderbird and GnuPG at: http://dudu.dyn.2-h.org/nist/gpg-enigmail-howto
A source for document class layouts?
Many thanks to Paul Rubin for his recent help on document classes. But, as he probably suspected, my dilemna continues (me and the wolverine are both a bit worse for wear, but we'll live) and now I think it rises to a new level... There's many wonderful document classes out there, and new users are probably interested in trying them out in LyX, but the layout file is (as described) difficult to deal with. I spent an hour or so messing with NRC's classes and a couple others (using Paul's suggestions and the Customization Ch. 5), all to no avail. LyX fails to convert files with just a single line of text into any of the three I tried (from article). So, my question is: is there a repository somewhere of layout files that people have created to work with the various document classes? Dave Hewitt