LyX ⇒ Lyx-2.2.0 fails on Biblatex/natbib
-
- Posts: 94
- Joined: Wed Sep 07, 2011 3:14 pm
Re: Lyx-2.2.0 fails on Biblatex/natbib
Also, my main document uses Hebrew, extended Greek, Chinese, German, and Japanese. The Hebrew especially suggests I need the bidi package.
But why might biblatex be insisting on polyglossia? I'll have to dig around Lyx and see where I set that.
Cheers,
EE
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
- Johannes_B
- Site Moderator
- Posts: 4182
- Joined: Thu Nov 01, 2012 4:08 pm
Lyx-2.2.0 fails on Biblatex/natbib
Try to put together a minimal working example with bidi and polyglossia, exported to LaTeX. I suggest to ask as a new question at tex.stackexchange.com (with a backlink to here and a link here to there); it will give you a faster result as we are a bit short on bidi experts (well, we don't have any bidi expert here).
If the problem is well stated and the minimal working example is minimal and shows the problem, you will get a good answer. Of course, preparing the example might take a bit of time.
If you happen to only reproduce it with LyX (so it really is LyX dependant), LyX-users mailing list might be the best hit.
-
- Posts: 94
- Joined: Wed Sep 07, 2011 3:14 pm
Lyx-2.2.0 fails on Biblatex/natbib
Meanwhile, here's some progress: it turns out that my language definitions for polyglossia are insufficient. I now have the following in my preamble:
Code: Select all
\setdefaultlanguage[variant=american]{english}
\setotherlanguage[variant=german]{german}
\setotherlanguage{ancientgreek}
\setotherlanguage{hebrew}
\setotherlanguage{french}
\setotherlanguage[variant=classic]{latin}
Anyway, I'll see if I can dig down into getting an MWE going. I'll also see if all my new polyglossia defs enable me to have foreign languages in chapter and section headings again.
Weirdly, since my title is in Latin, the date is now also in Latin, which is behavior that is … not entirely optimal, especially since there are other languages in the subtitle.
I'll keep you posted.
Cheers,
EE
Addendum: here's another issue I just ran into: polyglossia now defines "new german" with simply "german" and does not recognize "ngerman" as a language string. However, Lyx still sets new-orthography German with the "ngerman" flag, which I think is leading to a lot of my German-language footnotes disappearing.
-
- Posts: 94
- Joined: Wed Sep 07, 2011 3:14 pm
Lyx-2.2.0 fails on Biblatex/natbib
If the first word(s) of a the last paragraph in a chapter is/are in a new language, then the rest of that paragraph is not typeset at all. Just that word or words. THEN, the headers in the next chapter are set in that language as well, but only the identifiers, NOT the content of the chapter heading (which are all, inexplicably, set in Latin, which is only used for the title of the entire document).
This is some devilry. For example, I have this as the beginning of the last paragraph of a chapter:
Musique concrète belonged to a revolution in æsthetics…
The italicized part is set as French. Then:
Chapter 10: Information Theory and the Arts
is on the next page. But in that chapter, the headers read:
Chapitre 10: Information Theory and the Arts
and then the next section:
10.1: Stunde Null
Appears in the header as "10.1: STVNDE NVLL"
So my headers are being rendered in both French and Latin, and whole blocks of text are not being typeset at all. If I have, for example, German in a footnote, that text doesn't appear; I just see the quotation marks that enclose it, with nothing in between.
This is some devilry. I'll try to produce an MWE that manages to screw up the language settings this spectacularly.
Cheers,
EE
-
- Site Moderator
- Posts: 542
- Joined: Sat Sep 01, 2012 6:38 am
Lyx-2.2.0 fails on Biblatex/natbib
Great! This could help the development team fix the possible bug. If you are able to come up with a reproducible minimal example, please make a bug report at http://www.lyx.org/tracExecutorElassus wrote:
This is some devilry. I'll try to produce an MWE that manages to screw up the language settings this spectacularly.
Thanks a lot for you time in helping make LyX better.
-
- Posts: 94
- Joined: Wed Sep 07, 2011 3:14 pm
Lyx-2.2.0 fails on Biblatex/natbib
Please bear in mind, as a lot of the errors are of the sort "if X, then the next chapter/part exhibits failure Y," that I necessarily had to add a lot of filler text to cause page breaks, chapter headings, and the like.
Also, for some reason I can't yet figure out, the MWE does not exhibit one error behavior that my main document still does: if I use the "after citation" dialog in Lyx, it fails to format the citation properly with the text/page numbers following, instead showing the text/page numbers in brackets before the unprocessed bibtex key.
In any event, I'll upload the file, along with my bibtex file, to your tracker. Hope it helps!
Cheers,
EE
UPDATE: the ticket is now here.