Skip to content

Commit 896849e

Browse files
committed
Cosmetics for biblatex.bst
1 parent e5a460c commit 896849e

File tree

2 files changed

+18
-9
lines changed

2 files changed

+18
-9
lines changed

bibtex/bst/biblatex/biblatex.bst

Lines changed: 14 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -158,10 +158,14 @@ ENTRY {
158158
verbb
159159
verbc
160160
}
161-
{ skipbib skiplos skiplab useauthor useeditor usetranslator useprefix singletitle }
162-
{ entryoptions labelhash namehash fullhash dateyear dateendyear extradate labelalpha extraalpha
163-
sortinit label.name label.year sortkey.nosort sortkey.name sortkey.year
164-
sortkey.title sortkey.alpha sort.year sort.alph warningmsg }
161+
{ skipbib skiplos skiplab
162+
useauthor useeditor usetranslator useprefix
163+
singletitle }
164+
{ entryoptions labelhash namehash fullhash
165+
dateyear dateendyear extradate labelalpha extraalpha label.name label.year
166+
sortinit sortkey.nosort sortkey.name sortkey.year
167+
sortkey.title sortkey.alpha sort.year sort.alph
168+
warningmsg }
165169

166170
INTEGERS { ctrl.debug ctrl.bibtex8 ctrl.maxline ctrl.sorting ctrl.cssort
167171
ctrl.maxnames ctrl.minnames ctrl.maxalphanames ctrl.minalphanames
@@ -1205,7 +1209,8 @@ FUNCTION {output:write:verb} {
12051209
{ 'tempstrga :=
12061210
"\verb" swap$ wrap:braces * output:indent:field
12071211
{ tempstrga empty$ not }
1208-
{ "\verb " tempstrga #1 ctrl.maxline #10 - substring$ * output:indent:field
1212+
{ "\verb " tempstrga #1 ctrl.maxline #10 - substring$ *
1213+
output:indent:field
12091214
tempstrga ctrl.maxline #9 - global.max$ substring$ 'tempstrga :=
12101215
}
12111216
while$
@@ -1899,7 +1904,8 @@ FUNCTION {input:control:version} {
18991904
{ pop$ }
19001905
{ "bbl version mismatch: biblatex.bst has " tempstrga *
19011906
", but biblatex.sty has " * swap$ * warning$
1902-
" The bbl version need not be the same as the biblatex version." top$
1907+
" The bbl version need not be the same as the biblatex version."
1908+
top$
19031909
pop$ "" }
19041910
if$
19051911
}
@@ -2310,7 +2316,7 @@ FUNCTION {makelabel:ctrl:alpha:format} {
23102316
if$
23112317
}
23122318
{ pop$
2313-
""
2319+
""
23142320
}
23152321
if$
23162322
}
@@ -2740,7 +2746,7 @@ FUNCTION {output:main:begin} {
27402746
" {}" write$ newline$
27412747
"\endgroup" write$ newline$
27422748
newline$
2743-
"\datalist[entry]{" ctrl.sortstr * "/global//global/global}" * write$
2749+
"\datalist[entry]{" ctrl.sortstr * "/global//global/global}" * write$
27442750
}
27452751

27462752
FUNCTION {output:main:preamble} {

tex/latex/biblatex/blx-bibtex.def

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,8 @@
5353
\string\citation{biblatex-control}}}
5454

5555
\def\blx@sig@bib{@Comment{$ biblatex control file $}}
56-
\edef\blx@ver@bib{@Comment{$ biblatex bbl format version \blx@bblversion\space $}}
56+
\edef\blx@ver@bib{%
57+
@Comment{$ biblatex bbl format version \blx@bblversion\space $}}
5758

5859
\let\blx@sig@aux\blx@sig@bbl
5960
\let\blx@ver@aux\blx@ver@bbl
@@ -425,6 +426,8 @@
425426
}
426427

427428
\def\blx@ctrlwrite{%
429+
% \sortalphaothers should only contain safe characters,
430+
% so we should be able to \edef it
428431
\edef\blx@sortalphaothers{\sortalphaothers}%
429432
\immediate\openout\blx@write\blx@ctrlfile\blxauxsuffix.bib\relax
430433
\blx@auxwrite\blx@write{}{\blx@ctrl}%

0 commit comments

Comments
 (0)