Doc” post=88726Ciao a tutti,
quello che mi chiedo è se è possibile, in una bibliografia, ottenere dei riferimenti incrociati a sigle bibliografiche, anziché al nome degli autori/curatori.
Per farmi capire meglio, ecco un esempio:
`% !TeX program = XeLaTeX
% !TeX encoding = UTF-8
% !TeX spellcheck = it_IT
% !TeX root = Libro.tex\begin{filecontents*}{biblio.bib}
@PROCEEDINGS{Harlfinger1991,
title = {Paleografia e codicologia greca},
year = {1991},
titleaddon = {Atti del II Colloquio internazionale (Berlino — Wolfenbüttel, 17-21
ottobre 1983)},
location = {Alessandria},
editor = {Harlfinger, D. and Prato, G.},
number = {3},
series = {Biblioteca di Scrittura e Civiltà},
keywords = {sigle},
shorthand = {\textit{PCG}},
sortshorthand = {PCG}
}@PROCEEDINGS{DAncona2007,
title = {The Libraries of Neoplatonists},
year = {2007},
titleaddon = {Proceedings of the Meeting of the European Science Foundation Network
“Late Antiquity and Arabic Thought. Patterns in the Constitution
of European Culture” (Strasbourg, March 12-14, 2004)},
location = {Leiden — Boston},
editor = {D'Ancona, C.},
number = {107},
series = {Philosophia Antiqua},
publisher = {Brill},
keywords = {sigle},
file = {:Litterae/Neoplatonica/D'Ancona, The Libraries of Neoplatonists.pdf:PDF},
shorthand = {\textit{Libraries of Neoplatonists}},
sortshorthand = {Libraries of Neoplatonists}
}@INPROCEEDINGS{Agati1991,
author = {Agati, Maria Luisa},
title = {Problemi di tratteggio e ductus nella minuscola libraria più antica},
year = {1991},
pages = {47–66},
keywords = {studi},
crossref = {Harlfinger1991},
location = {Alessandria}
}@INPROCEEDINGS{Alpers1991,
author = {Alpers, Klaus},
title = {Marginalien zur Überlieferung der griechischen Etymologika},
year = {1991},
pages = {523–541},
keywords = {studi},
crossref = {Harlfinger1991},
location = {Alessandria}
}@INPROCEEDINGS{Saffrey2007,
author = {Saffrey, H. D.},
title = {Retour sur le Parisinus Graecus 1807 le manuscrit de Platon},
year = {2007},
pages = {3–28},
keywords = {studi},
booktitleaddon = {Proceedings of the Meeting of the European Science Foundation Network
“Late Antiquity and Arabic Thought. Patterns in the Constitution
of European Culture” (Strasbourg, March 12–14, 2004)},
crossref = {DAncona2007},
file = {:Litterae/Neoplatonica/D'Ancona, The Libraries of Neoplatonists.pdf:PDF},
location = {Leiden — Boston}
}\end{filecontents*}
\documentclass{book}
\usepackage{fontspec}\usepackage[style=italian]{csquotes}
\usepackage[style=philosophy-classic]{biblatex}\usepackage{filecontents}
\addbibresource{biblio.bib}\defbibheading{sigle}%
{\section{Abbreviazioni Bibliografiche}}\defbibheading{studi}%
{\section{Studi}}\usepackage{hyperref}
\begin{document}
\nocite{*}
\printshorthands[heading=sigle,keyword=sigle]
\printbibliography[heading=studi,keyword=studi]
\end{document}`
In breve, io vorrei ottenere un riferimento incrociato con [tt]PCG[/tt], e NON con [tt]Harlfinger et al.[/tt] (in cui, tra l’altro, il click non funziona).È dunque possibile?
Ciao e grazie anticipate a tutti!
Domenico
Aggiungi questo:
`\makeatletter
\DeclareCiteCommand{\bbx@crossref@incollection}%
{}%
{\iffieldundef{shorthand}{%
\usebibmacro{citeindex}%
\ifuseeditor{%
\ifthenelse{\value{listtotal}=2}%
{\printnames[][-\value{maxnamesincross}]{labelname}}%
{\printnames[][-\value{minnamesincross}]{labelname}}}%
{\usebibmacro{labeltitle}}%
\setunit*{\addspace}%
\usebibmacro{date+extrayear}}
{\usebibmacro{cite:shorthand}}}%
{}%
{}%
\makeatother`
Nell’esempio che hai fornito il link non funziona perché il target non è presente in bibliografia.
Questa infatti comprende solo le voci con keyword=studi. Basta aggiungere keyword=studi alla voce
“Harlfinger1991” e tutto funziona a dovere. Preciso che i link all’interno della bibliografia si riferiscono a
voci della bibliografia, non a quelle presenti nelle sigle.
Ciao
Ivan