From ddaf122566480fe48b9786c172e647ca0ea4c6d5 Mon Sep 17 00:00:00 2001
From: Norbert Preining <norbert@preining.info>
Date: Fri, 23 Jun 2023 03:00:58 +0000
Subject: CTAN sync 202306230300

---
 .../biblatex-contrib/biblatex-oxref/oxref.dtx      | 522 +++++++++++++++++++--
 1 file changed, 474 insertions(+), 48 deletions(-)

(limited to 'macros/latex/contrib/biblatex-contrib/biblatex-oxref/oxref.dtx')

diff --git a/macros/latex/contrib/biblatex-contrib/biblatex-oxref/oxref.dtx b/macros/latex/contrib/biblatex-contrib/biblatex-oxref/oxref.dtx
index 6ce62d568e..ba420f12dd 100644
--- a/macros/latex/contrib/biblatex-contrib/biblatex-oxref/oxref.dtx
+++ b/macros/latex/contrib/biblatex-contrib/biblatex-oxref/oxref.dtx
@@ -1,6 +1,6 @@
 % \iffalse
 %<*internal|bbx|cbx|dbx|lbx|doc>
-\def\Version{2023/02/01 v3.0}
+\def\Version{2023/06/06 v3.1}
 %</internal|bbx|cbx|dbx|lbx|doc>
 %<*internal>
 \iffalse
@@ -83,6 +83,10 @@
 \ProvidesFile{american-oxref.lbx}
     [\Version\space American English conventions required by the biblatex-oxref styles]
 %</lbx&us>
+%<*lbx&es>
+\ProvidesFile{spanish-oxref.lbx}
+    [\Version\space Spanish conventions required by the biblatex-oxref styles]
+%</lbx&es>
 %<*doc&n>
 \ProvidesFile{oxnotes-doc.tex}
     [\Version\space Footnote-based biblatex style inspired by the Oxford Guide to Style]
@@ -215,6 +219,7 @@ Copyright (C) 2016–2023 Alex Ball
   \file{american-\jobname.lbx}{\from{\jobname.dtx}{lbx,us}}
   \file{british-\jobname.lbx}{\from{\jobname.dtx}{lbx,gb}}
   \file{english-\jobname.lbx}{\from{\jobname.dtx}{lbx,en}}
+  \file{spanish-\jobname.lbx}{\from{\jobname.dtx}{lbx,es}}
   \file{oxnotes-doc.tex}{\from{\jobname.dtx}{doc,n}}
   \file{oxnum-doc.tex}{\from{\jobname.dtx}{doc,m}}
   \file{oxalph-doc.tex}{\from{\jobname.dtx}{doc,a}}
@@ -292,6 +297,12 @@ Copyright (C) 2016–2023 Alex Ball
 \colorlet{hacked}{orange}
 \colorlet{manual}{purple}
 
+\usepackage{iftex}
+\ifluatex
+  % Fix spacing in tcolorbox
+  \usepackage{luacolor}
+\fi
+
 \usepackage{tcolorbox}
 \tcbuselibrary{skins,xparse,documentation,breakable,minted}
 \colorlet{Option}{violet}
@@ -633,6 +644,9 @@ Copyright (C) 2016–2023 Alex Ball
   \endgroup
 }
 \makeatother
+\AtBeginDocument{%
+\hypersetup{linkcolor=black}%
+}
 
 \GetFileInfo{\jobname.dtx}
 \title{OXREF -- Biblatex styles inspired by the \emph{Oxford Guide to Style}}
@@ -642,7 +656,28 @@ Copyright (C) 2016–2023 Alex Ball
 %<doc&a>\title{OXALPH -- An alphabetic style for Biblatex}
 %<doc&y>\title{OXYEAR -- An author–year style for Biblatex}
 %<*driver|doc>
+
+\newcounter{elementcount}
+\newcommand{\commaorandlist}[1]{%
+  \renewcommand*{\do}[1]{\stepcounter{elementcount}}%
+  \dolistloop{#1}%
+  \ifnumgreater{\value{elementcount}}{2}{%
+    \def\finaland{, and }%
+  }{%
+    \def\finaland{ and }%
+  }%
+  \renewcommand*{\do}[1]{%
+    \ifnumequal{\value{elementcount}}{1}{%
+      ##1%
+    }{%
+      \ifnumequal{\value{elementcount}}{2}{#1\finaland}{##1, }%
+    }%
+    \addtocounter{elementcount}{-1}%
+  }%
+  \dolistloop{#1}}
+
 \author{Alex Ball}
+\listadd\thetranslators{Bruno Maltras}
 \date{\printdateTeX{\filedate}}
 \begin{document}
 \thispagestyle{empty}
@@ -654,7 +689,8 @@ Copyright (C) 2016–2023 Alex Ball
   \LARGE\thetitle
 
   \bigskip
-  \Large\theauthor
+  \Large\theauthor\par
+  \normalsize with translations by \commaorandlist\thetranslators
 
   \bigskip
   \Large\thedate
@@ -668,7 +704,9 @@ Copyright (C) 2016–2023 Alex Ball
 \hspace*{.1\textwidth}\raisebox{0pt}[0pt][0pt]{\rule{\normalrulethickness}{\textheight}}
 
 \newpage
-\tableofcontents*
+\begin{KeepFromToc}
+\tableofcontents
+\end{KeepFromToc}
 
 %</driver|doc>
 %<*driver>
@@ -760,7 +798,8 @@ UNIX-like systems:
       - oxnotes.cbx, oxnotes-ibid.cbx, oxnotes-note.cbx, oxnotes-inote.cbx,
         oxnotes-trad1.cbx, oxnotes-trad2.cbx, oxnotes-trad3.cbx, oxyear.cbx,
         oxnum.cbx, oxalph.cbx
-      - american-oxref.lbx, british-oxref.lbx, english-oxref.lbx
+      - american-oxref.lbx, british-oxref.lbx, english-oxref.lbx,
+        spanish-oxref.lbx
       - oxnotes.dbx, oxnotes-ibid.dbx, oxnotes-note.dbx, oxnotes-inote.dbx,
         oxnotes-trad1.dbx, oxnotes-trad2.dbx, oxnotes-trad3.dbx, oxyear.dbx,
         oxnum.dbx, oxalph.dbx
@@ -803,6 +842,7 @@ first two steps.
         american-oxref.lbx,
         british-oxref.lbx,
         english-oxref.lbx,
+        spanish-oxref.lbx
         oxalph.bbx,
         oxalph.cbx,
         oxalph.dbx,
@@ -1953,6 +1993,48 @@ Unwin, T. (1994), \enquote{Structural Change in Estonian Agriculture: From Comma
 \end{Verbatim}
 \end{bibexbox}
 
+% Journal title is abbreviated, no following comma
+%</n|m|a|y>
+%<*n|m>
+\begin{bibexbox}<OGS \S15.4.1>
+{lindars1965eir}
+B. Lindars, \enquote{Ezechiel and Individual Responsibility}, \emph{VT} 15 (1965), 452–67.
+\tcblower
+\begin{Verbatim}
+%</n|m>
+%<*n|m|bib>
+@article{lindars1965eir,
+  author = {B. Lindars},
+  title = {Ezechiel and Individual Responsibility},
+  journaltitle = {VT},
+  volume = {15},
+  date = {1965},
+  pages = {452-467}}
+%</n|m|bib>
+%<*n|m>
+\end{Verbatim}
+\end{bibexbox}
+%</n|m>
+%<*n|m|a|y>
+
+If the last\slash only word of the journal title is abbreviated
+(indicated by point or capital letter), it does not need a comma after it.
+\pkg[biblatex]{Oxref} will try to detect this and adjust the punctuation accordingly;
+the list of characters that it uses is set with \cs{DeclareAbbrEndChars}.
+The default setting is this:
+
+\begin{tcblisting}{listing only}
+\DeclareAbbrEndChars{A\^{A}BCDEFG\u{G}HI\^{I}JKLMNO\"{O}\^{O}PQRSTU\"{U}\^{U}VWXYZ.}
+\end{tcblisting}
+
+There is also a starred version of the command that appends to this list:
+
+\begin{tcblisting}{listing only}
+\DeclareAbbrEndChars*{\c{C}\.{I}\c{S}}
+\end{tcblisting}
+
+\hack{To override this mechanism for a single entry, you can suppress the comma by adding \cs{nopunct} to the end of the journal (sub)title, or restore it by adding a pair of braces.}
+
 % Electronic identifier instead of a page range
 \begin{bibexbox}(hacked)
 %<n|m><NHR \S18.8.5*>
@@ -1977,31 +2059,6 @@ Unwin, T. (1994), \enquote{Structural Change in Estonian Agriculture: From Comma
 \end{Verbatim}
 \end{bibexbox}
 
-\hack{If the last\slash only word of the journal title is abbreviated (indicated by point or capital letter), it does not need a comma after it. \pkg[biblatex]{Oxref} will try to detect this; if it gets it wrong, you can suppress the comma by adding \cs{nopunct} to the end of the journal (sub)title, or restore it by adding a pair of braces.}
-
-%</n|m|a|y>
-%<*n|m>
-\begin{bibexbox}<OGS \S15.4.1>
-{lindars1965eir}
-B. Lindars, \enquote{Ezechiel and Individual Responsibility}, \emph{VT} 15 (1965), 452–67.
-\tcblower
-\begin{Verbatim}
-%</n|m>
-%<*n|m|bib>
-@article{lindars1965eir,
-  author = {B. Lindars},
-  title = {Ezechiel and Individual Responsibility},
-  journaltitle = {VT},
-  volume = {15},
-  date = {1965},
-  pages = {452-467}}
-%</n|m|bib>
-%<*n|m>
-\end{Verbatim}
-\end{bibexbox}
-%</n|m>
-%<*n|m|a|y>
-
 % Unsigned, with month as issue name
 \begin{bibexbox}
 %<n|m><OGS \S15.4.1*>
@@ -2681,7 +2738,8 @@ Rosemary Stewart et al. (eds.), \emph{Managing in Britain} (London, 1994).
 %</n|m>
 %<*n|m|bib>
 @collection{stewart.etal1994mb,
-  editor = {Rosemary Stewart and Jean-Louis Barsoux and Alfred Kieser and Hans-Dieter Ganter and Peter Walgenbach},
+  editor = {Rosemary Stewart and Jean-Louis Barsoux and Alfred Kieser and Hans-Dieter Ganter
+    and Peter Walgenbach},
   title = {Managing in {Britain}},
   location = {London},
   date = {1994}}
@@ -8493,7 +8551,7 @@ rather than \pkg[biblatex]{oxref}.}
 % In legal references, the truncated year is at least two digits.
 %
 %    \begin{macrocode}
-      \ifboolexpr{
+    \ifboolexpr{
       (
         test {\ifentrytype{jurisdiction}}
         or
@@ -8845,19 +8903,22 @@ rather than \pkg[biblatex]{oxref}.}
 \DeclareFieldFormat[article,periodical,suppperiodical,review]{entrysubtype}{\mkbibbrackets{#1}}
 %    \end{macrocode}
 %
-% We provide a command for testing if a title is abbreviated. We use the
-% traditional \LaTeX\ accent commands in case a non-Unicode input encoding is
-% being used. Testing for \c{C} and \c{S} causes errors when using OT1 encoding.
+% We provide a configurable command for testing if a title is abbreviated. We
+% test for ASCII capitals and a limited number of accented capitals by default,
+% but users can extend or replace the list if it causes problems.
 %
 %    \begin{macrocode}
-\newcommand*{\blx@ox@abbrevstring}{%
-  A\^{A}BCDEFG\u{G}HI\.{I}\^{I}JKLMNO\"{O}\^{O}PQRSTU\"{U}\^{U}VWXYZ.}%
-\AtBeginDocument{
-  \ifdefstring{\encodingdefault}{OT1}{}{%
-    \renewcommand*{\blx@ox@abbrevstring}{%
-      A\^{A}BC\c{C}DEFG\u{G}HI\.{I}\^{I}JKLMNO\"{O}\^{O}PQRS\c{S}TU\"{U}\^{U}VWXYZ.}%
-  }%
-}
+\global\let\blx@ox@abbrevstring\@empty
+\newrobustcmd*{\DeclareAbbrEndChars}{%
+  \@ifstar{%
+    \blx@ox@apptoabbrevstring
+  }{%
+    \global\let\blx@ox@abbrevstring\@empty
+    \blx@ox@apptoabbrevstring}}
+\def\blx@ox@apptoabbrevstring#1{
+  \xdef\blx@ox@abbrevstring{\blx@ox@abbrevstring#1}}
+\DeclareAbbrEndChars{%
+  A\^{A}BCDEFG\u{G}HI\^{I}JKLMNO\"{O}\^{O}PQRSTU\"{U}\^{U}VWXYZ.}%
 \newcommand*{\ifabbrev}[3]{%
   \StrRight{#1}{1}[\blx@ox@lastchar]%
   \expandafter\IfSubStr*{\blx@ox@abbrevstring}{\blx@ox@lastchar}{#2}{#3}%
@@ -15435,15 +15496,380 @@ reference,mvreference,inreference]{volume}{%
 \InheritBibliographyStrings{english}
 %    \end{macrocode}
 %
+% \iffalse %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%</us>
+%<*es>
+% \fi %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%
+% \section{Spanish: spanish-oxref.lbx}
+%
+% \setcounter{FancyVerbLine}{19}
+%
+% Thanks to Bruno Maltras for contributing these translations.
+%
+% We load the standard language-specific punctuation and date formatting.
+%
+%    \begin{macrocode}
+\InheritBibliographyExtras{spanish}
+%    \end{macrocode}
+%
+% We load the standard set of localization strings, then add our
+% adjustments.
+%
+%    \begin{macrocode}
+\DeclareBibliographyStrings{%
+  inherit          = {spanish},
+%    \end{macrocode}
+%
+% These are new strings defined by \pkg[biblatex]{oxref}:
+%
+% \begin{itemize}
+%   \item Roles expressed as functions
+% \end{itemize}
+%
+%    \begin{macrocode}
+  director         = {{direcci\'on}{dir\adddot}},
+  directors        = {{directores}{dirs\adddot}},
+  performer        = {{int\'erprete}{int\adddot}},
+  performers       = {{int\'erpretes}{ints\adddot}},
+  reader           = {{narraci\'on}{narr\adddot}},
+  readers          = {{narradores}{narrs\adddot}},
+  conductor        = {{direcci\'on}{dir\adddot}},
+  conductors       = {{directores}{dirs\adddot}},
+  serieseditor     = {{editor de la serie}{ed\adddotspace ser\adddot}},
+  serieseditors    = {{editores de la serie}{eds\adddotspace ser\adddot}},
+  holder           = {{titular}{tit\adddot},
+  holders          = {{titulares}{tits\adddot}},
+  editorcm         = {{editor y compilador}{ed\adddotspace y comp\adddot}},
+  editorcms        = {{editores y compiladores}{eds\adddotspace y comps\adddot}},
+%    \end{macrocode}
+%
+% \begin{itemize}
+%   \item Roles expressed as actions
+% \end{itemize}
+%
+%    \begin{macrocode}
+  byperformer      = {{interpretado por}{int\adddot}},
+  bydirector       = {{dirigido por}{dir\adddot}},
+  byreader         = {{narrado por}{narr\adddotspace por}},
+  byconductor      = {{dirigido por}{dir\adddot}},
+  byserieseditor   = {{editado por}{ed\adddot}},
+  byholder         = {{derechos de}{held by}},
+  byeditorcm       = {{editado y compilado por}{ed\adddotspace y comp\adddot}},
+%    \end{macrocode}
+%
+% \begin{itemize}
+%   \item Publication details
+% \end{itemize}
+%
+%    \begin{macrocode}
+  facsimile        = {{edici\'on facs\'imil}{ed\adddotspace facs\adddot}},
+  revised          = {{edici\'on revisada}{ed\adddotspace rev\adddot}},
+  revisedenlarged  = {{edici\'on revisada y ampliada}{ed\adddotspace rev\adddotspace y amp\adddot}},
+  revisedreprint   = {{reimpresi\'on revisada}{reimpr\adddotspace rev\adddot}},
+  suppto           = {{Suplemento de}{Supl\adddot de}},
+  equals           = {{=}{=}},
+  original         = {{original}{orig\adddot}},
+  amendedby        = {{enmendado por}{enmendado por}},
+%    \end{macrocode}
+%
+% \begin{itemize}
+%   \item Publication state
+% \end{itemize}
+%
+%    \begin{macrocode}
+  inpressin        = {{de pr\'oxima publicaci\'on en}{de pr\'ox\adddotspace publ\adddot}},
+%    \end{macrocode}
+%
+% \begin{itemize}
+%   \item Pagination
+% \end{itemize}
+%
+%    \begin{macrocode}
+  book             = {{libro}{lib\adddot}},
+  books            = {{libros}{libs\adddot}},
+  canto            = {{canto}{canto}},
+  cantos           = {{cantos}{cantos}},
+  stanza           = {{estrofa}{estr\adddot}},
+  stanzas          = {{estrofas}{estrs\adddot}},
+  act              = {{Acto}{Acto}},
+  acts             = {{Actos}{Actos}},
+  scene            = {{Escena}{Escena}},
+  scenes           = {{Escenas}{Escenas}},
+  folio            = {{folio}{fol\adddot}},
+  folios           = {{folios}{fols\adddot}},
+  article          = {{art\'iculo}{art\adddot}},
+  articles         = {{art\'iculos}{arts\adddot}},
+  clause           = {{cl\'ausula}{cl\adddot}},
+  clauses          = {{cl\'ausulas}{cls\adddot}},
+  regulation       = {{regulaci\'on}{reg\adddot}},
+  regulations      = {{regulaciones}{regs\adddot}},
+  rule             = {{norma}{nrm\adddot}},
+  rules            = {{normas}{nrms\addot}},
+  booktotal        = {{libro}{lib\adddot}},
+  booktotals       = {{libros}{libs\adddot}},
+  cantototal       = {{canto}{canto}},
+  cantototals      = {{cantos}{cantos}},
+  stanzatotal      = {{estrofa}{estr\adddot}},
+  stanzatotals     = {{estrofas}{estrs\adddot}},
+  acttotal         = {{Acto}{Acto}},
+  acttotals        = {{Actos}{Actos}},
+  scenetotal       = {{Escena}{Escena}},
+  scenetotals      = {{Escenas}{Escenas}},
+  foliototal       = {{folio}{fol\adddot}},
+  foliototals      = {{folios}{fols\adddot}},
+  articletotal     = {{art\'iculo}{art\adddot}},
+  articletotals    = {{art\'iculos}{arts\adddot}},
+  clausetotal      = {{cl\'ausula}{cl\adddot}},
+  clausetotals     = {{cl\'ausulas}{cls\adddot}},
+  regulationtotal  = {{regulaci\'on}{reg\adddot}},
+  regulationtotals = {{regulaciones}{regs\adddot}},
+  ruletotal        = {{norma}{nrm\adddot}},
+  ruletotals       = {{normas}{nrms\adddot}},
+%    \end{macrocode}
+%
+% \begin{itemize}
+%   \item Types
+% \end{itemize}
+%
+%    \begin{macrocode}
+  facebook         = {{Facebook post}{Facebook post}},
+  tweet            = {{tweet}{tweet}},
+  podcast          = {{podcast}{podcast}},
+  clip             = {{video}{video}},
+  webcast          = {{webcast}{webcast}},
+  poster           = {{poster}{poster}},
+%    \end{macrocode}
+%
+% \begin{itemize}
+%   \item Miscellaneous
+% \end{itemize}
+%
+%    \begin{macrocode}
+  nolocation       = {{sin lugar}{s\adddot l\adddot}},
+  modified         = {{\'ultima modificaci\'on}{\'ult\adddotspace modif\adddot}},
+  recorded         = {{registrado}{registrado}},
+  uploaded         = {{subido}{subido}},
+  filed            = {{archivado}{archivado}},
+  issued           = {{publicado}{publicado}},
+%    \end{macrocode}
+%
+% \begin{itemize}
+%   \item Labels
+% \end{itemize}
+%
+%    \begin{macrocode}
+  anon             = {{An\'onimo}{An\'on\adddot}},
+  pseudo           = {{Pseudo-}{Ps\adddot-}},
+  urldown          = {{descargado}{descargado}},
+%    \end{macrocode}
+%
+% \begin{itemize}
+%   \item Country names, patents, and patent requests,
+% \end{itemize}
+%
+%    \begin{macrocode}
+  countryjp        = {{Jap\'on}{JP}},
+  patentjp         = {{Patente japonesa}{Pat\adddotspace japonesa}},
+  patreqjp         = {{Solicitud de patente japonesa}{Sol\adddotspace pat\adddotspace japonesa}},
+%    \end{macrocode}
+%
+% \begin{itemize}
+%   \item These are borrowed from other styles.
+% \end{itemize}
+%
+%    \begin{macrocode}
+  1column          = {{una columna}{1\addnbspace col\adddot}},
+  2column          = {{dos columnas}{2\addnbspace col\adddot}},
+  inflayer         = {{norma subordinada}{norm\adddotspace sub\adddot}},
+  suplayer         = {{norma superior}{norm\adddotspace sup\adddot}},
+  paper            = {{hoja}{h\adddot}},
+  papyrus          = {{papiro}{papiro}},
+  parchment        = {{pergamino}{pergam\adddot}},
+  eucase           = {{Caso}{Caso}},
+  eujoinedcases    = {{Casos agrupados}{Casos agrupados}},
+  commissiondecision = {{Decisi/'on de la Comisi/'on}{Decisi/'on de la Comisi/'on}},
+  application      = {{Solicitud}{Solic\adddot}},
+  order            = {{Orden}{Ord\adddot}},
+  bill             = {{Proyecto de ley}{Proy\adddotspace de ley}},
+  draft            = {{anteproyecto}{anteproyecto}},
+  opened           = {{abierto a la firma}{abierto a la firma}},
+  signed           = {{aprobada}{aprobada}},
+  adopted          = {{adoptada}{adoptada}},
+  inforce          = {{en vigor}{en vigor}},
+%    \end{macrocode}
+%
+% The rest of these strings are overrides for the standard ones.
+%
+% In parallel with the English versions, we remove the final \enquote{por} from
+% the abbreviated versions of the roles expressed as actions.
+%
+%    \begin{macrocode}
+  byeditor         = {{editado}{ed\adddotspace}},
+  byredactor       = {{redacci\'on de}{red\adddotspace de}},
+  byreviser        = {{revisado}{rev\adddotspace}},
+  byreviewer       = {{rese\~nado}{res\adddotspace}},
+  byfounder        = {{fundado}{fund\adddotspace}},
+  bycontinuator    = {{continuado}{cont\adddotspace}},
+  bycollaborator   = {{colaboraci\'on de}{col\adddotspace de}},
+  bytranslator     = {{traducido \lbx@lfromlang\}{trad\adddotspace \lbx@sfromlang\}},
+  bycommentator    = {{comentado}{com\adddotspace}},
+  byannotator      = {{anotado}{anot\adddotspace}},
+  byeditortr       = {{editado y traducido \lbx@lfromlang\}%
+                      {ed\adddotspace y trad\adddotspace \lbx@sfromlang\}},
+  byeditorco       = {{editado y comentado}%
+                      {ed\adddotspace y com\adddotspace}},
+  byeditoran       = {{editado y anotado}%
+                      {ed\adddotspace y anot\adddotspace}},
+  byeditorin       = {{editado e introducido}%
+                      {ed\adddotspace e intr\adddotspace}},
+  byeditorfo       = {{editado y prologado}%
+                      {ed\adddotspace y pr\'ol\adddotspace}},
+  byeditoraf       = {{editado y epilogado}%
+                      {ed\adddotspace y ep\'il\adddotspace}},
+  byeditortrco     = {{editado, traducido \lbx@lfromlang\ y comentado}%
+                      {ed.,\addabbrvspace trad\adddotspace \lbx@sfromlang\ y com\adddotspace}},
+  byeditortran     = {{editado, traducido \lbx@lfromlang\ y anotado}%
+                      {ed.,\addabbrvspace trad\adddotspace \lbx@sfromlang\ y anot\adddotspace}},
+  byeditortrin     = {{editado, traducido \lbx@lfromlang\ e introducido}%
+                      {ed.,\addabbrvspace trad\adddotspace \lbx@sfromlang\ e intr\adddotspace}},
+  byeditortrfo     = {{editado, traducido \lbx@lfromlang\ y prologado}%
+                      {ed.,\addabbrvspace trad\adddotspace \lbx@sfromlang\ y pr\'ol\adddotspace}},
+  byeditortraf     = {{editado, traducido \lbx@lfromlang\ y epilogado}%
+                      {ed.,\addabbrvspace trad\adddotspace \lbx@sfromlang\ y ep\'il\adddotspace}},
+  byeditorcoin     = {{editado, comentado e introducido}%
+                      {ed.,\addabbrvspace com\adddotspace e intr\adddotspace}},
+  byeditorcofo     = {{editado, comentado y prologado}%
+                      {ed.,\addabbrvspace com\adddotspace y pr\'ol\adddotspace}},
+  byeditorcoaf     = {{editado, comentado y epilogado}%
+                      {ed.,\addabbrvspace com\adddotspace y ep\'il\adddotspace}},
+  byeditoranin     = {{editado, anotado e introducido}%
+                      {ed.,\addabbrvspace anot\adddotspace e intr\adddotspace}},
+  byeditoranfo     = {{editado, anotado y prologado}%
+                      {ed.,\addabbrvspace anot\adddotspace y pr\'ol\adddotspace}},
+  byeditoranaf     = {{editado, anotado y epilogado}%
+                      {ed.,\addabbrvspace anot\adddotspace y ep\'il\adddotspace}},
+  byeditortrcoin   = {{editado, traducido \lbx@lfromlang, comentado e introducido}%
+                      {ed.,\addabbrvspace trad\adddotspace \lbx@sfromlang, com\adddotspace e intr\adddotspace}},
+  byeditortrcofo   = {{editado, traducido \lbx@lfromlang, comentado y prologado}%
+                      {ed.,\addabbrvspace trad\adddotspace \lbx@sfromlang, com\adddotspace y pr\'ol\adddotspace}},
+  byeditortrcoaf   = {{editado, traducido \lbx@lfromlang, comentado y epilogado}%
+                      {ed.,\addabbrvspace trad\adddotspace \lbx@sfromlang, com\adddotspace y ep\'il\adddotspace}},
+  byeditortranin   = {{editado, traducido \lbx@lfromlang, anotado e introducido}%
+                      {ed.,\addabbrvspace trad\adddotspace \lbx@sfromlang, anot\adddotspace e intr\adddotspace}},
+  byeditortranfo   = {{editado, traducido \lbx@lfromlang, anotado y prologado}%
+                      {ed.,\addabbrvspace trad\adddotspace \lbx@sfromlang, anot\adddotspace y pr\'ol\adddotspace}},
+  byeditortranaf   = {{editado, traducido \lbx@lfromlang, anotado y epilogado}%
+                      {ed.,\addabbrvspace trad\adddotspace \lbx@sfromlang, anot\adddotspace y ep\'il\adddotspace}},
+  bytranslatorco   = {{traducido \lbx@lfromlang\ y comentado}%
+                      {trad\adddotspace \lbx@sfromlang\ y com\adddotspace}},
+  bytranslatoran   = {{traducido \lbx@lfromlang\ y anotado}%
+                      {trad\adddotspace \lbx@sfromlang\ y anot\adddotspace}},
+  bytranslatorin   = {{traducido \lbx@lfromlang\ e introducido}%
+                      {trad\adddotspace \lbx@sfromlang\ e introd\adddotspace}},
+  bytranslatorfo   = {{traducido \lbx@lfromlang\ y prologado}%
+                      {trad\adddotspace \lbx@sfromlang\ y pr\'ol\adddotspace}},
+  bytranslatoraf   = {{traducido \lbx@lfromlang\ y epilogado}%
+                      {trad\adddotspace \lbx@sfromlang\ y ep\'il\adddotspace}},
+  bytranslatorcoin = {{traducido \lbx@lfromlang, comentado e introducido}%
+                      {trad\adddotspace \lbx@sfromlang, com\adddotspace e intr\adddotspace}},
+  bytranslatorcofo = {{traducido \lbx@lfromlang, comentado y prologado}%
+                      {trad\adddotspace \lbx@sfromlang, com\adddotspace y pr\'ol\adddotspace}},
+  bytranslatorcoaf = {{traducido \lbx@lfromlang, comentado y epilogado}%
+                      {trad\adddotspace \lbx@sfromlang, com\adddotspace y ep\'il\adddotspace}},
+  bytranslatoranin = {{traducido \lbx@lfromlang, anotado e introducido}%
+                      {trad\adddotspace \lbx@sfromlang, anot\adddotspace e intr\adddotspace}},
+  bytranslatoranfo = {{traducido \lbx@lfromlang, anotado y prologado}%
+                      {trad\adddotspace \lbx@sfromlang, anot\adddotspace y pr\'ol\adddotspace}},
+  bytranslatoranaf = {{traducido \lbx@lfromlang, anotado y epilogado}%
+                      {trad\adddotspace \lbx@sfromlang, anot\adddotspace y ep\'il\adddotspace}},
+%    \end{macrocode}
+%
+% The roles expressed as objects and terms for supplementary material
+% are not abbreviated.
+%
+%    \begin{macrocode}
+  withcommentator  = {{con comentario de}{con comentario de}},
+  withannotator    = {{con notas de}{con notas de}},
+  withintroduction = {{con introduci\'on de}{con introduci\'on de}},
+  withforeword     = {{con pr\'ologo de}{con pr\'ologo de}},
+  withafterword    = {{con ep\'ilogo de}{con ep\'ilogo de}},
+  introduction     = {{introduci\'on}{introduci\'on}},
+%    \end{macrocode}
+%
+% The abbreviations for some publication details are different.
+%
+%    \begin{macrocode}
+  newseries        = {{nueva \'epoca}{\mkbibacro{N\'E}}},
+  oldseries        = {{antigua \'epoca}{\mkbibacro{A\'E}}},
+  edition          = {{edici\'on}{edn\adddot}},
+  reprintfrom      = {{de}{de}},
+  translationas    = {{traducido espa\~nol como}{trad\adddotspace espa\~nol como}},
+  origpubin        = {{publicado originalmente en}{pub\adddot orig\adddotspace}},
+%    \end{macrocode}
+%
+% \emph{New Hart's Rules} uses \enquote{accessed} for URL dates.
+%
+%    \begin{macrocode}
+  urlseen          = {{accessed}{accessed}},
+%    \end{macrocode}
+%
+% Oxford style is to use \enquote{henceforth}
+% for shorthands and \enquote{at} to cite a page within a range.
+%
+%    \begin{macrocode}
+  citedas          = {{henceforth}{henceforth}},
+  thiscite         = {{at}{at}},
+%    \end{macrocode}
+%
+% Languages are abbreviated.
+%
+%    \begin{macrocode}
+  langamerican     = {{ingl\'es americano}{ingl\'es americano}},
+  langbrazilian    = {{brasile\~no}{brasile\~no}},
+  langbulgarian    = {{b\'ulgaro}{b\'ulgaro}},
+  langcatalan      = {{catal\'an}{catal\'an}},
+  langcroatian     = {{croata}{croata}},
+  langczech        = {{checo}{checo}},
+  langdanish       = {{dan\'es}{dan\'es}},
+  langdutch        = {{neerland\'es}{neerland\'es}},
+  langenglish      = {{ingl\'es}{ingl\'es}},
+  langestonian     = {{estonio}{estonio}},
+  langfinnish      = {{fin\'es}{fin\'es}},
+  langfrench       = {{franc\'es}{franc\'es}},
+  langgalician     = {{gallego}{gallego}},
+  langgerman       = {{alem\'an}{alem\'an}},
+  langgreek        = {{griego}{griego}},
+  langhungarian    = {{h\'ungaro}{h\'ungaro}},
+  langitalian      = {{italiano}{italiano}},
+  langjapanese     = {{japon\'es}{japon\'es}},
+  langlatin        = {{lat\'in}{lat\'in}},
+  langlatvian      = {{lituano}{lituano}},
+  langnorwegian    = {{noruego}{noruego}},
+  langpolish       = {{polaco}{polaco}},
+  langportuguese   = {{portugu\'es}{portugu\'es}},
+  langrussian      = {{ruso}{ruso}},
+  langserbian      = {{serbio}{serbio}},
+  langslovak       = {{eslovaco}{eslovaco}},
+  langslovene      = {{esloveno}{esloveno}},
+  langspanish      = {{espa\~nol}{espa\~nol}},
+  langswedish      = {{sueco}{sueco}},
+  langukrainian    = {{ucraniano}{ucraniano}},
+}
+%    \end{macrocode}
+%
+% \iffalse %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%</es>
+% \fi %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%
 % \section{Other languages}
 %
-% Currently \pkg[biblatex]{oxref} only supports British and American
-% English explicitly, but if there is demand more languages may be
-% added. If you would like to contribute support for your language, a
-% list of the non-standard bibliography strings requiring definition may
-% be found in section~\ref{sec:setup}.
+% Currently \pkg[biblatex]{oxref} only supports English (British and American)
+% and Spanish explicitly, but if there is demand more languages may be added. If
+% you would like to contribute support for your language, a list of the
+% non-standard bibliography strings requiring definition may be found in
+% section~\ref{sec:setup}.
 %
 % \iffalse %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-%</us>
 %</lbx>
 % \fi %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-- 
cgit v1.2.3

