att 48 Number-natl-biblio
att 49 Number-legal-deposit
att 50 Number-govt-pub
-att 51 Number-music-publisher
+att 51 Identifier-publisher-for-music
att 52 Number-db
att 53 Number-local-call
att 54 ln
att 1092 Identifier-ISMN
att 1093 Identifier-ISRN
att 1094 Identifier-DOI
-att 1095 Code-language-original
+att 1095 language-original
att 1096 Title-later
att 1185 Performer
att 1192 Arrangement-Original
att 1193 Arrangement-Current
att 1194 Musical-Key-Original
-att 1195 Muscial-Key-Current
+att 1195 Musical-Key-Current
att 1196 Date-Composition
att 1197 Date-Recording
att 1198 Place-Recoding
att 1208 Instruments-distint-number
att 1209 Identifier-URN
att 1210 Sears-Subject-Heading
-att 1211 OCLC-Number
+#att 1211 OCLC-Number
+att 1211 Other-control-number
att 1212 Composition
att 1213 Intellectual-level
att 1214 EAN
att 1222 Subject-function
att 1223 Edition
att 1224 GPO-Item-Number
+att 1225 Provider
# Koha Local-Use Biblio Indexes
att 9001 Control-number
att 9905 llength
att 9902 Summary
att 9990 Call-Number
-# Usually Target Audience 008/22
+
+## Codes for some Marc21 fields (008, 007, 040...)
+## 8800-8841, 8700-8703, 8740, 9900-9904, 9913, 9658
+
+# positions of Marc21 008 (1 byte)
+# construction : 88+XX where XX is a position (00 to 39)
+# : 88+4X for multi-position index (ex : 8840 = ff8-18-21)
+# naming scheme : sometime ff8-XX, sometime a name in english (tpubdate,
+# audience, Modified-code, lf, bio)
+
+## Indexes common to Marc21 and UNIMARC :
+
+# Marc21 008/06 : Type of publication date (see UNIMARC 100/08)
+att 8806 tpubdate
+# Marc21 008/22 : Target Audience (see UNIMARC 100/17-19)
att 8822 ta
-# Usually Form of item 008/23
+# Marc21 008/38 : Modified Record code (see UNIMARC : 100/21)
+att 8838 Modified-code
+
+## Indexes slightly different in Marc21 and UNIMARC (different meanings
+## according to the type of the record => don't match a single UNIMARC field)
+
+# Marc21 008/18 : For Serials, frequency (see UNIMARC 110/1). For Books,
+# Illustrations (see UNIMARC 100/0-3). For Maps, relief. For Music,
+# Form of Composition. For Visual Materials, Running time.
+att 8818 ff8-18
+# Marc21 008/18-21 : For Books, Illustrations (see UNIMARC 100/0-3).
+# For Maps, relief. For Music (18-19), Form of Composition. For Visual
+# Materials (18-20), Running time. For Serials (18), frequency
+att 8840 ff8-18-21
+# Marc21 008/24-27 : For Books, Nature of contents (see UNIMARC
+# 105/4-7), for and Serials (24 only), Nature of contents (see UNIMARC
+# 110/3). For Computer Files (26 only), type of file. For Music,
+# Accompanying matter. For Maps (25 only), type of cartographic material
+# att 8841 ff8-24-27
+# use ctype for 008/24-27
+# Marc21 008/19 : For Serials, Regularity (see UNIMARC 110/2). For Music,
+# Form of composition. For Books, illustrations. For Visual Materials,
+# Running time
+att 8819 ff8-19
+# Marc21 008/21 : For Serials, Type of serial (see UNIMARC 110/0). For
+# Music, Music parts. For Maps, relief
+att 8821 ff8-21
+# Marc21 008/23 : For Books, Serials, Music, Mixed Materials, Computer
+# files, Form of Item (see UNIMARC 106$a). For Maps, Projection
att 8823 ff8-23
-# Usually Nature of contents 008/24-27
-att 8824 ff8-24-27
-# Usually Content-type, also Form of item for maps 008/29
+# Marc21 008/28 : Government publication (see UNIMARC 100/20). except
+# for Music, Accompanying matter
+att 8828 ff8-28
+# Marc21 008/29 : For Books and Serials, Conference code (see UNIMARC
+# 105/8 and 110/7). For Maps and Visual Materials, Form of item
att 8829 ff8-29
-# Usually Literary Form 008/33
+# Marc21 008/30 : For Books, Festchrift indicator (see UNIMARC 105/9).
+# For Music, Literary text for sound recordings
+att 8830 ff8-30
+# Marc21 008/31 : For Books and Maps, Index indicator (see UNIMARC
+# 105/10). For Music, Literary text for sound recordings
+att 8831 ff8-31
+# Marc21 008/33 : For Books, Literary form (see UNIMARC : 105/11).
+# For Serials, Script of title (see UNIMARC 100/34-35). For Music,
+# Transposition and arrangement. For Visual Materials, Type of visual
+# materials. For Maps, Special format characteristics
att 8833 lf
-#att 8833 ff8-33
-# Usually Biography, also Special format characteristics for maps 008/34
+# Marc21 008/34 : For Books, Biography (see UNIMARC 105/12). For Maps,
+# Special format characteristics. For Serials, Entry convention. For
+# Visual Materials, Technique.
att 8834 bio
-#att 8834 ff8-34
+
+## positions of Marc21 007 (1 byte)
att 8700 ff7-00
att 8701 ff7-01
att 8702 ff7-02
att 8703 ff7-01-02
+
+# Unimarc only
+att 9701 Video-mt
+att 9702 Graphics-type
+att 9703 Graphics-support
+att 9704 Title-page-availability
+att 9705 Cumulative-index-availability
+att 9706 script-Title
+att 9707 char-encoding
+
# Author-personal-bibliography - lastname,firstname in 100$a
att 9900 Author-personal-bibliography
# Author-in-order - firstname lastname in 245$c statement of responsibility
att 9902 Author-in-order
# Lexile number
-att 9903 lex
+att 9903 lexile-number
+att 9908 Interest-age-level
+att 9909 Interest-grade-level
+att 9910 Reading-grade-level
+
att 9904 arl
att 9013 arp
att 9520 Item
# Curriculum
att 9658 curriculum
+att 9653 Index-term-uncontrolled
+att 9655 Index-term-genre
+att 9906 ln-audio
+att 9907 ln-subtitle