Pigsaw Blog
All the pig that’s fit to saw

Marrying up Hebrew text with Microsoft Word

Anna and I are getting married next weekend. Sorry I hadn’t mentioned it earlier — it just didn’t come up. Anyway, that’s not the point of this post. The point of this post is that I was trying to get the Hebrew text for the שבע ברכות (seven blessings) into the order of service document, which is produced with plain old English Microsoft Word. And it was a fun odyssey…

First, I had the text I wanted from a book from someone else’s wedding. That helped me recognise the words and characters I wanted to put into Word. But I didn’t know where to get the Hebrew characters from electronically. I needed text, not images of them.

A Google search produced a Wikipedia page on the Hebrew alphabet. All the characters were there individually. Copying individual letters into Word worked perfectly — they appeared just as I’d hoped. But I didn’t really fancy copying and pasting them one at a time for the entire seven blessings — it’s a fairly lengthy text.

Anna suggested copying enough letters into Google to see if the entire Hebrew text was online. Great idea. Although here it starts getting a bit weird, because Hebrew is a right-to-left alphabet and Firefox is a left-to-right browser. Copying a Hebrew letter into the Google search box when your cursor is on the left of the text makes the letter appear on the right of the text. Er, sometimes. Anyway, eventually I got the phrase “שבע ברכות” into the search box, and Google found…

A Hebrew Wikipedia page, with the seven blessings. But the fun wasn’t over yet. Copying each line back into Word produced beautiful letters… but in reverse order. Damn. Obviously repositioning every letter was going to be time-consuming and error-prone. A Google search for “reverse text” found ReverseText.com, which offers a single, simple service: enter your text, click button, and the characters come out in reverse.

So the process was: Copy from Hebrew Wikipedia, paste into ReverseText.com, click the button, copy from ReverseText.com, paste into Word.

Now I have the problem that the Hebrew text in Word runs from the bottom to the top. But this is a minor quibble as I can re-order the lines fairly reliably.

Wasn’t that fun? Join me tomorrow, when I’ll tell you the best way to glue folded A4 pages together to make a little booklet.

Tags: , ,

5 Responses to Marrying up Hebrew text with Microsoft Word »»


Comments

  1. Comment by Xslf | 2006/08/28 at 12:14:55

    Which version of MS Word are you using? If it is Word 2000 or above, all you need to do is turn on Hebrew support in Words itself, and then you can paste the text with no need to reverse things.
    http://office.microsoft.com/en-us/assistance/HP030895361033.aspx

    As for Firefox- if you are running Windows 2000 or Windows XP, make sure to enabel support for Hebrew writing:
    http://office.microsoft.com/en-us/assistance/HP052588761033.aspx

    Then, if you have Firefox 1.5 or above, you need to go to about:config, and set bidi.browser.ui to “true” (see screenshot here: http://forums.ort.org.il/files/30/2316321/9499677.png , taken from: http://www.mozilla.org.il/board/viewtopic.php?t=3155 ).
    From that point on, using the shortcut CTRL+Shift+X will toggel writing text between writing left-to-right and right-to-left.

    Hope this helps :-)

  2. Nik
    Comment by Nik | 2006/08/29 at 18:30:16

    Wow, that’s pretty comprehensive! Unfortunately I’m only using Word 97, but need to upgrade before long, and it’s good to know that at least one problem will be solved.

  3. Comment by Xslf | 2006/08/29 at 21:26:01

    I got to your post originally via technoari, and it was painfull to read :-)

    There is no reason in the 21st century to do those hacks to write Hebrew. All three major OS (Windows, Mac and Linux) support Hebrew well if they are configured for it, so why not let people know how to configure their systems?

    Another option you might want to consider is OpenOffice. It’s free, and once you set your Windows for Hebrew support and turn on Hebrew support in OpenOffice itself (under tools–options–language mark “enable CTL”), it has good Hebrew support as well.

  4. Comment by Pashminaah | 2006/08/30 at 15:31:48

    We had exactly this problem (albeit four years ago) and I think in the end we cannibalised a friend’s order of service. Which really doesn’t help you in this case, but the web has moved on a fair bit since 2002.

    Oh, and mazeltov, by the way.

  5. Nik
    Comment by Nik | 2006/08/31 at 09:15:45

    My thanks to you.


Leave a Reply »»