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 need to create a book for a friend of mine and I thought that Latex would best fit for this job. Plus this will be a very good opportunity to learn this powerful tool.

The problem is that the book is written in Georgians and I don't know the way to support them. I have created a small sample with a Georgian poem but after compilation its not showing the letters.

\documentclass{article}
\usepackage[utf8]{inputenc}

\title{Poem}    
\date{February 2014}    
\begin{document}

\maketitle

ვახტანგ მეფე  ტახტზე  იჯდა,
რომ  დაიპყრეს  ოსმალთ  ქართლი.
წელში  გაწყდა  გლეხ-კაცობა,
დაუწესეს  დიდი  ხარკი.


\end{document}

Can you provide me with some resources to start writing in Georgian?

share|improve this question
    
Welcome to TeX.SX! If you can post a minimal compilable document showing that you've tried so far and then people will be able to better help you with any specific problems you may have. See minimal working example (MWE) for what needs to go into such a document. –  Adam Liter Feb 22 at 19:44
    
Thanks, I will work on that and I'll try again. –  Menelaos Vergis Feb 22 at 20:33
add comment

1 Answer

up vote 4 down vote accepted

If you compile this with XeLaTeX or LuaLaTeX, provided the TeX distribution is sufficiently up-to-date:

\documentclass{article}
\usepackage[georgian]{babel}
\usepackage{fontspec}

\setmainfont[
  Extension=.ttf,
  UprightFont={*},
  BoldFont={*-Bold},
  ItalicFont={*-Italic},
  BoldItalicFont={*-BoldItalic},
]{DejaVuSerif}

\title{Poem}
\author{Somebody}
\date{February 2014}    
\begin{document}

\maketitle

\begin{verse}
ვახტანგ მეფე  ტახტზე  იჯდა,\\
რომ  დაიპყრეს  ოსმალთ  ქართლი.\\
წელში  გაწყდა  გლეხ-კაცობა,\\
დაუწესეს  დიდი  ხარკი.
\end{verse}

\end{document}

The \setmainfont declaration can be simpler if DejaVu Serif is installed as a system font, and it can become

\setmainfont{DejaVu Serif}

enter image description here

I'm not sure if ShareLaTeX uses a TeX distribution that has the required features. You might try also FreeSerif instead of DejaVu

\setmainfont[
  Extension=.otf, % <--- note .otf
  UprightFont={*},
  BoldFont={*Bold},
  ItalicFont={*Italic},
  BoldItalicFont={*BoldItalic},
]{FreeSerif}

enter image description here

share|improve this answer
add comment

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.