Take the 2-minute tour ×

So I'm trying to get \DeclareSourcemap working according to the biblatex manual. Here's my code:

  author={Aa, A and Bb, B},
  journal={J BS},
  author={Aa, A and Ab, S},
  journal={J BS},
      \step[fieldset=title, fieldvalue=Test]

Running this through latex/biber doesn't change the title field to 'Test'. In the .bcf file, the sourcemap rules are created, here is a relevant snippet:

<!-- SOURCEMAP -->
  <bcf:maps datatype="bibtex" map_overwrite="1">
      <bcf:map_step map_field_source="title"/>
      <bcf:map_step map_field_set="title" map_field_value="Test"/>
  <bcf:maps datatype="bibtex" driver_defaults="1">
      <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"/>

It seems my additional block does not get processed because there is another maps block for bibtex (And this does get processed, as it changes @conference to @inproceedings)? If I copy the map block into biber.conf, it works as expected. So here is my question: How do I use \DeclareSourcemap correctly ensuring that the map gets executed, independent of possible other blocks?

share|improve this question
Strange, your example works for me and changes the titles as expected. You don't need the \step[fieldsource=title] line by the way, it isn't doing anything in your example. –  PLK Oct 8 '12 at 9:27
Since the example works and the problem was not updated, the question will be closed as too localized. It can be reopened if further information would be provided in the question. –  Stefan Kottwitz Oct 18 '12 at 12:21
add comment

closed as too localized by lockstep, Stefan Kottwitz Oct 18 '12 at 12:22


Browse other questions tagged or ask your own question.