Problems compiling with Hebrew
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
SBL LaTeX |
Fix Committed
|
High
|
David Purton |
Bug Description
I am having problems using sblclass to compile with Hebrew. Here is my setup:
- Mac OS X 10.5.8
- SBL Hebrew font installed
- MacTeX Installation – the most recent (just a few days ago)
- All the packages that were present in TeX Live 2009
- TeXShop with the LaTeX option; have also tried to make file with XeTeX and XeLaTeX
- All the .sty and .cls files have been placed in the ~/Library/
I have tried using \begin{hebrew} WXYZ \end{hebrew} and also the \he{wxyz} options to input Hebrew and it continues to give me an error.
I have tried entering WXYZ as both Hebrew characters and English letter - both to no avail. The compile always terminates. Typing in Greek does just fine.
Robert Fischer (robert-fischer) wrote : | #1 |
Pete Myers (petemyers) wrote : Re: [Bug 580794] Re: Problems compiling with Hebrew | #2 |
When you upload the output, could you include copies of the output for LaTeX
and for XeLaTeX please.
On 15 May 2010 13:40, Robert Fischer <email address hidden>wrote:
> Can you post the output of the compile (i.e. pipe stdout to a file and
> upload it)? I'd like to see the order the files were loaded in.
> Similarly, upload the *.log file here.
>
> --
> Problems compiling with Hebrew
> https:/
> You received this bug notification because you are a member of SBL LaTeX
> Drivers, which is subscribed to SBL LaTeX.
>
JohnDave Medina (johndavemedina) wrote : | #3 |
JohnDave Medina (johndavemedina) wrote : | #4 |
JohnDave Medina (johndavemedina) wrote : | #5 |
Robert and Pete,
Thanks for the replies. Below are the outputs for both LaTex and XeLaTex, in that order (unable to attach files for some reason:
---
This is pdfTeX, Version 3.1415926-1.40.10 (TeX Live 2009) (format=pdflatex 2010.5.13) 15 MAY 2010 20:38
entering extended mode
\write18 enabled.
file:line:error style messages enabled.
%&-line parsing enabled.
**"Testing Lang File.tex"
(./Testing Lang File.tex
LaTeX2e <2009/09/24>
Babel <v3.8l> and hyphenation patterns for english, usenglishmax, dumylang, noh
yphenation, german-
abic, basque, bulgarian, catalan, pinyin, coptic, croatian, czech, danish, dutc
h, esperanto, estonian, farsi, finnish, french, galician, german, ngerman, mono
greek, greek, hungarian, icelandic, assamese, bengali, gujarati, hindi, kannada
, malayalam, marathi, oriya, panjabi, tamil, telugu, indonesian, interlingua, i
rish, italian, kurmanji, latin, latvian, lithuanian, mongolian, mongolianlmc, b
okmal, nynorsk, polish, portuguese, romanian, russian, sanskrit, serbian, slova
k, slovenian, spanish, swedish, turkish, turkmen, ukenglish, ukrainian, upperso
rbian, welsh, loaded.
(/Users/
Document Class: ddsessay 2010/05/04 Class for Duke Divinity School papers
(/Users/
Document Class: sblessay 2010/04/22 SBL Essay Class
(/usr/local/
Document Class: article 2007/10/19 v1.4h Standard LaTeX document class
(/usr/local/
File: size12.clo 2007/10/19 v1.4h Standard LaTeX file (size option)
)
\c@part=\count79
\c@section=\count80
\c@subsection=
\c@subsubsectio
\c@paragraph=
\c@subparagraph
\c@figure=\count85
\c@table=\count86
\abovecaptionsk
\belowcaptionsk
\bibindent=
)
(/Users/
Package: sbllangbase 2010/05/05 Base for SBL Language support
(/usr/local/
Package: xspace 2006/05/08 v1.12 Space after command names (DPC,MH)
)
(/usr/local/
Package: hyphenat 2009/09/02 v2.3c hyphenation utilities
\langwohyphens=
LaTeX Info: Redefining \_ on input line 43.
)
(/usr/local/
Package: textcase 2004/10/07 v0.07 Text only upper/lower case changing (DPC)
)
(/usr/local/
Package: engord 2010/03/01 v1.8 Provides English ordinal numbers (HO)
(/usr/local/
Package: infwarerr 2010/04/08 v1.3 Providing info/warning/
)
(/usr/local/
Package: ltxcmds 2010/04/26 v1.7 LaTeX kernel commands for general use (HO)
))
(/usr/local/
Package: inputenc 2008/03/30 v1.1d Input encoding file
\inpenc@
\inpenc@
(/usr/local/
File: utf8x.def 2004/10/17 U...
Pete Myers (petemyers) wrote : | #6 |
- sblessay.cls Edit (11.6 KiB, text/x-tex; charset=US-ASCII; name="sblessay.cls")
Well the LaTeX error is the error i've always got from the class, which is
why I use XeLaTeX. The XeLaTeX error is due to the order in which packages
are being loaded, which I have fixed at least twice before.
Has anyone put any usepackage commands in?
I'm always using a slightly older version of sblessay, because this XeLaTeX
error keeps cropping up. The version I'm using is attached, see if that
works for you for the moment.
I'll let Robert take a look at the LaTeX error and see if he can solve it.
John, ff the attached file works for you for the moment, then I'll take
another look at the XeLaTeX regression after my exams at the beginning of
June.
Let me know if it helps.
Pete
On 16 May 2010 04:50, JohnDave Medina <email address hidden> wrote:
>
> ** Attachment added: "Hebrew L2E Compile.rtf"
> http://
>
> --
> Problems compiling with Hebrew
> https:/
> You received this bug notification because you are a member of SBL LaTeX
> Drivers, which is subscribed to SBL LaTeX.
>
JohnDave Medina (johndavemedina) wrote : | #7 |
Thanks, Pete. The file you gave needs some modification to work with the newer sbllang files (sbllangbase/
% Install language support
\RequirePackage
\if@sbllanggr
\RequirePacka
\fi
\if@sbllanghe
\RequirePacka
\fi
I downloaded these files from the marshwiggle site. The sblessay class file there is the one I have been using.
John
David Purton (dcpurton) wrote : | #8 |
Hi all,
On Sun, May 16, 2010 at 03:50:42PM -0000, Pete Myers wrote:
> Well the LaTeX error is the error i've always got from the class, which is
> why I use XeLaTeX. The XeLaTeX error is due to the order in which packages
> are being loaded, which I have fixed at least twice before.
>
> Has anyone put any usepackage commands in?
Groan. I think Robert has added some, but this error is still a mystery to
me. Maybe it is a quirk of MacTex.
But bidi.sty is still being loaded before anything else in my version.
I thought you just addedd lines to load bidi.sty and xunicode.sty
explicitly before much else happens. This is still the case in the svn
version. Is this right Pete? Or did you do something else as well?
(There are a lot of differences between your file and the current svn.)
> I'll let Robert take a look at the LaTeX error and see if he can solve it.
> John, ff the attached file works for you for the moment, then I'll take
> another look at the XeLaTeX regression after my exams at the beginning of
> June.
The LaTeX error means that your TeX system can't find the default Hebrew
font... which is kind of weird now that I think about it :).
do you get any output from the command:
kpsewhere jerus10.mf
from a terminal?
I am assuming that you will get nothing. If this is the case, then I'm
not sure how the default setup of MacTex handles Hebrew with LaTeX. On
my linux distro, ivritex is one of the packages that provides these
hebrew files. You could try grabing it from
http://
Perhaps MacTeX has broken hebrew support and it is assumed that everyone
will use Xetex.
I managed to convert SBL Hebrew to tfm format such that it can be used
with pdfTeX. I could dump these changes along with the SBL hebrew font
into the repository so that it is used by default.
Any comments? I know most of you use xetex, so perhaps it's not worth
it, but I'm still a fan of trying to get things to work with all tex
flavours.
I haven't been able to do the same with SBL Greek. There is something
about the font that pdftex doesn't like.
cheers
David
--
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.
JohnDave Medina (johndavemedina) wrote : | #9 |
Hi David,
Yes, the jerus10 font is missing in my distribution. I tried grabbing ivritex but that didn't seem to contain it either. I think it would be great if you could upload anything that helps in this. Living in this mystery isn't my idea of fun. :-)
JohnDave
David Purton (dcpurton) wrote : | #10 |
Hi JohnDave,
What happens for you if you try this very minimal file?
% -- cut here --
\documentclass{
\usepackage[
\begin{document}
ax`yiz
\end{document}
% -- cut here --
The jerus10 font does seem to be hard to come by, so why it's referenced
in babel/lhecmr.fd as the default font is extremely bizarre...
It is available in this tarball:
http://
I need to do some more work before I can distribute SBL Hebrew as the
default font for LaTeX because the installation is complex and I suspect
highly system dependent :(. I can send you the files, but I don't know
how to install them easily on a Mac system - it's not quite a matter of
just putting them into your tex tree, because you need to alter (or
generate) font mapping files for dvips and pdftex, etc.
It would be better if we can figure out a reliable way to use hebrew
using default tex packages, but just about everyone is using XeTeX for
complex scripts now.
cheers
David
On Fri, May 21, 2010 at 03:58:37AM -0000, JohnDave Medina wrote:
> Hi David,
>
> Yes, the jerus10 font is missing in my distribution. I tried grabbing
> ivritex but that didn't seem to contain it either. I think it would be
> great if you could upload anything that helps in this. Living in this
> mystery isn't my idea of fun. :-)
>
> 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.
David Purton (dcpurton) wrote : | #11 |
Hi all,
I have successfully managed to get LaTeX to use the SBL Greek and Hebrew
fonts and uploaded some experimental support to svn. It is not yet
included in the class files. (No pointing still, but this is too much
effort)
There is an install script to help with installation. This works ok on
my debian system, but I am not sure about under OS X... If someone can
take a look at it and modify it if needs be, that would be great.
to use the SBL fonts, just include
\usepackage{
\usepackage{
in your document preamble.
It should work, providing you have correctly installed things.
Note, that the dvips path wont work with TrueType fonts.
cheers
David
--
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.
JohnDave Medina (johndavemedina) wrote : | #12 |
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[
\TeXXeTstate=1
\usepackage{
\usepackage{bidi}
\defaultfontfea
\setmainfont{
\newfontfamily{
\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
Pete Myers (petemyers) wrote : | #13 |
Hmmm...
I seem to have missed a lot here.
My current working copy is quite behind the curve, yes.
I did make numerous changes to make sure bidi was loaded first, but the
error keeps cropping back up.
Sorry I haven't been in touch, exams. Will take a look in a fortnight and do
a mini code review. Of what's in svn, and report back with suggestions and
possible patches for whatever state the code is in by then.
Also have some updates to bst that I've been meaning to merge for a while,
implementing some more sbl examples (they need tidying up though).
On that, it would be helpful if we had some standardised way to refer to
things in the bib file that are non-standard for tex, but necessary for sbl
compliance. I'll leave it to you, dave to decide what to do on that? If
you want me to make some suggestions I could draft a blueprint.
Pete
On 28 May 2010 06:40, "JohnDave Medina" <email address hidden> 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[
\TeXXeTstate=1
\usepackage{
\usepackage{bidi}
\defaultfontfea
\setmainfont{
\newfontfamily{
\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
--
Problems compiling with Hebrew
https:/
You received this bug not...
David Purton (dcpurton) wrote : | #14 |
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[
> \TeXXeTstate=1
> \usepackage{
> \usepackage{bidi}
> \defaultfontfea
> \setmainfont{
> \newfontfamily{
> \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.
JohnDave Medina (johndavemedina) wrote : | #15 |
Pete, totally understandable about the exams. I just finished a May-term intensive so we're in the same boat.
David, thanks for the guidance. I managed to get it to do a XeLaTeX compile via TeXShop. I found there were two instances of a bidi load: one in sblessay.cls and another in sbllangbase.sty. I turned this code into comment with the '%':
% Test for unicode support (through Xetex), and so make sure bidi
% is loaded before xunicode.
%\expandafter\
%\else
% \RequirePackage
% \RequirePackage
%\expandafter\fi
and made sure xltxtra loaded before bidi in sbllangbase.sty. I also stumbled upon the need to save the file as a UTF-8 Unicode file instead of a TeX file.
So far so good. :-)
JohnDave
David Purton (dcpurton) wrote : | #16 |
Hi JohnDave,
can you send the output of
svn diff?
from the directory containing sblessay.cls?
It still doesn't work on my system with loading xltxtra before bidi, I
have to load bidi before xltxtra :(.
On Sat, May 29, 2010 at 12:45:36AM -0000, JohnDave Medina wrote:
> Pete, totally understandable about the exams. I just finished a May-term
> intensive so we're in the same boat.
>
> David, thanks for the guidance. I managed to get it to do a XeLaTeX
> compile via TeXShop. I found there were two instances of a bidi load:
> one in sblessay.cls and another in sbllangbase.sty. I turned this code
> into comment with the '%':
>
> % Test for unicode support (through Xetex), and so make sure bidi
> % is loaded before xunicode.
> %\expandafter\
> %\else
> % \RequirePackage
> % \RequirePackage
> %\expandafter\fi
>
> and made sure xltxtra loaded before bidi in sbllangbase.sty. I also
> stumbled upon the need to save the file as a UTF-8 Unicode file instead
> of a TeX file.
>
> So far so good. :-)
>
> 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.
Robert Fischer (robert-fischer) wrote : | #17 |
Do we need it in sblessay, or should we stick to having it in sbllangbase?
Are those packages referenced directly in sblessay somewhere?
~~ Robert.
On 29 May 2010 03:03, David Purton <email address hidden> wrote:
>
> Hi JohnDave,
>
> can you send the output of
> svn diff?
> from the directory containing sblessay.cls?
>
> It still doesn't work on my system with loading xltxtra before bidi, I
> have to load bidi before xltxtra :(.
>
>
> On Sat, May 29, 2010 at 12:45:36AM -0000, JohnDave Medina wrote:
> > Pete, totally understandable about the exams. I just finished a May-term
> > intensive so we're in the same boat.
> >
> > David, thanks for the guidance. I managed to get it to do a XeLaTeX
> > compile via TeXShop. I found there were two instances of a bidi load:
> > one in sblessay.cls and another in sbllangbase.sty. I turned this code
> > into comment with the '%':
> >
> > % Test for unicode support (through Xetex), and so make sure bidi
> > % is loaded before xunicode.
> > %\expandafter\
> > %\else
> > % \RequirePackage
> > % \RequirePackage
> > %\expandafter\fi
> >
> > and made sure xltxtra loaded before bidi in sbllangbase.sty. I also
> > stumbled upon the need to save the file as a UTF-8 Unicode file instead
> > of a TeX file.
> >
> > So far so good. :-)
> >
> > 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
>
> --
> Problems compiling with Hebrew
> https:/
> You received this bug notification because you are a member of SBL LaTeX
> Drivers, which is subscribed to SBL LaTeX.
>
> Status in SBL LaTeX: New
>
> Bug description:
> I am having problems using sblclass to compile with Hebrew. Here is my
> setup:
>
> - Mac OS X 10.5.8
> - SBL Hebrew font installed
> - MacTeX Installation – the most recent (just a few days ago)
> - All the packages that were present in TeX Live 2009
> - TeXShop with the LaTeX option; have also tried to make file with XeTeX
> and XeLaTeX
> - All the .sty and .cls files have been placed in the
> ~/Library/
> directed on R. Fischer's wikipage
>
> I have tried using \begin{hebrew} WXYZ \end{hebrew} and also the \he{wxyz}
> options to input Hebrew and it continues to give me an error.
>
> I have tried entering WXYZ as both Hebrew characters and English letter -
> both to no avail. The compile always terminates. Typing in Greek does just
> fine.
>
>
>
David Purton (dcpurton) wrote : | #18 |
On Sat, May 29, 2010 at 06:52:17PM -0000, Robert Fischer wrote:
> Do we need it in sblessay, or should we stick to having it in sbllangbase?
> Are those packages referenced directly in sblessay somewhere?
It should be in sbllangbase.sty.
The only reason it was put into the class file was the Pete was getting
errors relating to bidi being loaded too late and I couldn't reproduce
them.
I since had a thought. Pete, do you use a front end? Some front ends stick
extra stuff related to unicode in the preamble, that could be causing
grief on your system. Try a simple file, ensuring you save it it utf-8
format and then run xelatex on it from the command line and see if that
makes a difference.
David.
--
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.
David Purton (dcpurton) wrote : | #19 |
On Fri, May 28, 2010 at 05:49:07AM -0000, Pete Myers wrote:
> Also have some updates to bst that I've been meaning to merge for a while,
> implementing some more sbl examples (they need tidying up though).
Fantastic! If you haven't already done so, can you add info about them
to the sblref.tex file in the test directory?
> On that, it would be helpful if we had some standardised way to refer to
> things in the bib file that are non-standard for tex, but necessary for sbl
> compliance. I'll leave it to you, dave to decide what to do on that? If
> you want me to make some suggestions I could draft a blueprint.
Agreed.
I have installed dokuwiki on my server and set up a starting page for
SBL LaTeX.
http://
Anyone can register an account, but I will then need to give write
access. Dokuwiki uses namespaces, so I have made an sbllatex namespace.
If any of you want to add info and documentation, I suggest putting it
here. we can use it for blueprint stuff too since launchpad doesn't
really let you discuss much for these.
If you haven't used dokuwiki before, it seems pretty simple to use. It
gives a bit of documentation on the site when you are editing regarding
its markup.
call every file sbllatex:*, and I'll make sure you have permission to
creat and modify under that namespace.
When you've created an account (from the login page) drop me an email
and I'll set up permissions.
I've made a page at
http://
that can be used to document and discuss the bib format supported by the
style.
I'm open for any suggestions on how to lay out this page. Put something
up, and we can always change it later.
David
--
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.
David Purton (dcpurton) wrote : | #20 |
Hi Robert,
On Sat, May 29, 2010 at 06:52:17PM -0000, Robert Fischer wrote:
> Do we need it in sblessay, or should we stick to having it in sbllangbase?
> Are those packages referenced directly in sblessay somewhere?
The current svn does not work for me. It triggers the bidi loaded before
xunicode error...
Can you check if this change works for you? fontspec and xunicode are
loaded by xltxtra. Double check that your front end is not fiddling with
anything and your test file is in utf-8 format.
David
=======
--- sbllangbase.sty (revision 78)
+++ sbllangbase.sty (working copy)
@@ -36,10 +36,8 @@
% setup English
\ifxetexsbl
- \RequirePackage
- \RequirePackage
\RequirePack
- \RequirePackage
+ \RequirePackage
\newcommand{
\else
\RequirePack
--
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.
Changed in sbllatex: | |
status: | New → In Progress |
importance: | Undecided → High |
Robert Fischer (robert-fischer) wrote : | #21 |
No, that doesn't work: xltxtra has to be loaded *before* bidi.
Or did you have your diff backwards?
~~ Robert.
On 31 May 2010 02:38, David Purton <email address hidden> wrote:
> Hi Robert,
>
> On Sat, May 29, 2010 at 06:52:17PM -0000, Robert Fischer wrote:
> > Do we need it in sblessay, or should we stick to having it in
> sbllangbase?
> > Are those packages referenced directly in sblessay somewhere?
>
> The current svn does not work for me. It triggers the bidi loaded before
> xunicode error...
>
> Can you check if this change works for you? fontspec and xunicode are
> loaded by xltxtra. Double check that your front end is not fiddling with
> anything and your test file is in utf-8 format.
>
> David
>
> =======
> --- sbllangbase.sty (revision 78)
> +++ sbllangbase.sty (working copy)
> @@ -36,10 +36,8 @@
>
> % setup English
> \ifxetexsbl
> - \RequirePackage
> - \RequirePackage
> \RequirePackage
> - \RequirePackage
> + \RequirePackage
> \newcommand{
> \else
> \RequirePackage
>
>
>
> --
> 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
>
>
> ** Changed in: sbllatex
> Status: New => In Progress
>
> ** Changed in: sbllatex
> Importance: Undecided => High
>
> --
> Problems compiling with Hebrew
> https:/
> You received this bug notification because you are a member of SBL LaTeX
> Drivers, which is subscribed to SBL LaTeX.
>
> Status in SBL LaTeX: In Progress
>
> Bug description:
> I am having problems using sblclass to compile with Hebrew. Here is my
> setup:
>
> - Mac OS X 10.5.8
> - SBL Hebrew font installed
> - MacTeX Installation – the most recent (just a few days ago)
> - All the packages that were present in TeX Live 2009
> - TeXShop with the LaTeX option; have also tried to make file with XeTeX
> and XeLaTeX
> - All the .sty and .cls files have been placed in the
> ~/Library/
> directed on R. Fischer's wikipage
>
> I have tried using \begin{hebrew} WXYZ \end{hebrew} and also the \he{wxyz}
> options to input Hebrew and it continues to give me an error.
>
> I have tried entering WXYZ as both Hebrew characters and English letter -
> both to no avail. The compile always terminates. Typing in Greek does just
> fine.
>
>
>
David Purton (dcpurton) wrote : | #22 |
On Mon, May 31, 2010 at 02:47:22PM -0000, Robert Fischer wrote:
> No, that doesn't work: xltxtra has to be loaded *before* bidi.
>
> Or did you have your diff backwards?
>
Arrggghhh! :( No the diff isn't backwards.
Ok... I think I have it.
My version of bidi is not the most current version in CTAN. TeXlive
seems to be a little behind. If I update to the version from CTAN, then
it works ok.
Finally, some progress.
I therefore propose the following patch to the current svn, to just tidy things up.
--- sbllangbase.sty (revision 78)
+++ sbllangbase.sty (working copy)
@@ -36,10 +36,8 @@
% setup English
\ifxetexsbl
- \RequirePackage
\RequirePack
\RequirePack
- \RequirePackage
\newcommand{
\else
\RequirePack
Can all please test if that works?
The final thing related to this bug is to test the install and usage of
sblhebrew.sty and sblgreek.sty under LaTeX (not XeLaTeX). So, I would
appreciate if someone can look into that too.
cheers,
David
--
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.
JohnDave Medina (johndavemedina) wrote : | #23 |
Sorry for the delay; I've been in the process of moving last week and then having friends over this past weekend.
David, I'm not sure how to do a 'svn diff.' Do I need to run 'svn diff' from a terminal in the directory with sblessay?
Robert, from what I can gather on my system, sblessay.cls does reference sbllangbase.sty, apparently with this code:
\DeclareOption{
{\@sbllanghetrue}
\DeclareOption{
{\@afourpaper
\DeclareOption{
{\@afourpaper
\DeclareOption*{%
\PassOptionsT
}
\ExecuteOptions
\ProcessOptions
.
.
.
% Install language support
\RequirePackage
\if@sbllanggr
\RequirePacka
\fi
\if@sbllanghe
\RequirePacka
\fi
David Purton (dcpurton) wrote : | #25 |
Hi JohnDave,
On Wed, Jun 02, 2010 at 03:13:53AM -0000, JohnDave Medina wrote:
> David, I'm not sure how to do a 'svn diff.' Do I need to run 'svn diff'
> from a terminal in the directory with sblessay?
Yeah - that is right. But try the current svn first and see if the
changes that have been made fix your problem with xelatex.
David
--
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.
Pete Myers (petemyers) wrote : | #26 |
Hi,
Where are we up to with this bug? Particularly the bidi/xunicode loading issue? I have a little free time this week to think about this if needs be.
Pete
David Purton (dcpurton) wrote : | #27 |
On Sat, Jul 31, 2010 at 09:01:25PM -0000, Pete Myers wrote:
> Hi,
>
> Where are we up to with this bug? Particularly the bidi/xunicode
> loading issue? I have a little free time this week to think about this
> if needs be.
I think it is fixed for xelatex. My problems were due to an outdated
bidi. Using the latest bidi from ctan, the current subversion source
works... I think :) Be good if you can confirm this, Pete.
I'm not yet finished implementing the SBL fonts under latex yet - I
still have to do a bunch of work on kerning for the tfm file :( - The
Greek implementation for latex with its 256 char limit is a pain.
David
--
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.
David Purton (dcpurton) wrote : | #28 |
I'm happy with the SBL Hebrew font implementation under LaTeX now, and believe that the bidi/xunicode problems are sorted out under XeLaTeX, so am going to make this fixed. I'm still working on the SBL Greek font implementation under LaTeX, but will open a new bug report for it, as it is not directly related to this one.
Changed in sbllatex: | |
status: | In Progress → Fix Committed |
assignee: | nobody → David Purton (dcpurton) |
Can you post the output of the compile (i.e. pipe stdout to a file and upload it)? I'd like to see the order the files were loaded in. Similarly, upload the *.log file here.