Re: Class files on Mac: Cannot really use the .cls file...
On Fri, 30 Dec 2005, Paul A. Rubin wrote: Johan Tegin wrote: After tweaking the reLyXed file somewhat, it seems LyX generates the exact result as LaTeX directly. Except for that the figurenames are preceeded by Figure instead of Fig. The style file contains the line \def\figurename{Fig.}. The layout file: #% Do not delete the line below; configure depends on this # \DeclareLaTeXClass[ifacmtg]{IFAC Meeting} # Read the definitions from article.layout Input article.layout Also tried Input stdclass.inc instead and also. What really happens? Any suggested remedies to change the figure names? Are you saying that you see the full word (Figure) in output produced by LyX, or just in the LyX window itself (meaning LyX says Figure but the DVI/PDF output file says Fig.)? As far as I know, neither article.layout nor stdclass.inc (which I believe article.layout automatically loads) does anything in this regard that would affect the output generated by LaTeX. If you want the LyX window to show Fig., perhaps the aastex.layout file (which has a FigCaption style) might give you some clues. /Paul Yes, the figure captions in the DVI output are preceeded by e.g. Figure 1. instead of Fig. 1. Everything else, all spacing, every single letter position, seem to be in the very same place as in the latex-generated dvi file. (The LyX window displays Figure, but that doesn't really matter.) /johan www.md.kth.se/~johant/ifacsamlyx.dvi www.md.kth.se/~johant/ifacsamlatex.dvi
Re: Class files on Mac: Cannot really use the .cls file...
Johan Tegin wrote: On Fri, 30 Dec 2005, Paul A. Rubin wrote: Johan Tegin wrote: After tweaking the reLyXed file somewhat, it seems LyX generates the exact result as LaTeX directly. Except for that the figurenames are preceeded by Figure instead of Fig. The style file contains the line \def\figurename{Fig.}. The layout file: #% Do not delete the line below; configure depends on this # \DeclareLaTeXClass[ifacmtg]{IFAC Meeting} # Read the definitions from article.layout Input article.layout Also tried Input stdclass.inc instead and also. What really happens? Any suggested remedies to change the figure names? Are you saying that you see the full word (Figure) in output produced by LyX, or just in the LyX window itself (meaning LyX says Figure but the DVI/PDF output file says Fig.)? As far as I know, neither article.layout nor stdclass.inc (which I believe article.layout automatically loads) does anything in this regard that would affect the output generated by LaTeX. If you want the LyX window to show Fig., perhaps the aastex.layout file (which has a FigCaption style) might give you some clues. /Paul Yes, the figure captions in the DVI output are preceeded by e.g. Figure 1. instead of Fig. 1. Everything else, all spacing, every single letter position, seem to be in the very same place as in the latex-generated dvi file. (The LyX window displays Figure, but that doesn't really matter.) /johan www.md.kth.se/~johant/ifacsamlyx.dvi www.md.kth.se/~johant/ifacsamlatex.dvi I did a little experimenting. It turns out that LyX inserts the option 'english' in the document class line. For instance, in the sample document, LyX writes \documentclass[onesided,english]{ifacmtg} where the original sample contains just \documentclass{ifacmtg}. The specification of a language option is what triggers the use of a full word rather than an abbreviation (though I don't know enough about LaTeX classes to know why). The same thing happened when I specified German as the language (other than 'Figure' becoming 'Abbildung', of course). As a work-around, you can have LyX export to LaTeX, manually edit out the language option from the \documentclass line, and then run LaTeX manually, which should work (did for me). For a more satisfying answer, you might want to repost to the list with a new subject line (how to suppress the language specification, why the language specification forces full-word captions, ...). Hope this helps, Paul
Re: Class files on Mac: Cannot really use the .cls file...
On Fri, 30 Dec 2005, Paul A. Rubin wrote: Johan Tegin wrote: After tweaking the reLyXed file somewhat, it seems LyX generates the exact result as LaTeX directly. Except for that the figurenames are preceeded by Figure instead of Fig. The style file contains the line \def\figurename{Fig.}. The layout file: #% Do not delete the line below; configure depends on this # \DeclareLaTeXClass[ifacmtg]{IFAC Meeting} # Read the definitions from article.layout Input article.layout Also tried Input stdclass.inc instead and also. What really happens? Any suggested remedies to change the figure names? Are you saying that you see the full word (Figure) in output produced by LyX, or just in the LyX window itself (meaning LyX says Figure but the DVI/PDF output file says Fig.)? As far as I know, neither article.layout nor stdclass.inc (which I believe article.layout automatically loads) does anything in this regard that would affect the output generated by LaTeX. If you want the LyX window to show Fig., perhaps the aastex.layout file (which has a FigCaption style) might give you some clues. /Paul Yes, the figure captions in the DVI output are preceeded by e.g. Figure 1. instead of Fig. 1. Everything else, all spacing, every single letter position, seem to be in the very same place as in the latex-generated dvi file. (The LyX window displays Figure, but that doesn't really matter.) /johan www.md.kth.se/~johant/ifacsamlyx.dvi www.md.kth.se/~johant/ifacsamlatex.dvi
Re: Class files on Mac: Cannot really use the .cls file...
Johan Tegin wrote: On Fri, 30 Dec 2005, Paul A. Rubin wrote: Johan Tegin wrote: After tweaking the reLyXed file somewhat, it seems LyX generates the exact result as LaTeX directly. Except for that the figurenames are preceeded by Figure instead of Fig. The style file contains the line \def\figurename{Fig.}. The layout file: #% Do not delete the line below; configure depends on this # \DeclareLaTeXClass[ifacmtg]{IFAC Meeting} # Read the definitions from article.layout Input article.layout Also tried Input stdclass.inc instead and also. What really happens? Any suggested remedies to change the figure names? Are you saying that you see the full word (Figure) in output produced by LyX, or just in the LyX window itself (meaning LyX says Figure but the DVI/PDF output file says Fig.)? As far as I know, neither article.layout nor stdclass.inc (which I believe article.layout automatically loads) does anything in this regard that would affect the output generated by LaTeX. If you want the LyX window to show Fig., perhaps the aastex.layout file (which has a FigCaption style) might give you some clues. /Paul Yes, the figure captions in the DVI output are preceeded by e.g. Figure 1. instead of Fig. 1. Everything else, all spacing, every single letter position, seem to be in the very same place as in the latex-generated dvi file. (The LyX window displays Figure, but that doesn't really matter.) /johan www.md.kth.se/~johant/ifacsamlyx.dvi www.md.kth.se/~johant/ifacsamlatex.dvi I did a little experimenting. It turns out that LyX inserts the option 'english' in the document class line. For instance, in the sample document, LyX writes \documentclass[onesided,english]{ifacmtg} where the original sample contains just \documentclass{ifacmtg}. The specification of a language option is what triggers the use of a full word rather than an abbreviation (though I don't know enough about LaTeX classes to know why). The same thing happened when I specified German as the language (other than 'Figure' becoming 'Abbildung', of course). As a work-around, you can have LyX export to LaTeX, manually edit out the language option from the \documentclass line, and then run LaTeX manually, which should work (did for me). For a more satisfying answer, you might want to repost to the list with a new subject line (how to suppress the language specification, why the language specification forces full-word captions, ...). Hope this helps, Paul
Re: Class files on Mac: Cannot really use the .cls file...
On Fri, 30 Dec 2005, Paul A. Rubin wrote: Johan Tegin wrote: After tweaking the reLyXed file somewhat, it seems LyX generates the exact result as LaTeX directly. Except for that the figurenames are preceeded by "Figure" instead of "Fig". The style file contains the line \def\figurename{Fig.}. The layout file: #% Do not delete the line below; configure depends on this # \DeclareLaTeXClass[ifacmtg]{IFAC Meeting} # Read the definitions from article.layout Input article.layout Also tried "Input stdclass.inc" instead and also. What really happens? Any suggested remedies to change the figure names? Are you saying that you see the full word ("Figure") in output produced by LyX, or just in the LyX window itself (meaning LyX says "Figure" but the DVI/PDF output file says "Fig.")? As far as I know, neither article.layout nor stdclass.inc (which I believe article.layout automatically loads) does anything in this regard that would affect the output generated by LaTeX. If you want the LyX window to show "Fig.", perhaps the aastex.layout file (which has a FigCaption style) might give you some clues. /Paul Yes, the figure captions in the DVI output are preceeded by e.g. "Figure 1." instead of "Fig. 1." Everything else, all spacing, every single letter position, seem to be in the very same place as in the latex-generated dvi file. (The LyX window displays Figure, but that doesn't really matter.) /johan www.md.kth.se/~johant/ifacsamlyx.dvi www.md.kth.se/~johant/ifacsamlatex.dvi
Re: Class files on Mac: Cannot really use the .cls file...
Johan Tegin wrote: On Fri, 30 Dec 2005, Paul A. Rubin wrote: Johan Tegin wrote: After tweaking the reLyXed file somewhat, it seems LyX generates the exact result as LaTeX directly. Except for that the figurenames are preceeded by "Figure" instead of "Fig". The style file contains the line \def\figurename{Fig.}. The layout file: #% Do not delete the line below; configure depends on this # \DeclareLaTeXClass[ifacmtg]{IFAC Meeting} # Read the definitions from article.layout Input article.layout Also tried "Input stdclass.inc" instead and also. What really happens? Any suggested remedies to change the figure names? Are you saying that you see the full word ("Figure") in output produced by LyX, or just in the LyX window itself (meaning LyX says "Figure" but the DVI/PDF output file says "Fig.")? As far as I know, neither article.layout nor stdclass.inc (which I believe article.layout automatically loads) does anything in this regard that would affect the output generated by LaTeX. If you want the LyX window to show "Fig.", perhaps the aastex.layout file (which has a FigCaption style) might give you some clues. /Paul Yes, the figure captions in the DVI output are preceeded by e.g. "Figure 1." instead of "Fig. 1." Everything else, all spacing, every single letter position, seem to be in the very same place as in the latex-generated dvi file. (The LyX window displays Figure, but that doesn't really matter.) /johan www.md.kth.se/~johant/ifacsamlyx.dvi www.md.kth.se/~johant/ifacsamlatex.dvi I did a little experimenting. It turns out that LyX inserts the option 'english' in the document class line. For instance, in the sample document, LyX writes \documentclass[onesided,english]{ifacmtg} where the original sample contains just \documentclass{ifacmtg}. The specification of a language option is what triggers the use of a full word rather than an abbreviation (though I don't know enough about LaTeX classes to know why). The same thing happened when I specified German as the language (other than 'Figure' becoming 'Abbildung', of course). As a work-around, you can have LyX export to LaTeX, manually edit out the language option from the \documentclass line, and then run LaTeX manually, which should work (did for me). For a more satisfying answer, you might want to repost to the list with a new subject line (how to suppress the language specification, why the language specification forces full-word captions, ...). Hope this helps, Paul
Re: Class files on Mac: Cannot really use the .cls file...
On Thu, 29 Dec 2005, Paul A. Rubin wrote: I assume that by cannot use you mean it does not show up in the Layout-Document-Layout-Document class: list? If so, it might be because you do not have a LyX layout file associated with it. (Or do you?) You might have a look at http://wiki.lyx.org/pmwiki.php/Layouts/Layouts. Paul Thanks, After tweaking the reLyXed file somewhat, it seems LyX generates the exact result as LaTeX directly. Except for that the figurenames are preceeded by Figure instead of Fig. The style file contains the line \def\figurename{Fig.}. The layout file: #% Do not delete the line below; configure depends on this # \DeclareLaTeXClass[ifacmtg]{IFAC Meeting} # Read the definitions from article.layout Input article.layout Also tried Input stdclass.inc instead and also. What really happens? Any suggested remedies to change the figure names? /johan
Re: Class files on Mac: Cannot really use the .cls file...
Johan Tegin wrote: After tweaking the reLyXed file somewhat, it seems LyX generates the exact result as LaTeX directly. Except for that the figurenames are preceeded by Figure instead of Fig. The style file contains the line \def\figurename{Fig.}. The layout file: #% Do not delete the line below; configure depends on this # \DeclareLaTeXClass[ifacmtg]{IFAC Meeting} # Read the definitions from article.layout Input article.layout Also tried Input stdclass.inc instead and also. What really happens? Any suggested remedies to change the figure names? Are you saying that you see the full word (Figure) in output produced by LyX, or just in the LyX window itself (meaning LyX says Figure but the DVI/PDF output file says Fig.)? As far as I know, neither article.layout nor stdclass.inc (which I believe article.layout automatically loads) does anything in this regard that would affect the output generated by LaTeX. If you want the LyX window to show Fig., perhaps the aastex.layout file (which has a FigCaption style) might give you some clues. /Paul
Re: Class files on Mac: Cannot really use the .cls file...
Maybe you can also get a hint from the template section of: http://wiki.lyx.org/pmwiki.php/FAQ/MacInstall /Anders Johan Tegin wrote: Hi, Got problems using a new class file... I put the file in all possible places. Did run texhash as root. Reconfigured LyX twice. Still, I cannot use the desired class (ifacmtg.cls). It is visible and viewable under View-TeX Information-LaTeX Classes. The file resides on the following locations: (Yes, they should not be all necessary i hope, but I got this working with IEEEtran.cls a while and thats how many IEEEtran files I ended up with then :-) But I cannot recall how i did it :-( ) /Applications/LyX.app/Contents/Resources/lyx/tex/ifacmtg.cls /sw/share/lyx/tex/ifacmtg.cls /sw/share/texmf/tex/latex/ifacmtg.cls /usr/local/teTeX/share/texmf.tetex/tex/latex/ifacmtg/ifacmtg.cls Any ideas on what to do? What is the correct procedure? Is it outlined anywhere? Thanks, Johan btw... Running all versions of lyx (aqua, x11, qt) under OS X 10.3.9. I assume that by cannot use you mean it does not show up in the Layout-Document-Layout-Document class: list? If so, it might be because you do not have a LyX layout file associated with it. (Or do you?) You might have a look at http://wiki.lyx.org/pmwiki.php/Layouts/ Layouts. Paul
Re: Class files on Mac: Cannot really use the .cls file...
On Thu, 29 Dec 2005, Paul A. Rubin wrote: I assume that by cannot use you mean it does not show up in the Layout-Document-Layout-Document class: list? If so, it might be because you do not have a LyX layout file associated with it. (Or do you?) You might have a look at http://wiki.lyx.org/pmwiki.php/Layouts/Layouts. Paul Thanks, After tweaking the reLyXed file somewhat, it seems LyX generates the exact result as LaTeX directly. Except for that the figurenames are preceeded by Figure instead of Fig. The style file contains the line \def\figurename{Fig.}. The layout file: #% Do not delete the line below; configure depends on this # \DeclareLaTeXClass[ifacmtg]{IFAC Meeting} # Read the definitions from article.layout Input article.layout Also tried Input stdclass.inc instead and also. What really happens? Any suggested remedies to change the figure names? /johan
Re: Class files on Mac: Cannot really use the .cls file...
Johan Tegin wrote: After tweaking the reLyXed file somewhat, it seems LyX generates the exact result as LaTeX directly. Except for that the figurenames are preceeded by Figure instead of Fig. The style file contains the line \def\figurename{Fig.}. The layout file: #% Do not delete the line below; configure depends on this # \DeclareLaTeXClass[ifacmtg]{IFAC Meeting} # Read the definitions from article.layout Input article.layout Also tried Input stdclass.inc instead and also. What really happens? Any suggested remedies to change the figure names? Are you saying that you see the full word (Figure) in output produced by LyX, or just in the LyX window itself (meaning LyX says Figure but the DVI/PDF output file says Fig.)? As far as I know, neither article.layout nor stdclass.inc (which I believe article.layout automatically loads) does anything in this regard that would affect the output generated by LaTeX. If you want the LyX window to show Fig., perhaps the aastex.layout file (which has a FigCaption style) might give you some clues. /Paul
Re: Class files on Mac: Cannot really use the .cls file...
Maybe you can also get a hint from the template section of: http://wiki.lyx.org/pmwiki.php/FAQ/MacInstall /Anders Johan Tegin wrote: Hi, Got problems using a new class file... I put the file in all possible places. Did run texhash as root. Reconfigured LyX twice. Still, I cannot use the desired class (ifacmtg.cls). It is visible and viewable under View-TeX Information-LaTeX Classes. The file resides on the following locations: (Yes, they should not be all necessary i hope, but I got this working with IEEEtran.cls a while and thats how many IEEEtran files I ended up with then :-) But I cannot recall how i did it :-( ) /Applications/LyX.app/Contents/Resources/lyx/tex/ifacmtg.cls /sw/share/lyx/tex/ifacmtg.cls /sw/share/texmf/tex/latex/ifacmtg.cls /usr/local/teTeX/share/texmf.tetex/tex/latex/ifacmtg/ifacmtg.cls Any ideas on what to do? What is the correct procedure? Is it outlined anywhere? Thanks, Johan btw... Running all versions of lyx (aqua, x11, qt) under OS X 10.3.9. I assume that by cannot use you mean it does not show up in the Layout-Document-Layout-Document class: list? If so, it might be because you do not have a LyX layout file associated with it. (Or do you?) You might have a look at http://wiki.lyx.org/pmwiki.php/Layouts/ Layouts. Paul
Re: Class files on Mac: Cannot really use the .cls file...
On Thu, 29 Dec 2005, Paul A. Rubin wrote: I assume that by "cannot use" you mean it does not show up in the Layout->Document->Layout->Document class: list? If so, it might be because you do not have a LyX layout file associated with it. (Or do you?) You might have a look at http://wiki.lyx.org/pmwiki.php/Layouts/Layouts. Paul Thanks, After tweaking the reLyXed file somewhat, it seems LyX generates the exact result as LaTeX directly. Except for that the figurenames are preceeded by "Figure" instead of "Fig". The style file contains the line \def\figurename{Fig.}. The layout file: #% Do not delete the line below; configure depends on this # \DeclareLaTeXClass[ifacmtg]{IFAC Meeting} # Read the definitions from article.layout Input article.layout Also tried "Input stdclass.inc" instead and also. What really happens? Any suggested remedies to change the figure names? /johan
Re: Class files on Mac: Cannot really use the .cls file...
Johan Tegin wrote: After tweaking the reLyXed file somewhat, it seems LyX generates the exact result as LaTeX directly. Except for that the figurenames are preceeded by "Figure" instead of "Fig". The style file contains the line \def\figurename{Fig.}. The layout file: #% Do not delete the line below; configure depends on this # \DeclareLaTeXClass[ifacmtg]{IFAC Meeting} # Read the definitions from article.layout Input article.layout Also tried "Input stdclass.inc" instead and also. What really happens? Any suggested remedies to change the figure names? Are you saying that you see the full word ("Figure") in output produced by LyX, or just in the LyX window itself (meaning LyX says "Figure" but the DVI/PDF output file says "Fig.")? As far as I know, neither article.layout nor stdclass.inc (which I believe article.layout automatically loads) does anything in this regard that would affect the output generated by LaTeX. If you want the LyX window to show "Fig.", perhaps the aastex.layout file (which has a FigCaption style) might give you some clues. /Paul
Re: Class files on Mac: Cannot really use the .cls file...
Maybe you can also get a hint from the template section of: http://wiki.lyx.org/pmwiki.php/FAQ/MacInstall /Anders Johan Tegin wrote: Hi, Got problems using a new class file... I put the file in all possible places. Did run texhash as root. Reconfigured LyX twice. Still, I cannot use the desired class (ifacmtg.cls). It is visible and viewable under View->TeX Information->LaTeX Classes. The file resides on the following locations: (Yes, they should not be all necessary i hope, but I got this working with IEEEtran.cls a while and thats how many IEEEtran files I ended up with then :-) But I cannot recall how i did it :-( ) /Applications/LyX.app/Contents/Resources/lyx/tex/ifacmtg.cls /sw/share/lyx/tex/ifacmtg.cls /sw/share/texmf/tex/latex/ifacmtg.cls /usr/local/teTeX/share/texmf.tetex/tex/latex/ifacmtg/ifacmtg.cls Any ideas on what to do? What is the correct procedure? Is it outlined anywhere? Thanks, Johan btw... Running all versions of lyx (aqua, x11, qt) under OS X 10.3.9. I assume that by "cannot use" you mean it does not show up in the Layout->Document->Layout->Document class: list? If so, it might be because you do not have a LyX layout file associated with it. (Or do you?) You might have a look at http://wiki.lyx.org/pmwiki.php/Layouts/ Layouts. Paul
Re: Class files on Mac: Cannot really use the .cls file...
Johan Tegin wrote: Hi, Got problems using a new class file... I put the file in all possible places. Did run texhash as root. Reconfigured LyX twice. Still, I cannot use the desired class (ifacmtg.cls). It is visible and viewable under View-TeX Information-LaTeX Classes. The file resides on the following locations: (Yes, they should not be all necessary i hope, but I got this working with IEEEtran.cls a while and thats how many IEEEtran files I ended up with then :-) But I cannot recall how i did it :-( ) /Applications/LyX.app/Contents/Resources/lyx/tex/ifacmtg.cls /sw/share/lyx/tex/ifacmtg.cls /sw/share/texmf/tex/latex/ifacmtg.cls /usr/local/teTeX/share/texmf.tetex/tex/latex/ifacmtg/ifacmtg.cls Any ideas on what to do? What is the correct procedure? Is it outlined anywhere? Thanks, Johan btw... Running all versions of lyx (aqua, x11, qt) under OS X 10.3.9. I assume that by cannot use you mean it does not show up in the Layout-Document-Layout-Document class: list? If so, it might be because you do not have a LyX layout file associated with it. (Or do you?) You might have a look at http://wiki.lyx.org/pmwiki.php/Layouts/Layouts. Paul
Re: Class files on Mac: Cannot really use the .cls file...
Johan Tegin wrote: Hi, Got problems using a new class file... I put the file in all possible places. Did run texhash as root. Reconfigured LyX twice. Still, I cannot use the desired class (ifacmtg.cls). It is visible and viewable under View-TeX Information-LaTeX Classes. The file resides on the following locations: (Yes, they should not be all necessary i hope, but I got this working with IEEEtran.cls a while and thats how many IEEEtran files I ended up with then :-) But I cannot recall how i did it :-( ) /Applications/LyX.app/Contents/Resources/lyx/tex/ifacmtg.cls /sw/share/lyx/tex/ifacmtg.cls /sw/share/texmf/tex/latex/ifacmtg.cls /usr/local/teTeX/share/texmf.tetex/tex/latex/ifacmtg/ifacmtg.cls Any ideas on what to do? What is the correct procedure? Is it outlined anywhere? Thanks, Johan btw... Running all versions of lyx (aqua, x11, qt) under OS X 10.3.9. I assume that by cannot use you mean it does not show up in the Layout-Document-Layout-Document class: list? If so, it might be because you do not have a LyX layout file associated with it. (Or do you?) You might have a look at http://wiki.lyx.org/pmwiki.php/Layouts/Layouts. Paul
Re: Class files on Mac: Cannot really use the .cls file...
Johan Tegin wrote: Hi, Got problems using a new class file... I put the file in all possible places. Did run texhash as root. Reconfigured LyX twice. Still, I cannot use the desired class (ifacmtg.cls). It is visible and viewable under View->TeX Information->LaTeX Classes. The file resides on the following locations: (Yes, they should not be all necessary i hope, but I got this working with IEEEtran.cls a while and thats how many IEEEtran files I ended up with then :-) But I cannot recall how i did it :-( ) /Applications/LyX.app/Contents/Resources/lyx/tex/ifacmtg.cls /sw/share/lyx/tex/ifacmtg.cls /sw/share/texmf/tex/latex/ifacmtg.cls /usr/local/teTeX/share/texmf.tetex/tex/latex/ifacmtg/ifacmtg.cls Any ideas on what to do? What is the correct procedure? Is it outlined anywhere? Thanks, Johan btw... Running all versions of lyx (aqua, x11, qt) under OS X 10.3.9. I assume that by "cannot use" you mean it does not show up in the Layout->Document->Layout->Document class: list? If so, it might be because you do not have a LyX layout file associated with it. (Or do you?) You might have a look at http://wiki.lyx.org/pmwiki.php/Layouts/Layouts. Paul