| 1 |
# |
| 2 |
# Copyright (C) 2026 Bert Frees |
| 3 |
# Copyright (C) 2026 Statped, Department Teaching Materials Visual Impairment <https://www.statped.no> |
| 4 |
# |
| 5 |
# This file is part of liblouis. |
| 6 |
# |
| 7 |
# liblouis is free software: you can redistribute it and/or modify it |
| 8 |
# under the terms of the GNU Lesser General Public License as |
| 9 |
# published by the Free Software Foundation, either version 2.1 of the |
| 10 |
# License, or (at your option) any later version. |
| 11 |
# |
| 12 |
# liblouis is distributed in the hope that it will be useful, but |
| 13 |
# WITHOUT ANY WARRANTY; without even the implied warranty of |
| 14 |
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
| 15 |
# Lesser General Public License for more details. |
| 16 |
# |
| 17 |
# You should have received a copy of the GNU Lesser General Public |
| 18 |
# License along with liblouis. If not, see |
| 19 |
# <http://www.gnu.org/licenses/>. |
| 20 |
# |
| 21 |
# ------------------------------------------------------------------------------- |
| 22 |
|
| 23 |
#-copyright: 2026, Bert Frees |
| 24 |
#-copyright: 2026, Statped, Department Teaching Materials Visual Impairment <https://www.statped.no> |
| 25 |
#-license: lgpl-2.1 |
| 26 |
#-author: Bert Frees |
| 27 |
|
| 28 |
# This is a table for Spanish text, based on the Norwegian braille |
| 29 |
# standard. The rules are specified in «Håndbok i litterær |
| 30 |
# punktskrift» in «Appendiks: 7 Spansk» (see |
| 31 |
# https://liblouis.io/braille-specs/norwegian). The accented letters |
| 32 |
# are listed in the beginning under «Bokstaver med diakritiske tegn» |
| 33 |
# (Letters with diacritical marks). The inverted question mark and |
| 34 |
# inverted exclamation mark are the first characters listed under |
| 35 |
# «Tegn» (characters). |
| 36 |
# |
| 37 |
# All other punctuation is handled according to the generic rules of |
| 38 |
# Norwegian braille, and so are braille indicators. |
| 39 |
# |
| 40 |
# Statped is probably the only organisation in Norway that produces |
| 41 |
# Spanish this way. This is because of the age group they supply |
| 42 |
# for. For higher education and for fiction, it makes more sense to |
| 43 |
# use the Spanish braille code. |
| 44 |
|
| 45 |
#-display-name: Norwegian braille for Spanish text |
| 46 |
#-index-name: Spanish, Norway |
| 47 |
|
| 48 |
#+locale: es |
| 49 |
#+region: no |
| 50 |
#+type: literary |
| 51 |
#+dots: 6 |
| 52 |
#+contraction: no |
| 53 |
#+direction: both |
| 54 |
|
| 55 |
# Spanish punctuation |
| 56 |
noback punctuation ¿ 26 |
| 57 |
noback punctuation ¡ 235 |
| 58 |
prepunc ¿ 26 |
| 59 |
prepunc ¡ 235 |
| 60 |
|
| 61 |
# Accented letters that should be mapped differently for Spanish text |
| 62 |
letter é 2346 |
| 63 |
letter í 34 |
| 64 |
letter ó 346 |
| 65 |
letter ú 23456 |
| 66 |
letter ñ 12456 |
| 67 |
|
| 68 |
base uppercase É é |
| 69 |
base uppercase Í í |
| 70 |
base uppercase Ó ó |
| 71 |
base uppercase Ú ú |
| 72 |
base uppercase Ñ ñ |
| 73 |
|
| 74 |
# Accented letters that are mapped the same as in Norwegian text, but should be prioritized in back-translation |
| 75 |
letter á 12356 |
| 76 |
letter ü 1256 |
| 77 |
|
| 78 |
# other characters punctuation as in Norwegian uncontracted braille |
| 79 |
include no-no-g0.utb |