%20%D0%B2%20%D0%B7%D0%B0%D0%B3%D0%BE%D0%BB%D0%BE%D0%B2%D0%BA%D0%B5%20%D0%BA%D0%BE%D0%BD%D1%86%D0%B5%D0%B2%D0%BE%D0%B9%20%D1%81%D0%BD%D0%BE%D1%81%D0%BA%D0%B8%20%D0%BF%D1%80%D0%B8%D0%B2%D0%BE%D0%B4%D0%B8%D1%82%20%D0%BA%20%D1%81%D0%B1%D0%BE%D1%8E%20%D0%BA%D0%BE%D0%BC%D0%BF%D0%B8%D0%BB%D1%8F%D1%86%D0%B8%D0%B8.png)
Я хотел бы выделить курсивомHomo sapiensв цитируемой ссылке в моих примечаниях. Unitalicized работает отлично. Добавьте \textit{} и компиляция даст сбой.
Минимальный нерабочий test.bib:
@online{sib_swiss_institute_of_bioinformatics_q8wz42_nodate,
title = {Q8WZ42 ({TITIN}\_HUMAN) \textit{Homo sapiens} (Human)},
url = {https://swissmodel.expasy.org/repository/uniprot/Q8WZ42},
author = {{SIB Swiss Institute of Bioinformatics}},
urldate = {2024-01-04},
}
Это работает нормально, если \textit{} не используется в поле заголовка ссылки:
\documentclass[a4paper]{article}
\usepackage[notes,notetype=endonly,isbn=false,doi=false,url=false,backend=biber]{biblatex-chicago}
\usepackage{endnotes}
\addbibresource{test.bib}
\begin{document}
Lorem ipsum dolor\autocite{sib_swiss_institute_of_bioinformatics_q8wz42_nodate}
\theendnotes
\end{document}
решение1
Я предлагаю использовать enotez
, но проблема та же; обходной путь доступен,
\begin{filecontents*}[overwrite]{\jobname.bib}
@online{sib_swiss_institute_of_bioinformatics_q8wz42_nodate,
title = {Q8WZ42 ({TITIN}\_HUMAN) \textit{Homo sapiens} (Human)},
url = {https://swissmodel.expasy.org/repository/uniprot/Q8WZ42},
author = {{SIB Swiss Institute of Bioinformatics}},
urldate = {2024-01-04},
}
\end{filecontents*}
\documentclass[a4paper]{article}
\usepackage[
notes,
notetype=endonly,
isbn=false,
doi=false,
url=false,
backend=biber
]{biblatex-chicago}
\usepackage{enotez}
\addbibresource{\jobname.bib}
\NewCommandCopy{\latextextit}{\textit}
\RenewDocumentCommand{\textit}{m}{\latextextit{#1}}
\begin{document}
Lorem ipsum dolor\autocite{sib_swiss_institute_of_bioinformatics_q8wz42_nodate}
\printendnotes
\end{document}
Но тоже endnotes
своего рода работы.
\begin{filecontents*}[overwrite]{\jobname.bib}
@online{sib_swiss_institute_of_bioinformatics_q8wz42_nodate,
title = {Q8WZ42 ({TITIN}\_HUMAN) \textit{Homo sapiens} (Human)},
url = {https://swissmodel.expasy.org/repository/uniprot/Q8WZ42},
author = {{SIB Swiss Institute of Bioinformatics}},
urldate = {2024-01-04},
}
\end{filecontents*}
\documentclass[a4paper]{article}
\usepackage[
notes,
notetype=endonly,
isbn=false,
doi=false,
url=false,
backend=biber
]{biblatex-chicago}
\usepackage{endnotes}
\addbibresource{\jobname.bib}
\NewCommandCopy{\latextextit}{\textit}
\RenewDocumentCommand{\textit}{m}{\latextextit{#1}}
\begin{document}
Lorem ipsum dolor\autocite{sib_swiss_institute_of_bioinformatics_q8wz42_nodate}
\theendnotes
\end{document}
Однако я всегда получаю
Package biblatex Warning: Please (re)run Biber on the file:
(biblatex) paulend
(biblatex) and rerun LaTeX afterwards.