[XeTeX] Using hebrew

Yaniv Hollander yaniv.hollander at gmail.com
Wed Mar 7 07:09:21 CET 2007


Here it is...


Thanks,

On Mar 6, 2007, at 6:16 PM, Jonathan Kew wrote:

> On 6 Mar 2007, at 3:45 pm, Yaniv Hollander wrote:
>
>> I tried your example but it did not work. The \setmainfont command
>> is not recognizable...
>> I'm using TexShop, and typeset the example bellow using XeLatex.
>
> If you post the actual log output, we'd have a better chance of
> seeing what is going wrong. What is the actual error you get?
>
> One possibility: try \setromanfont instead of \setmainfont. This was
> the original name for the fontspec command, and \setmainfont was
> added more recently (because the "main" body font might not be Roman
> at all!). Perhaps you have an older copy of fontspec.sty somewhere?
>
> However, I have another guess, too: I just realized that my example
> included the TeXShop header line:
>
>>> %!TEX TS-program = xelatex-x
>
> which refers to a custom version of the xelatex "engine" that I use.
> As you don't have an engine with that exact name, this line was
> probably ignored, and I'm not sure what TeXShop would do then;
> perhaps run the default pdflatex instead.
>
> So try changing this to the standard engine:
>
> %!TEX TS-program = xelatex
>
> and see if that makes any difference. If not, show us the log output
> so we can see exactly what's happening.
>
> JK
>
> _______________________________________________
> XeTeX mailing list
> postmaster at tug.org
> http://tug.org/mailman/listinfo/xetex

Yaniv                       Hollander
yaniv.hollander at gmail.com



-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://tug.org/pipermail/xetex/attachments/20070307/55022690/attachment.html 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Test_Hebrew.log
Type: application/octet-stream
Size: 1772 bytes
Desc: not available
Url : http://tug.org/pipermail/xetex/attachments/20070307/55022690/attachment.obj 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://tug.org/pipermail/xetex/attachments/20070307/55022690/attachment-0001.html 


More information about the XeTeX mailing list