From abf0e7ef14ae3ede606c457ec6d16d66d9ca4cef Mon Sep 17 00:00:00 2001 From: Christian Egli Date: Mon, 28 Jan 2013 10:53:59 +0000 Subject: [PATCH] =?UTF-8?q?Fixes=20for=20emphasis=20marks=20in=20the=20nor?= =?UTF-8?q?wegian=20braille=20table=20thanks=20to=20Knut=20Arne=20Bj=C3=B8?= =?UTF-8?q?rndal?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit > 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 of the expected t;es 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. --- AUTHORS | 2 ++ ChangeLog | 5 +++++ NEWS | 5 +++-- tables/no-no-g0.utb | 22 ++++++++++++++++------ 4 files changed, 26 insertions(+), 8 deletions(-) diff --git a/AUTHORS b/AUTHORS index 2bd674929a..b7f8308b37 100644 --- a/AUTHORS +++ b/AUTHORS @@ -53,3 +53,5 @@ Joseph Lee Paul Wood David Reynolds + +Knut Arne Bjørndal diff --git a/ChangeLog b/ChangeLog index fe7be3876a..02b5bb9b39 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2013-01-28 Knut Arne Bjørndal + + * tables/no-no-g0.utb: Fixes for Emphasis marks in the norwegian + braille table. + 2013-01-25 Christian Egli * tables/no-no-g0.utb: Corrections for double angle quotation diff --git a/NEWS b/NEWS index 804ec10fe8..e8209ebd70 100644 --- a/NEWS +++ b/NEWS @@ -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 diff --git a/tables/no-no-g0.utb b/tables/no-no-g0.utb index 64a46ccd36..96f81b5b8e 100644 --- a/tables/no-no-g0.utb +++ b/tables/no-no-g0.utb @@ -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