Putting devnagari text in xelatex results in question marks instead of text The 2019 Stack...

In horse breeding, what is the female equivalent of putting a horse out "to stud"?

Install many applications using one command

University's motivation for having tenure-track positions

Create an outline of font

Why did all the guest students take carriages to the Yule Ball?

Was credit for the black hole image misattributed?

Can the DM override racial traits?

How can I protect witches in combat who wear limited clothing?

Derivation tree not rendering

What are these Gizmos at Izaña Atmospheric Research Center in Spain?

Would an alien lifeform be able to achieve space travel if lacking in vision?

Keeping a retro style to sci-fi spaceships?

Segmentation fault output is suppressed when piping stdin into a function. Why?

Are spiders unable to hurt humans, especially very small spiders?

Python - Fishing Simulator

Single author papers against my advisor's will?

How did the audience guess the pentatonic scale in Bobby McFerrin's presentation?

What information about me do stores get via my credit card?

Make it rain characters

Is above average number of years spent on PhD considered a red flag in future academia or industry positions?

Sort list of array linked objects by keys and values

Problems with Ubuntu mount /tmp

Are my PIs rude or am I just being too sensitive?

"... to apply for a visa" or "... and applied for a visa"?



Putting devnagari text in xelatex results in question marks instead of text



The 2019 Stack Overflow Developer Survey Results Are In
Announcing the arrival of Valued Associate #679: Cesar Manara
Planned maintenance scheduled April 17/18, 2019 at 00:00UTC (8:00pm US/Eastern)German quotation marks are broken in XeLaTeXUsing XeLaTeX instead of pdfLaTeXUse XeLaTeX in Texmaker instead of pdfLaTeXPutting quotation marks in TeX documentquestion about pgf-blur package in xelatexUsing a handwriting font from myscriptfont.comQuestion marks instead of text when writing Persian with XePersianXeLaTeX: Using foreignlanguage results in an errorXeLatex and greek quotation marksThis Question environment with XeLaTeX












0















I want to add a single line of devnagari in my text but cant make it work at all write now. Below is my attempt.
I get all question marks in the output.



% !TEX TS?program = pdflatexmk

documentclass[fontsize=12pt]{book}

usepackage[T1]{fontenc}

usepackage{amsmath}

usepackage{mathpazo}

%for sanskrit
usepackage{polyglossia}
setmainlanguage{english}
setotherlanguages{hindi} %% or other languages

%newfontfamilydevanagarifont[Script=Devanagari]{Lohit-Devanagari.ttf}
newfontfamilydevanagarifont{Devanagari MT}

linespread{1.5}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
begin{document}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
chapter{introduction}

section{hindi}

begin{hindi}
जैसी जिम्मे ऎसाजीस दिनांक विवरण जनित बाटते भारतीय विचरविमर्श बढाता विषय वर्णित पुष्टिकर्ता किया बनाने ज्या
end{hindi}

text

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
end{document}


My output looks like below. How can I make it work?
enter image description here










share|improve this question



























    0















    I want to add a single line of devnagari in my text but cant make it work at all write now. Below is my attempt.
    I get all question marks in the output.



    % !TEX TS?program = pdflatexmk

    documentclass[fontsize=12pt]{book}

    usepackage[T1]{fontenc}

    usepackage{amsmath}

    usepackage{mathpazo}

    %for sanskrit
    usepackage{polyglossia}
    setmainlanguage{english}
    setotherlanguages{hindi} %% or other languages

    %newfontfamilydevanagarifont[Script=Devanagari]{Lohit-Devanagari.ttf}
    newfontfamilydevanagarifont{Devanagari MT}

    linespread{1.5}

    %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
    begin{document}
    %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
    chapter{introduction}

    section{hindi}

    begin{hindi}
    जैसी जिम्मे ऎसाजीस दिनांक विवरण जनित बाटते भारतीय विचरविमर्श बढाता विषय वर्णित पुष्टिकर्ता किया बनाने ज्या
    end{hindi}

    text

    %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
    end{document}


    My output looks like below. How can I make it work?
    enter image description here










    share|improve this question

























      0












      0








      0








      I want to add a single line of devnagari in my text but cant make it work at all write now. Below is my attempt.
      I get all question marks in the output.



      % !TEX TS?program = pdflatexmk

      documentclass[fontsize=12pt]{book}

      usepackage[T1]{fontenc}

      usepackage{amsmath}

      usepackage{mathpazo}

      %for sanskrit
      usepackage{polyglossia}
      setmainlanguage{english}
      setotherlanguages{hindi} %% or other languages

      %newfontfamilydevanagarifont[Script=Devanagari]{Lohit-Devanagari.ttf}
      newfontfamilydevanagarifont{Devanagari MT}

      linespread{1.5}

      %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
      begin{document}
      %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
      chapter{introduction}

      section{hindi}

      begin{hindi}
      जैसी जिम्मे ऎसाजीस दिनांक विवरण जनित बाटते भारतीय विचरविमर्श बढाता विषय वर्णित पुष्टिकर्ता किया बनाने ज्या
      end{hindi}

      text

      %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
      end{document}


      My output looks like below. How can I make it work?
      enter image description here










      share|improve this question














      I want to add a single line of devnagari in my text but cant make it work at all write now. Below is my attempt.
      I get all question marks in the output.



      % !TEX TS?program = pdflatexmk

      documentclass[fontsize=12pt]{book}

      usepackage[T1]{fontenc}

      usepackage{amsmath}

      usepackage{mathpazo}

      %for sanskrit
      usepackage{polyglossia}
      setmainlanguage{english}
      setotherlanguages{hindi} %% or other languages

      %newfontfamilydevanagarifont[Script=Devanagari]{Lohit-Devanagari.ttf}
      newfontfamilydevanagarifont{Devanagari MT}

      linespread{1.5}

      %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
      begin{document}
      %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
      chapter{introduction}

      section{hindi}

      begin{hindi}
      जैसी जिम्मे ऎसाजीस दिनांक विवरण जनित बाटते भारतीय विचरविमर्श बढाता विषय वर्णित पुष्टिकर्ता किया बनाने ज्या
      end{hindi}

      text

      %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
      end{document}


      My output looks like below. How can I make it work?
      enter image description here







      xetex hindi






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked 21 mins ago









      hadi khadi k

      13716




      13716






















          0






          active

          oldest

          votes












          Your Answer








          StackExchange.ready(function() {
          var channelOptions = {
          tags: "".split(" "),
          id: "85"
          };
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function() {
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled) {
          StackExchange.using("snippets", function() {
          createEditor();
          });
          }
          else {
          createEditor();
          }
          });

          function createEditor() {
          StackExchange.prepareEditor({
          heartbeatType: 'answer',
          autoActivateHeartbeat: false,
          convertImagesToLinks: false,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: null,
          bindNavPrevention: true,
          postfix: "",
          imageUploader: {
          brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
          contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
          allowUrls: true
          },
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          });


          }
          });














          draft saved

          draft discarded


















          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f484717%2fputting-devnagari-text-in-xelatex-results-in-question-marks-instead-of-text%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown

























          0






          active

          oldest

          votes








          0






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes
















          draft saved

          draft discarded




















































          Thanks for contributing an answer to TeX - LaTeX Stack Exchange!


          • Please be sure to answer the question. Provide details and share your research!

          But avoid



          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.


          To learn more, see our tips on writing great answers.




          draft saved


          draft discarded














          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f484717%2fputting-devnagari-text-in-xelatex-results-in-question-marks-instead-of-text%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown





















































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown

































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown







          Popular posts from this blog

          El tren de la libertad Índice Antecedentes "Porque yo decido" Desarrollo de la...

          Puerta de Hutt Referencias Enlaces externos Menú de navegación15°58′00″S 5°42′00″O /...

          Castillo d'Acher Características Menú de navegación