Comment 14 for bug 580794

Revision history for this message
David Purton (dcpurton) wrote : Re: [Bug 580794] Re: Problems compiling with Hebrew

Your example below uses XeLaTeX, and so it doesn't have the jerus
problem which will only apply to LaTeX.

Your best bet is going to be to use XeLaTeX with the sblessay class as
well. The issue occurring on OS X with the class is related to the order
in which the unicode and bidi packages are loaded.

Also... the example you provided below gives the exact error under
discussion on my system!

  ! Package bidi Error: Oops! you have loaded package xunicode before
  bidi package. Please load package xunicode after bidi package, and
  then try to run xelatex on your document again.

Reversing the order of xltxtra and bidi fixes it for me.

All this means is that I'm totally confused :(

It would be great if you can fiddle with sblessay.cls and
sbllangbase.sty and try and get things loading in an order that works
for you and let me know what that order is.

search in the sblessay.cls for bidi to see where it is loaded. It's
pretty much the first package I think.

note the xetex related loads are in \if blocks.

I'll keep looking into it when I need to procrastinate from exam prep
;)

David

On Fri, May 28, 2010 at 05:33:09AM -0000, JohnDave Medina wrote:
> Thanks, David, for the help. I'm still trying to figure out the setup on
> my comp, but I think it's starting to make some sense. When I tried the
> minimal file you asked, it did the same error concerning the jerus10
> font. I was not able to find it in ivritex either. But I did find this
> somewhere on the net and it did work:
>
> % ---begin here---
> %!TEX TS-program = xelatex
> %!TEX encoding = UTF-8 Unicode
> \documentclass[12pt]{article}
> \TeXXeTstate=1
> \usepackage{xltxtra}
> \usepackage{bidi}
> \defaultfontfeatures{Scale=MatchLowercase}
> \setmainfont{Hoefler Text}
> \newfontfamily{\sbl}[Script=Hebrew]{SBLHebrew}
> \begin{document}
>
> \setRL
> {\sbl
> ‏‏בְּרֵאשִׁ֖ית בָּרָ֣א אֱלֹהִ֑ים אֵ֥ת הַשָּׁמַ֖יִם וְאֵ֥ת הָאָֽרֶץ׃
> וְהָאָ֗רֶץ הָיְתָ֥ה תֹ֨הוּ֙ וָבֹ֔הוּ וְחֹ֖שֶׁךְ עַל־פְּנֵ֣י תְה֑וֹם וְר֣וּחַ אֱלֹהִ֔ים מְרַחֶ֖פֶת עַל־פְּנֵ֥י הַמָּֽיִם׃
> וַיֹּ֥אמֶר אֱלֹהִ֖ים יְהִ֣י א֑וֹר וַֽיְהִי־אֽוֹר׃
> }
> \setLR
> \end{document}
> % ---end here---
>
> I don't know if that would help but it's my hope that it would in some
> way. I'll experiment on getting the files you uploaded to work, unless
> someone can give me some brief instructions about how to set that up.
>
> JohnDave
>

--
David Purton
<email address hidden>

For the eyes of the LORD range throughout the earth to
strengthen those whose hearts are fully committed to him.
                                 2 Chronicles 16:9a