+ // If we generate in a temp dir, we might need to give an
+ // absolute path there. This is a bit complicated since we can
+ // have a comma-separated list of bibliographies
+ string db_out;
+ while (!adb.empty()) {
+ db_out += os::external_path(normalize_name(buffer, runparams,
+ adb, ".bib"));
+ db_out += ',';
+ db_in = split(db_in, adb,',');
+ }
+ db_out = rtrim(db_out, ",");