Revision: 906 Author: christian.egli@xxxxxxxxxxxxxx Date: Mon Jan 28 02:53:59 2013Log: Fixes for emphasis marks in the norwegian braille table thanks to Knut
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.
http://code.google.com/p/liblouis/source/detail?r=906 Modified: /trunk/AUTHORS /trunk/ChangeLog /trunk/NEWS /trunk/tables/no-no-g0.utb ======================================= --- /trunk/AUTHORS Mon Jan 21 07:11:51 2013 +++ /trunk/AUTHORS Mon Jan 28 02:53:59 2013 @@ -53,3 +53,5 @@ Paul Wood <paulw.torchtrust@xxxxxxxxx> David Reynolds <dkreynolds@xxxxxxxxxxxx> + +Knut Arne Bjørndal <bob+liblouis@xxxxxxxxxxx> ======================================= --- /trunk/ChangeLog Fri Jan 25 00:28:50 2013 +++ /trunk/ChangeLog Mon Jan 28 02:53:59 2013 @@ -1,3 +1,8 @@ +2013-01-28 Knut Arne Bjørndal <bob+liblouis@xxxxxxxxxxx> + + * tables/no-no-g0.utb: Fixes for Emphasis marks in the norwegian + braille table. + 2013-01-25 Christian Egli <christian.egli@xxxxxx> * tables/no-no-g0.utb: Corrections for double angle quotation ======================================= --- /trunk/NEWS Fri Jan 25 00:28:50 2013 +++ /trunk/NEWS Mon Jan 28 02:53:59 2013 @@ -13,8 +13,9 @@ 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 ======================================= --- /trunk/tables/no-no-g0.utb Fri Jan 25 00:28:50 2013 +++ /trunk/tables/no-no-g0.utb Mon Jan 28 02:53:59 2013 @@ -178,12 +178,22 @@ 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