Bug 37390

Summary: BibTeX exports hold Marc21 punctuation
Product: Koha Reporter: Alexander Wagner <alexander.wagner>
Component: OPACAssignee: Bugs List <koha-bugs>
Status: NEW --- QA Contact: Testopia <testopia>
Severity: normal    
Priority: P5 - low    
Version: unspecified   
Hardware: All   
OS: All   
GIT URL: Change sponsored?: ---
Patch complexity: --- Documentation contact:
Documentation submission: Text to go in the release notes:
Version(s) released in:
Circulation function:

Description Alexander Wagner 2024-07-17 09:07:57 UTC
The exports to BibTeX should strip Marc punctuation as they are not correct in BibTeX and it would require the user to strip them by hand to get proper displays in the final LaTeX documents.

Examples from within ktd:

**Bibrecord 55**

```
@book{55,
	author = {MacGill-Eain, Somhairle, and Whyte, C.},
	title = {Dàin do Eimhir =},
	publisher = {Polygon,},
	year = {2007.},
	address = {Edinburgh :},
	note = {Originally published: Glasgow : Association for Scottish Literary Studies, 2002.}
}
```

should be

```
@book{55,
	author = {MacGill-Eain, Somhairle and Whyte, C.},
	title = {Dàin do Eimhir},
	publisher = {Polygon},
	year = {2007},
	address = {Edinburgh},
	note = {Originally published: Glasgow : Association for Scottish Literary Studies, 2002.}
}
```

**BibRecord 57** exports as:

```
@book{57,
	author = {MacGill-Eain, Somhairle, and Whyte, C. and Association for Scottish Literary Studies.},
	title = {Dàin do Eimhir /},
	publisher = {Association for Scottish Literary Studies,},
	year = {2002.},
	series = {Association for Scottish Literary Studies ;},
	address = {Glasgow :}
}
```

and should read

```
@book{57,
	author = {MacGill-Eain, Somhairle and Whyte, C. and Association for Scottish Literary Studies},
	title = {Dàin do Eimhir},
	publisher = {Association for Scottish Literary Studies},
	year = {2002},
	series = {Association for Scottish Literary Studies},
	address = {Glasgow}
}
```