diff options
author | Karl Berry <karl@freefriends.org> | 2014-05-22 22:03:54 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2014-05-22 22:03:54 +0000 |
commit | f6f7618b25c3701babe5e37120df36136661f731 (patch) | |
tree | 2c259795242738e88dc0f6064d4e7fd06c0ba1d0 /Master/texmf-dist/tex/latex/oscola/oscola.cbx | |
parent | 87b302bc32ce01df3614c7a8e4be887218c657e2 (diff) |
oscola (22may14)
git-svn-id: svn://tug.org/texlive/trunk@34207 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/oscola/oscola.cbx')
-rw-r--r-- | Master/texmf-dist/tex/latex/oscola/oscola.cbx | 29 |
1 files changed, 19 insertions, 10 deletions
diff --git a/Master/texmf-dist/tex/latex/oscola/oscola.cbx b/Master/texmf-dist/tex/latex/oscola/oscola.cbx index 7125ff94ea4..9ef6a26cd63 100644 --- a/Master/texmf-dist/tex/latex/oscola/oscola.cbx +++ b/Master/texmf-dist/tex/latex/oscola/oscola.cbx @@ -2,7 +2,7 @@ % Part of the OSCOLA package for biblatex: see the file % oscola.lbx for copyright and licence information -\ProvidesFile{oscola.cbx}[2013/05/23 v1.2 Biblatex citation style for OSCOLA standard] +\ProvidesFile{oscola.cbx}[2014/05/22 v1.4 Biblatex citation style for OSCOLA standard] \RequireCitationStyle{verbose-inote} @@ -388,15 +388,15 @@ {\multicitedelim} {\usebibmacro{postnote}} -\DeclareCiteCommand{\textcite}[\cbx@textcite\footciteref] - {\gdef\cbx@savedkeys{}} - {\ifboolexpr{ test {\ifentrytype{jurisdiction}} or test{\ifentrytype{legislation}} } - {\usebibmacro{title:or:shorttitle}}% - {\printnames{labelname}}% - \xappto\cbx@savedkeys{\thefield{entrykey},}} - {\multinamedelim} - {\protected@xappto\cbx@savedcites{% - [\thefield{prenote}][\thefield{postnote}]{\cbx@savedkeys}}} +%\DeclareCiteCommand{\textcite}[\cbx@textcite\footciteref] +% {\gdef\cbx@savedkeys{}} +% {\ifboolexpr{ test {\ifentrytype{jurisdiction}} or test{\ifentrytype{legislation}} } +% {\usebibmacro{title:or:shorttitle}}% +% {\printnames{labelname}}% +% \xappto\cbx@savedkeys{\thefield{entrykey},}} +% {\multinamedelim} +% {\protected@xappto\cbx@savedcites{% +% [\thefield{prenote}][\thefield{postnote}]{\cbx@savedkeys}}} \newbibmacro{title:or:shorttitle}{% \ifciteseen @@ -410,5 +410,14 @@ {\printfield{shorthand}}}% {\printfield{title}}} +\renewbibmacro{textcite}{% + \ifentrytype{jurisdiction} + {\usebibmacro{title:or:shorttitle}} + {\ifentrytype{legislation} + {\usebibmacro{title:or:shorttitle}}} + {\ifnameundef{labelname} + {\printfield[citetitle]{labeltitle}} + {\printnames{labelname}}}} + \endinput
\ No newline at end of file |