书目:书目条目的缩写

书目:书目条目的缩写

再次,我需要你帮助我教授规定的参考书目样式。在语言学中,我们喜欢使用内联引用中的缩写来缩写词典或字典,并在参考书目中注明。它应该看起来像这样: 在此处输入图片描述

到目前为止我有以下内容:

\documentclass[a4paper, 12pt]{scrreprt}

\usepackage[utf8]{inputenc}
\usepackage[french, ngerman]{babel}
\usepackage[T1]{fontenc}

\usepackage[autostyle]{csquotes}
\usepackage[backend=biber, style=ext-authoryear, innamebeforetitle=true, innameidem=true, maxcitenames=2, dashed=false]{biblatex}

\DefineBibliographyExtras{french}{\restorecommand\mkbibnamefamily}

\DeclareNameAlias{sortname}{family-given}
\DeclareNameAlias{ineditor}{sortname}

\DeclareDelimFormat[bib]{multinamedelim}{\addspace\slash\space}
\DeclareDelimAlias*[bib]{finalnamedelim}{multinamedelim}

\DeclareFieldFormat{editortype}{\mkbibparens{#1}}
\DeclareDelimFormat{editortypedelim}{\addspace}
\DeclareFieldAlias{translatortype}{editortype}
\DeclareDelimAlias{translatortypedelim}{editortypedelim}

\DeclareDelimFormat[bib]{nametitledelim}{\adddot\space}

\DeclareDelimFormat{multinamedelim}{\slash}
\DeclareDelimFormat{finalnamedelim}{\slash}

\renewbibmacro*{in:}{%
  \setunit{\addcomma\space}%
  \bibstring{in}%
  \printunit{\intitlepunct}}

\renewbibmacro*{volume+number+eid}{%
  \printfield{volume}%
  \setunit*{\addnbthinspace}%
  \printfield{number}%
  \setunit{\addcomma\space}%
  \printfield{eid}}
\DeclareFieldFormat[article]{number}{\mkbibparens{#1}}

\urlstyle{same}
\DeclareFieldFormat{url}{URL: <\url{#1}>}
\DeclareFieldFormat{urldate}{\mkbibbrackets{#1}}

\DefineBibliographyStrings{german}{
  editor  = {Hrsg\adddot},
  editors = {Hrsg\adddot},
}

\DeclareFieldFormat{superedition}{\textsuperscript{#1}}
\makeatletter
\renewbibmacro*{date+extradate}{%
  \iffieldundef{origyear}{%
  }{%
    \setunit*{\addspace}%
    \printtext{\mkbibbrackets{\printorigdate}}%
    \setunit*{\addspace}
  }%
  \iffieldundef{labelyear}
    {}
    {\printtext[\blx@delimcontext labeldate]{%
       \printfield[superedition]{edition}%
       \global\clearfield{edition}%
       \iflabeldateisdate
         {\printdateextra}
         {\printlabeldateextra}}}}
\makeatother

\renewbibmacro*{series+number}{%
  \setunit{\addspace}%
  \iffieldundef{series}
    {}
    {\printtext[parens]{%
       \printfield{series}%
       \setunit*{\sernumdelim}%
       \printfield{number}}}%
  \newunit}

\renewbibmacro*{byeditor+others}{%
  \ifnameundef{editor}
    {}
    {\setunit{\addcomma\addspace}%
     \usebibmacro{byeditor+othersstrg}%
     \setunit{\addspace}%
     \printnames[byeditor]{editor}%
     \clearname{editor}%
     \setunit{\addspace}%
     \newunit}%
  \usebibmacro{byeditorx}%
  \usebibmacro{bytranslator+others}}

\begin{filecontents}{literatur.bib}
@book{Battaglia,
author = {Battaglia, Salvatore},
title = {Grande dizionario della lingua italiana},
publisher = {UTET},
year = {1961--2008},
address = {Turin},
volumes = 21,
}

@book{Holtus,
editor = {Günther, Holtus and Metzeltin, Michael and Schmitt, Christian},
maintitle = {Lexikon der Romanistischen Linguistik},
title = {Kontakt, Migration und Kunstsprachen. Kontrastivität, Klassifikation und Typologie},
volume = {7},
address = {Tübingen},
publisher = {Niemeyer},
}
\end{filecontents}

\bibliography{literatur}

\begin{document}

\glqq Il participio dei verbi intransitivi coniugati con *essere* è accordato con il soggetto\grqq{} (\cite{Battaglia}: 117).\\
\dots\ (vgl. GDLI: 613).
\printbibliography

\end{document}

我已经看过 Biblatex 软件包手册,但我不知道“缩写 =作者...”以及如何在内联引用中显示缩写。

如果你能再次帮助我,我就真的很开心了。

答案1

您将需要使用该字段shorthand来提供简写(西格尔) 以供引用。

这些shorthands会自动覆盖引文输出,但它们通常不会显示在参考书目中。相反,它们会在专用的简写列表中解析。

\documentclass[french, ngerman]{article}
\usepackage[T1]{fontenc}
\usepackage{babel}
\usepackage{csquotes}

\usepackage[backend=biber, style=authoryear]{biblatex}

\begin{filecontents}{\jobname.bib}
@mvbook{Battaglia,
  author    = {Battaglia, Salvatore},
  title     = {Grande dizionario della lingua italiana},
  publisher = {UTET},
  date      = {1961/2008},
  address   = {Turin},
  volumes   = 21,
  shorthand = {GDLI},
}
@book{Holtus,
  editor    = {Günther, Holtus and Metzeltin, Michael and Schmitt, Christian},
  maintitle = {Lexikon der Romanistischen Linguistik},
  title     = {Kontakt, Migration und Kunstsprachen.
               Kontrastivität, Klassifikation und Typologie},
  volume    = {7},
  address   = {Tübingen},
  publisher = {Niemeyer},
  shorthand = {LRL7},
}
\end{filecontents}
\addbibresource{\jobname.bib}
\addbibresource{biblatex-examples.bib}

\begin{document}
Lorem \autocite{Battaglia,Holtus,sigfridsson}

\printbiblist{shorthand}
\printbibliography
\end{document}

引用、简写和参考文献列表。

如果您想要合并速记列表和参考书目,那么像下面这样打印出来shorthand可能begentry会有效。

\documentclass[a4paper, 12pt]{article}

\usepackage[utf8]{inputenc}
\usepackage[french, ngerman]{babel}
\usepackage[T1]{fontenc}

\usepackage[autostyle]{csquotes}
\usepackage[
  backend=biber,
  style=ext-authoryear,
  innamebeforetitle=true,
  innameidem=true,
  maxcitenames=2,
  dashed=false,
]{biblatex}

\DefineBibliographyExtras{french}{\restorecommand\mkbibnamefamily}

\DeclareNameAlias{sortname}{family-given}
\DeclareNameAlias{ineditor}{sortname}

\DeclareDelimFormat[bib]{multinamedelim}{\addspace\slash\space}
\DeclareDelimFormat{multinamedelim}{\slash}
\DeclareDelimAlias{finalnamedelim}{multinamedelim}

\DeclareFieldFormat{editortype}{\mkbibparens{#1}}
\DeclareDelimFormat{editortypedelim}{\addspace}
\DeclareFieldAlias{translatortype}{editortype}
\DeclareDelimAlias{translatortypedelim}{editortypedelim}

\DeclareDelimFormat[bib]{nametitledelim}{\adddot\space}

\renewbibmacro{begentry}{%
  \printfield{shorthand}%
  \setunit*{\addspace=\space}%
}

\renewbibmacro*{in:}{%
  \setunit{\addcomma\space}%
  \bibstring{in}%
  \printunit{\intitlepunct}}

\renewbibmacro*{volume+number+eid}{%
  \printfield{volume}%
  \setunit*{\addnbthinspace}%
  \printfield{number}%
  \setunit{\addcomma\space}%
  \printfield{eid}}
\DeclareFieldFormat[article]{number}{\mkbibparens{#1}}

\urlstyle{same}
\DeclareFieldFormat{url}{URL: <\url{#1}>}
\DeclareFieldFormat{urldate}{\mkbibbrackets{#1}}

\DefineBibliographyStrings{german}{
  editor  = {Hrsg\adddot},
  editors = {Hrsg\adddot},
}

\DeclareFieldFormat{superedition}{\textsuperscript{#1}}
\makeatletter
\renewbibmacro*{date+extradate}{%
  \iffieldundef{origyear}{%
  }{%
    \setunit*{\addspace}%
    \printtext{\mkbibbrackets{\printorigdate}}%
    \setunit*{\addspace}
  }%
  \iffieldundef{labelyear}
    {}
    {\printtext[\blx@delimcontext labeldate]{%
       \printfield[superedition]{edition}%
       \global\clearfield{edition}%
       \iflabeldateisdate
         {\printdateextra}
         {\printlabeldateextra}}}}
\makeatother

\renewbibmacro*{series+number}{%
  \setunit{\addspace}%
  \iffieldundef{series}
    {}
    {\printtext[parens]{%
       \printfield{series}%
       \setunit*{\sernumdelim}%
       \printfield{number}}}%
  \newunit}

\renewbibmacro*{byeditor+others}{%
  \ifnameundef{editor}
    {}
    {\setunit{\addcomma\addspace}%
     \usebibmacro{byeditor+othersstrg}%
     \setunit{\addspace}%
     \printnames[byeditor]{editor}%
     \clearname{editor}%
     \setunit{\addspace}%
     \newunit}%
  \usebibmacro{byeditorx}%
  \usebibmacro{bytranslator+others}}

\begin{filecontents}{\jobname.bib}
@mvbook{Battaglia,
  author    = {Battaglia, Salvatore},
  title     = {Grande dizionario della lingua italiana},
  publisher = {UTET},
  date      = {1961/2008},
  address   = {Turin},
  volumes   = 21,
  shorthand = {GDLI},
}
@book{Holtus,
  editor    = {Günther, Holtus and Metzeltin, Michael and Schmitt, Christian},
  maintitle = {Lexikon der Romanistischen Linguistik},
  title     = {Kontakt, Migration und Kunstsprachen.
               Kontrastivität, Klassifikation und Typologie},
  volume    = {7},
  address   = {Tübingen},
  publisher = {Niemeyer},
  shorthand = {LRL7},
}
\end{filecontents}
\addbibresource{\jobname.bib}
\addbibresource{biblatex-examples.bib}

\begin{document}
\enquote{Il participio dei verbi intransitivi coniugati con *essere* è accordato con il soggetto}
\autocite[117]{Battaglia}

Lorem \autocite{Holtus,sigfridsson}

\printbibliography
\end{document}

GDLI = 巴塔利亚,萨尔瓦托 (1961–2008)。意大利语大词典。 21 旅。都灵:UTET。


请注意,使用dateISO 8601 格式的字段,而year不是Battaglia

相关内容