Fix markup syntax for code block titles

main
Thomas Quinot 1 year ago
parent 98b1414f9b
commit d128e71b81

@ -10,7 +10,7 @@ Wanted to import the [Library of Congress record](https://lccn.loc.gov/83020232)
It failed with an obscure message (*notices invalides*). Looking at the code, this could be caused by a missing title statement (UNIMARC tag `$200a`). It failed with an obscure message (*notices invalides*). Looking at the code, this could be caused by a missing title statement (UNIMARC tag `$200a`).
And indeed upon inspection the title is in MARC zone `$245`: And indeed upon inspection the title is in MARC zone `$245`:
``` MARC21 record ```marc
00953cam a2200253 a 4500 00953cam a2200253 a 4500
001 4715262 001 4715262
005 20140505111109.0 005 20140505111109.0
@ -32,13 +32,14 @@ And indeed upon inspection the title is in MARC zone `$245`:
991 $b c-GenColl $h PE1625 $i .W34 1984b $t Copy 1 $w BOOKS 991 $b c-GenColl $h PE1625 $i .W34 1984b $t Copy 1 $w BOOKS
991 $b c-GenColl $h PE1625 $i .W34 1984b $p 00017698631 $t Copy 2 $w CCF 991 $b c-GenColl $h PE1625 $i .W34 1984b $p 00017698631 $t Copy 2 $w CCF
``` ```
{:title="MARC21 record"}
Turns out that the LoC notice is in MARC21 format, whereas PMB expects UNIMARC. Turns out that the LoC notice is in MARC21 format, whereas PMB expects UNIMARC.
So I used [MarcEdit](https://marcedit.reeset.net/) to convert MARC21 to UNIMARC and was able to import. So I used [MarcEdit](https://marcedit.reeset.net/) to convert MARC21 to UNIMARC and was able to import.
Conversion process: `Tools > UNIMARC Tools > MARC21=>UNIMARC` Conversion process: `Tools > UNIMARC Tools > MARC21=>UNIMARC`
``` UNIMARC record ```marc
00812 22a22002415 450 00812 22a22002415 450
001 4715262 001 4715262
005 20140505111109.0 005 20140505111109.0
@ -59,3 +60,4 @@ Conversion process: `Tools > UNIMARC Tools > MARC21=>UNIMARC`
721 $a Guralnik, David B. $f 1920-2000. 721 $a Guralnik, David B. $f 1920-2000.
802 $a zz 802 $a zz
``` ```
{:title="UNIMARC record"}

Loading…
Cancel
Save