Missing Menu Items (LyX vers. 2.0.7)

2014-03-09 Thread s . noble
Hello List Members,

I had to do a full OS reinstall (Mac 10.7, Lion). I thus installed the latest
version of LyX (2.0.7). While working with the newly installed version of LyX, I
noticed that there are menu items missing.

For example, when I go to Insert  List / TOC, there are only 3 choices: Table
of Contents, Nomenclature,  BibTex Bibliography. There should, I think, be
others, such as List of Algorithms, List of Figures, List of Tables 
Index List.

Similarly, under Insert  Float, the new version of LyX only proposes Figure
Wrap Float  Table Wrap Float. Algorithm, Figure  Table are missing.

The toolbar buttons for these missing menu items are present on the toolbar, but
can anyone say why the menu items are missing? Is this a bug? Is there a way to
get them back?

I used to work on LyX version 2.0.6 and there was no such problem.

Thanks for any pointers anyone might be able to provide.

Sebastien


Re: Missing Menu Items (LyX vers. 2.0.7)

2014-03-09 Thread Stephan Witt
Am 09.03.2014 um 11:27 schrieb s.no...@free.fr:

 Hello List Members,
 
 I had to do a full OS reinstall (Mac 10.7, Lion). I thus installed the latest
 version of LyX (2.0.7). While working with the newly installed version of 
 LyX, I
 noticed that there are menu items missing.
 
 For example, when I go to Insert  List / TOC, there are only 3 choices: 
 Table
 of Contents, Nomenclature,  BibTex Bibliography. There should, I think, 
 be
 others, such as List of Algorithms, List of Figures, List of Tables 
 Index List.
 
 Similarly, under Insert  Float, the new version of LyX only proposes Figure
 Wrap Float  Table Wrap Float. Algorithm, Figure  Table are missing.
 
 The toolbar buttons for these missing menu items are present on the toolbar, 
 but
 can anyone say why the menu items are missing? Is this a bug? Is there a way 
 to
 get them back?
 
 I used to work on LyX version 2.0.6 and there was no such problem.
 
 Thanks for any pointers anyone might be able to provide.

Please use 2.0.7.1 instead. The problem you mentioned is solved with this patch 
release.

Stephan

Re: Missing Menu Items (LyX vers. 2.0.7)

2014-03-09 Thread Sebastien


 
 Please use 2.0.7.1 instead. The problem you mentioned
 is solved with this patch release.
 
 Stephan
 

Thanks for your quick reply, and for confirming that there was an issue.

This will be the first time I've actually had to update LyX to a new version.
Do you have to uninstall the old version first (2.0.7), or do you just go
ahead and install 2.0.7.1 right over the top of the installed version?

Thanks again.

Sebastien





Re: Missing Menu Items (LyX vers. 2.0.7)

2014-03-09 Thread Stephan Witt
Am 09.03.2014 um 14:38 schrieb Sebastien s.no...@free.fr:

 Please use 2.0.7.1 instead. The problem you mentioned
 is solved with this patch release.
 
 Thanks for your quick reply, and for confirming that there was an issue.
 
 This will be the first time I've actually had to update LyX to a new version.
 Do you have to uninstall the old version first (2.0.7), or do you just go
 ahead and install 2.0.7.1 right over the top of the installed version?

Just open the downloaded disk image and drag LyX to the Application item.
The OS will ask you if you want to overwrite the current application or
if you want to keep both. I'd guess you want the first option… ;-)

This will replace the complete application by the new one. Since all your
user configuration is placed outside of the application you'll not loose
anything. There is no need to uninstall anything. In fact there is no
uninstaller - only the recycle bin has to be used for uninstalling.

Stephan

Re: Missing Menu Items (LyX vers. 2.0.7)

2014-03-09 Thread Sebastien
 This will replace the complete application by
 the new one. Since all your
 user configuration is placed outside of the
 application you'll not loose
 anything. There is no need to uninstall
 anything. In fact there is no
 uninstaller - only the recycle bin has 
 to be used for uninstalling.
 
 Stephan
 


Just a quick line to say thanks again for that
quick and helpful reply.
LyX is a great program — keep up the great work!
Sebastien






BibTex can't parse entry type:book

2014-03-09 Thread Vance Turnewitsch
Hello,
I am running Ubuntu 12.04 and lyx 2.0.7. I'm trying to add a BibxText
database; but lyx is giving the following error upon starting up with a
document that already has a database or trying to add the database:
BibTeX Parser: Unable to read key for entry type:book.

I was using the earlier version of lyx that Ubuntu supplies in its repos;
but it also had the same error.
Thanks,
Vance Turnewitsch


Re: BibTex can't parse entry type:book

2014-03-09 Thread Richard Heck

On 03/09/2014 05:40 PM, Vance Turnewitsch wrote:

Hello,
I am running Ubuntu 12.04 and lyx 2.0.7. I'm trying to add a BibxText 
database; but lyx is giving the following error upon starting up with 
a document that already has a database or trying to add the database:

BibTeX Parser: Unable to read key for entry type:book.

I was using the earlier version of lyx that Ubuntu supplies in its 
repos; but it also had the same error.


It sounds as if there is an error in your database. For some reason, LyX 
is choking on the key. It's possible that the key contains illegal 
characters.


Richard



Re: BibTex can't parse entry type:book

2014-03-09 Thread Vance Turnewitsch
Would the '' character happen to be illegal?

I accidentally responded to just Richard, my apologies.


On Sun, Mar 9, 2014 at 6:15 PM, Richard Heck rgh...@lyx.org wrote:

 On 03/09/2014 05:40 PM, Vance Turnewitsch wrote:

 Hello,
 I am running Ubuntu 12.04 and lyx 2.0.7. I'm trying to add a BibxText
 database; but lyx is giving the following error upon starting up with a
 document that already has a database or trying to add the database:
 BibTeX Parser: Unable to read key for entry type:book.

 I was using the earlier version of lyx that Ubuntu supplies in its repos;
 but it also had the same error.


 It sounds as if there is an error in your database. For some reason, LyX
 is choking on the key. It's possible that the key contains illegal
 characters.

 Richard




Re: BibTex can't parse entry type:book

2014-03-09 Thread stefano franchi
On Sun, Mar 9, 2014 at 4:40 PM, Vance Turnewitsch
vance.turn...@gmail.com wrote:
 Hello,
 I am running Ubuntu 12.04 and lyx 2.0.7. I'm trying to add a BibxText
 database; but lyx is giving the following error upon starting up with a
 document that already has a database or trying to add the database:
 BibTeX Parser: Unable to read key for entry type:book.

 I was using the earlier version of lyx that Ubuntu supplies in its repos;
 but it also had the same error.


Hi Vance,

the most likely cause of your error is a malformed bibtex entry, and
especially a strange character in the key. Notice that you cannot use
accented characters, only standard ascii.
There are several ways to find out if that's the case. You can inspect
the bib file manually, or use a bib editor/manager that would check
for you (such as jabref).
Or even just a bibtex aware editor that allows you to compact all
entries into a single line (such as Kate, on linux).

Hope it helps,

Stefano


-- 
__
Stefano Franchi
Associate Research Professor
Department of Hispanic Studies Ph:   +1 (979) 845-2125
Texas AM University  Fax:  +1 (979) 845-6421
College Station, Texas, USA

stef...@tamu.edu
http://stefano.cleinias.org


Re: BibTex can't parse entry type:book

2014-03-09 Thread stefano franchi
On Sun, Mar 9, 2014 at 5:21 PM, Vance Turnewitsch
vance.turn...@gmail.com wrote:
 Would the '' character happen to be illegal?



From Bibdesk's page:

Citation Keys

A cite key is a unique identifier for a given reference. BibTeX scans
your document for occurrences of a cite command with a cite key
embedded in it, and translates it into a properly formatted reference.
Several patterns are common in choosing cite keys, from simple ones
such as lastnameYEAR to more complicated abbreviations of journal
names and author names. BibDesk will automatically generate cite keys
for you (See section Citation Keys), or you can enter your own in the
editor. BibDesk takes a fairly strict interpretation of the valid
characters for cite keys, and the characters  @',\#}{~% (including
the space character) are never allowed, while you will be warned if
you use one of $^ in a cite key. Cite keys are essentially TeX
commands, so you should avoid using underscores, for instance, if you
ever need to print the actual cite key itself.



So I would say yes.


S.
-- 
__
Stefano Franchi
Associate Research Professor
Department of Hispanic Studies Ph:   +1 (979) 845-2125
Texas AM University  Fax:  +1 (979) 845-6421
College Station, Texas, USA

stef...@tamu.edu
http://stefano.cleinias.org


Re: BibTex can't parse entry type:book

2014-03-09 Thread Vance Turnewitsch
The problem is solved, I didn't understand the importance of the BibTex
key, I wasn't putting one into my BibText database manager: JabRef.
Thank-you for your help and patience.


On Sun, Mar 9, 2014 at 6:44 PM, stefano franchi
stefano.fran...@gmail.comwrote:

 On Sun, Mar 9, 2014 at 5:21 PM, Vance Turnewitsch
 vance.turn...@gmail.com wrote:
  Would the '' character happen to be illegal?
 


 From Bibdesk's page:

 Citation Keys

 A cite key is a unique identifier for a given reference. BibTeX scans
 your document for occurrences of a cite command with a cite key
 embedded in it, and translates it into a properly formatted reference.
 Several patterns are common in choosing cite keys, from simple ones
 such as lastnameYEAR to more complicated abbreviations of journal
 names and author names. BibDesk will automatically generate cite keys
 for you (See section Citation Keys), or you can enter your own in the
 editor. BibDesk takes a fairly strict interpretation of the valid
 characters for cite keys, and the characters  @',\#}{~% (including
 the space character) are never allowed, while you will be warned if
 you use one of $^ in a cite key. Cite keys are essentially TeX
 commands, so you should avoid using underscores, for instance, if you
 ever need to print the actual cite key itself.



 So I would say yes.


 S.
 --
 __
 Stefano Franchi
 Associate Research Professor
 Department of Hispanic Studies Ph:   +1 (979) 845-2125
 Texas AM University  Fax:  +1 (979) 845-6421
 College Station, Texas, USA

 stef...@tamu.edu
 http://stefano.cleinias.org



Missing Menu Items (LyX vers. 2.0.7)

2014-03-09 Thread s . noble
Hello List Members,

I had to do a full OS reinstall (Mac 10.7, Lion). I thus installed the latest
version of LyX (2.0.7). While working with the newly installed version of LyX, I
noticed that there are menu items missing.

For example, when I go to Insert  List / TOC, there are only 3 choices: Table
of Contents, Nomenclature,  BibTex Bibliography. There should, I think, be
others, such as List of Algorithms, List of Figures, List of Tables 
Index List.

Similarly, under Insert  Float, the new version of LyX only proposes Figure
Wrap Float  Table Wrap Float. Algorithm, Figure  Table are missing.

The toolbar buttons for these missing menu items are present on the toolbar, but
can anyone say why the menu items are missing? Is this a bug? Is there a way to
get them back?

I used to work on LyX version 2.0.6 and there was no such problem.

Thanks for any pointers anyone might be able to provide.

Sebastien


Re: Missing Menu Items (LyX vers. 2.0.7)

2014-03-09 Thread Stephan Witt
Am 09.03.2014 um 11:27 schrieb s.no...@free.fr:

 Hello List Members,
 
 I had to do a full OS reinstall (Mac 10.7, Lion). I thus installed the latest
 version of LyX (2.0.7). While working with the newly installed version of 
 LyX, I
 noticed that there are menu items missing.
 
 For example, when I go to Insert  List / TOC, there are only 3 choices: 
 Table
 of Contents, Nomenclature,  BibTex Bibliography. There should, I think, 
 be
 others, such as List of Algorithms, List of Figures, List of Tables 
 Index List.
 
 Similarly, under Insert  Float, the new version of LyX only proposes Figure
 Wrap Float  Table Wrap Float. Algorithm, Figure  Table are missing.
 
 The toolbar buttons for these missing menu items are present on the toolbar, 
 but
 can anyone say why the menu items are missing? Is this a bug? Is there a way 
 to
 get them back?
 
 I used to work on LyX version 2.0.6 and there was no such problem.
 
 Thanks for any pointers anyone might be able to provide.

Please use 2.0.7.1 instead. The problem you mentioned is solved with this patch 
release.

Stephan

Re: Missing Menu Items (LyX vers. 2.0.7)

2014-03-09 Thread Sebastien


 
 Please use 2.0.7.1 instead. The problem you mentioned
 is solved with this patch release.
 
 Stephan
 

Thanks for your quick reply, and for confirming that there was an issue.

This will be the first time I've actually had to update LyX to a new version.
Do you have to uninstall the old version first (2.0.7), or do you just go
ahead and install 2.0.7.1 right over the top of the installed version?

Thanks again.

Sebastien





Re: Missing Menu Items (LyX vers. 2.0.7)

2014-03-09 Thread Stephan Witt
Am 09.03.2014 um 14:38 schrieb Sebastien s.no...@free.fr:

 Please use 2.0.7.1 instead. The problem you mentioned
 is solved with this patch release.
 
 Thanks for your quick reply, and for confirming that there was an issue.
 
 This will be the first time I've actually had to update LyX to a new version.
 Do you have to uninstall the old version first (2.0.7), or do you just go
 ahead and install 2.0.7.1 right over the top of the installed version?

Just open the downloaded disk image and drag LyX to the Application item.
The OS will ask you if you want to overwrite the current application or
if you want to keep both. I'd guess you want the first option… ;-)

This will replace the complete application by the new one. Since all your
user configuration is placed outside of the application you'll not loose
anything. There is no need to uninstall anything. In fact there is no
uninstaller - only the recycle bin has to be used for uninstalling.

Stephan

Re: Missing Menu Items (LyX vers. 2.0.7)

2014-03-09 Thread Sebastien
 This will replace the complete application by
 the new one. Since all your
 user configuration is placed outside of the
 application you'll not loose
 anything. There is no need to uninstall
 anything. In fact there is no
 uninstaller - only the recycle bin has 
 to be used for uninstalling.
 
 Stephan
 


Just a quick line to say thanks again for that
quick and helpful reply.
LyX is a great program — keep up the great work!
Sebastien






BibTex can't parse entry type:book

2014-03-09 Thread Vance Turnewitsch
Hello,
I am running Ubuntu 12.04 and lyx 2.0.7. I'm trying to add a BibxText
database; but lyx is giving the following error upon starting up with a
document that already has a database or trying to add the database:
BibTeX Parser: Unable to read key for entry type:book.

I was using the earlier version of lyx that Ubuntu supplies in its repos;
but it also had the same error.
Thanks,
Vance Turnewitsch


Re: BibTex can't parse entry type:book

2014-03-09 Thread Richard Heck

On 03/09/2014 05:40 PM, Vance Turnewitsch wrote:

Hello,
I am running Ubuntu 12.04 and lyx 2.0.7. I'm trying to add a BibxText 
database; but lyx is giving the following error upon starting up with 
a document that already has a database or trying to add the database:

BibTeX Parser: Unable to read key for entry type:book.

I was using the earlier version of lyx that Ubuntu supplies in its 
repos; but it also had the same error.


It sounds as if there is an error in your database. For some reason, LyX 
is choking on the key. It's possible that the key contains illegal 
characters.


Richard



Re: BibTex can't parse entry type:book

2014-03-09 Thread Vance Turnewitsch
Would the '' character happen to be illegal?

I accidentally responded to just Richard, my apologies.


On Sun, Mar 9, 2014 at 6:15 PM, Richard Heck rgh...@lyx.org wrote:

 On 03/09/2014 05:40 PM, Vance Turnewitsch wrote:

 Hello,
 I am running Ubuntu 12.04 and lyx 2.0.7. I'm trying to add a BibxText
 database; but lyx is giving the following error upon starting up with a
 document that already has a database or trying to add the database:
 BibTeX Parser: Unable to read key for entry type:book.

 I was using the earlier version of lyx that Ubuntu supplies in its repos;
 but it also had the same error.


 It sounds as if there is an error in your database. For some reason, LyX
 is choking on the key. It's possible that the key contains illegal
 characters.

 Richard




Re: BibTex can't parse entry type:book

2014-03-09 Thread stefano franchi
On Sun, Mar 9, 2014 at 4:40 PM, Vance Turnewitsch
vance.turn...@gmail.com wrote:
 Hello,
 I am running Ubuntu 12.04 and lyx 2.0.7. I'm trying to add a BibxText
 database; but lyx is giving the following error upon starting up with a
 document that already has a database or trying to add the database:
 BibTeX Parser: Unable to read key for entry type:book.

 I was using the earlier version of lyx that Ubuntu supplies in its repos;
 but it also had the same error.


Hi Vance,

the most likely cause of your error is a malformed bibtex entry, and
especially a strange character in the key. Notice that you cannot use
accented characters, only standard ascii.
There are several ways to find out if that's the case. You can inspect
the bib file manually, or use a bib editor/manager that would check
for you (such as jabref).
Or even just a bibtex aware editor that allows you to compact all
entries into a single line (such as Kate, on linux).

Hope it helps,

Stefano


-- 
__
Stefano Franchi
Associate Research Professor
Department of Hispanic Studies Ph:   +1 (979) 845-2125
Texas AM University  Fax:  +1 (979) 845-6421
College Station, Texas, USA

stef...@tamu.edu
http://stefano.cleinias.org


Re: BibTex can't parse entry type:book

2014-03-09 Thread stefano franchi
On Sun, Mar 9, 2014 at 5:21 PM, Vance Turnewitsch
vance.turn...@gmail.com wrote:
 Would the '' character happen to be illegal?



From Bibdesk's page:

Citation Keys

A cite key is a unique identifier for a given reference. BibTeX scans
your document for occurrences of a cite command with a cite key
embedded in it, and translates it into a properly formatted reference.
Several patterns are common in choosing cite keys, from simple ones
such as lastnameYEAR to more complicated abbreviations of journal
names and author names. BibDesk will automatically generate cite keys
for you (See section Citation Keys), or you can enter your own in the
editor. BibDesk takes a fairly strict interpretation of the valid
characters for cite keys, and the characters  @',\#}{~% (including
the space character) are never allowed, while you will be warned if
you use one of $^ in a cite key. Cite keys are essentially TeX
commands, so you should avoid using underscores, for instance, if you
ever need to print the actual cite key itself.



So I would say yes.


S.
-- 
__
Stefano Franchi
Associate Research Professor
Department of Hispanic Studies Ph:   +1 (979) 845-2125
Texas AM University  Fax:  +1 (979) 845-6421
College Station, Texas, USA

stef...@tamu.edu
http://stefano.cleinias.org


Re: BibTex can't parse entry type:book

2014-03-09 Thread Vance Turnewitsch
The problem is solved, I didn't understand the importance of the BibTex
key, I wasn't putting one into my BibText database manager: JabRef.
Thank-you for your help and patience.


On Sun, Mar 9, 2014 at 6:44 PM, stefano franchi
stefano.fran...@gmail.comwrote:

 On Sun, Mar 9, 2014 at 5:21 PM, Vance Turnewitsch
 vance.turn...@gmail.com wrote:
  Would the '' character happen to be illegal?
 


 From Bibdesk's page:

 Citation Keys

 A cite key is a unique identifier for a given reference. BibTeX scans
 your document for occurrences of a cite command with a cite key
 embedded in it, and translates it into a properly formatted reference.
 Several patterns are common in choosing cite keys, from simple ones
 such as lastnameYEAR to more complicated abbreviations of journal
 names and author names. BibDesk will automatically generate cite keys
 for you (See section Citation Keys), or you can enter your own in the
 editor. BibDesk takes a fairly strict interpretation of the valid
 characters for cite keys, and the characters  @',\#}{~% (including
 the space character) are never allowed, while you will be warned if
 you use one of $^ in a cite key. Cite keys are essentially TeX
 commands, so you should avoid using underscores, for instance, if you
 ever need to print the actual cite key itself.



 So I would say yes.


 S.
 --
 __
 Stefano Franchi
 Associate Research Professor
 Department of Hispanic Studies Ph:   +1 (979) 845-2125
 Texas AM University  Fax:  +1 (979) 845-6421
 College Station, Texas, USA

 stef...@tamu.edu
 http://stefano.cleinias.org



Missing Menu Items (LyX vers. 2.0.7)

2014-03-09 Thread s . noble
Hello List Members,

I had to do a full OS reinstall (Mac 10.7, Lion). I thus installed the latest
version of LyX (2.0.7). While working with the newly installed version of LyX, I
noticed that there are menu items missing.

For example, when I go to Insert > List / TOC, there are only 3 choices: "Table
of Contents", "Nomenclature", & "BibTex Bibliography". There should, I think, be
others, such as "List of Algorithms", "List of Figures", "List of Tables" &
"Index List".

Similarly, under Insert > Float, the new version of LyX only proposes "Figure
Wrap Float" & "Table Wrap Float". "Algorithm", "Figure" & "Table" are missing.

The toolbar buttons for these missing menu items are present on the toolbar, but
can anyone say why the menu items are missing? Is this a bug? Is there a way to
get them back?

I used to work on LyX version 2.0.6 and there was no such problem.

Thanks for any pointers anyone might be able to provide.

Sebastien


Re: Missing Menu Items (LyX vers. 2.0.7)

2014-03-09 Thread Stephan Witt
Am 09.03.2014 um 11:27 schrieb s.no...@free.fr:

> Hello List Members,
> 
> I had to do a full OS reinstall (Mac 10.7, Lion). I thus installed the latest
> version of LyX (2.0.7). While working with the newly installed version of 
> LyX, I
> noticed that there are menu items missing.
> 
> For example, when I go to Insert > List / TOC, there are only 3 choices: 
> "Table
> of Contents", "Nomenclature", & "BibTex Bibliography". There should, I think, 
> be
> others, such as "List of Algorithms", "List of Figures", "List of Tables" &
> "Index List".
> 
> Similarly, under Insert > Float, the new version of LyX only proposes "Figure
> Wrap Float" & "Table Wrap Float". "Algorithm", "Figure" & "Table" are missing.
> 
> The toolbar buttons for these missing menu items are present on the toolbar, 
> but
> can anyone say why the menu items are missing? Is this a bug? Is there a way 
> to
> get them back?
> 
> I used to work on LyX version 2.0.6 and there was no such problem.
> 
> Thanks for any pointers anyone might be able to provide.

Please use 2.0.7.1 instead. The problem you mentioned is solved with this patch 
release.

Stephan

Re: Missing Menu Items (LyX vers. 2.0.7)

2014-03-09 Thread Sebastien


> 
> Please use 2.0.7.1 instead. The problem you mentioned
> is solved with this patch release.
> 
> Stephan
> 

Thanks for your quick reply, and for confirming that there was an issue.

This will be the first time I've actually had to update LyX to a new version.
Do you have to uninstall the old version first (2.0.7), or do you just go
ahead and install 2.0.7.1 right over the top of the installed version?

Thanks again.

Sebastien





Re: Missing Menu Items (LyX vers. 2.0.7)

2014-03-09 Thread Stephan Witt
Am 09.03.2014 um 14:38 schrieb Sebastien :

>> Please use 2.0.7.1 instead. The problem you mentioned
>> is solved with this patch release.
> 
> Thanks for your quick reply, and for confirming that there was an issue.
> 
> This will be the first time I've actually had to update LyX to a new version.
> Do you have to uninstall the old version first (2.0.7), or do you just go
> ahead and install 2.0.7.1 right over the top of the installed version?

Just open the downloaded disk image and drag LyX to the Application item.
The OS will ask you if you want to overwrite the current application or
if you want to keep both. I'd guess you want the first option… ;-)

This will replace the complete application by the new one. Since all your
user configuration is placed outside of the application you'll not loose
anything. There is no need to uninstall anything. In fact there is no
"uninstaller" - only the recycle bin has to be used for uninstalling.

Stephan

Re: Missing Menu Items (LyX vers. 2.0.7)

2014-03-09 Thread Sebastien
> This will replace the complete application by
> the new one. Since all your
> user configuration is placed outside of the
> application you'll not loose
> anything. There is no need to uninstall
> anything. In fact there is no
> "uninstaller" - only the recycle bin has 
> to be used for uninstalling.
> 
> Stephan
> 


Just a quick line to say thanks again for that
quick and helpful reply.
LyX is a great program — keep up the great work!
Sebastien






BibTex can't parse entry type:book

2014-03-09 Thread Vance Turnewitsch
Hello,
I am running Ubuntu 12.04 and lyx 2.0.7. I'm trying to add a BibxText
database; but lyx is giving the following error upon starting up with a
document that already has a database or trying to add the database:
BibTeX Parser: Unable to read key for entry type:book.

I was using the earlier version of lyx that Ubuntu supplies in its repos;
but it also had the same error.
Thanks,
Vance Turnewitsch


Re: BibTex can't parse entry type:book

2014-03-09 Thread Richard Heck

On 03/09/2014 05:40 PM, Vance Turnewitsch wrote:

Hello,
I am running Ubuntu 12.04 and lyx 2.0.7. I'm trying to add a BibxText 
database; but lyx is giving the following error upon starting up with 
a document that already has a database or trying to add the database:

BibTeX Parser: Unable to read key for entry type:book.

I was using the earlier version of lyx that Ubuntu supplies in its 
repos; but it also had the same error.


It sounds as if there is an error in your database. For some reason, LyX 
is choking on the key. It's possible that the key contains "illegal" 
characters.


Richard



Re: BibTex can't parse entry type:book

2014-03-09 Thread Vance Turnewitsch
Would the '&' character happen to be illegal?

I accidentally responded to just Richard, my apologies.


On Sun, Mar 9, 2014 at 6:15 PM, Richard Heck  wrote:

> On 03/09/2014 05:40 PM, Vance Turnewitsch wrote:
>
>> Hello,
>> I am running Ubuntu 12.04 and lyx 2.0.7. I'm trying to add a BibxText
>> database; but lyx is giving the following error upon starting up with a
>> document that already has a database or trying to add the database:
>> BibTeX Parser: Unable to read key for entry type:book.
>>
>> I was using the earlier version of lyx that Ubuntu supplies in its repos;
>> but it also had the same error.
>>
>
> It sounds as if there is an error in your database. For some reason, LyX
> is choking on the key. It's possible that the key contains "illegal"
> characters.
>
> Richard
>
>


Re: BibTex can't parse entry type:book

2014-03-09 Thread stefano franchi
On Sun, Mar 9, 2014 at 4:40 PM, Vance Turnewitsch
 wrote:
> Hello,
> I am running Ubuntu 12.04 and lyx 2.0.7. I'm trying to add a BibxText
> database; but lyx is giving the following error upon starting up with a
> document that already has a database or trying to add the database:
> BibTeX Parser: Unable to read key for entry type:book.
>
> I was using the earlier version of lyx that Ubuntu supplies in its repos;
> but it also had the same error.


Hi Vance,

the most likely cause of your error is a malformed bibtex entry, and
especially a strange character in the key. Notice that you cannot use
accented characters, only standard ascii.
There are several ways to find out if that's the case. You can inspect
the bib file manually, or use a bib editor/manager that would check
for you (such as jabref).
Or even just a bibtex aware editor that allows you to compact all
entries into a single line (such as Kate, on linux).

Hope it helps,

Stefano


-- 
__
Stefano Franchi
Associate Research Professor
Department of Hispanic Studies Ph:   +1 (979) 845-2125
Texas A University  Fax:  +1 (979) 845-6421
College Station, Texas, USA

stef...@tamu.edu
http://stefano.cleinias.org


Re: BibTex can't parse entry type:book

2014-03-09 Thread stefano franchi
On Sun, Mar 9, 2014 at 5:21 PM, Vance Turnewitsch
 wrote:
> Would the '&' character happen to be illegal?
>


>From Bibdesk's page:

Citation Keys

A cite key is a unique identifier for a given reference. BibTeX scans
your document for occurrences of a cite command with a cite key
embedded in it, and translates it into a properly formatted reference.
Several patterns are common in choosing cite keys, from simple ones
such as "lastnameYEAR" to more complicated abbreviations of journal
names and author names. BibDesk will automatically generate cite keys
for you (See section Citation Keys), or you can enter your own in the
editor. BibDesk takes a fairly strict interpretation of the valid
characters for cite keys, and the characters " "@',\#}{~%" (including
the space character) are never allowed, while you will be warned if
you use one of "&$^" in a cite key. Cite keys are essentially TeX
commands, so you should avoid using underscores, for instance, if you
ever need to print the actual cite key itself.



So I would say yes.


S.
-- 
__
Stefano Franchi
Associate Research Professor
Department of Hispanic Studies Ph:   +1 (979) 845-2125
Texas A University  Fax:  +1 (979) 845-6421
College Station, Texas, USA

stef...@tamu.edu
http://stefano.cleinias.org


Re: BibTex can't parse entry type:book

2014-03-09 Thread Vance Turnewitsch
The problem is solved, I didn't understand the importance of the BibTex
key, I wasn't putting one into my BibText database manager: JabRef.
Thank-you for your help and patience.


On Sun, Mar 9, 2014 at 6:44 PM, stefano franchi
wrote:

> On Sun, Mar 9, 2014 at 5:21 PM, Vance Turnewitsch
>  wrote:
> > Would the '&' character happen to be illegal?
> >
>
>
> From Bibdesk's page:
>
> Citation Keys
>
> A cite key is a unique identifier for a given reference. BibTeX scans
> your document for occurrences of a cite command with a cite key
> embedded in it, and translates it into a properly formatted reference.
> Several patterns are common in choosing cite keys, from simple ones
> such as "lastnameYEAR" to more complicated abbreviations of journal
> names and author names. BibDesk will automatically generate cite keys
> for you (See section Citation Keys), or you can enter your own in the
> editor. BibDesk takes a fairly strict interpretation of the valid
> characters for cite keys, and the characters " "@',\#}{~%" (including
> the space character) are never allowed, while you will be warned if
> you use one of "&$^" in a cite key. Cite keys are essentially TeX
> commands, so you should avoid using underscores, for instance, if you
> ever need to print the actual cite key itself.
>
>
>
> So I would say yes.
>
>
> S.
> --
> __
> Stefano Franchi
> Associate Research Professor
> Department of Hispanic Studies Ph:   +1 (979) 845-2125
> Texas A University  Fax:  +1 (979) 845-6421
> College Station, Texas, USA
>
> stef...@tamu.edu
> http://stefano.cleinias.org
>