6

I took the tex code from here and imported to LyX 2.1.0 to use BibLaTeX with MiKTeX on Windows 7. But I'm getting the following error:

! Package biblatex Error: Incompatible package 'backref'.

The problem persists even after updating the packages. I wonder how to figure out this problem. Any help will be highly appreciated. Thanks in advance.

Edited

The same code works fine in tex but after importing to LyX 2.1.0 it throws the error. Might be in the back-end LyX 2.1.0 using backref package too.

I also tried

Tools > Preferences > Output > LaTeX > Bibliography generation > Processor > Biber

but without any success.

11
  • Don't use the backref package with biblatex. Use the backref option biblatex has.
    – Juri Robl
    Jun 9, 2014 at 20:51
  • Or do you use the exact same code as in the link?
    – Juri Robl
    Jun 9, 2014 at 21:18
  • 1
    I've retracted my answer, as it seems that there is more going on than meets the eye. Something is loading the backref package, it would appear. biblatex includes a check/call with \@ifpackageloaded{backref}, and that is what is triggering the error, even if you haven't loaded it explicitly... Now, the question becomes, What could cause that?
    – cslstr
    Jun 10, 2014 at 2:14
  • 1
    Did any of the answers I linked to help?
    – moewe
    Jun 12, 2014 at 5:04
  • 1
    biblatex uses biber by default, so do Document --> Settings --> Bibliography, and select biber as Processor. Jun 14, 2014 at 6:09

2 Answers 2

3

I tried the same, had the same problem with LyX2.1.4 on Win7. Followed all the above no luck. Been here many times before with 'hidden' LyX stettings clobbering imported LaTeX :-(

Solution: |Documents>Settings>PDF Properties>[Hyperlinks]Backreferences:[Off]

Typesets exactly as it should :-)

Not quite, because the backlinks are disabled unless you select |Document>Settings>Bibliography>Processor: to work with bibLaTeX as stated in the previous comment by Torbjørn T.

The universal solution would be for LyX to display all the LaTeX settingings it 'applies in the background'. You can |View>Source Pane>[Preamble Only] but you still have to search for where it is set! B.T.W. if you only change the menu biber setting LyX will NOT re-typeset the document to show it works (LyX2.1.4-Win7). You have to type something! :-(

5
  • If you have a specific idea for how this information could be displayed, please describe in detail your idea in an enhancement request at lyx.org/trac . We are always open to new ideas if they are well-planned.
    – scottkosty
    Feb 15, 2016 at 4:22
  • THX @scottkosty, Maybe program the equiv of my manual approach |LyX|File>Export>latex(Plain)> & make preamble content auto. present in the |LyX|Document>Settings...>[LaTeX Preamble] (greyed out). Maybe a button Show LyX generated Preamble. Finding the 'hidden settings' would be find-search, if the user manual included the 'preamble content equivalent entry' against each setting. It would avoid days of turn-off experiences & reduce the LaTeX knowledge required to be effective. Feb 19, 2016 at 6:38
  • Great ideas! Hope to see some of them pop up on lyx.org/trac
    – scottkosty
    Feb 19, 2016 at 7:47
  • I did as you suggested Scott and it has already been rejected ;-( I am investigating the new LyX bug identified above at link It wasted days and undermined confidence in LyX/LaTeX until I realised what LyX is not doing. Feb 22, 2016 at 7:17
  • Sorry to hear that Jethro. I hope that experience does not scare you away from making further bug reports/ enhancement requests. It is very important for LyX to have good user feedback. Thanks for your time and effort!
    – scottkosty
    Feb 22, 2016 at 16:10
1

Tools > Preferences > Output > LaTeX > Bibliography generation > Processor > Biber

and

Document > Settings > Bibliography

and selecting biber and Processor did the trick in LyX 2.1.0.

1
  • 1
    You are aware that this doesn't answer the question as it stands? The problem that the question is about was answered by @moewe's comment about turning off backreferences in the Document settings. You have just answered the new problem that occurred afterwards, which is not at all mentioned in the question. At least make the answer complete, or let moewe answer. Jun 14, 2014 at 14:30

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .