Re: Package options override
Sebastian Rohrer wrote: Paul A. Rubin wrote: Sebastian Rohrer wrote: Hi, I want to use the "achemso" package for the formatting of my bibliography. (http://www.ctan.org/tex-archive/macros/latex/contrib/achemso/) This package provides citation styles compliant with the rules of the journals of the American Chemical Society (ACS). I need a specific options, which includes the title of a cited article in the citation. Therefore I have included the following line in my latex preamble \usepackage[usetitle]{achemso} "usetitle" is the option that provides the inclusion of the title in the citation. Lyx uses the achemso citation style but ignores the "usetitle" option. I tried other options of the package and lyx seems to completely ignore them all. Any hints on what may be the problem? Thanks for any help... Sebastian If you View -> Source, does the \usepackage command appear as above (with the option present)? If so, the problem is not with LyX. /Paul Thanks again for your help. The usepackage does appear in the source code with the option present. However, if I scroll down to the end of the source, I find the following: \bibliographystyle{plain} \cleardoublepage\addcontentsline{toc}{chapter}{\bibname}\bibliography{/xchange2/basti/Literature/literature} Can it be, that the bibliographystyle command overrides the uspackage command? I don't have the achemso package, so I can't say for sure, but probably not. The \bibliographystyle command dictates what BibTeX style file (.bst) is used to format the references, not the in-text citations. If the achemso package includes a .bst file, you will want to select it (changning "plain" to whatever it's called, presumably "achemso"). The \usepackage{achemso} command is employed to load a style file (achemso.sty) that, I assume, helps format the in-text citations. Go to Document -> Settings... -> Bibliography and make sure that, in the Citation Style are, Default is selected. Other than that, I'm not sure what you can do to encourage LaTeX to see and use the achemso style file. /Paul
Re: Package options override
Paul A. Rubin wrote: Sebastian Rohrer wrote: Hi, I want to use the "achemso" package for the formatting of my bibliography. (http://www.ctan.org/tex-archive/macros/latex/contrib/achemso/) This package provides citation styles compliant with the rules of the journals of the American Chemical Society (ACS). I need a specific options, which includes the title of a cited article in the citation. Therefore I have included the following line in my latex preamble \usepackage[usetitle]{achemso} "usetitle" is the option that provides the inclusion of the title in the citation. Lyx uses the achemso citation style but ignores the "usetitle" option. I tried other options of the package and lyx seems to completely ignore them all. Any hints on what may be the problem? Thanks for any help... Sebastian If you View -> Source, does the \usepackage command appear as above (with the option present)? If so, the problem is not with LyX. /Paul Thanks again for your help. The usepackage does appear in the source code with the option present. However, if I scroll down to the end of the source, I find the following: \bibliographystyle{plain} \cleardoublepage\addcontentsline{toc}{chapter}{\bibname}\bibliography{/xchange2/basti/Literature/literature} Can it be, that the bibliographystyle command overrides the uspackage command? Sebastian -- Sebastian Rohrer AK Baumann - Molecular Modelling Group Institute of Pharmaceutical Chemistry Braunschweig University of Technology Beethovenstr. 55 38106 Braunschweig Germany Phone: +49-531-3912797
Re: Package options override
Sebastian Rohrer wrote: Hi, I want to use the "achemso" package for the formatting of my bibliography. (http://www.ctan.org/tex-archive/macros/latex/contrib/achemso/) This package provides citation styles compliant with the rules of the journals of the American Chemical Society (ACS). I need a specific options, which includes the title of a cited article in the citation. Therefore I have included the following line in my latex preamble \usepackage[usetitle]{achemso} "usetitle" is the option that provides the inclusion of the title in the citation. Lyx uses the achemso citation style but ignores the "usetitle" option. I tried other options of the package and lyx seems to completely ignore them all. Any hints on what may be the problem? Thanks for any help... Sebastian If you View -> Source, does the \usepackage command appear as above (with the option present)? If so, the problem is not with LyX. /Paul
Re: Package options override
G. Milde wrote: On 11.07.08, Sebastian Rohrer wrote: Hi, I want to use the "achemso" package for the formatting of my bibliography. ... I need a specific options, which includes the title of a cited article in the citation. Therefore I have included the following line in my latex preamble \usepackage[usetitle]{achemso} "usetitle" is the option that provides the inclusion of the title in the citation. Lyx uses the achemso citation style but ignores the "usetitle" option. I tried other options of the package and lyx seems to completely ignore them all. You might try to give the options as "global" options (in the Document>Settings Tab under the choosen document class). GM Thanks a lot for the suggestion, but it won't help... -- Sebastian Rohrer AK Baumann - Molecular Modelling Group Institute of Pharmaceutical Chemistry Braunschweig University of Technology Beethovenstr. 55 38106 Braunschweig Germany Phone: +49-531-3912797
Re: Package options override
On 11.07.08, Sebastian Rohrer wrote: > Hi, > I want to use the "achemso" package for the formatting of my > bibliography. ... > I need a specific options, which includes the title of a cited article > in the citation. Therefore I have included the following line in my > latex preamble > \usepackage[usetitle]{achemso} > "usetitle" is the option that provides the inclusion of the title in the > citation. > Lyx uses the achemso citation style but ignores the "usetitle" option. I > tried other options of the package and lyx seems to completely ignore > them all. You might try to give the options as "global" options (in the Document>Settings Tab under the choosen document class). GM