Re: Author-Year-Page Citation Style

2011-08-15 Thread Julio Rojas
Maybe you would be able to send an small example with a bibliography
of just one reference.
-
Julio Rojas
jcredbe...@gmail.com



On Mon, Aug 15, 2011 at 5:48 PM, Bruce Pourciau
 wrote:
>
> On Aug 14, 2011, at 5:51 PM, Julio Rojas wrote:
>
>> You don't need \usepackage{natbib}  in the preamble, but select the
>> natbib option in Document -> Settings -> Bibliography. There you can
>> also select Author,Year. For square brackets add "square" to the
>> options in Document -> Settings -> Document Class -> Custom.
>>
>> I hope this helps. Regards.
>> -
>> Julio Rojas
>> jcredbe...@gmail.com
>
> Thanks for the advice. Adding "square" to the option does give me square
> brackets, so I'm getting a citation style like [12, 407], but I still cannot
> get the name-year style [Newton, 1999, 407], even though I have author-year
> selected in Document > Settings > Bibliography > Natbib > Author-year.
>
>
>>
>>
>>
>> On Sun, Aug 14, 2011 at 11:02 PM, Richard Heck  wrote:
>>>
>>> On 08/14/2011 03:32 PM, Bruce Pourciau wrote:

 I have a document in the Article (Elsevier) class, with Natbib
 Author-Year selected under Bibliography and \usepackage{natbib} in the
 preamble. I have a bibtex generated bibliography using the .bst style
 file of the journal which is in the folder with my document.

 The bibliography is coming out fine, but the citations in the text
 should be, say, [Newton, 1999, 407] and I'm getting a numerical style
 with no brackets: 12, 407.

>>> This is almost always due to a problem in the BibTeX file, e.g., a
>>> missing year somewhere, or possibly a Unicode character that is messing
>>> things up. Exporting to LaTeX and running everything manually from a
>>> terminal:
>>>   latex myfile
>>>   bibtex myfile
>>> should help. Error messages from the latter are what to look for.
>>>
>>> Richard
>>>
>>>
>
>


Re: Author-Year-Page Citation Style

2011-08-14 Thread Julio Rojas
You don't need \usepackage{natbib}  in the preamble, but select the
natbib option in Document -> Settings -> Bibliography. There you can
also select Author,Year. For square brackets add "square" to the
options in Document -> Settings -> Document Class -> Custom.

I hope this helps. Regards.
-
Julio Rojas
jcredbe...@gmail.com



On Sun, Aug 14, 2011 at 11:02 PM, Richard Heck  wrote:
> On 08/14/2011 03:32 PM, Bruce Pourciau wrote:
>> I have a document in the Article (Elsevier) class, with Natbib
>> Author-Year selected under Bibliography and \usepackage{natbib} in the
>> preamble. I have a bibtex generated bibliography using the .bst style
>> file of the journal which is in the folder with my document.
>>
>> The bibliography is coming out fine, but the citations in the text
>> should be, say, [Newton, 1999, 407] and I'm getting a numerical style
>> with no brackets: 12, 407.
>>
> This is almost always due to a problem in the BibTeX file, e.g., a
> missing year somewhere, or possibly a Unicode character that is messing
> things up. Exporting to LaTeX and running everything manually from a
> terminal:
>    latex myfile
>    bibtex myfile
> should help. Error messages from the latter are what to look for.
>
> Richard
>
>


Re: Author-Year-Page Citation Style

2011-08-14 Thread Richard Heck
On 08/14/2011 03:32 PM, Bruce Pourciau wrote:
> I have a document in the Article (Elsevier) class, with Natbib
> Author-Year selected under Bibliography and \usepackage{natbib} in the
> preamble. I have a bibtex generated bibliography using the .bst style
> file of the journal which is in the folder with my document.
>
> The bibliography is coming out fine, but the citations in the text
> should be, say, [Newton, 1999, 407] and I'm getting a numerical style
> with no brackets: 12, 407.
>
This is almost always due to a problem in the BibTeX file, e.g., a
missing year somewhere, or possibly a Unicode character that is messing
things up. Exporting to LaTeX and running everything manually from a
terminal:
latex myfile
bibtex myfile
should help. Error messages from the latter are what to look for.

Richard



Re: Author-Year-Page Citation Style

2011-08-14 Thread Patrick Dupre

On Sun, 14 Aug 2011, Bruce Pourciau wrote:

I have a document in the Article (Elsevier) class, with Natbib Author-Year 
selected under Bibliography and \usepackage{natbib} in the preamble. I have a 
bibtex generated bibliography using the .bst style file of the journal which 
is in the folder with my document.


The bibliography is coming out fine, but the citations in the text should be, 
say, [Newton, 1999, 407] and I'm getting a numerical style with no brackets: 
12, 407.

Did you try Natbib numerical style?


LyX 1.6.5 on a Mac

Any suggestions would be welcome.

Bruce

P.S. I can live with a numerical style if I have to -- the journal will 
convert the numerical style to author-year (at least they did the last time) 
-- but I still would need the brackets: [12, 407], not just 12, 407.





--
---
==
 Patrick DUPRÉ  |   |
 Department of Chemistry|   |  Phone: (44)-(0)-1904-434384
 The University of York |   |  Fax:   (44)-(0)-1904-432516
 Heslington |   |
 York YO10 5DD  United Kingdom  |   |  email: patrick.du...@york.ac.uk
==