Re: Help regarding lyx (AND BUG?)
pramod salunkhe wrote: 1. Recently I loaded Lyx 1.3.7. In that it is not showing pdf viewer. The error is No information for viewing pdf. Look in Preferences File Formats and tell LyX what program you want to use to view PDF. 2. In the figure caption I want lyx to write FIG instead of Figure before the capion starts. This kind of issue has nothing to do with LyX: It's a LaTeX matter. (The same is true of your third question, already answered by someone else.) So if you want to do this kind of customization, get a copy of /The LaTeX Companion/, which is a good guide to some of the most commonly used LaTeX packages. Try putting this in ERT at the beginning of your document: \renewcommand{\figurename}[1]{FIG #1} It seems only to work, however, with some classes: It works with book, but not with paper. It does seem to work with report, so maybe it will work for you. NOTE TO LYX MAINTAINERS: It does not work to put the above command in the preamble. I'd count that as a bug. (This is true both in 1.3.7 and in 1.4.1.) The reason seems to be that the babel package is loaded only after the rest of the preamble has been. Richard Heck
Re: Help regarding lyx (AND BUG?)
Date: Wed, 07 Jun 2006 12:54:32 -0400 From: Richard Heck [EMAIL PROTECTED] To: pramod salunkhe [EMAIL PROTECTED], LyX Users List lyx-users@lists.lyx.org Subject: Re: Help regarding lyx (AND BUG?) [..]. NOTE TO LYX MAINTAINERS: It does not work to put the above command in the preamble. I'd count that as a bug. (This is true both in 1.3.7 and in 1.4.1.) The reason seems to be that the babel package is loaded only after the rest of the preamble has been. I'm not a LyX maintainer, but this point has been discussed already AFAIR. babel is loaded after the preamble without arguments, so that you may load is yourself in the preamble (even with a different option than the class language option) to get your result: \usepackage{babel} \renewcommand{\figurename}[1]{FIG #1} should do it. If you want the behaviour permanently, you may change the cfg file, e.g. in frenchb.cfg: \addto\captionsfrench{\def\figurename{{\scshape Figure}}} may be changed in \addto\captionsfrench{\def\figurename{{\scshape Fig.}}} With TL 2005 (and I guess with TeteX 3), frenchb.cfg can be changed in a local dir ~/.texlive2005 -- Jean-Pierre
Re: Help regarding lyx (AND BUG?)
pramod salunkhe wrote: 1. Recently I loaded Lyx 1.3.7. In that it is not showing pdf viewer. The error is No information for viewing pdf. Look in Preferences File Formats and tell LyX what program you want to use to view PDF. 2. In the figure caption I want lyx to write FIG instead of Figure before the capion starts. This kind of issue has nothing to do with LyX: It's a LaTeX matter. (The same is true of your third question, already answered by someone else.) So if you want to do this kind of customization, get a copy of /The LaTeX Companion/, which is a good guide to some of the most commonly used LaTeX packages. Try putting this in ERT at the beginning of your document: \renewcommand{\figurename}[1]{FIG #1} It seems only to work, however, with some classes: It works with book, but not with paper. It does seem to work with report, so maybe it will work for you. NOTE TO LYX MAINTAINERS: It does not work to put the above command in the preamble. I'd count that as a bug. (This is true both in 1.3.7 and in 1.4.1.) The reason seems to be that the babel package is loaded only after the rest of the preamble has been. Richard Heck
Re: Help regarding lyx (AND BUG?)
Date: Wed, 07 Jun 2006 12:54:32 -0400 From: Richard Heck [EMAIL PROTECTED] To: pramod salunkhe [EMAIL PROTECTED], LyX Users List lyx-users@lists.lyx.org Subject: Re: Help regarding lyx (AND BUG?) [..]. NOTE TO LYX MAINTAINERS: It does not work to put the above command in the preamble. I'd count that as a bug. (This is true both in 1.3.7 and in 1.4.1.) The reason seems to be that the babel package is loaded only after the rest of the preamble has been. I'm not a LyX maintainer, but this point has been discussed already AFAIR. babel is loaded after the preamble without arguments, so that you may load is yourself in the preamble (even with a different option than the class language option) to get your result: \usepackage{babel} \renewcommand{\figurename}[1]{FIG #1} should do it. If you want the behaviour permanently, you may change the cfg file, e.g. in frenchb.cfg: \addto\captionsfrench{\def\figurename{{\scshape Figure}}} may be changed in \addto\captionsfrench{\def\figurename{{\scshape Fig.}}} With TL 2005 (and I guess with TeteX 3), frenchb.cfg can be changed in a local dir ~/.texlive2005 -- Jean-Pierre
Re: Help regarding lyx (AND BUG?)
pramod salunkhe wrote: > 1. Recently I loaded Lyx 1.3.7. In that it is not showing pdf viewer. The > error is "No information for viewing pdf". > Look in Preferences > File Formats and tell LyX what program you want to use to view PDF. > 2. In the figure caption I want lyx to write "FIG" instead of "Figure" before > the capion starts. > This kind of issue has nothing to do with LyX: It's a LaTeX matter. (The same is true of your third question, already answered by someone else.) So if you want to do this kind of customization, get a copy of /The LaTeX Companion/, which is a good guide to some of the most commonly used LaTeX packages. Try putting this in ERT at the beginning of your document: \renewcommand{\figurename}[1]{FIG #1} It seems only to work, however, with some classes: It works with book, but not with paper. It does seem to work with report, so maybe it will work for you. NOTE TO LYX MAINTAINERS: It does not work to put the above command in the preamble. I'd count that as a bug. (This is true both in 1.3.7 and in 1.4.1.) The reason seems to be that the babel package is loaded only after the rest of the preamble has been. Richard Heck
Re: Help regarding lyx (AND BUG?)
>>Date: Wed, 07 Jun 2006 12:54:32 -0400 >>From: Richard Heck <[EMAIL PROTECTED]> >>To: pramod salunkhe <[EMAIL PROTECTED]>, LyX Users List >><lyx-users@lists.lyx.org> >>Subject: Re: Help regarding lyx (AND BUG?) >> [..]. >> >>NOTE TO LYX MAINTAINERS: It does not work to put the above command in >>the preamble. I'd count that as a bug. (This is true both in 1.3.7 and >>in 1.4.1.) The reason seems to be that the babel package is loaded only >>after the rest of the preamble has been. I'm not a LyX maintainer, but this point has been discussed already AFAIR. babel is loaded after the preamble without arguments, so that you may load is yourself in the preamble (even with a different option than the class language option) to get your result: \usepackage{babel} \renewcommand{\figurename}[1]{FIG #1} should do it. If you want the behaviour permanently, you may change the cfg file, e.g. in frenchb.cfg: \addto\captionsfrench{\def\figurename{{\scshape Figure}}} may be changed in \addto\captionsfrench{\def\figurename{{\scshape Fig.}}} With TL 2005 (and I guess with TeteX 3), frenchb.cfg can be changed in a local dir ~/.texlive2005 -- Jean-Pierre