
Я хотел бы, чтобы biblatex печатал только название соответствующей записи в библиографии. Используя следующий MWE:
\documentclass{article}
\usepackage[backend=biber,style=authoryear]{biblatex}
\usepackage{filecontents}
\begin{filecontents}{my.bib}
@Inproceedings{Frege1897a,
author = {Frege, Gottlob},
title = {Über die Begriffsschrift des Herrn Peano und meine eigene},
booktitle = {Berichte über die Verhandlungen der Königlich Sächsischen Gesellschaft der Wissenschaften zu Leipzig: Mathematisch-physische Klasse},
date = {1897},
pages = {361--378},
volume = {48},
related = {Frege1984h},
relatedstring = {English\addspace title},
shorthand = {PCN},
}
@Inbook{Frege1984h,
author = {Frege, Gottlob},
title = {On Mr. Peano's Conceptual Notation and My Own},
date = {1984},
pages = {234--248},
crossref = {Frege1984},
}
@Book{Frege1984,
author = {Frege, Gottlob},
title = {Collected Papers on Mathematics, Logic, and Philosophy},
date = {1984},
location = {Oxford},
publisher = {Blackwell},
translator = {Black, Max},
editor = {McGuinness, Brian},
shorthand = {CP},
}
\end{filecontents}
\addbibresource{my.bib}
\begin{document}
\cite{Frege1897a}.
\printbibliography
\end{document}
я получил
Я бы хотел, чтобы не было ничего после `... My Own'; т. е. опустить "В: Готтлоб Фреге. Сборник статей по математике, логике и философии. Ред. Брайан МакГиннесс. Перевод Макса Блэка. Оксфорд: Blackwell, 1984, 234-248".
решение1
Вы можете создать новый связанный тип.
- Добавить
relatedtype={englishtitle}
к вашей записи - Вы можете снять его
relatedstring
и положить в наш новыйrelated:englishtitle
макрос. Создайте
related:englishtitle
макрос следующего вида:\newbibmacro*{related:englishtitle}[1]{% \entrydata{#1}{% \printtext{English title}% \setunit{\addspace}% \usebibmacro{title}}}
Полный МВЭ
\usepackage[backend=biber,style=authoryear]{biblatex}
\usepackage{filecontents}
\begin{filecontents}{my.bib}
@Inproceedings{Frege1897a,
author = {Frege, Gottlob},
title = {Über die Begriffsschrift des Herrn Peano und meine eigene},
booktitle = {Berichte über die Verhandlungen der Königlich Sächsischen Gesellschaft der Wissenschaften zu Leipzig: Mathematisch-physische Klasse},
date = {1897},
pages = {361--378},
volume = {48},
related = {Frege1984h},
relatedtype = {englishtitle},
shorthand = {PCN},
}
@Inbook{Frege1984h,
author = {Frege, Gottlob},
title = {On Mr. Peano's Conceptual Notation and My Own},
date = {1984},
pages = {234--248},
crossref = {Frege1984},
}
@Book{Frege1984,
author = {Frege, Gottlob},
title = {Collected Papers on Mathematics, Logic, and Philosophy},
date = {1984},
location = {Oxford},
publisher = {Blackwell},
translator = {Black, Max},
editor = {McGuinness, Brian},
shorthand = {CP},
}
\end{filecontents}
\addbibresource{my.bib}
\newbibmacro*{related:englishtitle}[1]{%
\entrydata{#1}{%
\printtext{English title}%
\setunit{\addspace}%
\usebibmacro{title}}}
\begin{document}
\cite{Frege1897a}.
\printbibliography
\end{document}