Re: citation style does not mention " et. al." as promised

2008-12-05 Thread Manoj Rajagopalan

Hi,

  I am using Bibtex and the bibtex entry is mentioned below. Lyx/latex 
still has trouble figuring out the author for this citation style. Is 
there an error in the way this entry is setup esp. in the author field?




@Article{ qdots-strained-MBE-first-observation,
	title = "Growth by molecular beam epitaxy and characterization of 
InAs/GaAs strained-layer superlattices",
	author = "L. Goldstein and F. Glas and J.Y. Marzin and M.N. Charasse 
and G. Le Roux",

journal = "Applied Physics Letters",
pages = "1099--1101",
volume = "47",
number = "10",
month = nov,
year = "1985",
	abstract = "InAs/GaAs superlattices with ultra-thin InAs (few 
monolayer) were grown on GaAs substrates. Nucleation of InAs occurs in a 
two-dimensional or a three-dimensional way depending on the growth 
conditions. The physical properties: x ray, transmission electron 
microscopy, and photoluminescence were used to characterize the 
different growth processes.",

url = "http://link.aip.org.proxy.lib.umich.edu/link/?APPLAB/47/1099/1;,
doi = "10.1063/1.96342 ",
	localfile = 
"/home/rmanoj/Research/Papers/QDots/Observations/Goldstein-growth-MBE-char-InAs-GaAs-strained-epilayer-superlattices-APL-0085.pdf",
	Summary = "Mentioned by QDH book to be the first observation of SK 
growth in strained MBE"

}


thanks,
Manoj



rgheck wrote:

Manoj Rajagopalan wrote:

Hi all,

  In my document, I have inserted a Bibtex bibliography. For certain 
citation items, I choose the " et. al." Citation style from 
the Formatting section of the Citation dialog. This is supposed to 
give me reference of the form " et. al. [ref#] ...". However, 
when I view the DVI I only see text like "[ref#] ..." without the 
author's name as the citation style dialog promises.


  Would anyone know why this is so? I am using the book(AMS) document 
class.


The usual reason is that there's an error somewhere in your BibTeX file. 
If BibTeX can't figure out the author and year for some entry, then it 
reverts to numerical citations.


If you're not using BibTeX but are entering the references manually, 
then the problem is that you can only use author-year citations if 
you're using BibTeX.


rh





Re: citation style does not mention " et. al." as promised

2008-12-05 Thread Richard Heck

Manoj Rajagopalan wrote:

Hi,

  I am using Bibtex and the bibtex entry is mentioned below. Lyx/latex 
still has trouble figuring out the author for this citation style. Is 
there an error in the way this entry is setup esp. in the author field?


I wonder if there is an issue with "Le Roux"? Try "LeRoux" and see if 
that helps. If so, maybe you can use "Le~Roux" (non-breaking space) or 
"{Le Roux}". Not sure.


rh



@Article{ qdots-strained-MBE-first-observation,
title = "Growth by molecular beam epitaxy and characterization of 
InAs/GaAs strained-layer superlattices",
author = "L. Goldstein and F. Glas and J.Y. Marzin and M.N. 
Charasse and G. Le Roux",

journal = "Applied Physics Letters",
pages = "1099--1101",
volume = "47",
number = "10",
month = nov,
year = "1985",
abstract = "InAs/GaAs superlattices with ultra-thin InAs (few 
monolayer) were grown on GaAs substrates. Nucleation of InAs occurs in 
a two-dimensional or a three-dimensional way depending on the growth 
conditions. The physical properties: x ray, transmission electron 
microscopy, and photoluminescence were used to characterize the 
different growth processes.",
url = 
"http://link.aip.org.proxy.lib.umich.edu/link/?APPLAB/47/1099/1;,

doi = "10.1063/1.96342 ",
localfile = 
"/home/rmanoj/Research/Papers/QDots/Observations/Goldstein-growth-MBE-char-InAs-GaAs-strained-epilayer-superlattices-APL-0085.pdf", 

Summary = "Mentioned by QDH book to be the first observation of SK 
growth in strained MBE"

}


thanks,
Manoj



rgheck wrote:

Manoj Rajagopalan wrote:

Hi all,

  In my document, I have inserted a Bibtex bibliography. For certain 
citation items, I choose the " et. al." Citation style from 
the Formatting section of the Citation dialog. This is supposed to 
give me reference of the form " et. al. [ref#] ...". 
However, when I view the DVI I only see text like "[ref#] ..." 
without the author's name as the citation style dialog promises.


  Would anyone know why this is so? I am using the book(AMS) 
document class.


The usual reason is that there's an error somewhere in your BibTeX 
file. If BibTeX can't figure out the author and year for some entry, 
then it reverts to numerical citations.


If you're not using BibTeX but are entering the references manually, 
then the problem is that you can only use author-year citations if 
you're using BibTeX.


rh







citation style does not mention " et. al." as promised

2008-11-18 Thread Manoj Rajagopalan

Hi all,

  In my document, I have inserted a Bibtex bibliography. For certain 
citation items, I choose the " et. al." Citation style from the 
Formatting section of the Citation dialog. This is supposed to give me 
reference of the form " et. al. [ref#] ...". However, when I 
view the DVI I only see text like "[ref#] ..." without the author's name 
as the citation style dialog promises.


  Would anyone know why this is so? I am using the book(AMS) document 
class.


Thanks,
Manoj


Re: citation style does not mention " et. al." as promised

2008-11-18 Thread rgheck

Manoj Rajagopalan wrote:

Hi all,

  In my document, I have inserted a Bibtex bibliography. For certain 
citation items, I choose the " et. al." Citation style from 
the Formatting section of the Citation dialog. This is supposed to 
give me reference of the form " et. al. [ref#] ...". However, 
when I view the DVI I only see text like "[ref#] ..." without the 
author's name as the citation style dialog promises.


  Would anyone know why this is so? I am using the book(AMS) document 
class.


The usual reason is that there's an error somewhere in your BibTeX file. 
If BibTeX can't figure out the author and year for some entry, then it 
reverts to numerical citations.


If you're not using BibTeX but are entering the references manually, 
then the problem is that you can only use author-year citations if 
you're using BibTeX.


rh



Re: citation style does not mention " et. al." as promised

2008-11-18 Thread Jürgen Spitzmüller
rgheck wrote:

> If you're not using BibTeX but are entering the references manually,
> then the problem is that you can only use author-year citations if
> you're using BibTeX.

Again: no, not true. Natbib works well with standard bibliography, and I use it 
all the time. Test file attached.

However, I noticed that this has been disabled in 1.6. It even does not read 
old filed correctly (therefore I also attached the *.tex file).

This is a major regression to LyX 1.5.

Jürgen

natbib.lyx
Description: application/lyx
%% LyX 1.5.7 created this file.  For more info, see http://www.lyx.org/.
%% Do not edit unless you really know what you are doing.
\documentclass[english]{article}
\usepackage[T1]{fontenc}
\usepackage[latin9]{inputenc}
\usepackage[authoryear]{natbib}
\usepackage{babel}

\begin{document}
\citet{doe} \citealt{doe} \citealp{doe} \citeyear{doe}.

\begin{thebibliography}{Doe(2008)}
\bibitem[Doe(2008)]{doe}Doe, John (2008): Foo. Bar.
\end{thebibliography}

\end{document}



Re: citation style does not mention " et. al." as promised

2008-11-18 Thread Richard heck

Jürgen Spitzmüller wrote:

rgheck wrote:

  

If you're not using BibTeX but are entering the references manually,
then the problem is that you can only use author-year citations if
you're using BibTeX.



Again: no, not true. Natbib works well with standard bibliography, and I use it 
all the time. Test file attached.

  
Yes, IF you carefully format the label yourself, as you show. (BibTeX 
just does this for you, yes?) Perhaps we should add a note about this to 
the docs. The question often comes up. People expect to be able just to 
enter the reference data and have author-year work.



However, I noticed that this has been disabled in 1.6. It even does not read 
old filed correctly (therefore I also attached the *.tex file).

  

I just loaded the file into 1.6.1svn and it was fine. ???

rh



Re: citation style does not mention " et. al." as promised

2008-11-18 Thread Jürgen Spitzmüller
Richard heck wrote:

> Yes, IF you carefully format the label yourself, as you show. (BibTeX
> just does this for you, yes?) Perhaps we should add a note about this to
> the docs. The question often comes up. People expect to be able just to
> enter the reference data and have author-year work.

You just have to use natbib's syntax. The important point is that the round 
brackets in the bibitem optional argument are simply delimiters for the year 
and *not* part of the label, and they must be inserted without space. So

\bibitem[heck(2008)]{foo}

is parsed by natbib as name=heck, year=2008, the brackets are not interpreted 
as brackets (changing the bracket style to [] with \bibpunct thus works).

This is explained in the natbib docs.

>> However, I noticed that this has been disabled in 1.6. It even does not
>> read old filed correctly (therefore I also attached the *.tex file).
>>
>> 
> I just loaded the file into 1.6.1svn and it was fine. ???

Can you chose the citation style in the citation dialog? I can't. The list of 
styles is empty, and the combo is disabled. In 1.5, the combo contained all 
necessary styles. Also the label in the LyX window is wrong.

Compare the attached screenshots from 1.5 and 1.6.

Jürgen<><>