Bug 38752

Summary: BibTeX export include 245b
Product: Koha Reporter: Lari Taskula <lari.taskula>
Component: MARC Bibliographic data supportAssignee: Bugs List <koha-bugs>
Status: NEW --- QA Contact: Testopia <testopia>
Severity: enhancement    
Priority: P5 - low CC: alexander.wagner
Version: unspecified   
Hardware: All   
OS: All   
Change sponsored?: --- Patch complexity: ---
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:
Circulation function:

Description Lari Taskula 2024-12-19 12:11:11 UTC
C4/Record.pm marc2bibtext now has:

title     => $record->subfield("245", "a") || "",

We would also like to include 245b subtitle here.
Comment 1 Alexander Wagner 2024-12-20 08:32:06 UTC
Note that for the newer biblatex there are also separate fields for subtitles. (`subtitle` and `titleaddon`). I think 245__b should end up in `subtitle`, `titleaddon` is more for descriptive notices (e.g. `Proceedings of the...`)

In any case one is left with some incompatibility between legacy bibtex and biblatex here. It might be the user friendliest way to go for the separate `subtitle`-field of biblatex as it's easy to join it with `title` and the necessary separator char for those who use legacy bibtex and it involves less typing to remove than to add, and it would not "break" biblatex compatiblity as well.