LyX ⇒ Problem with Biblatex
Problem with Biblatex
I carefully followed the instruction from http://wiki.lyx.org/BibTeX/Biblatex#toc2
Though there is no error, I am not able to get bibliography at all. I have attached the files, if anyone could check it.
About my files:
The main file is "Test.lyx" and citations are inserted in the file "Chapter 2". I want biblography to be shown in TOC.
- Attachments
-
- TestLyx.zip
- (13.63 KiB) Downloaded 465 times
NEW: TikZ book now 40% off at Amazon.com for a short time.
And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p
Problem with Biblatex
\addbibresource{<bib file>}
is preferred to \bibliography{<bib file>}
but that shouldn't really matter:You need to make sure that you're really using the tool you specified as backend:
If that doesn't work check the bibtex/biber log via "Document -> LaTeX Log -> Log Type: BiBTeX"
Regards
Problem with Biblatex
It solved the problem.
And, for getting Bibliography in TOC, this worked:
\printbibliography[heading=bibintoc]
Re: Problem with Biblatex
Sorry to disturb you again. Last time it worked for me. But I don't know why it is not working anymore. The citations are not working and no bibliography anymore. I haven't done any changes in the bibliography and the processor is still biber.
I want to know if there is problem in my Lyx or inside the file. Could somebody check it?
- Attachments
-
- TestLyx.zip
- (8.32 KiB) Downloaded 306 times
Problem with Biblatex
It is unfortunate LyX/LaTeX does not report a faulty file spec for the .bib file, because a typo cost me days working out why BibLaTeX-biber wouldn't work


- Johannes_B
- Site Moderator
- Posts: 4182
- Joined: Thu Nov 01, 2012 4:08 pm
Re: Problem with Biblatex
Going to the base level, were every beginner can see and understand code, without hidden stuff, is much easier for debugging. Error messages are quite clear most of the times, sometimes, well not so clear to be honest.
Rule of thumb: If something with LyX isn't working quite well, go back to the ground for debugging and come back to LyX.
-
- Site Moderator
- Posts: 542
- Joined: Sat Sep 01, 2012 6:38 am
Problem with Biblatex
I'm not sure if this is what you're talking about, but I'm trying hard to get a fix for the following issue into LyX 2.2:abelle wrote: It is unfortunate LyX/LaTeX does not report a faulty file spec for the .bib file,
http://www.lyx.org/trac/ticket/2757
Actually, the fix is done, but it relies on a different change that I'm working on that is necessary for the fix to go in.
Problem with Biblatex
I looked at http://www.lyx.org/trac/ticket/2757 and think my problem is simpler.
My observation was that the normal error messages that pop-up when type-setting a LyX document do not appear to notify that the .bib file does not exist (Which based on normal LyX behaviour I consider to be AN ERROR, not a warning level problem). From looking at posted example files (like this one in this thread), several had typos in the .bib filespec, so I suspect I am not alone.
I have found the LyX Progress/Debug Messages, and it does provide the following warnings like:
- ..\..\src\LaTeX.cpp (656): Log line: LaTeX Warning: Empty bibliography on input line 108.
..\..\src\LaTeX.cpp (656): Log line: LaTeX Warning: There were undefined references.
along with lots of citation warings eg:
..\..\src\LaTeX.cpp (656): Log line: LaTeX Warning: Citation 'Eco2003Wie-man-eine-wi' on page 2 undefined on input l
..\..\src\LaTeX.cpp (692): LaTeX Warning.


-
- Site Moderator
- Posts: 542
- Joined: Sat Sep 01, 2012 6:38 am
Problem with Biblatex
Well we would like to make LyX as user friendly as possible. If you have any ideas (including this one), please post bug reports or enhancement requests at http://www.lyx.org/tracabelle wrote:Hi Scott,
I looked at http://www.lyx.org/trac/ticket/2757 and think my problem is simpler.
My observation was that the normal error messages that pop-up when type-setting a LyX document do not appear to notify that the .bib file does not exist (Which based on normal LyX behaviour I consider to be AN ERROR, not a warning level problem). From looking at posted example files (like this one in this thread), several had typos in the .bib filespec, so I suspect I am not alone.
I have found the LyX Progress/Debug Messages, and it does provide the following warnings like:As Johanne's states LyX is a tool for experienced LaTeX users, which I am not: sorry
- ..\..\src\LaTeX.cpp (656): Log line: LaTeX Warning: Empty bibliography on input line 108.
..\..\src\LaTeX.cpp (656): Log line: LaTeX Warning: There were undefined references.
along with lots of citation warings eg:
..\..\src\LaTeX.cpp (656): Log line: LaTeX Warning: Citation 'Eco2003Wie-man-eine-wi' on page 2 undefined on input l
..\..\src\LaTeX.cpp (692): LaTeX Warning.I have however managed to get LaTeX-biber working with classicthesis.sty, so it is possible newbies to use
- just time consuming and painful, which my posting aimed to help others avoid. Sorry I didn't know more earlier.
We really need this kind of feeback!
Problem with Biblatex
LyX gets better all the time, but is suffers like all software developed by the goodwill of a diaspora (NO CRITCISM). @Johannes is correct that LyX is a tool for experienced LaTeX users








