@@ -, +, @@ --------- -- fails like comment #38 -- now it passes. --- C4/Record.pm | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) --- a/C4/Record.pm +++ a/C4/Record.pm @@ -782,9 +782,9 @@ sub marc2bibtex { push @elt, qq|\t$bh[$i] = {$bh[$i+1]}|; } $tex .= join(",\n", $id, @elt); - $tex .= "\n"; if ($additional_fields) { + $tex .= ",\n"; foreach my $bibtex_tag ( keys %$additional_fields ) { next if $bibtex_tag eq '@'; @@ -802,6 +802,9 @@ sub marc2bibtex { } } } + else { + $tex .= "\n"; + } $tex .= "}\n"; --