Place
<?xml version="1.0" encoding="UTF-8"?>
<config>
<output_align>true</output_align>
<output_fieldcase>lower</output_fieldcase>
<sourcemap>
<maps datatype="bibtex" level="user">
<map map_overwrite="1">
<map_step map_field_source="subtitle" map_final="1"/>
<map_step map_field_set="title" map_field_value=". " map_append="1"/>
<map_step map_field_set="title" map_origfieldval="1" map_append="1"/>
<map_step map_field_set="subtitle" map_null="1"/>
</map>
</maps>
</sourcemap>
</config>
in a file called mergesubtitle.conf
into the same directory as your .bib
file.
Then call Biber with
biber --tool --configfile=mergesubtitle.conf <yourbibfile.bib>
If
@book{elk,
author = {Anne Elk},
title = {On the Theory of Brontosauruses},
subtitle = {Really Interesting Dinosaurs},
date = {1970},
publisher = {Monthy Press},
location = {London},
}
is saved as brontos.bib
, the call biber --tool --configfile=mergesubtitle.conf brontos.bib
will result in a file called brontos_bibertool.bib
with the contents
@book{elk,
author = {Elk, Anne},
location = {London},
publisher = {Monthy Press},
date = {1970},
title = {On the Theory of Brontosauruses. Really Interesting Dinosaurs},
}
being placed in the same directory.