[tex-live] bug in biblatex2.sty
Harald Koenig
koenig at tat.physik.uni-tuebingen.de
Wed Jul 3 12:16:35 CEST 2013
Hi,
I just noticed that texmf-dist/tex/latex/biblatex/biblatex2.sty is buggy
[at least] in both tex-live 2012 and 2013 -- here my fix:
--- 8< ------ 8< ------ 8< ------ 8< ------ 8< ------ 8< ------ 8< ------ 8< ---
--- biblatex2.sty.orig 2013-07-03 11:42:01.199860208 +0200
+++ texmf-dist/tex/latex/biblatex/biblatex2.sty 2013-07-03 11:44:57.093318777 +0200
@@ -8750,11 +8750,11 @@
#2%
~~~~~~</bcf:map>\blx at nl}
\xdef\blx at xml@sourcemap at perdatasource#1{%
- ~~~~~~~~<bcf:per_datasource>#1</bcf:per_datasource>\blx at nl}
+ ~~~~~~~~<bcf:per\string_datasource>#1</bcf:per\string_datasource>\blx at nl}
\xdef\blx at xml@sourcemap at pertype#1{%
- ~~~~~~~~<bcf:per_type>#1</bcf:per_type>\blx at nl}
+ ~~~~~~~~<bcf:per\string_type>#1</bcf:per\string_type>\blx at nl}
\xdef\blx at xml@sourcemap at step#1{%
- ~~~~~~~~<bcf:map_step#1/>\blx at nl}
+ ~~~~~~~~<bcf:map\string_step#1/>\blx at nl}
\xdef\blx at xml@labelalphatemplate#1#2{%
~~<bcf:labelalphatemplate type="#1">\blx at nl
--- 8< ------ 8< ------ 8< ------ 8< ------ 8< ------ 8< ------ 8< ------ 8< ---
without this change, biblatex will create entries like these in project.bcf :
<!-- SOURCEMAP -->
<bcf:sourcemap>
<bcf:maps datatype="bibtex" level="driver">
<bcf:map>
<bcf:map\unhbox \voidb at x \penalty \@M \hskip \z at skip \T1\textunderscore \discretionary {-}{}{}\penalty \@M \hskip \z at skip step map_type_source="conference" map_type_target="inproceedings"/>
<bcf:map\unhbox \voidb at x \penalty \@M \hskip \z at skip \T1\textunderscore \discretionary {-}{}{}\penalty \@M \hskip \z at skip step map_type_source="electronic" map_type_target="online"/>
<bcf:map\unhbox \voidb at x \penalty \@M \hskip \z at skip \T1\textunderscore \discretionary {-}{}{}\penalty \@M \hskip \z at skip step map_type_source="www" map_type_target="online"/>
</bcf:map>
...
instead of
<!-- SOURCEMAP -->
<bcf:sourcemap>
<bcf:maps datatype="bibtex" level="driver">
<bcf:map>
<bcf:map_step map_type_source="conference" map_type_target="inproceedings"/>
<bcf:map_step map_type_source="electronic" map_type_target="online"/>
<bcf:map_step map_type_source="www" map_type_target="online"/>
</bcf:map>
please fix & forward to the biblatex developers...
thanks,
Harald
--
"I hope to die ___ _____
before I *have* to use Microsoft Word.", 0--,| /OOOOOOO\
Donald E. Knuth, 02-Oct-2001 in Tuebingen. <_/ / /OOOOOOOOOOO\
\ \/OOOOOOOOOOOOOOO\
\ OOOOOOOOOOOOOOOOO|//
\/\/\/\/\/\/\/\/\/
Harald Koenig // / \\ \
koenig at tat.physik.uni-tuebingen.de ^^^^^ ^^^^^
More information about the tex-live
mailing list