Re: Fwd: Lyx PDF Error w/ Bib File

2017-02-25 Thread Michael Berger



On 25.02.2017 08:11, Jürgen Spitzmüller wrote:

Am Freitag, den 24.02.2017, 11:11 -0800 schrieb Christos Makridis:

Just to give an example of one of my citations, see below.

@article{JaimovichSiu:highskilled,
title={{High-skilled immigration, STEM employment, and non-routine-
biased technical change}},
author={Jaimovich, Nir, and Siu, Henry E.},
journal={NBER working paper},
year={2017},
volume={},
number={},
pages={},
}

Remove the comma before " and " in the author list, i.e.


author={Jaimovich, Nir and Siu, Henry E.},

HTH
Jürgen
I have four LyX v. 2.1 documents that differ only by the citation 
styles: oscola, apa, chicago, jurabib and all use the same bibtex 
generated bibliography.
When I started using the document(s) in LyX v. 2.2.1 compilation of the 
first three went fine as before but the one with jurabib threw the error 
in discussion.


After many aimless attempts I could not resolve the problem and decided 
to ask the list when I saw Jürgens advice.


The culprit in my case quite similarly was the wrong syntax of the 
author list of one single entry in the KBibTeX database


Changing the author list
from
author = {{Cole, Peter} and {Hermon, Gebriella}},
to
author = {Cole, Peter and Hermon, Gabriella},
did it.

Thank you Jürgen and cheers,
Michael



Re: Fwd: Lyx PDF Error w/ Bib File

2017-02-24 Thread Jürgen Spitzmüller
Am Freitag, den 24.02.2017, 11:11 -0800 schrieb Christos Makridis:
> Just to give an example of one of my citations, see below.
> 
> @article{JaimovichSiu:highskilled,
> title={{High-skilled immigration, STEM employment, and non-routine-
> biased technical change}},
> author={Jaimovich, Nir, and Siu, Henry E.},
> journal={NBER working paper},
> year={2017},
> volume={},
> number={},
> pages={},
> }

Remove the comma before " and " in the author list, i.e.

> author={Jaimovich, Nir and Siu, Henry E.},

HTH
Jürgen

signature.asc
Description: This is a digitally signed message part


Re: Fwd: Lyx PDF Error w/ Bib File

2017-02-24 Thread Wolfgang Engelmann

Could you supply the references as you have it in your reference list?

You should have something like

Mian, Atif and Sufi, Amir

i.e. no comma after Atif

Wolfgang


Am 24.02.2017 um 20:11 schrieb Christos Makridis:


Inline image 1





Fwd: Lyx PDF Error w/ Bib File

2017-02-24 Thread Christos Makridis
Hey Lyx Community,

Think I sent my original email to the wrong community address. Thank you in
advance!

-- Forwarded message --
From: Christos Makridis 
Date: Fri, Feb 24, 2017 at 9:47 AM
Subject: Lyx PDF Error w/ Bib File
To: lyx-users-h...@lists.lyx.org


Hey Lyx Community,

First time emailing the general list, so apologies if there's something I
am overlooking. I am a PhD candidate at Stanford working in economics and a
big fan of Lyx because of how easy it makes editing while still retaining
the flexibility and beautiful typesetting inherent in Latex.

The recent 2.2.2 version seems to produce a problem with my .bib file. In
particular, when I PDF my document, it gives a series of errors (see below).

[image: Inline image 1]

I have spent quite a bit of time diagnosing the errors. First, I want to
note in case it is not clear that these errors never arise in previous
versions -- and I am still using 1.2.2 now because this newer version isn't
working for me. Second, it appears that one of the problems is when the
word "and" is in the citation; then double braces can partially remedy the
problem. I am not sure about the first three errors that came up though.

Just to give an example of one of my citations, see below.

@article{JaimovichSiu:highskilled,

title={{High-skilled immigration, STEM employment, and non-routine-biased
technical change}},

author={Jaimovich, Nir, and Siu, Henry E.},

journal={NBER working paper},

year={2017},

volume={},

number={},

pages={},

}


Does anyone know what the source of the problem is and/or a remedy?


Thank you for your time and interest!

-- 
Christos Makridis
Ph.D. Candidate, Stanford University
Department of Management Science & Engineering
Department of Economics
www.christosmakridis.com



-- 
Christos Makridis
Ph.D. Candidate, Stanford University
Department of Management Science & Engineering
Department of Economics
www.christosmakridis.com