Re: Lyx PDF Error w/ Bib File

2017-02-27 Thread Scott Kostyshak
On Mon, Feb 27, 2017 at 08:37:59PM -0800, Christos Makridis wrote:
> Hey Scott et al.,
> 
> Thank you for your patience -- and in fact that seemingly simple process
> led me to the discovery of the problem. Apparently the new version of lyx
> treated some technical errors in my bib file that were not creating or
> showing a problem before, but these errors are obviously still wrong. My
> bib file is ~560 pages, so I went through and discovered were they are --
> and now it seems to work, great!

Glad you got it figured out! Indeed, it can take some time to narrow
down the issue, but it sounds like you got to the bottom of it.

For your curiosity, it's true that LyX changed to now report BibTeX
errors. See

  http://wiki.lyx.org/LyX.NewInLyX22

or Help > About LyX > Release Notes:

  BibTeX errors are now processed and cause LyX to show the errors dialog.
  Before, these errors were ignored, which means that it may happen that
  documents that compiled without error with a previous version now
  compile with error. However, because now in 2.2.x users can click on the
  "Show Output Anyway" button, the document can still be viewed. 

Scott  


signature.asc
Description: PGP signature


Re: Lyx PDF Error w/ Bib File

2017-02-27 Thread Christos Makridis
Hey Scott et al.,

Thank you for your patience -- and in fact that seemingly simple process
led me to the discovery of the problem. Apparently the new version of lyx
treated some technical errors in my bib file that were not creating or
showing a problem before, but these errors are obviously still wrong. My
bib file is ~560 pages, so I went through and discovered were they are --
and now it seems to work, great!


On Mon, Feb 27, 2017 at 5:29 PM, Scott Kostyshak  wrote:

>
> Can you send a minimal example to the list? In this case it would be a
> .lyx file and a .bib file. For more information, see
>
>   https://wiki.lyx.org/FAQ/MinimalExample
>
> Scott
>



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


Re: Lyx PDF Error w/ Bib File

2017-02-27 Thread Scott Kostyshak
On Mon, Feb 27, 2017 at 04:42:58PM -0800, Christos Makridis wrote:
> Hey Lyx Users,
> 
> Thank you very much for the reply. I actually didn't receive a reply
> earlier and I checked my spam, so perhaps also copy my gmail (
> christos.a.makri...@gmail.com) as well.
> 
> I had tried taking out the comma from the citation that Scott mentioned
> from the earlier post, but it doesn't solve the problem. I repeated it
> again and am including the error message. Just to be clear, the bib file
> was working fine on the earlier lyx version -- it's just the most recent
> one creating the problem.

Can you send a minimal example to the list? In this case it would be a
.lyx file and a .bib file. For more information, see

  https://wiki.lyx.org/FAQ/MinimalExample

Scott


signature.asc
Description: PGP signature


Re: Lyx PDF Error w/ Bib File

2017-02-27 Thread Christos Makridis
Hey Lyx Users,

Thank you very much for the reply. I actually didn't receive a reply
earlier and I checked my spam, so perhaps also copy my gmail (
christos.a.makri...@gmail.com) as well.

I had tried taking out the comma from the citation that Scott mentioned
from the earlier post, but it doesn't solve the problem. I repeated it
again and am including the error message. Just to be clear, the bib file
was working fine on the earlier lyx version -- it's just the most recent
one creating the problem.

[image: Inline image 1]

On Mon, Feb 27, 2017 at 1:22 PM, Scott Kostyshak  wrote:

>
> Hi Christos,
>
> There was a reply to your message, which you can see here:
> https://www.mail-archive.com/lyx-users@lists.lyx.org/msg104898.html
>
> Please bottom-post in future messages [1].
>
> Scott
>
> [1] https://wiki.lyx.org/FAQ/ListNetiquette#tofu
>



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


Re: Lyx PDF Error w/ Bib File

2017-02-27 Thread Scott Kostyshak
On Mon, Feb 27, 2017 at 01:15:55PM -0800, Christos Makridis wrote:
> Hey Lyx users,
> 
> Not to be a bother, just wanted to follow up in case anyone has any idea
> with what could be going on.
> 
> On Fri, Feb 24, 2017 at 11:11 AM, Christos Makridis 
> wrote:

Hi Christos,

There was a reply to your message, which you can see here:
https://www.mail-archive.com/lyx-users@lists.lyx.org/msg104898.html

Please bottom-post in future messages [1].

Scott

[1] https://wiki.lyx.org/FAQ/ListNetiquette#tofu


signature.asc
Description: PGP signature


Re: Lyx PDF Error w/ Bib File

2017-02-27 Thread Christos Makridis
Hey Lyx users,

Not to be a bother, just wanted to follow up in case anyone has any idea
with what could be going on.

On Fri, Feb 24, 2017 at 11:11 AM, Christos Makridis <cmakr...@stanford.edu>
wrote:

> Hey Lyx Community,
>
> Think I sent my original email to the wrong community address. Thank you
> in advance!
>
> -- Forwarded message --
> From: Christos Makridis <cmakr...@stanford.edu>
> 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
>



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


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 <cmakr...@stanford.edu>
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