Skip to content

Commit

Permalink
Fixes for emphasis marks in the norwegian braille table thanks to Knut
Browse files Browse the repository at this point in the history
Arne Bjørndal

> I changed the table from the deprecated beg/end codes to
> firstword,firstletter,lastwordafter,lastletter. It seems to work
> better, but maybe not perfect.

> Using lou_allround with no-no-generic.dis,no-no-g0.utb and setting
> emphasis 0110 and running with test as input I get t;es<t< instead
> of the expected t;es<t

> I have also changed underline to be the same braille patterns as
> italic and bold, as the standard seem to be to only use one general
> emphasis mark for most texts.

> As far as I know the current rules are these from 2004 (my
  translation):

> 1) General emphasis is done with dots 23 before and 56 after the
> part to be emphasised. This should be used for parts of words, whole
> words and multiple words.

> 2) If multiple types of emphasis is needed for the same text the
> following can be used:
> points 456 before and after (suitable for underlining)
> points 6-3 before and after (suitable for graphic emphasis)
> points 5-2 before and after (suitable for letterspaced text)
> None of these should be used for emphasising parts of words. The use
> of different emphasis marks must be explained in «Notes on the
> braille edition» (or in a foreword or legend if the text is made
> only for braille).
> 3) The underline character (for example for web addresses) is
> unchanged, points 456.
  • Loading branch information
egli committed Jan 28, 2013
1 parent 6e90d9c commit abf0e7e
Show file tree
Hide file tree
Showing 4 changed files with 26 additions and 8 deletions.
2 changes: 2 additions & 0 deletions AUTHORS
Original file line number Diff line number Diff line change
Expand Up @@ -53,3 +53,5 @@ Joseph Lee <[email protected]>
Paul Wood <[email protected]>

David Reynolds <[email protected]>

Knut Arne Bjørndal <[email protected]>
5 changes: 5 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
2013-01-28 Knut Arne Bjørndal <[email protected]>

* tables/no-no-g0.utb: Fixes for Emphasis marks in the norwegian
braille table.

2013-01-25 Christian Egli <[email protected]>

* tables/no-no-g0.utb: Corrections for double angle quotation
Expand Down
5 changes: 3 additions & 2 deletions NEWS
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,9 @@ liblouis NEWS -- history of user-visible changes. -*- org -*-
Joseph Lee
- Corrections to apostrophes in the Computer Spanish 8 dots Braille
table (Es-Es-G0.utb). Thanks to Juan C. Buno.
- Corrections for double angle quotation marks in the Norwegian
Grade 0 Braille Table. Thanks to Knut Arne Bjørndal.
- Corrections for double angle quotation marks and emphasis marks
in the Norwegian Grade 0 Braille Table. Thanks to Knut Arne
Bjørndal.

** Bug Fixes

Expand Down
22 changes: 16 additions & 6 deletions tables/no-no-g0.utb
Original file line number Diff line number Diff line change
Expand Up @@ -178,12 +178,22 @@ capsign 6 # single capital letter indicator
begcaps 6-6 # a block of consecutive capital letters indicator
endcaps 56

begital 23
begbold 23
begunder 456
endital 56
endbold 56
endunder 456
lenitalphrase 1
lenboldphrase 1

firstwordital 23
firstletterital 23
firstwordbold 23
firstletterbold 23
firstwordunder 23
firstletterunder 23

lastworditalafter 56
lastletterital 56
lastwordboldafter 56
lastletterbold 56
lastwordunderafter 56
lastletterunder 56

midnum , 2
midnum . 3
Expand Down

0 comments on commit abf0e7e

Please sign in to comment.