Transcription Macros for Word® 97

by Matthew Robinson, Balliol College, Oxford, 25/09/97

Installation

See the file Word97GreekInstallation.doc for further details. 

General description

This package contains three macros: i) GreekAddDot, which adds dots
beneath letters; ii) GreekLunate, which inserts a Times New Roman ‘c’
without changing the font of the whole word; and iii) GreekLineAdjust,
which evens out the unusual line-spacing created by the other two
macros.

The specifics…

Note: in the examples below, the keys assigned to the various macros are
the ones that come ‘ready-made’, but I’m not sure how well they travel
in Word 97. Re-assigning the keys is very easy, and full instructions
are given in Word97GreekInstallation.doc. 

i) GreekAddDot

This macro adds a dot beneath a letter, or if one is already present,
removes it. Since there are no actual characters defined with dots
beneath them, the dots have to be inserted using an equation field. What
this means is that you cannot delete the dot by simply pressing the
backspace key (the computer will beep at you if you try it): instead, it
must be removed using the macro: 

For instance: if you have typed  ?, typing ALT + D will add a dot:  ? 
eq \d\ba05()\s\do03(.)\d\ba01()  . Any attempts to remove this by
pressing backspace will fail. To get rid of the dot, you have two
options:

i) type ALT + D again: this will change ?  eq
\d\ba05()\s\do03(.)\d\ba01()   back to ?.

ii) hold down SHIFT and press the LEFT key once: this selects one
character to the left (the dot), which you can then delete (with the
backspace key).

This brings us on rather nicely to the two ‘known issues’ with
GreekAddDot:

?  eq \d\ba05()\s\do03(.)\d\ba01()  , you will have to press the left
cursor-key twice to move the cursor to before the alpha. If you press
the left key just once, then you have moved the cursor to a point after
the alpha but before the dot. So if you were now to type ?, the
following would appear on the screen : ??  eq
\d\ba05()\s\do03(.)\d\ba01()   (i.e. the dot appears under the beta).
This may sound complicated, but use and experience will make everything
clear.

b) At present, if you try to change the accent of a dotted character,
strange things will happen: for example if you have typed ?  eq
\d\ba05()\s\do03(.)\d\ba01()  , typing ALT + ~ (circumflex) [with the
WinGreek macros supplied with this package] will give  ? ?- which
appears on the screen as ? followed by a square box (I'm not sure what
will happen with Beta). This will be dealt with in the next version of
the macros, whenever that will appear (perhaps about Easter 1997). Email
me if you want to be informed of any updates.

Note: The exact placing of the dots has been optimized for font-size 12:
the macros will attempt to deal with any other font size, though since
the dots can only be placed an even number of points to the left, there
may be one or two infelicities.

Further note: the macro can be customized to a small degree, though you
will have to make the necessary changes yourself. You can specify
whether the all the dots should appear on the same horizontal level, but
not centred, or whether they should appear on different levels, but in
the centre of the character, i.e.:

?  eq \d\ba05()\s\do03(.)\d\ba01()  ?  eq \d\ba03()\s\do03(.)\d\ba03() 
?  eq \d\ba04()\s\do03(.)\d\ba02()  ?  eq \d\ba05()\s\do03(.)\d\ba01() 
?  eq \d\ba03()\s\do03(.)\d\ba03()  ?  eq \d\ba03()\s\do03(.)\d\ba03() 
?  eq \d\ba05()\s\do03(.)\d\ba01()  

b) different level, centred:		?  eq \d\ba05()\s\do03(.)\d\ba01()  ?  eq
\d\ba04()\s\do04(.)\d\ba02()  ?  eq \d\ba04()\s\do03(.)\d\ba02()  ?  eq
\d\ba05()\s\do03(.)\d\ba01()  ?  eq \d\ba04()\s\do04(.)\d\ba02()  ?  eq
\d\ba03()\s\do03(.)\d\ba03()  ?  eq \d\ba04()\s\do04(.)\d\ba02()  

For font-size 12, a line-spacing of 15 points will ensure that all the
dots print correctly. However, if you choose to have the dots centred
but on different levels, then you will not be able to see them on the
screen unless you have a line-spacing of at least 20 (examples of all
these spacings are to be found later in the document). If you want to
see the dots on the screen and you find that a line-spacing value of 20
leaves the lines too widely spaced, you can edit the default depth of
the dot: at present this is 3, but can be changed to 2 (for example) if
required. 

To edit these values, go to Tools/Macro, click on GreekAddDot, click on
Edit: the macro text will appear. Follow the instructions given there,
go to File/Close, and when asked if you want to keep the changes, click
Yes.

ii) GreekLunate

This macro inserts a Times New Roman ‘c’ and pretends that it is a Greek
Lunate Sigma: a macro is required for this as changing font in the
middle of the word tends to change the font of the whole word. Thus you
can now write ???????as c??c?c, which looks jolly nice.?

 

Instead of typing ? or ?, press ALT + S. A ‘c’ will appear will a black
space after it: do not worry about this (it is just a space that has
been selected), as it is essential to the correct functioning of the
macro: when you type the next character (be it another letter, a space,
or a full stop), the black space will disappear. If you wish to add a
dot to the c, just press ALT + D as normal: do not attempt to remove the
black space.

Note: it is possible to customize the fonts used in this macro: for
example, if you want to have an Arial ‘c’ rather than a Times New Roman
one; or if you are using Ralph Hancock’s Greek Old Face font rather than
the WinGreek one. To perform such customization, go to Tools/Macro,
click on GreekLunate, click on Edit: the macro code will appear. Follow
the instructions given there, go to File/Close, and when asked if you
want to keep the changes, click Yes.

iii) GreekLineAdjust [the dots in this document may print oddly. See
note above]

The adding of dots and the mixing of fonts causes the lines to become
unevenly spaced. This is where GreekLineAdjust comes in. Examples of the
various line-spacings are given below (further information comes after
the examples):

Uneven lines, directly after adding dots/lunate sigmas

?????????????????????????????c???????????????

?????c??????????????c????c??????????  eq \d\ba04()\s\do03(.)\d\ba02() 
??

?????c???????????c???  eq \d\ba04()\s\do03(.)\d\ba02()  ??????  eq
\d\ba05()\s\do03(.)\d\ba01()  ???c  eq \d\ba04()\s\do03(.)\d\ba02() 
????????????????

??????????c???????????c???????????????????c?

?????????c?  eq \d\ba04()\s\do03(.)\d\ba02()  ?????????c????????c  eq
\d\ba04()\s\do03(.)\d\ba02()  ??  eq \d\ba04()\s\do03(.)\d\ba02()  ?  eq
\d\ba05()\s\do03(.)\d\ba01()  ??c????????c

??????  eq \d\ba04()\s\do03(.)\d\ba02()  ????????????????????c???c  eq
\d\ba04()\s\do03(.)\d\ba02()  ?c  eq \d\ba04()\s\do03(.)\d\ba02() 
???c???

With line-spacing at 15, and with non-centred non-low dots

??????????????????????????????c???????????????

?????c??????????????c????c??????????  eq \d\ba04()\s\do03(.)\d\ba02() 
??

?????c??????  eq \d\ba03()\s\do03(.)\d\ba03()  ?????c???  eq
\d\ba04()\s\do03(.)\d\ba02()  ??????  eq \d\ba05()\s\do03(.)\d\ba01() 
???c  eq \d\ba04()\s\do03(.)\d\ba02()  ????????????????

??????????c???????????c???????????????????c?

?????????c?  eq \d\ba04()\s\do03(.)\d\ba02()  ?????????c???  eq
\d\ba03()\s\do03(.)\d\ba03()  ?????c  eq \d\ba04()\s\do03(.)\d\ba02() 
??  eq \d\ba04()\s\do03(.)\d\ba02()  ?  eq \d\ba05()\s\do03(.)\d\ba01() 
??c????????c

??????  eq \d\ba04()\s\do03(.)\d\ba02()  ????????????????????c???c  eq
\d\ba04()\s\do03(.)\d\ba02()  ?c  eq \d\ba04()\s\do03(.)\d\ba02() 
???c???

Line-spacing at 20, for centered low dots

?????????????????????????????c???????????????

?????c??????????????c????c??????????  eq \d\ba04()\s\do03(.)\d\ba02() 
??

?????c??????  eq \d\ba04()\s\do04(.)\d\ba02()  ?????c???  eq
\d\ba04()\s\do03(.)\d\ba02()  ??????  eq \d\ba05()\s\do03(.)\d\ba01() 
???c  eq \d\ba05()\s\do03(.)\d\ba01()  ????????????????

??????????c???????????c???????????????????c?

?????????c?  eq \d\ba04()\s\do03(.)\d\ba02()  ?????????c???  eq
\d\ba04()\s\do04(.)\d\ba02()  ?????c  eq \d\ba04()\s\do03(.)\d\ba02() 
??  eq \d\ba04()\s\do03(.)\d\ba02()  ?  eq \d\ba05()\s\do03(.)\d\ba01() 
??c????????c

??????  eq \d\ba05()\s\do04(.)\d\ba01()  ????????????????????c???c  eq
\d\ba04()\s\do03(.)\d\ba02()  ?c  eq \d\ba04()\s\do03(.)\d\ba02() 
???c???

To use GreekLineAdjust, first select all the Greek text: for example, if
you have a poem of 6 lines, and there are only dots/lunate sigmas in the
last two, you must select all six lines regardless (otherwise the line
spacing will still be uneven). Press ALT + L. You will then be asked to
confirm that you have selected all the required Greek text. If you click
OK, a dialogue box will appear, and you will be given a choice of
pre-defined line-spacings and the opportunity to enter one of your own.
The pre-defined setttings are as follows:

A spacing of	15 - for fontsize 12, allows both options in GreekAddDot to
print.

		20 - for fontsize 20, allows centred low dots to be seen on screen.

		12 - for fontsize 10, allows both options in GreekAddDot to print.

To enter you own setting, type in the number in the box provided, and
then click on other.

Now that your appetite has been whetted, read
Word97GreekInstallation.doc for details on how to install these macros.

And finally…

I hope these macros are helpful. If there are any problems or glaring
errors then please get in touch, and I will do what the pressures of
study allow to sort them out. If you would like to be informed of
updates, or have any comments or suggestions, then please do email me.

Matthew Robinson, January 1997

email: matthew.robinson@balliol.ox.ac.uk

You will always find the latest version of these macros on my hompage:

  HYPERLINK "http://users.ox.ac.uk/~ball0087/download/" 
http://users.ox.ac.uk/~ball0087/download/ 

or the Oxford Classics Homepage:

  HYPERLINK
"http://units.ox.ac.uk/departments/classics/software/greekmacropage.html
" 
http://units.ox.ac.uk/departments/classics/software/greekmacropage.html 

Disclaimer

These macros are provided ‘as is’ and in no event am I liable for any
damage, indirect or consequential, arising from the use thereof.

Copyright Matthew Robinson, Balliol College, 1996.

 It is possible that the dots in this document will not print correctly:
however, this will not be the case with dots you insert yourself. 

		Word97Transcription/  PAGE  1