A Practical Example of Using DBT Codes in Word

Introduction

For those familiar with DBT, you will probably already be acquainted with many of DBT’s Codes and how they are inserted into a document. If not, this subject is covered in DBT’s Help files. (See Codes)

It is now possible to add DBT Codes into a Word document., and therefore this document is intended to provide you with a very basic introduction as to how and why this is done.

Why might Codes be desired?

One of the most common reasons might be where you have a Word Template which is designed as a letter heading. Your letter heading might look like this:

Duxbury Systems, Inc.,
270 Littleton Rd., Unit 6,
Westford, MA
01886-3523 USA

Telephone: +1 978 692 3000
Fax: +1 978 692 7912
Web: http://www.duxburysystems.com
Email: General inquiries: info@duxsys.com

From a general perspective, this might at first appear quite a simple piece of text to translate into braille. However, depending on which country’s braille rules you are using, you may notice some things which would normally require special treatment if imported into DBT.

Braillists will immediately realise that it contains a web and e-mail address. These are normally translated using "Computer Braille".

In many countries, acronyms such as MA and USA should be preceded with a letter sign.

How do I know what Codes to use?

There is a full list of Codes in alphabetical order in DBT's Help. Also, the most popular Codes are explained on more detail, broken down by category, such as Text, Line, Paragraph, etc.. See the Codes Topic for more details.

So, how do we insert DBT Codes?

It is quite simple. In DBT Codes are entered in various ways, but essentially end up appearing between a left and right square bracket - "[pg]". (New Page)

In Word, a slightly different format is used, and using the above example, we would type [[*pg*]]. That is, double left square bracket, asterisk, the DBT Code, asterisk, double right square bracket.

How would the letter head above be Coded?

Duxbury Systems, Inc.,

270 Littleton Rd., Unit 6,

Westford, [[*ii*]]MA

01886-3523 [[*ii*]]USA

Telephone: +1//978//692//3000

Fax: +1//978//692//7912

Web: [[*cbi*]][[*wb-cb*]]http://www.duxburysystems.com[[*wb*]][[*txi*]]

Email: General inquiries: [[*cbi*]][[*wb-cb*]]info@duxsys.com[[*wb*]][[*txi*]]

Let’s explain:

[[*ii*]] – this inserts a letter sign (In British English, dots 5.6)

[[*cbi*]] – change to Computer Braille Code. (CBI)

[[*wb-cb*]] – use computer braille word-breaking rules.

[[*wb*]] – cancel word- breaking rules.

[[*txi*]] – revert to whatever grade of braille is used for main document.

I can not see the wood from the trees!

This is fine, but it can be difficult to see where all the codes are placed.

Now comes the very slightly technical bit. We are going to create a new Character Style in Word. Moreover, we are going to change the colour of the font used, and then we are finally going to make it into "Hidden Text".

In Word, click on the Format menu (or Alt + o) and select "Styles and Formatting (or s) A Styles and Formatting dialog will come up on the right of your screen. Click on the New Style button. Alternatively, press F6 which will place you on an item called "Clear Formatting", then press Shift + Tab to reach the "New Style" Button, and press Enter.

You will now see the New Style dialog appear as shown below. Let us call or new Style "DuxCode" (Without the quotes)

For Style Type make absolutely sure you select "Character".

For the purpose of this exercise, we have selected a Courier New Font, 12 point in size, Bold, and coloured it red.

When you click OK, you will find that your new font has appeared in the list of available fonts on the right of the screen. (Also shown below)

In case you are wondering, we have not at this stage made our font "hidden", we will do that soon.

Image shows Word's New Style dialog

Image shows Words Style listing which allows editing of Styles.

Now we can apply the DuxCode Style to our letter heading Template, so it looks like this. The Codes stand out, and now to hide them is explained in the next section.

Duxbury Systems, Inc.,

270 Littleton Rd., Unit 6,

Westford, [[*ii*]]MA

01886-3523 [[*ii*]]USA

Telephone: +1 978 692 3000

Fax: +1 978 692 7912

Web: [[*cbi*]][[*wb-cb*]]http://www.duxburysystems.com[[*wb*]][[*txi*]]

Email: General inquiries: [[*cbi*]][[*wb-cb*]]info@duxsys.com[[*wb*]][[*txi*]]

But I don’t want these Codes ink printed.

All we need to do is a slight "tweak" to our DuxCode Style.

Go to Format, Styles and Formatting as you did above, but this time arrow down to the DuxCode Style. Open the drop down list, and select "Modify".

Click on the "Format" button at the bottom left (See above screen shot) A list will come up from which you should select "Font". This brings up the following dialog. Simply check the "Hidden" box so that a tick appears. Click on OK.

Image shows Words Font dialog.

All things being equal, your DuxCode red text should disappear.

But what if it does not? Read on.

How do I make the Codes appear and disappear?

This is done though Word's Tools menu. Select Options. Then make sure you select the View Tab. In the formatting marks, check "Hidden Text" if you want to see the Codes, and uncheck it if you do not.

Image shows Words OPtions dialog with "Hidden Text" arrowed.

And so now we have a letter heading Template in Word which to all intents and purposes looks quite normal in Word, but when translated into braille will follow the correct braille rules.

Duxbury Systems, Inc.,
270 Littleton Rd., Unit 6,
Westford, MA
01886-3523 USA

Telephone: +1 978 692 3000
Fax: +1 978 692 7912
Web: http://www.duxburysystems.com
Email: General inquiries: info@duxsys.com