summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/biblatex/biblatex1.sty
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2015-10-29 21:09:13 +0000
committerKarl Berry <karl@freefriends.org>2015-10-29 21:09:13 +0000
commitd05355c93719416944eb10461e2be1649ae4bc2d (patch)
treebb91c3e866cc9c56cc86b9db192619292597e3d1 /Master/texmf-dist/tex/latex/biblatex/biblatex1.sty
parent1e35a2ab442dbc7cb043bb2a03e547b8e5ec4ba6 (diff)
biblatex (29oct15)
git-svn-id: svn://tug.org/texlive/trunk@38737 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.sty25
1 files changed, 20 insertions, 5 deletions
diff --git a/Master/texmf-dist/tex/latex/biblatex/biblatex1.sty b/Master/texmf-dist/tex/latex/biblatex/biblatex1.sty
index bb303cdfd37..6a51f2872c3 100644
--- a/Master/texmf-dist/tex/latex/biblatex/biblatex1.sty
+++ b/Master/texmf-dist/tex/latex/biblatex/biblatex1.sty
@@ -8887,7 +8887,7 @@
{\textciquote\endgroup}
{\blx@setpostpunct\textciquote\endgroup}}
-\def\blx@usqcheck#1#2{%
+\long\def\blx@usqcheck#1#2{%
\def\blx@tempa{#1}%
\def\blx@tempb{#2}%
\ifx\@let@token\space
@@ -8897,20 +8897,35 @@
\blx@usqcheck@i\blx@tempa
\fi
\if\noexpand\@let@token\relax
- \blx@usqcheck@i\blx@tempb
+ \expandafter\blx@usqcheck@iv
\fi
\expandafter\blx@usqcheck@ii\blx@quotepunct\relax&}
-\def\blx@usqcheck@i#1#2&{\fi#1}
+\long\def\blx@usqcheck@i#1#2&{\fi#1}
-\def\blx@usqcheck@ii#1{%
+\long\def\blx@usqcheck@ii#1{%
\if\noexpand#1\relax
\blx@usqcheck@i\blx@tempa
\fi
\if\noexpand#1\noexpand\@let@token
\blx@usqcheck@i{\blx@usqcheck@iii\blx@tempa}%
\fi
- \blx@usqcheck@ii}
+ \blx@usqcheck@ii
+}
+
+\long\def\blx@usqcheck@iii#1#2{#2#1}
+
+\long\def\blx@usqcheck@iv#1&#2{%
+ \begingroup
+ \escapechar=-1 %
+ \edef\blx@tempa{\expandafter\@gobble\string#2}%
+ \expandafter\endgroup
+ \ifx\blx@tempa\@empty
+ \else
+ \blx@usqcheck@i\blx@tempb
+ \fi
+ #1&#2%
+}
\def\blx@usqcheck@iii#1#2{#2#1}