diff options
author | Karl Berry <karl@freefriends.org> | 2014-06-24 22:36:25 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2014-06-24 22:36:25 +0000 |
commit | 084a4d47bb53b4091f81ab09e8cff78d684c3107 (patch) | |
tree | b052ec042c85041920033ce9e6f42158b52fcc21 /Master/texmf-dist/tex/latex/biblatex/biblatex1.sty | |
parent | 333c407d9e5338320d940a17eafbf69abd3017cc (diff) |
http://events.brucecareyrestaurants.com/bluehour (24jun14)
git-svn-id: svn://tug.org/texlive/trunk@34385 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/biblatex/biblatex1.sty')
-rw-r--r-- | Master/texmf-dist/tex/latex/biblatex/biblatex1.sty | 38 |
1 files changed, 30 insertions, 8 deletions
diff --git a/Master/texmf-dist/tex/latex/biblatex/biblatex1.sty b/Master/texmf-dist/tex/latex/biblatex/biblatex1.sty index 3e529ac3280..fecfbd515a0 100644 --- a/Master/texmf-dist/tex/latex/biblatex/biblatex1.sty +++ b/Master/texmf-dist/tex/latex/biblatex/biblatex1.sty @@ -69,6 +69,13 @@ amsrefs,apacite,babelbib,backref,bibtopic,bibunits,chapterbib, cite,citeref,drftcite,footbib,inlinebib,jurabib,mcite,mciteplus, mlbib,multibbl,multibib,natbib,opcit,overcite,splitbib,ucs}% + \def\blx@langstrings{}% + % Set up sortlocale defaults + \ifdefstring\blx@sortlocale{auto} + {\ifdef\bbl@main@language% babel or polyglossia is loaded + {\edef\blx@sortlocale{\bbl@main@language}} + {\def\blx@sortlocale{english}}} + {}% \@ifpackageloaded{polyglossia} {\ifboolexpr{ not test {\iftoggle{blx@autolangbib}} @@ -4574,6 +4581,7 @@ \do{langpolish}% \do{langportuguese}% \do{langrussian}% + \do{langslovene}% \do{langspanish}% \do{langswedish}% \do{fromamerican}% @@ -4594,6 +4602,7 @@ \do{frompolish}% \do{fromportuguese}% \do{fromrussian}% + \do{fromslovene}% \do{fromspanish}% \do{fromswedish}% \do{countryde}% @@ -4711,8 +4720,8 @@ {\letcs\refname{\abx@str @references}} {\let\refname\@empty}% \ifcsdef{\abx@str @shorthands} - {\letcs\losname{\abx@str @shorthands}} - {\let\losname\@empty}}} + {\letcs\biblistname{\abx@str @shorthands}} + {\let\biblistname\@empty}}} \def\blx@defbibstrings@i#1{% \ifcsdef{abx@lstr@#1} @@ -5079,6 +5088,7 @@ \csname\blx@thelangenv\expandafter\endcsname \expandafter{\abx@field@langid}}}}} {}% + \def\blx@langstrings{}% \def\blx@imc@mainlang{\select@language{\bbl@main@language}}% \blx@langsetup\bbl@main@language} {\blx@err@patch{'babel' package}% @@ -5117,6 +5127,11 @@ \csuse{abx@extras@\abx@field@langid}% \csuse{abx@strings@\abx@field@langid}}}}} {}% + % polyglossia needs this - it doesn't get the + % strings by automatically set for some reason + \def\blx@langstrings{% + \csuse{abx@extras@\languagename}% + \csuse{abx@strings@\languagename}} \def\blx@imc@mainlang{\select@language{\bbl@main@language}}% \blx@langsetup\bbl@main@language} {\blx@err@patch{'polyglossia' package}% @@ -6285,7 +6300,7 @@ {\endlist} {\item} -\defbibenvironment{shorthands} +\defbibenvironment{shorthand} {\list{\thefield{shorthand}}{% \labelwidth\shorthandwidth \labelsep\biblabelsep @@ -6640,6 +6655,7 @@ \blx@safe@actives \setkeys{blx@bhd}{#1}% \blx@rest@actives + \blx@langstrings \blx@bibheading\blx@theheading\blx@thetitle \endgroup} @@ -6792,6 +6808,7 @@ % {<entrykey>,...} \def\blx@bibliography{% + \blx@langstrings \blx@bibheading\blx@theheading\blx@thetitle \blx@bibnote\blx@theprenote \begingroup @@ -6993,8 +7010,8 @@ \toggletrue{blx@tempa}% \toggletrue{blx@tempb}% \letcs\blx@tempa{blx@losh@\the\c@refsection}% - \def\blx@theheading{shorthands}% - \def\blx@theenv{shorthands}% + \def\blx@theheading{biblist}% + \def\blx@theenv{shorthand}% \let\blx@theprenote\@empty \let\blx@thepostnote\@empty \let\blx@thetitle\@empty @@ -7022,6 +7039,7 @@ \else \@restonecolfalse \fi + \blx@langstrings \blx@bibheading\blx@theheading\blx@thetitle \blx@bibnote\blx@theprenote \begingroup @@ -7066,13 +7084,13 @@ \blx@beglangbib \bibsentence \blx@pagetracker - \blx@driver{shorthands}% + \blx@driver{shorthand}% \blx@postpunct \blx@endlangbib}% \endgroup} {}} -\DeclareBibliographyDriver{shorthands}{% +\DeclareBibliographyDriver{shorthand}{% \iffieldundef{shorttitle} {\printfield{title}} {\printfield{shorttitle}}} @@ -8904,7 +8922,11 @@ \protected\long\def\blx@imc@mkbibbold#1{% \textbf{#1}\blx@imc@setpunctfont\textbf} -\blx@regimcs{\mkbibquote \mkbibemph \mkbibbold} +\newrobustcmd*{\mkbibitalic}{\textit} +\protected\long\def\blx@imc@mkbibitalic#1{% + \textit{#1}\blx@imc@setpunctfont\textit} + +\blx@regimcs{\mkbibquote \mkbibemph \mkbibbold \mkbibitalic} \newcommand*{\bibleftparen}{\blx@postpunct(} \newcommand*{\bibrightparen}{\blx@postpunct)\midsentence} |