Inserendo
`
kpsewhich biblatex.sty
`
mi restituisce il percorso:
C:/Program Files (x86)/MiKTek 2.9/tex/latex/biblatex/biblatex.sty
Che faccio? Provo a reinstallare il pacchetto? Lo installai attraverso Texworks (si è connesso lui da solo ed ha scaricato il pacchetto all’occorrenza).
La cosa strana comunque, se può essere utile a risolvere il problema, è che ho provato il file .tex di questa pagina:
http://www.khirevich.com/latex/biblatex/
e stampa la bibliografia tranquillamente
Riporto il contenuto del file .tex:
`\documentclass[a4paper,11pt]{book}
\usepackage{charter} % optional: activate bitstream charter font
\usepackage[hyperref=true,
url=false,
isbn=false,
backref=true,
style=custom-numeric-comp,
citereset=chapter,
maxcitenames=3,
maxbibnames=100,
backend=bibtex, % while checking on one of my (newest) systems, this option was needed to generate bibliography
block=none]{biblatex}
\usepackage{hyperref}
% back reference text preceding the page number (“see p.”)
\DefineBibliographyStrings{english}{%
backrefpage = {see p.}, % for single page number
backrefpages = {see pp.} % for multiple page numbers
}
% the followings activate 'custom-english-ordinal-sscript.lbx'
% in order to print ordinal 'edition' suffixes as superscripts,
% and adjusts (reduces) spacing between suffix and following “ed.”
\DeclareLanguageMapping{english}{custom-english-ordinal-sscript}
\DeclareFieldFormat{edition}%
{\ifinteger{#1}%
{\mkbibordedition{#1}\addthinspace{}ed.}%
{#1\isdot}}
% removes period at the very end of bibliographic record
\renewcommand{\finentrypunct}{}
% removes period after DOI and suppresses capitalization
% of the word following DOI (“See p. xx” -> “see p. xx”)
\renewcommand{\newunitpunct}{\addspace\midsentence}
\DeclareFieldFormat{journaltitle}{\mkbibemph{#1},} % italic journal title with comma
\DeclareFieldFormat[inbook,thesis]{title}{\mkbibemph{#1}\addperiod} % italic title with period
\DeclareFieldFormat[article]{title}{#1} % title of journal article is printed as normal text
\DeclareFieldFormat[article]{volume}{\textbf{#1}\addcolon\space} % makes volume of journal bold and adds colon
\DeclareFieldFormat{pages}{#1} % removes pagination (p./pp.) before page numbers
%%%%%%%%%
% the command \sjcitep defined below prints footnote citation above punctuation
\newlength{\spc} % declare a variable to save spacing value
\newcommand{\sjcitep}[2][]{% new command with two arguments: optional (#1) and mandatory (#2)
\settowidth{\spc}{#1}% set value of \spc variable to the width of #1 argument
\addtolength{\spc}{-1.8\spc}% subtract from \spc about two (1.8) of its values making its magnitude negative
#1% print the optional argument
\hspace*{\spc}% print an additional negative spacing stored in \spc after #1
\supershortnotecite{#2}}% print (cite) the mandatory argument
%%%%%%%%%
\bibliography{example_ref_list} % includes file “example_ref_list.bib” with data on the cited references
\begin{document}
\input{example_text.tex}
% prints author names as small caps
\renewcommand{\mkbibnamefirst}[1]{\textsc{#1}}
\renewcommand{\mkbibnamelast}[1]{\textsc{#1}}
\renewcommand{\mkbibnameprefix}[1]{\textsc{#1}}
\renewcommand{\mkbibnameaffix}[1]{\textsc{#1}}
\printbibliography
\end{document} `
in cui il file example_text.tex è presente nel file .rar fornito sul sito così come, ovviamente, example_ref_list.bib
Eseguendolo con pdflatex+makeindex+bibtex, come ho detto, funziona ma non appena prendo semplicemente la parte:
`\usepackage[hyperref=true,
url=false,
isbn=false,
backref=true,
style=custom-numeric-comp,
citereset=chapter,
maxcitenames=3,
maxbibnames=100,
backend=bibtex, % while checking on one of my (newest) systems, this option was needed to generate bibliography
block=none]{biblatex}`
e la inserisco nel mio documento mi dà il seguente errore:
`! Package biblatex Error: Style 'custom-numeric-comp' not found.
See the biblatex package documentation for explanation.
Type H
…
l.10497 \RequireBibliographyStyle{\blx@bbxfile}`