Re: Lyx-Code style problems.
> "Ralph" == Ralph Boland <[EMAIL PROTECTED]> writes: Ralph> I need to use Lyx-Code style in a layout that doesn't have it. Ralph> So I copied the Lyx-Code style into my layout. It works except Ralph> that multiple spaces are compressed into a single space. Ralph> Could Ralph> someone explain this? And explain how I can modify my document Ralph> class to use Lyx-Code with multiple spaces? Ralph> Yes, it seems the definition of LyX-Code does not work with the ams classes. More experiments will be needed. Ralph> Note: I do not have sysadmin privalages so cannot modify the Ralph> standard layouts and apparently cannot create a new one in my Ralph> .lyx/layouts directory. I run config and then check the list of Ralph> classes in the popup Layout/document.../class but the new Ralph> layout is not listed. (Yes, I exit lyx and then restart lyx.) Ralph> What I do is modify the standard layouts in my .lyx/layouts Ralph> directory to get the layout that I want. This is crude but Ralph> gives me what I need until this can be sorted out. This should work correctly. How do you modify the files? JMarc
Re: Lyx-Code style problems.
Ralph Boland <[EMAIL PROTECTED]> writes: | I need to use Lyx-Code style in a layout that doesn't | have it. So I copied the Lyx-Code style into my layout. | It works except that multiple spaces are compressed into | a single space. You really never need the LyX code envir, and it is planned for removal from LyX. Unfortunately we don't have a wysiwym replacement yet, but that will probably be based upon listings.sty. Lgb
Lyx-Code style problems.
I need to use Lyx-Code style in a layout that doesn't have it. So I copied the Lyx-Code style into my layout. It works except that multiple spaces are compressed into a single space. I experimented and determined that if I modified article.layout and amsart.layout to be the same except that one has the line # \DeclareLaTeXClass{article (AMS)} and the other has the line # \DeclareLaTeXClass{article} then the article.layout version has multiple spaces in style Lyx-Code but the amsart.layout version does not. Could someone explain this? And explain how I can modify my document class to use Lyx-Code with multiple spaces? Note: I do not have sysadmin privalages so cannot modify the standard layouts and apparently cannot create a new one in my .lyx/layouts directory. I run config and then check the list of classes in the popup Layout/document.../class but the new layout is not listed. (Yes, I exit lyx and then restart lyx.) What I do is modify the standard layouts in my .lyx/layouts directory to get the layout that I want. This is crude but gives me what I need until this can be sorted out. Hopefully I can create my own layouts when I upgrade. I don't see why any of this relates to the problem I have with Lyx-Code but I thought I should let you know. Thanks Ralph Boland Currently I am using lyx 1.0.4 and will upgrade when the next stable version is released in ???.