Skip to content

Commit

Permalink
Fix #228
Browse files Browse the repository at this point in the history
I found Nemeth translations in the new BANA Nemeth chemistry guidelines.
  • Loading branch information
NSoiffer committed Sep 11, 2024
1 parent c34f21f commit 20d4bdc
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 11 deletions.
15 changes: 9 additions & 6 deletions Rules/Braille/Nemeth/unicode-full.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2155,7 +2155,11 @@
- "": [t: "⠀⠫⠢⠤⠔⠒⠢⠤⠔⠒⠢⠕⠀"] # 0x27FF (Long rightwards squiggle arrow)
- "": [t: "⠀⠫⠘⠪⠒⠒⠕⠀"] # 0x2921 (North west and south east arrow)
- "": [t: "⠀⠫⠰⠪⠒⠒⠕⠀"] # 0x2922 (North east and south west arrow)
- "🣐": [t: "⠫⠒⠒⠕⠫⠪⠒⠒"] # 0x1f8d0 (Long rightwards arrow over leftwards arrow (equilibrium))
- "🣐": # 0x1f8d0 (Long rightwards arrow over leftwards arrow (equilibrium))
- test:
if: "@data-chem-equation-op or ancestor-or-self::*[contains(@intent, ':chemical-equation')]"
then: [t: "⠫⠒⠕⠫⠪⠒"]
else: [t: "⠫⠒⠒⠈⠕⠫⠠⠪⠒⠒"]
- "🣑": # 0x1f8d1 (Long rightwards harpoon over leftwards harpoon (equilibrium))
- test:
if: "@data-chem-equation-op or ancestor-or-self::*[contains(@intent, ':chemical-equation')]"
Expand Down Expand Up @@ -2196,11 +2200,9 @@
if: "@data-chem-equation-op or ancestor-or-self::*[contains(@intent, ':chemical-equation')]"
then: [t: "⠫⠪⠒⠒⠫⠒⠕"]
else: [t: "⠫⠈⠪⠒⠒⠫⠒⠠⠕"]
# - "🣕": # couldn't find 0x1f8d5 equiv (Short leftwards harpoon over long rightwards harpoon (equilibrium, trend to the left))
# - test:
# if: "@data-chem-equation-op or ancestor-or-self::*[contains(@intent, ':chemical-equation')]"
# then: [t: "⠫⠪⠒⠫⠒⠒⠕"]
# else: [t: "⠫⠈⠪⠒⠫⠒⠒⠠⠕"]
- "🣖": [t: "⠌⠫⠒⠒⠕"] # 0x1f8d6 (long rightwards arrow with through X)
- "🣗": [t: "⠌⠫⠒⠒⠕"] # 0x1f8d7 (long rightwards arrow with double slash) chem code says it is same as 0x1f8d6


- "": [t: "⠨⠸⠷"] # 0x2983 (Left white curly bracket)
- "": [t: "⠨⠸⠾"] # 0x2984 (Right white curly bracket)
Expand Down Expand Up @@ -2313,6 +2315,7 @@
- "": [t: "⠨⠡⠈⠫⠪⠒⠒⠻"] # 0x2B30 (Left arrow w small circle)
- "": [t: "⠫⠪⠒⠒⠫⠪⠒⠒⠫⠪⠒⠒"] # 0x2B31 (Three leftwards arrows)
- "": [t: "⠫⠪⠒⠒⠈⠫⠉⠸⠫⠬⠻"] # 0x2B32 (Left arrow w circled plus)
- "": [t: "⠨⠡"] # 0x2B96 (Standard State Symbol)
- "": [t: "⠫⠸⠦"] # 0x2BC3 (Horizontal black octagon)

# SRE lists this as a custom transcription
Expand Down
11 changes: 6 additions & 5 deletions Rules/Braille/UEB/unicode.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -230,13 +230,14 @@
# - "🣒": [t: "1⠘⠸⠶"] # 0x1f8d2 (Long rightwards harpoon over leftwards harpoon (equilibrium))
# - "🣓": [t: "1⠸⠶"] # 0x1f8d3 (Long rightwards harpoon over leftwards harpoon (equilibrium, trend to the right))
# - "🣔": [t: "1⠈⠸⠶"] # 0x1f8d4 (Long rightwards harpoon over leftwards harpoon (equilibrium, trend to the left))
# - "🣑": [t: "1⠳⠒⠒⠒⠈⠗⠕⠻⠳⠒⠒⠒⠠⠗⠪"] # 0x1F8D1 LONG RIGHTWARDS HARPOON OVER LONG LEFTWARDS HARPOON
# - "🣒": [t: "1⠳⠒⠒⠒⠈⠗⠕⠻⠳⠒⠠⠗⠪"] # 0x1F8D2 LONG RIGHTWARDS HARPOON ABOVESHORT LEFTWARDS HARPOON
# - "🣓": [t: "1⠳⠒⠈⠗⠕⠻⠳⠒⠒⠒⠠⠗⠪"] # 0x1F8D3 SHORT RIGHTWARDS HARPOON ABOVELONG LEFTWARDS HARPOON
# - "🣔": [t: "1⠳⠒⠒⠒⠈⠗⠪⠻⠳⠒⠠⠗⠕"] # 0x1F8D4 LONG LEFTWARDS HARPOON ABOVESHORT RIGHTWARDS HARPOON
- "🣑": [t: "1⠳⠒⠒⠒⠈⠗⠕⠻⠳⠒⠒⠒⠠⠗⠪"] # 0x1F8D1 LONG RIGHTWARDS HARPOON OVER LONG LEFTWARDS HARPOON
- "🣒": [t: "1⠳⠒⠒⠒⠈⠗⠕⠻⠳⠒⠠⠗⠪"] # 0x1F8D2 LONG RIGHTWARDS HARPOON ABOVESHORT LEFTWARDS HARPOON
- "🣓": [t: "1⠳⠒⠈⠗⠕⠻⠳⠒⠒⠒⠠⠗⠪"] # 0x1F8D3 SHORT RIGHTWARDS HARPOON ABOVELONG LEFTWARDS HARPOON
- "🣔": [t: "1⠳⠒⠒⠒⠈⠗⠪⠻⠳⠒⠠⠗⠕"] # 0x1F8D4 LONG LEFTWARDS HARPOON ABOVESHORT RIGHTWARDS HARPOON
- "🣕": [t: "1⠳⠒⠈⠗⠪⠻⠳⠒⠒⠒⠠⠗⠕"] # 0x1F8D5 SHORT LEFTWARDS HARPOON ABOVELONG RIGHTWARDS HARPOON
- "🣖": [t: "1⠳⠒⠒⠒⠕⠯⠠⠭"] # 0x1F8D6 LONG RIGHTWARDS ARROW WITH THROUGH X
- "🣗": [t: "1⠐⠠⠤⠯⠫⠿"] # 0x1F8D7 LONG RIGHTWARDS ARROW WITH DOUBLE SLASH
- "🣗": [t: "1⠳⠒⠒⠒⠕⠯⠣⠸⠌⠸⠌⠜"] # 0x1F8D7 LONG RIGHTWARDS ARROW WITH DOUBLE SLASH
# - "": [t: ""] # 0x1F8D8 LONG LEFT RIGHT ARROW WITH DEPENDENT LOBE (no clue what to do)

- "": [t: "1⠫⠼⠉t"] # 0x25B3 (Triangle)
- "": [t: "1⠫⠼⠙t"] # 0x25AB (Small white Square)
Expand Down

0 comments on commit 20d4bdc

Please sign in to comment.