Thanks to Bennett!
natbib and the citation reference dialogue fixed it all! Thank you so!
Hank
On Jan 5, 2005, at 3:30 PM, Bennett Helm wrote:

On Jan 5, 2005, at 3:05 PM, Martin Henry H. Stevens wrote:

LyX 1.3.5 on Mac OS 10.3.6
I am relatively new to LyX and even less familiar with the hardcore stuff (LaTex). I have a consistent problem in using style files in BibTex, wherein I select an (author, year) format and it doesn't translate into ps or pdf properly.


In a document, I successfully included my .bib file and a style file. I use the menu (Insert:Citation reference...) to include a citation reference. The math number formats (e.g., [1],[23]) seem to work fine. However, other styles do not.

Example:
What I would like to see:
"...an open question (Hairston et al. 1960)."

LyX code
"...an open question [Hairston1960]." [where Hairston1960 is my BibTex key, and it shows up in a gray box].


PDF
"...an open question [Hairston et al. (1960) Hairston, Smith, and Slobodkin]." [with square brackets instead of parentheses, and with extra names and parentheses inside the brackets]


In addition, the citations sometimes stick out into the margin.

Have you selected Use NatBib? -- Layout -> Document ... > Bibliography

Bennett


Dr. Martin Henry H. Stevens, Assistant Professor
338 Pearson Hall
Botany Department
Miami University
Oxford, OH 45056

Office: (513) 529-4206
Lab: (513) 529-4262
FAX: (513) 529-4243
http://www.cas.muohio.edu/botany/bot/henry.html
http://www.muohio.edu/ecology/
http://www.muohio.edu/botany/
"E Pluribus Unum"



Reply via email to