
Я использую biblatex-chicago
для своей статьи. Поскольку мне нужно цитировать много правовых актов, я использую запись «стенография», чтобы представить сокращенную форму некоторых актов (например, Закон № 17.336 о правах интеллектуальной собственности, далее «IPRA»).
Проблема в том, что я хочу поместить сокращение «IPRA» в кавычки только в первой цитате и не знаю, как это сделать.
Мое первое приближение было редактирование строки "citeas". На самом деле я просто отредактировал, чтобы исправить сокращенное вступление на испанском языке
\DefineBibliographyStrings{spanish}{citedas = {en adelante}}
Эту строку мне нужно изменить, чтобы появились кавычки? (например, en alante "IPRA")
Редактировать:Вот MWE
\documentclass[a4paper]{article}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{libertine}
\usepackage[spanish]{babel}
\usepackage[libertine]{newtxmath}
\usepackage{csquotes}
\usepackage[notes,backend=biber]{biblatex-chicago}
\usepackage{filecontents}
\begin{filecontents}{sample.bib}
@misc{LPC,
address = {},
author = {{Congreso Nacional}},
number = {4},
pages = {1--12},
publisher = {Diario Oficial},
shorthand = {LPC},
title = {{Ley 19.496 sobre Protección a los Derechos de los Consumidores}},
year = {1997}
}
\end{filecontents}
\bibliography{sample}
\DefineBibliographyStrings{spanish}{citedas = {en adelante}}
\begin{document}
\title{Medios de Pago}
\author{\textsc{Víctor Andrade R}.\thanks{J.D. Universidad de Chile}}
\maketitle
\begin{abstract}
Esto es una prueba
\end{abstract}
\section{Introducción}
Según señala \autocite{LPC}
\printbibliography[nottype=misc, title =Referencias]
\printbibliography[type=misc,title=Normas Citadas]
\end{document}
Привет,
решение1
С biblatexte-chicago
соответствующим макросом cms:shorthandintro
.
\DeclareFieldFormat{shorthandintro}{\mkbibquote{#1\isdot}}
\renewbibmacro*{cms:shorthandintro}{% For changing the citedas phrase
\iffieldundef{shorthand}%
{}%
{\iffieldundef{shorthandintro}%
{%\addspace%\setunit{\addspace}% Fix for after postnote field
\printtext[parens]{%
\bibstring{citedas}\space%
\printfield[shorthandintro]{shorthand}}}%
{%\addspace%\setunit{\addspace}% Ditto
\printfield{shorthandintro}}}}
Для biblatex
стандартных стилей (таких как verbose
-family) нам нужно изменитьshorthandintro
\DeclareFieldFormat{shorthandintro}{\mkbibquote{#1\isdot}}
\newbibmacro*{shorthandintro}{%
\iffieldundef{shorthandintro}
{\iffieldundef{shorthand}
{}
{\setunit{\addspace}%
\printtext[parens]{%
\bibstring{citedas}\space
\printfield[shorthandintro]{shorthand}}}}
{\setunit{\addspace}%
\printtext[parens]{\printfield{shorthandintro}}}}