LyX 2.1.0: some issues with citations

2014-05-20 Thread Graeme
On Windows 7 (64 bit) (and Windows XP, 32 bit) I upgraded from LyX 2.0.7 
to 2.1.0 without any obvious problems.


In doing the upgrades, I first uninstalled 2.0.7, but chose the option 
to retain user preferences. Then I installed 2.1.0.


Both operations were carried out using accounts with administrator 
privileges, although I normally use LyX with a standard user account 
that does not have admin privileges.


Mostly LyX 2.1.0 performs smoothly, except that there are several 
aspects of the way it handles citations that are no longer as I expect.


1. With LyX 2.0.7, my default bib-file processor was set to BibTeX8, yet 
when I used LyX 2.1.0 I found that it had defaulted back to plain BibTeX.


It seems that none of the preferences stored in the file
userprofile\Application Data\LyX2.0\preferences
migrate automatically to the file
userprofile\Application Data\LyX2.1\preferences

Of course this problem was easily fixed, but I wondered whether this was 
intended behaviour, or if it is a bug in the Windows Installer (file 
LyX-2.1.0-Installer-2.exe)?




2. A more annoying issue is when you open a file that contains citations 
that use multiple BibTeX keys as the argument to single \cite command


Within the LyX file there are numerous instances of citations with LyX 
code similar to this:

\begin_inset CommandInset citation
LatexCommand citep
key Smith2001, Jones2001,Smith2002,Jones2002,Smith2003,Jones2003

\end_inset

All these are handled OK, except when the number of BibTeX keys in the 
in the key text string exceeds 60. When there are more than 60 keys, LyX 
generates the following error message in the Messages window:
12:22:46.359: Document citationtest.lyx opened...\..\src\BiblioInfo.cpp 
(493): Recursion limit reached while parsing
and this is followed by a quoted string containing a large number of 
BiBTeX keys that it tried to parse.


In the main editor window, LyX shows an inset style of box (black text 
on a grey background) with the single word ERROR! instead of a truncated 
list of the relevant citations.


I suspect this must be a bug in the way LyX 2.1.0 now handles multiple 
BibTeX keys in citations. LyX 2.0.7 happily dealt with (and displayed 
correctly) BibTeX key lists that had significantly more than 60 entries.


Note that it is only the way that LyX 2.1.0 parses and displays such 
large key-lists that is a problem. If I process the LyX file to produce 
a PDF (using either the ps2pdf or pdflatex export options), then LaTeX 
processes the full BibTeX keylist without any obvious problem.




3. This relates closely to issue 2 above.

After an ERROR! inset is generated by LyX as it tries to parse a long 
list of BibTeX keys, it is possible to click on this inset and the 
LyX:citation dialog will open.


However, this widget now has a width that is set to about 5 times the 
total width of the screen, which means only a narrow central stripe of 
the widget is visible. It is possible to shift this giant widget across 
the screen to gain access to the Cancel button in the bottom right (and 
thereby to close the widget), but the widget seems to behave very oddly 
if you try to resize it.


I suspect this too must be a bug in LyX 2.1.0.

Graeme


LyX 2.1.0: some issues with citations

2014-05-20 Thread Graeme
On Windows 7 (64 bit) (and Windows XP, 32 bit) I upgraded from LyX 2.0.7 
to 2.1.0 without any obvious problems.


In doing the upgrades, I first uninstalled 2.0.7, but chose the option 
to retain user preferences. Then I installed 2.1.0.


Both operations were carried out using accounts with administrator 
privileges, although I normally use LyX with a standard user account 
that does not have admin privileges.


Mostly LyX 2.1.0 performs smoothly, except that there are several 
aspects of the way it handles citations that are no longer as I expect.


1. With LyX 2.0.7, my default bib-file processor was set to BibTeX8, yet 
when I used LyX 2.1.0 I found that it had defaulted back to plain BibTeX.


It seems that none of the preferences stored in the file
userprofile\Application Data\LyX2.0\preferences
migrate automatically to the file
userprofile\Application Data\LyX2.1\preferences

Of course this problem was easily fixed, but I wondered whether this was 
intended behaviour, or if it is a bug in the Windows Installer (file 
LyX-2.1.0-Installer-2.exe)?




2. A more annoying issue is when you open a file that contains citations 
that use multiple BibTeX keys as the argument to single \cite command


Within the LyX file there are numerous instances of citations with LyX 
code similar to this:

\begin_inset CommandInset citation
LatexCommand citep
key Smith2001, Jones2001,Smith2002,Jones2002,Smith2003,Jones2003

\end_inset

All these are handled OK, except when the number of BibTeX keys in the 
in the key text string exceeds 60. When there are more than 60 keys, LyX 
generates the following error message in the Messages window:
12:22:46.359: Document citationtest.lyx opened...\..\src\BiblioInfo.cpp 
(493): Recursion limit reached while parsing
and this is followed by a quoted string containing a large number of 
BiBTeX keys that it tried to parse.


In the main editor window, LyX shows an inset style of box (black text 
on a grey background) with the single word ERROR! instead of a truncated 
list of the relevant citations.


I suspect this must be a bug in the way LyX 2.1.0 now handles multiple 
BibTeX keys in citations. LyX 2.0.7 happily dealt with (and displayed 
correctly) BibTeX key lists that had significantly more than 60 entries.


Note that it is only the way that LyX 2.1.0 parses and displays such 
large key-lists that is a problem. If I process the LyX file to produce 
a PDF (using either the ps2pdf or pdflatex export options), then LaTeX 
processes the full BibTeX keylist without any obvious problem.




3. This relates closely to issue 2 above.

After an ERROR! inset is generated by LyX as it tries to parse a long 
list of BibTeX keys, it is possible to click on this inset and the 
LyX:citation dialog will open.


However, this widget now has a width that is set to about 5 times the 
total width of the screen, which means only a narrow central stripe of 
the widget is visible. It is possible to shift this giant widget across 
the screen to gain access to the Cancel button in the bottom right (and 
thereby to close the widget), but the widget seems to behave very oddly 
if you try to resize it.


I suspect this too must be a bug in LyX 2.1.0.

Graeme


LyX 2.1.0: some issues with citations

2014-05-20 Thread Graeme
On Windows 7 (64 bit) (and Windows XP, 32 bit) I upgraded from LyX 2.0.7 
to 2.1.0 without any obvious problems.


In doing the upgrades, I first uninstalled 2.0.7, but chose the option 
to retain user preferences. Then I installed 2.1.0.


Both operations were carried out using accounts with administrator 
privileges, although I normally use LyX with a standard user account 
that does not have admin privileges.


Mostly LyX 2.1.0 performs smoothly, except that there are several 
aspects of the way it handles citations that are no longer as I expect.


1. With LyX 2.0.7, my default bib-file processor was set to BibTeX8, yet 
when I used LyX 2.1.0 I found that it had defaulted back to plain BibTeX.


It seems that none of the preferences stored in the file
\Application Data\LyX2.0\preferences
migrate automatically to the file
\Application Data\LyX2.1\preferences

Of course this problem was easily fixed, but I wondered whether this was 
intended behaviour, or if it is a bug in the Windows Installer (file 
LyX-2.1.0-Installer-2.exe)?




2. A more annoying issue is when you open a file that contains citations 
that use multiple BibTeX keys as the argument to single \cite command


Within the LyX file there are numerous instances of citations with LyX 
code similar to this:

\begin_inset CommandInset citation
LatexCommand citep
key "Smith2001, Jones2001,Smith2002,Jones2002,Smith2003,Jones2003"

\end_inset

All these are handled OK, except when the number of BibTeX keys in the 
in the key text string exceeds 60. When there are more than 60 keys, LyX 
generates the following error message in the Messages window:
12:22:46.359: Document citationtest.lyx opened...\..\src\BiblioInfo.cpp 
(493): Recursion limit reached while parsing
and this is followed by a quoted string containing a large number of 
BiBTeX keys that it tried to parse.


In the main editor window, LyX shows an "inset" style of box (black text 
on a grey background) with the single word ERROR! instead of a truncated 
list of the relevant citations.


I suspect this must be a bug in the way LyX 2.1.0 now handles multiple 
BibTeX keys in citations. LyX 2.0.7 happily dealt with (and displayed 
correctly) BibTeX key lists that had significantly more than 60 entries.


Note that it is only the way that LyX 2.1.0 parses and displays such 
large key-lists that is a problem. If I process the LyX file to produce 
a PDF (using either the ps2pdf or pdflatex export options), then LaTeX 
processes the full BibTeX keylist without any obvious problem.




3. This relates closely to issue 2 above.

After an ERROR! inset is generated by LyX as it tries to parse a long 
list of BibTeX keys, it is possible to click on this inset and the 
LyX:citation dialog will open.


However, this widget now has a width that is set to about 5 times the 
total width of the screen, which means only a narrow central stripe of 
the widget is visible. It is possible to shift this giant widget across 
the screen to gain access to the Cancel button in the bottom right (and 
thereby to close the widget), but the widget seems to behave very oddly 
if you try to resize it.


I suspect this too must be a bug in LyX 2.1.0.

Graeme