I am using elegantbook.sty to write a book.
The elegantbook.sty is using biblatex which is not compatible with backref.
Anyone knows and could help with how to enable using beackref or similar functionality in elegantbook.sty? I was trying to change biblatex to natbib in elegantbook.sty source file, but that produced many errors on things that colided with rest of the elegantbook.sty.
This is the last bit missing in my book, so help would be much appreciated.
MWE:
\documentclass[12pt,b5paper,citestyle=numeric-comp,bibstyle=numeric,color=blue]{elegantbook} \addbibresource[location=local]{reference.bib} \begin{document} \noindent Lorem ipsum... \printbibliography[heading=bibintoc, title=\ebibname] \end{document}
biblatexhas abackrefoption, which you can set totrue, just like you set otherbiblatexoptions.backref=trueas an option to\RequirePackage[backend=\ELEGANT@bibend,citestyle=\ELEGANT@citestyle, bibstyle=\ELEGANT@bibstyle,backref=true]{biblatex}inelegantbook.sty. Could you help me with how I can pass this option without modifying theelegantbook.sty? I tried\PassOptionsToPackage{backref=true}{biblatex}before and after\documentclass[12pt,b5paper]{elegantbook}and it didn't work.elegantbookand can't seem to find it in TeX Live. But you could probably set this withbiblatex's\ExecuteBibliographyOptions.\ExecuteBibliographyOptions{backref=true}just after\documentclass[12pt,b5paper]{elegantbook}solves my problem. Many, many thanks!