Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

Hello all: have a small issue, (btw, i am quite new to LaTeX, so please be gentle :))

When I create a quote in lyx and add a reference to it:

% Preview source code for paragraph 52

\begin{quote}
``A software bug is the common term used to describe an error, flaw,
mistake, failure, or fault in a computer program or system that produces
an incorrect or unexpected result, or causes it to behave in unintended
ways.''\citet*{WIKIPEDIA:2012:SoftwareBug}
\end{quote}

I expect it to generate the quote with the (author?) filled in from the bibliography entry. The bibliography entry definitely has the author field filled out. However I keep on getting this:

Rendered with (author?)

I am using the article(ams) layout.

What could I be doing wrong? Am I missing how authors are pulled out?

Any help with this would be greatly appreciated.

The BibTex for the citation is:

@url{WIKIPEDIA:2012:SoftwareBug,
    Author = {WikiPedia},
    Date-Added = {2012-01-05 05:31:03 +0000},
    Date-Modified = {2012-01-05 07:13:51 +0000},
    Howpublished = {Internet},
    Journal = {Wikipedia},
    Keywords = {Software Bug},
    Lastchecked = {January 1, 2012},
    Local-Url = {http://en.wikipedia.org/wiki/Software_bug},
    Month = {January},
    Rating = {4},
    Read = {1},
    Title = {Software Bug},
    Url = {http://en.wikipedia.org/wiki/Software_bug},
    Urldate = {2012},
    Year = {2012}}
share|improve this question
    
Are you maybe inadvertently using a numeric rather than an author-year bibliography style file? Since you're using the amsart document class, be sure to either issue the command \bibliographystyle{amsalpha} as well or to explicitly load another author-year bibliography style file that's compatible with natbib and amsart. –  Mico Jan 5 '12 at 16:14
    
Aaah... Okay yes my bibliography style is indeed numerical, as a matter of fact I am using natbib style and a custom-bib style (using merlin) ... So i should generate an author-year style (mine is numerical) –  Ahmed Masud Jan 5 '12 at 16:22
1  
I'm glad it turns out that it's so easy to fix this issue. I'll convert my comment to an official answer, just so that this question can be checked off as "answered." I'll also modify the title of your question to make it reflect more accurately what your question is about. –  Mico Jan 5 '12 at 16:24
    
follow up question if i may then, is it possible to pull out the author in numerical form (since that is my preferred reference style) by redefining the quote? --- Whoops never mind I think i can figure that out -- re-Whoops, so can i redefine and use citet instead of citet*? –  Ahmed Masud Jan 5 '12 at 16:41
    
I'm afraid you've got me quite confused. Are you thinking of using the "plain old" \cite command along with a numeric-style bibliography style file? That'll certainly work. :-) –  Mico Jan 5 '12 at 17:10

1 Answer 1

up vote 4 down vote accepted

Are you maybe inadvertently using a bibliography style file that uses a numeric rather than an author/year labeling system? Since you're using the amsart document class, be sure to either issue the command

\bibliographystyle{amsalpha} 

or to employ some other author/year-type bibliography style file that's compatible with natbib. (Since you're using the command citet*, I'm assuming you've loaded natbib...)

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.
http://tex.stackexchange.com/questions/40149/how-to-insert-the-author-of-a-quotation-using-natbib-and-lyx
tex.stackexchange.com
crawl=CC-MAIN-2014-49
73138
application/http; msgtype=response
sha1:7SXQW4FY7R65RIQTIHKD46OUYSWUIPW6
<urn:uuid:ad820598-f13e-4bce-a3ab-b8636ad457a3>
2014-11-26T04:10:23Z
198.252.206.16
sha1:AFQ6G7H6RSFJZSLXPNEICKFLZX4BK2HL
<urn:uuid:01d672df-a8c0-4f63-af24-9a1ce8f29ad9>
http://tex.stackexchange.com/questions/40149/how-to-insert-the-author-of-a-quotation-using-natbib-and-lyx
response
<urn:uuid:391dd28b-cf05-4374-961c-6247cd5e7b14>
robots: classic
hostname: ip-10-235-23-156.ec2.internal
software: Nutch 1.6 (CC)/CC WarcExport 1.0
isPartOf: CC-MAIN-2014-49
operator: CommonCrawl Admin
description: Wide crawl of the web with URLs provided by Blekko for November 2014
publisher: CommonCrawl
format: WARC File Format 1.0
conformsTo: http://bibnum.bnf.fr/WARC/WARC_ISO_28500_version1_latestdraft.pdf