Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

I have heard that it is possible to typeset Arabic texts with Lualatex, so I assume that it is also possible to typeset Syriac texts with LuaLatex. But when I run the following example, the output is not like it should be:

\documentclass{scrartcl}
\usepackage{fontspec}

\newfontfamily\syriacfont[Script=Syriac]{Serto Batnan}%unicode otf; available http://www.bethmardutho.org/images/fonts/melthofonts-1.21.zip 
\newcommand{\syr}[1]{\bgroup\luatextextdir TRT\syriacfont #1\egroup} 

\begin{document}

\syr{ܟܕ ܛܝܒܘܬܐ ܡܫܡ̇ܗ ܐܦ ܠܢܡܘܣܐ. ܚܠܦ ܠܡ ܗܝ̇ ܛܝܒܘܬܐ ܗܕܐ ܐܬܝܗܒܬܼ}

\end{document}

The letters and words appear in the right order (ie. right to left), but there is no distinction between initial, middle and final letters. lualatex always uses the stand alone letters. I'm pretty sure that this is not the font's fault, because running the following, similar example with XeLatex, the output is right:

\documentclass{scrartcl}
\usepackage{fontspec}
\usepackage{polyglossia}
\setotherlanguage{syriac}
\newcommand{\syr}[1]{\RL{\textsyriac{#1}}}    


\newfontfamily\syriacfont[Script=Syriac]{Serto Batnan} 

\begin{document}

\syr{ܟܕ ܛܝܒܘܬܐ ܡܫܡ̇ܗ ܐܦ ܠܢܡܘܣܐ. ܚܠܦ ܠܡ ܗܝ̇ ܛܝܒܘܬܐ ܗܕܐ ܐܬܝܗܒܬܼ}

\end{document}

How can I make lualatex access the relevant otf information to determine between inital, middle and final letters?

Thank you!

share|improve this question
2  
Arabic support for LuaLaTeX is still in development: see Typesetting Arabic with LuaLaTeX. I don't know if there's Syriac support in LuaLaTeX. There is a package for XeLaTeX, however: (unfortunately not on CTAN): XeSyriac. –  Alan Munn Mar 5 '12 at 14:48
    
To me it seems (that does not mean much...) as if LuaLaTeX with fontspec should be able to handle Syriac script - at the very least its listed in table 13 on p. 34 of the fontspec-documentation. Have you tried different fonts from different designers? Maybe the font you are using has some faulty OTF information. Microsoft has a nice Arabic font and there is some information on efforts to create a Syriac font here - maybe the font is for download somewhere, too. –  ClintEastwood Mar 5 '12 at 22:59

1 Answer 1

Arabic support for LuaLaTeX is still in development: see Typesetting arabic with LuaLaTeX. I don't know if there's Syriac support in LuaLaTeX. There is a package for XeLaTeX, however: (unfortunately not on CTAN): XeSyriac.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.