2

The words are not getting displayed properly in the pdf even though they are getting displayed correctly in source file. And when I tried to copy words from the pdf file and paste them, they are pasted as what they should be (as they are in the source file) and not identical to pdf display. Example: The following content

"जिले का रहने वाला हूँ! मैने संगणक विज्ञान में स्नातक किया है|" 

is getting displayed as:

enter image description here

I am working on ShareLatex website. I have configured xelatex in the settings. And I have defined the following in my latex file:

\usepackage{polyglossia}
\setmainlanguage[numerals=Devanagari]{hindi}
\setotherlanguage{english}
\usepackage{fontspec}
\newfontfamily\hindifont[ExternalLocation]{AnnapurnaSIL-R}
\setdefaultlanguage{hindi}
9
  • 3
    in order for anyone to help you with this problem you need to edit your question to include (i) a small document that shows the problem (ii) a screen shot of the output that shows what the problem looks like and (iii) some details of how you are creating the source file.
    – Alan Munn
    Jun 10, 2014 at 19:37
  • updated the question
    – Manish
    Jun 11, 2014 at 15:38
  • What's wrong with the output you're showing in that picture?
    – Sverre
    Jun 11, 2014 at 16:15
  • @Sverre: Please compare the two strings character-wise and you will see the difference.
    – Manish
    Jun 11, 2014 at 17:44
  • I did. And I didn't see the difference. To help us help you, tell us what the problem is - don't make us guess.
    – Sverre
    Jun 11, 2014 at 17:49

1 Answer 1

1

With "Nakula" font, I am able to get the output fine. It can be downloaded from http://bombay.indology.info/software/fonts/devanagari/

enter image description here

0

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .