Re: Question re bib file

2022-07-08 Thread Herbert Voss



Am 08.07.22 um 09:56 schrieb Wolfgang Engelmann:



Am 07.07.22 um 18:17 schrieb Herbert Voss:

biber --tool -V .bib


running Herberts proposal to find errors in a bib file
with biber gives me:

Overriding locale 'en_US' defaults 'variable = shifted' with 'variable 
= non-ignorable'
INFO - Overriding locale 'en_US' defaults 'normalization = NFD' with 
'normalization = prenormalized'
INFO - Sorting list 'tool/global//global/global' of type 'entry' with 
template 'tool' and locale 'en_US'

INFO - No sort tailoring available for locale 'en_US'


Wolfgang,

that is only an information, no more no less. You have to do nothing here.

form the documentation:

The locale will be used to look for a collation tailoring for that locale.
 It will generate an informational warning if it finds none. /
This is not a problem/ as most standard collation cases are covered
by the standard UCA and many locales neither have nor need any
special collation tailoring.

You do not get this info with

\usepackage[sortlocale=nb_NO]{biblatex}

Herbert
--
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Question re bib file

2022-07-08 Thread Wolfgang Engelmann




Am 07.07.22 um 18:17 schrieb Herbert Voss:

biber --tool -V .bib


running Herberts proposal to find errors in a bib file
with biber gives me:

Overriding locale 'en_US' defaults 'variable = shifted' with 'variable = 
non-ignorable'
INFO - Overriding locale 'en_US' defaults 'normalization = NFD' with 
'normalization = prenormalized'
INFO - Sorting list 'tool/global//global/global' of type 'entry' with 
template 'tool' and locale 'en_US'

INFO - No sort tailoring available for locale 'en_US'
sudo dpkg-reconfigure locales

There are answers given in
https://stackoverflow.com/questions/4632885/what-is-the-difference-between-creating-a-locale-for-en-us-and-en-us

but I don't understand what I should actually do

my java:
java -version
openjdk version "11.0.15" 2022-04-19
OpenJDK Runtime Environment (build 11.0.15+10-post-Debian-1deb11u1)
OpenJDK 64-Bit Server VM (build 11.0.15+10-post-Debian-1deb11u1, mixed 
mode, sharing)


Wolfgang

--
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Question re bib file

2022-07-07 Thread Wolfgang Engelmann




Am 07.07.22 um 18:17 schrieb Herbert Voss:

Am 07.07.22 um 18:06 schrieb Wolfgang Engelmann:



Am 07.07.22 um 10:12 schrieb Herbert Voss:

I have in the meantime started to check the bib file (I am using 
jabref) thoroughly and collect the references used in my document in a 
separate lyx file which has almost no text, and I set it to 'all 
references'. Frequent runs (e.g. after having checked all references 
with A..., then B...) of the pdf output show me whether 
errors/warnings are given. I know that I can in Jabref use 
Quality>check_integrity, but that did not disclose critical errors.



Wolfgang,
run in a terminal

|biber --tool -V .bib|

Herbert


cool! Did not know that.
I used
biber --tool -V my.bib > mybib.txt

I must now try to learn more about this tool

Thanks,
Wolfgang
--
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Question re bib file

2022-07-07 Thread Herbert Voss

Am 07.07.22 um 18:06 schrieb Wolfgang Engelmann:



Am 07.07.22 um 10:12 schrieb Herbert Voss:

I have in the meantime started to check the bib file (I am using 
jabref) thoroughly and collect the references used in my document in a 
separate lyx file which has almost no text, and I set it to 'all 
references'. Frequent runs (e.g. after having checked all references 
with A..., then B...) of the pdf output show me whether 
errors/warnings are given. I know that I can in Jabref use 
Quality>check_integrity, but that did not disclose critical errors.



Wolfgang,
run in a terminal

|biber --tool -V .bib|

Herbert
--
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Question re bib file

2022-07-07 Thread Wolfgang Engelmann




Am 07.07.22 um 10:12 schrieb Herbert Voss:



Am 07.07.22 um 09:55 schrieb Wolfgang Engelmann:

Hi,
I have a larger bib file for a book, for which a lyx file run spits 
this warning


[7580] Utils.pm:410> ERROR - BibTeX subsystem: 
/tmp/biber_tmp_SWLO/d7dc170ec507816e85d64326c042e07e_4336.utf8, line 
7118, syntax error: found ",", expected one of: number, name (entry 
type, key, field, or macro name), end of entry ("}" or ")") or quoted 
string ({...} or "...")


Wolfgang,

your bib datafile has a syntax error which is detected at line 7118 by 
biber

It looks like something as


foo = ,


Herbert



Thanks, Herbert,

yes, I could change that, but there are probably still many more errors 
left after that.

Therefore my question.

I have in the meantime started to check the bib file (I am using jabref) 
thoroughly and collect the references used in my document in a separate 
lyx file which has almost no text, and I set it to 'all references'. 
Frequent runs (e.g. after having checked all references with A..., then 
B...) of the pdf output show me whether errors/warnings are given. I 
know that I can in Jabref use Quality>check_integrity, but that did not 
disclose critical errors.


Wolfgang
--
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Question re bib file

2022-07-07 Thread Herbert Voss




Am 07.07.22 um 09:55 schrieb Wolfgang Engelmann:

Hi,
I have a larger bib file for a book, for which a lyx file run spits 
this warning


[7580] Utils.pm:410> ERROR - BibTeX subsystem: 
/tmp/biber_tmp_SWLO/d7dc170ec507816e85d64326c042e07e_4336.utf8, line 
7118, syntax error: found ",", expected one of: number, name (entry 
type, key, field, or macro name), end of entry ("}" or ")") or quoted 
string ({...} or "...")


Wolfgang,

your bib datafile has a syntax error which is detected at line 7118 by biber
It looks like something as


foo = ,


Herbert


--
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Question re bib file

2022-07-07 Thread Wolfgang Engelmann

Hi,
I have a larger bib file for a book, for which a lyx file run spits this 
warning


[7580] Utils.pm:410> ERROR - BibTeX subsystem: 
/tmp/biber_tmp_SWLO/d7dc170ec507816e85d64326c042e07e_4336.utf8, line 
7118, syntax error: found ",", expected one of: number, name (entry 
type, key, field, or macro name), end of entry ("}" or ")") or quoted 
string ({...} or "...")


even if I reduce the lyx file to just one reference and using the large 
bib file. There is no Bibliography output in the pdf and the citation is 
not as expected, but a bold author name.


If I, however, use a minimal bib file with just this one citation, it 
works fine.


For me this looks like lyx goes through the (large) bib file, finds 
something which it does not like and does not build a correct pdf 
output, although it could if it would use from the (large) bib file only 
this one reference.


Is this correct? And could it be changed so that one is not forced to 
check the whole bib file for possible errors before submitting it to the 
lyx file?


I use Debian bullseye and
lyx Version 2.4.0dev (not released yet)
Built from git commit hash 53ed3dc0
Qt Version (run-time): 5.15.2 on platform xcb
Qt Version (compile-time): 5.15.2
Python detected: python3 -tt

Wolfgang
--
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users