[XeTeX] Hebrew inside fancyvrb environment

Efraim Feinstein feinst at fas.harvard.edu
Sun Nov 9 23:32:14 CET 2008


Hi,

Bitstream Vera Sans Mono has no Hebrew characters. I tried your file 
with a different monospace font (FreeMono), and it displayed the 
characters with misplaced vowels -- In order to get this to work right, 
you need a monospace font that supports vowels correctly, and I can't 
think of one off the top of my head. Also, you may have to force the 
Hebrew to use right-to-left directionality. Otherwise, the ending } is 
reversed.

Hope this helps,
-Efraim

Kirk Lowery wrote:
> I am using the fancyvrb package and I want to have some utf-8 Hebrew
> script in one of their environments. Here is an example of what I want
> to do (but of course doesn't work):
>
> \begin{SaveVerbatim}{wordAttributes}
> <W parent="id18" id="id19" morphId="ru1:1,3.1"
>    cat="verb" utf8="{\sbl שְׁפֹ֣ט}"
>    michigan="$:PO74+" utf8Lemma="{\sbl שׁפט}"
>    lemma="$P+" strongs="8199" morph="vqc"
>    gloss="to judge"/>
> \end{SaveVerbatim}
>
> Lorem ipsum dolor sit amet, consectetuer adipiscing elit.
>
> \UseVerbatim{wordAttributes}
>
> I've attached a minimal TeX file and the resulting pdf.
>
> Could someone point me in the direction of a solution?
>
> TIA!
>
> Kirk
>   
> ------------------------------------------------------------------------
>
> _______________________________________________
> XeTeX mailing list
> postmaster at tug.org
> http://tug.org/mailman/listinfo/xetex
>   



More information about the XeTeX mailing list