On Wed, Dec 20, 2017 at 04:41:18AM +0000, Richard Heck wrote: > On 12/19/2017 11:13 PM, Scott Kostyshak wrote: > > When using Biblatex and exporting to 2.2.x, I think we need to set the > > bibliography processor to biber, right? > > > > I'm guessing this wasn't caught before because a lot of testers have > > biber set in preferences. > > > > Attached is a patch. It works well for me, but I am not very familiar > > with lyx2lyx. > > No view on whether we should do this. Jürgen will know. But if we do....
+1
> > diff --git a/lib/lyx2lyx/lyx_2_3.py b/lib/lyx2lyx/lyx_2_3.py
> > index edc5b1f..cb3204b 100644
> > --- a/lib/lyx2lyx/lyx_2_3.py
> > +++ b/lib/lyx2lyx/lyx_2_3.py
> > @@ -1222,6 +1222,11 @@ def revert_biblatex(document):
> > bbxopts += "," + biblio_options
> > bbxopts += "]"
> > add_to_preamble(document, "\\usepackage" + bbxopts + "{biblatex}")
> > + i = find_token(document.header, "\\bibtex_command", 0)
> > + if i == -1:
> > + document.warning("Malformed document! Missing
> > \\bibtex_command")
>
> In this case, you can still insert the command. You just need to figure
> out where you want to put it.
Ah thanks. I will ask you for more details (or a reference to an
example) if we do decide something like this patch is worth doing.
Scott
signature.asc
Description: PGP signature
