OSCOLA Biblatex 和联合国决议

OSCOLA Biblatex 和联合国决议

我想使用 OSCOLA Biblatex 包(来自 Paul Stanley)引用联合国决议。我在 .bib 文件中的条目如下:

@misc{UNGA_Res2222, 
  institution  = {UNGA},
  title        = {Treaty on Principles Governing the Activities of States in the Exploration and Use of Outer Space, including the Moon and Other Celestial Bodies}, 
  instrument_no= {RES 2222 (XXI)}, 
  date         = {1966-12-19},
  entrysubtype = {undoc}}

并让 biblatex 包参与其中

\usepackage[style=oscola,
        indexing=cite,
        backend=biber,
        ecli=yes,
        babel=hyphen]{biblatex}

但似乎没有“虚拟索引”可以与联合国决议挂钩。

答案1

这取决于您运行什么程序来生成索引。

在这里,我使用 imakeidx 包(还有其他包)并执行

\usepackage[splitindex]{imakeidx}
\makeindex[name=cases, title={Table of Cases}]
\makeindex[name=unres, title={Table of UN Resolutions},columns=1]

然后运行

latex, biber, latex, latex, splitindex, latex, splitindex, latex

在插入每个组件时确定页码。

联合国决议

平均能量损失

\begin{filecontents*}[overwrite]{\jobname.bib}
@misc{UNGA_Res2222, 
  institution  = {UNGA},
  title        = {Treaty on Principles Governing the Activities of States in the Exploration and Use of Outer Space, including the Moon and Other Celestial Bodies}, 
  instrument_no= {RES 2222 (XXI)}, 
  date         = {1966-12-19},
  entrysubtype = {undoc},
  tabulate = {unres},
  }
\end{filecontents*}  
  
\documentclass{article}

\usepackage{fontspec}
\setmainfont{Noto Serif}
\usepackage[style=oscola,
        indexing=cite,
        backend=biber,
        ecli=yes,
        babel=hyphen,
        autocite=footnote,
        ]{biblatex}
        
\addbibresource{\jobname.bib}
\usepackage[splitindex]{imakeidx}
\makeindex[name=cases, title={Table of Cases}]
\makeindex[name=unres, title={Table of UN Resolutions},columns=1]




\begin{document}
\printindexearly[unres]


text\autocite{UNGA_Res2222}

latex, biber, latex, latex, splitindex, latex, splitindex, latex

\end{document}

以及脚注:

脚注


如果您的作品不是合法作品,请\printindex[unres]在文档末尾执行。

相关内容