Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- documentclass[12pt]{article}
- usepackage{polyglossia}
- setdefaultlanguage{french}
- usepackage[T1]{fontenc}
- usepackage{csquotes}
- usepackage[backend=biber,
- style=numeric-comp,
- citestyle=authoryear,
- sorting=nty,
- natbib=true
- ]{biblatex}
- usepackage[xetex]{hyperref}
- %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
- usepackage{filecontents}
- begin{filecontents}{biblio.bib}
- @article{georgescu1971,
- title={The entropy law and the economic problem},
- author={Georgescu-Roegen, Nicholas},
- journal={Harvard University, Harvard},
- year={1971}
- }
- end{filecontents}
- addbibresource{biblio.bib}
- %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
- makeatletter
- DeclareFieldFormat{bibhypertarget}{%
- bibhypertarget{cbx:instcount:thevalue{instcount}}{#1}}
- defabx@aux@wikibackref#1#2#3{%
- listcsgadd{cbx@wikibackref@#1@#2}{#3}}
- defblx@addwikibackref#1{%
- if@filesw
- protected@write@mainaux{}{stringabx@aux@wikibackref
- {thec@refsection}{#1}{thevalue{instcount}}}%
- fi}
- defblx@instcount@label{%
- label{cbx@instcount@thevalue{instcount}}}
- AtEveryCitekey{%
- blx@addwikibackref{thefield{entrykey}}%
- blx@instcount@label
- }
- renewbibmacro*{cite:comp}{%
- addtocounter{cbx@tempcntb}{1}%
- printtext[bibhypertarget]{%
- iffieldundef{shorthand}
- {ifbool{bbx:subentry}
- {iffieldundef{entrysetcount}
- {usebibmacro{cite:comp:comp}}
- {usebibmacro{cite:comp:inset}}}
- {usebibmacro{cite:comp:comp}}}
- {usebibmacro{cite:comp:shand}}}}
- renewbibmacro*{begentry}{usebibmacro{wikipageref}}
- newcounter{wikibackrefitemcount}
- renewcommand{thewikibackrefitemcount}{alph{wikibackrefitemcount}}
- newbibmacro*{wikipageref}{%
- ifcsundef{cbx@wikibackref@thec@refsection @thefield{entrykey}}
- {}
- {setcounter{wikibackrefitemcount}{0}%
- renewcommand*{do}[1]{stepcounter{wikibackrefitemcount}}%
- dolistcsloop{cbx@wikibackref@thec@refsection @thefield{entrykey}}%
- ifnumgreater{value{wikibackrefitemcount}}{1}
- {setcounter{wikibackrefitemcount}{0}%
- renewcommand*{do}[1]{%
- stepcounter{wikibackrefitemcount}%
- mkbibsuperscript{%
- bibhyperlink{cbx:instcount:##1}{thewikibackrefitemcount}addspace}}%
- $uparrow$addspacedolistcsloop{cbx@wikibackref@thec@refsection @thefield{entrykey}}}
- {renewcommand*{do}[1]{bibhyperlink{cbx:instcount:##1}{$uparrow$}addspace}%
- dolistcsloop{cbx@wikibackref@thec@refsection @thefield{entrykey}}}}}
- makeatother
- begin{document}
- The book emph{The Enthropy Law and the Economic Process} citep{georgescu1971} is very important to understand the theory of economic degrowth.
- newpage
- printbibliography
- end{document}
Add Comment
Please, Sign In to add comment