Re: Appearance of bibliography references in LyX
Am Donnerstag, den 27.10.2016, 14:58 -0400 schrieb Benedict Holland: > Is this a problem with Lyx or the parser? It is a problem with LyX's internal (rather simplistic) bib file parses that is used to generate the workarea preview. It does not affect the (PDF) output. Jürgen signature.asc Description: This is a digitally signed message part
Re: Appearance of bibliography references in LyX
Is this a problem with Lyx or the parser? What reference engine are you using? Can you replicate it with biber and biblatex? I only harp on this a bit because I ended up with huge problems with my .bib file and the solution was to switch to biber (which AFAIK) is unsupported by lyx, though that might have changed. ~Ben On Thu, Oct 27, 2016 at 12:08 PM, Bernt Lie <bernt@hit.no> wrote: > > -Original Message- > From: Jürgen Spitzmüller [mailto:sp...@lyx.org] > Sent: torsdag 27. oktober 2016 18.00 > To: Bernt Lie <bernt@hit.no>; lyx-users@lists.lyx.org > Subject: Re: Appearance of bibliography references in LyX > > Am Donnerstag, den 27.10.2016, 15:34 + schrieb Bernt Lie: > > This happens with *all* of my references in LyX... Which may indicate > > some weirdness of my set-up... Here is one item in the BibTeX file: > > > > @Article{LuisA.Forero2014, > > author= {Luis A. {Forero G.} AND Jorge A. {Vel{\'a}squez J.}}, > > title = {{A modified Patel-Teja cubic equation of state. Part > > II: Parameters for polar substances and its mixtures}}, > > journal = {Fluid Phase Equilibria}, > > year = {2014}, > > volume= {364}, > > pages = {75--87}, > > owner = {Bernt}, > > timestamp = {2016.10.25}, > > } > > > Thank you. I can confirm the problem. Looks like a bug in LyX's bibtex > parser. > > First of all, the capital "AND" is not correctly parsed (which is one > bug), but there are other bugs concerning the last names here. The LyX > parser does not honor grouping in {...}. > > I will file a bug report. > > Note that the following will work: > > author= {Forero G., Luis A. and Vel{\'a}squez J., Jorge A.}, > > Thanks > Jürgen > -- > Thanks, Jürgen! I hope you can fix this... my BibTeX file contains > hundreds, if not thousands of references, and it would be a horrible job to > change the grouping... (changing AND to and is easy, of course). > > -B >
RE: Appearance of bibliography references in LyX
-Original Message- From: Jürgen Spitzmüller [mailto:sp...@lyx.org] Sent: torsdag 27. oktober 2016 18.00 To: Bernt Lie <bernt@hit.no>; lyx-users@lists.lyx.org Subject: Re: Appearance of bibliography references in LyX Am Donnerstag, den 27.10.2016, 15:34 + schrieb Bernt Lie: > This happens with *all* of my references in LyX... Which may indicate > some weirdness of my set-up... Here is one item in the BibTeX file: > > @Article{LuisA.Forero2014, > author = {Luis A. {Forero G.} AND Jorge A. {Vel{\'a}squez J.}}, > title = {{A modified Patel-Teja cubic equation of state. Part > II: Parameters for polar substances and its mixtures}}, > journal = {Fluid Phase Equilibria}, > year = {2014}, > volume = {364}, > pages = {75--87}, > owner = {Bernt}, > timestamp = {2016.10.25}, > } > Thank you. I can confirm the problem. Looks like a bug in LyX's bibtex parser. First of all, the capital "AND" is not correctly parsed (which is one bug), but there are other bugs concerning the last names here. The LyX parser does not honor grouping in {...}. I will file a bug report. Note that the following will work: author= {Forero G., Luis A. and Vel{\'a}squez J., Jorge A.}, Thanks Jürgen -- Thanks, Jürgen! I hope you can fix this... my BibTeX file contains hundreds, if not thousands of references, and it would be a horrible job to change the grouping... (changing AND to and is easy, of course). -B
Re: Appearance of bibliography references in LyX
Am Donnerstag, den 27.10.2016, 17:59 +0200 schrieb Jürgen Spitzmüller: > I will file a bug report. This is now http://www.lyx.org/trac/ticket/10465 Jürgen signature.asc Description: This is a digitally signed message part
Re: Appearance of bibliography references in LyX
Am Donnerstag, den 27.10.2016, 15:34 + schrieb Bernt Lie: > This happens with *all* of my references in LyX... Which may indicate > some weirdness of my set-up... Here is one item in the BibTeX file: > > @Article{LuisA.Forero2014, > author = {Luis A. {Forero G.} AND Jorge A. {Vel{\'a}squez J.}}, > title = {{A modified Patel-Teja cubic equation of state. Part > II: Parameters for polar substances and its mixtures}}, > journal = {Fluid Phase Equilibria}, > year = {2014}, > volume = {364}, > pages = {75--87}, > owner = {Bernt}, > timestamp = {2016.10.25}, > } Thank you. I can confirm the problem. Looks like a bug in LyX's bibtex parser. First of all, the capital "AND" is not correctly parsed (which is one bug), but there are other bugs concerning the last names here. The LyX parser does not honor grouping in {...}. I will file a bug report. Note that the following will work: author= {Forero G., Luis A. and Vel{\'a}squez J., Jorge A.}, Thanks Jürgen signature.asc Description: This is a digitally signed message part
RE: Appearance of bibliography references in LyX
-Original Message- From: lyx-users@lists.lyx.org [mailto:lyx-users@lists.lyx.org] On Behalf Of Jürgen Spitzmüller Sent: torsdag 27. oktober 2016 17.22 To: lyx-users@lists.lyx.org Subject: Re: Appearance of bibliography references in LyX Am Donnerstag, den 27.10.2016, 15:05 + schrieb Bernt Lie: > Thanks, Wolfgang. Hm... what else could it be? Could you send us the relevant bibtex entry? Jürgen > > -B This happens with *all* of my references in LyX... Which may indicate some weirdness of my set-up... Here is one item in the BibTeX file: @Article{LuisA.Forero2014, author= {Luis A. {Forero G.} AND Jorge A. {Vel{\'a}squez J.}}, title = {{A modified Patel-Teja cubic equation of state. Part II: Parameters for polar substances and its mixtures}}, journal = {Fluid Phase Equilibria}, year = {2014}, volume= {364}, pages = {75--87}, owner = {Bernt}, timestamp = {2016.10.25}, } -- Observe that in the Spanish culture, people tend to have two family names: the first one is taken as the first family name of the father, and the second one is taken as the first family name of the mother. One example (off the top of my head) could be Dueñas Díez: here, the father had family name Dueñas XXX, and the mother had family name Díez YYY. Names are alphabetized according to the first of their family names. Sometimes, they skip the second family name (Dueñas), or just keep an abbreviation of it (Dueñas D.) -- I assume that that is what "Forero G." and "Velasquez J." have done.
Re: Appearance of bibliography references in LyX
Am Donnerstag, den 27.10.2016, 15:05 + schrieb Bernt Lie: > Thanks, Wolfgang. Hm... what else could it be? Could you send us the relevant bibtex entry? Jürgen > > -B signature.asc Description: This is a digitally signed message part
RE: Appearance of bibliography references in LyX
From: lyx-users@lists.lyx.org [mailto:lyx-users@lists.lyx.org] On Behalf Of Wolfgang Engelmann Sent: torsdag 27. oktober 2016 16.35 To: lyx-users@lists.lyx.org Subject: Re: Appearance of bibliography references in LyX On 27.10.2016 16:19, Benedict Holland wrote: My guess is that would be the cause. Since you do not have a common (in a typical citation style of last_name, first and first_name last_name and first_name last_name), I believe it would treat "Rana A. Find AND Frank J." as the first name and Millero as the last name. Also, this isn't a lyx issue. You are probably using biber and biber processes bib files a bit differently. ~Ben On Thu, Oct 27, 2016 at 9:43 AM, Bernt Lie <bernt@hit.no<mailto:bernt@hit.no>> wrote: From: lyx-users@lists.lyx.org<mailto:lyx-users@lists.lyx.org> [mailto:lyx-users@lists.lyx.org<mailto:lyx-users@lists.lyx.org>] On Behalf Of Wolfgang Engelmann Sent: torsdag 27. oktober 2016 15.36 To: lyx-users@lists.lyx.org<mailto:lyx-users@lists.lyx.org> Subject: Re: Appearance of bibliography references in LyX On 27.10.2016 13:33, Bernt Lie wrote: I use LyX 2.2.1 (I assume that it is safe to upgrade to 2.2.2, but I haven’t done it yet) under Windows 10. I’m somewhat puzzled by the way bibliography references appear in LyX. I use JabRef for handling BibTeX files, to define labels to references, etc. Here is one example: [cid:image001.png@01D23074.56483CC0] (taken from LyX; “Fine1975” is my chosen label – actually, automatically defined by BibTeX...) HOWEVER, in the LyX document, this reference appears as: [cid:image002.png@01D23074.56483CC0] or [cid:image003.png@01D23074.56483CC0] Why? Here is the full reference (from LyX): [cid:image004.png@01D23074.56483CC0] As seen, JabRef creates a key based on the first author, while LyX tends to insert the last author name in the preview. But WHY? To me, it seems more logical to use the name appearing in the lable – that would make it easier to read the preview and check the author/reference. OK – I *realize* that the label doesn’t necessarily have to be an author name. But in my experience, the *first* author is often the principal author, and perhaps he/she should be given credit for that in the preview... (The last author is often a supervisor and corresponding author, though). What is the thinking behind this? Thanks for clarification. Useful to know the answer, because it may influence my choice of label... -B > Could it be that your AND (Capitals) between the authors instead of and is > the cause? Just a thought Wolfgang I can check this, but the bibliography list itself looks fine... -B > I just tried it out in Jabref. Inserting AND (instead of and) does not make a > difference. So the cause must be something else. Wolfgang Thanks, Wolfgang. Hm... what else could it be? -B
Re: Appearance of bibliography references in LyX
On 27.10.2016 16:19, Benedict Holland wrote: My guess is that would be the cause. Since you do not have a common (in a typical citation style of last_name, first and first_name last_name and first_name last_name), I believe it would treat "Rana A. Find AND Frank J." as the first name and Millero as the last name. Also, this isn't a lyx issue. You are probably using biber and biber processes bib files a bit differently. ~Ben On Thu, Oct 27, 2016 at 9:43 AM, Bernt Lie <bernt@hit.no <mailto:bernt@hit.no>> wrote: *From:*lyx-users@lists.lyx.org <mailto:lyx-users@lists.lyx.org> [mailto:lyx-users@lists.lyx.org <mailto:lyx-users@lists.lyx.org>] *On Behalf Of *Wolfgang Engelmann *Sent:* torsdag 27. oktober 2016 15.36 *To:* lyx-users@lists.lyx.org <mailto:lyx-users@lists.lyx.org> *Subject:* Re: Appearance of bibliography references in LyX On 27.10.2016 13:33, Bernt Lie wrote: I use LyX 2.2.1 (I assume that it is safe to upgrade to 2.2.2, but I haven’t done it yet) under Windows 10. I’m somewhat puzzled by the way bibliography references appear in LyX. I use JabRef for handling BibTeX files, to define labels to references, etc. Here is one example: (taken from LyX; “Fine1975” is my chosen label – actually, automatically defined by BibTeX...) HOWEVER, in the LyX document, this reference appears as: or Why? Here is the full reference (from LyX): As seen, JabRef creates a key based on the first author, while LyX tends to insert the last author name in the preview. But WHY? To me, it seems more logical to use the name appearing in the lable – that would make it easier to read the preview and check the author/reference. OK – I **realize** that the label doesn’t necessarily have to be an author name. But in my experience, the **first** author is often the principal author, and perhaps he/she should be given credit for that in the preview... (The last author is often a supervisor and corresponding author, though). What is the thinking behind this? Thanks for clarification. Useful to know the answer, because it may influence my choice of label... -B >Could it be that your AND (Capitals) between the authors instead of /and/ is the cause? Just a thoughtWolfgang I can check this, but the bibliography list itself looks fine... -B I just tried it out in Jabref. Inserting AND (instead of and) does not make a difference. So the cause must be something else. Wolfgang
Re: Appearance of bibliography references in LyX
My guess is that would be the cause. Since you do not have a common (in a typical citation style of last_name, first and first_name last_name and first_name last_name), I believe it would treat "Rana A. Find AND Frank J." as the first name and Millero as the last name. Also, this isn't a lyx issue. You are probably using biber and biber processes bib files a bit differently. ~Ben On Thu, Oct 27, 2016 at 9:43 AM, Bernt Lie <bernt@hit.no> wrote: > > > > > *From:* lyx-users@lists.lyx.org [mailto:lyx-users@lists.lyx.org] *On > Behalf Of *Wolfgang Engelmann > *Sent:* torsdag 27. oktober 2016 15.36 > *To:* lyx-users@lists.lyx.org > *Subject:* Re: Appearance of bibliography references in LyX > > > > > > > > On 27.10.2016 13:33, Bernt Lie wrote: > > I use LyX 2.2.1 (I assume that it is safe to upgrade to 2.2.2, but I haven’t > done it yet) under Windows 10. > > > > I’m somewhat puzzled by the way bibliography references appear in LyX. I use > JabRef for handling BibTeX files, to define labels to references, etc. Here > is one example: > > > > > > (taken from LyX; “Fine1975” is my chosen label – actually, automatically > defined by BibTeX...) > > > > HOWEVER, in the LyX document, this reference appears as: > > > > or > > > > Why? Here is the full reference (from LyX): > > > > > > As seen, JabRef creates a key based on the first author, while LyX tends to > insert the last author name in the preview. > > > > But WHY? To me, it seems more logical to use the name appearing in the > lable – that would make it easier to read the preview and check the > author/reference. > > > > OK – I **realize** that the label doesn’t necessarily have to be an author > name. But in my experience, the **first** author is often the principal > author, and perhaps he/she should be given credit for that in the preview... > (The last author is often a supervisor and corresponding author, though). > > > > What is the thinking behind this? > > > > Thanks for clarification. Useful to know the answer, because it may influence > my choice of label... > > > > -B > > > Could it be that your AND (Capitals) between the authors instead of > *and* is the cause? Just a thought Wolfgang > > > > I can check this, but the bibliography list itself looks fine... > > > > -B >
RE: Appearance of bibliography references in LyX
From: lyx-users@lists.lyx.org [mailto:lyx-users@lists.lyx.org] On Behalf Of Wolfgang Engelmann Sent: torsdag 27. oktober 2016 15.36 To: lyx-users@lists.lyx.org Subject: Re: Appearance of bibliography references in LyX On 27.10.2016 13:33, Bernt Lie wrote: I use LyX 2.2.1 (I assume that it is safe to upgrade to 2.2.2, but I haven't done it yet) under Windows 10. I'm somewhat puzzled by the way bibliography references appear in LyX. I use JabRef for handling BibTeX files, to define labels to references, etc. Here is one example: [cid:image001.png@01D23068.D6730580] (taken from LyX; "Fine1975" is my chosen label - actually, automatically defined by BibTeX...) HOWEVER, in the LyX document, this reference appears as: [cid:image002.png@01D23068.D6730580] or [cid:image003.png@01D23068.D6730580] Why? Here is the full reference (from LyX): [cid:image004.png@01D23068.D6730580] As seen, JabRef creates a key based on the first author, while LyX tends to insert the last author name in the preview. But WHY? To me, it seems more logical to use the name appearing in the lable - that would make it easier to read the preview and check the author/reference. OK - I *realize* that the label doesn't necessarily have to be an author name. But in my experience, the *first* author is often the principal author, and perhaps he/she should be given credit for that in the preview... (The last author is often a supervisor and corresponding author, though). What is the thinking behind this? Thanks for clarification. Useful to know the answer, because it may influence my choice of label... -B > Could it be that your AND (Capitals) between the authors instead of and is > the cause? Just a thought Wolfgang I can check this, but the bibliography list itself looks fine... -B
Re: Appearance of bibliography references in LyX
On 27.10.2016 13:33, Bernt Lie wrote: I use LyX 2.2.1 (I assume that it is safe to upgrade to 2.2.2, but I haven’t done it yet) under Windows 10. I’m somewhat puzzled by the way bibliography references appear in LyX. I use JabRef for handling BibTeX files, to define labels to references, etc. Here is one example: (taken from LyX; “Fine1975” is my chosen label – actually, automatically defined by BibTeX...) HOWEVER, in the LyX document, this reference appears as: or Why? Here is the full reference (from LyX): As seen, JabRef creates a key based on the first author, while LyX tends to insert the last author name in the preview. But WHY? To me, it seems more logical to use the name appearing in the lable – that would make it easier to read the preview and check the author/reference. OK – I **realize** that the label doesn’t necessarily have to be an author name. But in my experience, the **first** author is often the principal author, and perhaps he/she should be given credit for that in the preview... (The last author is often a supervisor and corresponding author, though). What is the thinking behind this? Thanks for clarification. Useful to know the answer, because it may influence my choice of label... -B Could it be that your AND (Capitals) between the authors instead of /and/ is the cause? Just a thought Wolfgang